OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/Makefile.in versions 1.19 and 1.20
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/Makefile.in 1.19 -> 1.20

--- Makefile.in  2001/09/13 07:39:42     1.19
+++ Makefile.in  2001/09/13 08:47:17     1.20
@@ -44,6 +44,7 @@
 
 PROG = lmtp2nntp
 HDRS = lmtp2nntp.h lmtp.h nntp.h sa.h argz.h shpat_match.h msg.h 
+SRCS = lmtp2nntp.c lmtp.c nntp.c sa.c argz.c shpat_match.c msg.c version.c
 OBJS = lmtp2nntp.o lmtp.o nntp.o sa.o argz.o shpat_match.o msg.o version.o
 
 SUBDIRS = @SUBDIR_STR@ @SUBDIR_L2@ 
@@ -121,28 +122,24 @@
         @cd test && ./run.sh
 
 #   create dependencies
-depend:
+depend: all
         cp Makefile.in Makefile.in.bak \
-        && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \
-        && $(CC) -MM $(CPPFLAGS) $(CFLAGS) *.c |\
-           sed -e 's/^\(l2_.*\)\.o:/\1.lo:/' >> Makefile.new \
+        && sed -ne '1,/^#   AUTOMATICALLY GENERATED DEPENDENCY LIST/p' Makefile.in > Makefile.new \
+        && $(CC) -MM $(CPPFLAGS) $(CFLAGS) $(SRCS) |\
+           perl -e 'my $$d = ""; $$d .= $$_ while (<STDIN>); $$_ = $$d; \
+                    s|\\\n\s*| |sg; s|\b?\S*/\S*\b?||g; s|\s{2,}| |g; \
+                    print $$_;' >> Makefile.new \
         && cp Makefile.new Makefile.in
         && rm -f Makefile.new
 
-##
-##  ____ DEPENDENCY AREA ____________________________________________
-##  (AUTOMATICALLY UPDATED - DO NOT EDIT)
-##
-argz.o: argz.c argz.h config.h /cw/include/dmalloc.h
-lmtp.o: lmtp.c lmtp.h config.h /cw/include/dmalloc.h
-lmtp2nntp.o: lmtp2nntp.c str/str.h argz.h shpat_match.h l2/l2.h \
- lmtp2nntp.h config.h /cw/include/dmalloc.h lmtp.h nntp.h msg.h sa.h \
- version.c
-msg.o: msg.c msg.h l2/l2.h lmtp2nntp.h config.h /cw/include/dmalloc.h \
- str/str.h argz.h
-nntp.o: nntp.c nntp.h msg.h l2/l2.h lmtp2nntp.h config.h \
- /cw/include/dmalloc.h
-sa.o: sa.c config.h /cw/include/dmalloc.h sa.h
-shpat_match.o: shpat_match.c config.h /cw/include/dmalloc.h \
- shpat_match.h
+$(OBJS): Makefile
+
+#   AUTOMATICALLY GENERATED DEPENDENCY LIST - DO NOT EDIT
+lmtp2nntp.o: lmtp2nntp.c argz.h shpat_match.h lmtp2nntp.h config.h lmtp.h nntp.h msg.h sa.h version.c
+lmtp.o: lmtp.c lmtp.h config.h
+nntp.o: nntp.c nntp.h msg.h lmtp2nntp.h config.h
+sa.o: sa.c config.h sa.h
+argz.o: argz.c argz.h config.h
+shpat_match.o: shpat_match.c config.h shpat_match.h
+msg.o: msg.c msg.h lmtp2nntp.h config.h argz.h
 version.o: version.c version.c

CVSTrac 2.0.1