Dash:
[t2.git] / package / network / isdn4k-utils / depend-fix.patch
blob00cffcb5f10246e546debf5bbd5e7a8654dfe4a8
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../isdn4k-utils/depend-fix.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- isdn4k-utils/isdnlog/tools/cdb/Makefile.in~ 2000-08-15 17:16:23.000000000 +0200
17 +++ isdn4k-utils/isdnlog/tools/cdb/Makefile.in 2004-12-18 12:42:55.354247840 +0100
18 @@ -90,4 +90,7 @@
19 depend: .depend
21 .depend:
22 - $(CPP) -MM $(CFLAGS) $(DEFS) $(INCLUDE) *.c >.depend
23 + rm -f .depend; for i in *.c; do \
24 + $(CPP) -MM $(CFLAGS) $(DEFS) $(INCLUDE) $$i >>.depend; \
25 + done
27 --- isdn4k-utils/lib/Makefile~ 1999-10-26 20:17:17.000000000 +0200
28 +++ isdn4k-utils/lib/Makefile 2004-12-18 12:48:37.638212768 +0100
29 @@ -53,7 +53,9 @@
30 depend dep: .depend
32 .depend:
33 - $(CPP) -M $(CFLAGS) $(DEFS) *.c >.depend
34 + rm -f .depend; for i in *.c; do \
35 + $(CPP) -MM $(CFLAGS) $(DEFS) $(INCLUDE) $$i >>.depend; \
36 + done
38 clean:
39 -rm -f *.o *.a
40 --- ./isdnlog/Makefile.in~ 2005-02-27 23:37:41.000000000 +0100
41 +++ ./isdnlog/Makefile.in 2005-09-13 22:33:23.000000000 +0200
42 @@ -2128,7 +2128,9 @@
44 # sed transforms "tools.o: tools/tools.c ..." to "tools/tools.o: ..."
45 .depend:
46 - $(CPP) -M $(CFLAGS) $(DEFS) $(INCLUDE) */*.c >.depend.tmp
47 + rm -f .depend; for i in */*.c; do \
48 + $(CPP) -MM $(CFLAGS) $(DEFS) $(INCLUDE) $$i >>.depend; \
49 + done
50 cat .depend.tmp | \
51 sed -e"s%^\([A-Za-z0-9_]\+\)\.o: \([A-Za-z0-9_]\+\)/\1\.c %\2/\1.o: \2/\1.c %" > .depend
52 rm -f .depend.tmp