add B.A.T.M.A.N. from #1448
[openwrt/svn-archive/archive.git] / net / batman / patches / 100-makefile.patch
1 --- batman-III-0.2.0a.old/Makefile 2007-02-28 15:41:11.000000000 +0100
2 +++ batman-III-0.2.0a/Makefile 2007-02-28 15:42:02.000000000 +0100
3 @@ -27,6 +27,7 @@
4 CFLAGS = -Wall -O0 -g3
5 LDFLAGS = -lpthread
6 #LDFLAGS = -static -lpthread
7 +SBINDIR = $(INSTALL_PREFIX)/usr/sbin
8
9 UNAME=$(shell uname)
10
11 @@ -67,3 +68,7 @@
12
13 clean:
14 rm -f batmand batmand-mips* *.o *~
15 +
16 +install:
17 + mkdir -p $(SBINDIR)
18 + install -m 755 batmand $(SBINDIR)