add a rebuild and a default mostlyclean target to packages.
[openwrt.git] / package / olsrd / patches / olsrd-0.4.9-no-makedepend.patch
1 diff -ruN olsrd-0.4.9-old/Makefile olsrd-0.4.9-new/Makefile
2 --- olsrd-0.4.9-old/Makefile 2005-05-20 17:37:26.000000000 +0200
3 +++ olsrd-0.4.9-new/Makefile 2005-05-20 17:42:20.000000000 +0200
4 @@ -75,7 +75,7 @@
5 OFLAGS ?= -O2 -g
6 CFLAGS ?= $(CCWARNINGS) $(OFLAGS) #-DDEBUG #-pg #-march=i686
7 LIBS = -lm -ldl #-pg
8 -MAKEDEPEND = makedepend -f $(DEPFILE) $(DEFINES) -Y $(INCLUDES) $(SRCS) >/dev/null 2>&1
9 +MAKEDEPEND = $(CC) -M $(DEFINES) $(INCLUDES) $(SRCS) >> $(DEPFILE)
10
11 all: cfgparser olsrd
12 install: install_olsrd
13 diff -ruN olsrd-0.4.9-old/lib/dot_draw/Makefile olsrd-0.4.9-new/lib/dot_draw/Makefile
14 --- olsrd-0.4.9-old/lib/dot_draw/Makefile 2005-04-01 23:53:01.000000000 +0200
15 +++ olsrd-0.4.9-new/lib/dot_draw/Makefile 2005-05-20 17:42:52.000000000 +0200
16 @@ -64,8 +64,7 @@
17
18 EXTRA_OBJS = # nothing
19
20 -MAKEDEPEND = makedepend -f $(DEPFILE) $(CFLAGS_ADD) -Y $(INCLUDES) \
21 - $(SRCS) >/dev/null 2>&1
22 +MAKEDEPEND = $(CC) -M $(CFLAGS_ADD) $(INCLUDES) $(SRCS) >> $(DEPFILE)
23
24 all: all2
25 install: install2
26 diff -ruN olsrd-0.4.9-old/lib/nameservice/Makefile olsrd-0.4.9-new/lib/nameservice/Makefile
27 --- olsrd-0.4.9-old/lib/nameservice/Makefile 2005-03-01 22:41:34.000000000 +0100
28 +++ olsrd-0.4.9-new/lib/nameservice/Makefile 2005-05-20 17:42:57.000000000 +0200
29 @@ -98,8 +98,7 @@
30
31 EXTRA_OBJS = # nothing
32
33 -MAKEDEPEND = makedepend -f $(DEPFILE) $(CFLAGS_ADD) -Y $(INCLUDES) \
34 - $(SRCS) >/dev/null 2>&1
35 +MAKEDEPEND = $(CC) -M $(CFLAGS_ADD) $(INCLUDES) $(SRCS) >> $(DEPFILE)
36
37 all: all2
38 install: install2
39 diff -ruN olsrd-0.4.9-old/src/cfgparser/Makefile olsrd-0.4.9-new/src/cfgparser/Makefile
40 --- olsrd-0.4.9-old/src/cfgparser/Makefile 2005-03-21 03:17:36.000000000 +0100
41 +++ olsrd-0.4.9-new/src/cfgparser/Makefile 2005-05-20 17:43:50.000000000 +0200
42 @@ -56,7 +56,7 @@
43
44 ifeq ($(OS), linux)
45 PIPETONULL = >/dev/null 2>&1
46 -DEPFLAGS += -Dlinux -Y
47 +DEPFLAGS += -Dlinux
48 endif
49
50 ifeq ($(OS), fbsd)
51 @@ -129,7 +129,7 @@
52 endif
53 endif
54
55 -MAKEDEPEND = makedepend -f $(DEPFILE) $(DEPFLAGS) $(INCLUDES) $(SRCS) $(PIPETONULL)
56 +MAKEDEPEND = $(CC) -M $(DEPFLAGS) $(INCLUDES) $(SRCS) >> $(DEPFILE)
57
58 OBJS = olsrd_conf.o oparse.o oscan.o cfgfile_gen.o $(PORT_OBJS)
59 LIBS += $(PORT_LIBS)
This page took 0.044878 seconds and 5 git commands to generate.