You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.9 KiB

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