summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-12-07 09:12:06 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2016-12-07 09:35:24 +0100
commitf7f70bed8f5fd50873f92b6e119de8864c2631a8 (patch)
tree8443f555ccab2a07bca2dfde2e34b2f2034b2f5d /proto
parentcd6ca9b1f6e5f71667c1fe6027cfb865f1dcebc1 (diff)
Make: upgrade Babel makefiles
Diffstat (limited to 'proto')
-rw-r--r--proto/babel/Makefile9
-rw-r--r--proto/babel/babel.h2
2 files changed, 5 insertions, 6 deletions
diff --git a/proto/babel/Makefile b/proto/babel/Makefile
index 400ffbac..d7684705 100644
--- a/proto/babel/Makefile
+++ b/proto/babel/Makefile
@@ -1,5 +1,4 @@
-source=babel.c packets.c
-root-rel=../../
-dir-name=proto/babel
-
-include ../../Rules
+src := babel.c packets.c
+obj := $(src-o-files)
+$(all-daemon)
+$(cf-local)
diff --git a/proto/babel/babel.h b/proto/babel/babel.h
index aea0dd88..920a6764 100644
--- a/proto/babel/babel.h
+++ b/proto/babel/babel.h
@@ -21,7 +21,7 @@
#include "lib/lists.h"
#include "lib/socket.h"
#include "lib/string.h"
-#include "lib/timer.h"
+#include "sysdep/unix/timer.h"
#ifndef IPV6
#error "The Babel protocol only speaks IPv6"