[eggheads-patches] PATCH: makefile-dependency-stuff.diff

Tothwolf tothwolf at concentric.net
Wed Oct 27 08:15:52 CST 1999


makefile-dependency-stuff.diff:
  More fixes for Makefile dependency rules

  Note: putlog-misc-part2.diff and tcl_free.diff must be applied before
  this patch

-Toth
-------------- next part --------------
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/Makefile.in ./src/Makefile.in
--- ../eggdrop1.3.tmp/src/Makefile.in	Wed Oct 27 00:12:50 1999
+++ ./src/Makefile.in	Tue Oct 26 23:51:23 1999
@@ -68,29 +68,29 @@
 .c.o:
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
-botcmd.o: chan.h main.h modules.h tandem.h users.h
-botmsg.o: main.h tandem.h
-botnet.o: main.h tandem.h
-chanprog.o: main.h modules.h
-cmds.o: main.h modules.h tandem.h
-dcc.o: main.h md5/global.h md5/md5.h modules.h tandem.h
-dccutil.o: chan.h main.h modules.h tandem.h
-flags.o: main.h
-language.o: main.h
-main.o: chan.h main.h modules.h patch.h tandem.h
-mem.o: mod/modvals.h
-misc.o: chan.h main.h
-modules.o: main.h modules.h tandem.h users.h
-net.o: main.h
-rfc1459.o: main.h
-tcl.o: main.h
-tcldcc.o: main.h modules.h tandem.h
-tclhash.o: chan.h main.h match.c users.h
-tclmisc.o: main.h modules.h tandem.h
-tcluser.o: chan.h main.h tandem.h users.h
-userent.o: main.h users.h
-userrec.o: chan.h main.h modules.h tandem.h users.h
-users.o: chan.h main.h modules.h tandem.h users.h
+botcmd.c: chan.h main.h modules.h tandem.h users.h
+botmsg.c: main.h tandem.h
+botnet.c: main.h tandem.h
+chanprog.c: main.h modules.h
+cmds.c: main.h modules.h tandem.h
+dcc.c: main.h md5/global.h md5/md5.h modules.h tandem.h
+dccutil.c: chan.h main.h modules.h tandem.h
+flags.c: main.h
+language.c: main.h
+main.c: chan.h main.h modules.h patch.h tandem.h
+mem.c: mod/modvals.h
+misc.c: chan.h main.h
+modules.c: main.h modules.h tandem.h users.h
+net.c: main.h
+rfc1459.c: main.h
+tcl.c: main.h
+tcldcc.c: main.h modules.h tandem.h
+tclhash.c: match.c chan.h main.h users.h
+tclmisc.c: main.h modules.h tandem.h
+tcluser.c: chan.h main.h tandem.h users.h
+userent.c: main.h users.h
+userrec.c: chan.h main.h modules.h tandem.h users.h
+users.c: chan.h main.h modules.h tandem.h users.h
 main.h: ../config.h chan.h cmdt.h eggdrop.h flags.h lang.h \
 proto.h tclegg.h tclhash.h users.h
 modules.h: mod/modvals.h
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/assoc.mod/Makefile ./src/mod/assoc.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/assoc.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/assoc.mod/Makefile	Tue Oct 26 23:44:43 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../assoc.so
 
-../assoc.o: assoc.c ../module.h ../modvals.h ../../eggdrop.h \
-../../tandem.h
+../assoc.o: assoc.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c assoc.c
 	rm -f ../assoc.o
 	mv assoc.o ../
@@ -22,5 +21,7 @@
 ../../../assoc.so: ../assoc.o
 	$(LD) -o ../../../assoc.so ../assoc.o
 	$(STRIP) ../../../assoc.so
+
+assoc.c: ../../tandem.h ../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/blowfish.mod/Makefile ./src/mod/blowfish.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/blowfish.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/blowfish.mod/Makefile	Tue Oct 26 23:46:20 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../blowfish.so
 
-../blowfish.o: bf_tab.h blowfish.c blowfish.h ../module.h ../modvals.h \
-../../eggdrop.h
+../blowfish.o: blowfish.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c blowfish.c
 	rm -f ../blowfish.o
 	mv blowfish.o ../
@@ -22,5 +21,7 @@
 ../../../blowfish.so: ../blowfish.o
 	$(LD) -o ../../../blowfish.so ../blowfish.o
 	$(STRIP) ../../../blowfish.so
+
+blowfish.c: blowfish.h bf_tab.h ../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/channels.mod/Makefile ./src/mod/channels.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/channels.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/channels.mod/Makefile	Tue Oct 26 23:14:41 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../channels.so
 
-../channels.o: channels.c channels.h cmdschan.c tclchan.c userchan.c \
-../module.h ../modvals.h ../../eggdrop.h
+../channels.o: channels.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c channels.c
 	rm -f ../channels.o
 	mv channels.o ../
@@ -22,5 +21,8 @@
 ../../../channels.so: ../channels.o
 	$(LD) -o ../../../channels.so ../channels.o
 	$(STRIP) ../../../channels.so
+
+channels.c: cmdschan.c tclchan.c userchan.c channels.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/console.mod/Makefile ./src/mod/console.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/console.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/console.mod/Makefile	Tue Oct 26 23:46:07 1999
@@ -13,7 +13,7 @@
 
 modules: ../../../console.so
 
-../console.o: console.c ../module.h ../modvals.h ../../eggdrop.h
+../console.o: console.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c console.c
 	rm -f ../console.o
 	mv console.o ../
@@ -21,5 +21,7 @@
 ../../../console.so: ../console.o
 	$(LD) -o ../../../console.so ../console.o
 	$(STRIP) ../../../console.so
+
+console.c: ../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/ctcp.mod/Makefile ./src/mod/ctcp.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/ctcp.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/ctcp.mod/Makefile	Tue Oct 26 23:44:18 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../ctcp.so
 
-../ctcp.o: ctcp.c ctcp.h ../module.h ../modvals.h ../../eggdrop.h \
-../server.mod/server.h
+../ctcp.o: ctcp.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c ctcp.c
 	rm -f ../ctcp.o
 	mv ctcp.o ../
@@ -22,5 +21,8 @@
 ../../../ctcp.so: ../ctcp.o
 	$(LD) -o ../../../ctcp.so ../ctcp.o
 	$(STRIP) ../../../ctcp.so
+
+ctcp.c: ctcp.h ../server.mod/server.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/filesys.mod/Makefile ./src/mod/filesys.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/filesys.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/filesys.mod/Makefile	Tue Oct 26 23:46:01 1999
@@ -13,9 +13,7 @@
 
 modules: ../../../filesys.so
 
-../filesys.o: filedb.c files.c files.h filesys.c filesys.h tclfiles.c \
-../module.h ../modvals.h ../../eggdrop.h ../../lang.h ../../tandem.h \
-../transfer.mod/transfer.h
+../filesys.o: filesys.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c filesys.c
 	rm -f ../filesys.o
 	mv filesys.o ../
@@ -23,6 +21,9 @@
 ../../../filesys.so: ../filesys.o
 	$(LD) -o ../../../filesys.so ../filesys.o
 	$(STRIP) ../../../filesys.so
+
+filesys.c: filedb.c files.c tclfiles.c files.h filesys.h \
+../../tandem.h ../module.h ../modvals.h ../../eggdrop.h
 
 filesys.h: ../transfer.mod/transfer.h ../../lang.h
 
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/irc.mod/Makefile ./src/mod/irc.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/irc.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/irc.mod/Makefile	Tue Oct 26 23:43:56 1999
@@ -13,9 +13,7 @@
 
 modules: ../../../irc.so
 
-../irc.o: chan.c cmdsirc.c irc.c irc.h mode.c msgcmds.c tclirc.c \
-../module.h ../modvals.h ../../eggdrop.h ../channels.mod/channels.h \
-../server.mod/server.h
+../irc.o: irc.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c irc.c
 	rm -f ../irc.o
 	mv irc.o ../
@@ -23,5 +21,9 @@
 ../../../irc.so: ../irc.o
 	$(LD) -o ../../../irc.so ../irc.o
 	$(STRIP) ../../../irc.so
+
+irc.c: chan.c mode.c cmdsirc.c msgcmds.c tclirc.c irc.h \
+../channels.mod/channels.h ../server.mod/server.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/notes.mod/Makefile ./src/mod/notes.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/notes.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/notes.mod/Makefile	Tue Oct 26 23:45:36 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../notes.so
 
-../notes.o: cmdsnote.c notes.c notes.h ../module.h ../modvals.h \
-../../eggdrop.h ../../tandem.h
+../notes.o: notes.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c notes.c
 	rm -f ../notes.o
 	mv notes.o ../
@@ -22,5 +21,8 @@
 ../../../notes.so: ../notes.o
 	$(LD) -o ../../../notes.so ../notes.o
 	$(STRIP) ../../../notes.so
+
+notes.c: notes.h cmdsnote.c ../../tandem.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/seen.mod/Makefile ./src/mod/seen.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/seen.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/seen.mod/Makefile	Tue Oct 26 23:43:43 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../seen.so
 
-../seen.o: seen.c ../module.h ../modvals.h ../../eggdrop.h \
-../channels.mod/channels.h ../../chan.h ../../users.h
+../seen.o: seen.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c seen.c
 	rm -f ../seen.o
 	mv seen.o ../
@@ -22,5 +21,8 @@
 ../../../seen.so: ../seen.o
 	$(LD) -o ../../../seen.so ../seen.o
 	$(STRIP) ../../../seen.so
+
+seen.c: ../channels.mod/channels.h ../../chan.h ../../users.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/server.mod/Makefile ./src/mod/server.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/server.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/server.mod/Makefile	Tue Oct 26 23:45:18 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../server.so
 
-../server.o: cmdsserv.c server.c server.h servmsg.c ../module.h \
-../modvals.h ../../eggdrop.h
+../server.o: server.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c server.c
 	rm -f ../server.o
 	mv server.o ../
@@ -22,5 +21,8 @@
 ../../../server.so: ../server.o
 	$(LD) -o ../../../server.so ../server.o
 	$(STRIP) ../../../server.so
+
+server.c: servmsg.c cmdsserv.c server.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/share.mod/Makefile ./src/mod/share.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/share.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/share.mod/Makefile	Tue Oct 26 23:47:16 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../share.so
 
-../share.o: share.c ../module.h ../modvals.h ../../eggdrop.h ../../chan.h \
-../../users.h ../channels.mod/channels.h ../transfer.mod/transfer.h
+../share.o: share.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c share.c
 	rm -f ../share.o
 	mv share.o ../
@@ -22,5 +21,8 @@
 ../../../share.so: ../share.o
 	$(LD) -o ../../../share.so ../share.o
 	$(STRIP) ../../../share.so
+
+share.c: ../../chan.h ../../users.h ../channels.mod/channels.h \
+../transfer.mod/transfer.h ../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/transfer.mod/Makefile ./src/mod/transfer.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/transfer.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/transfer.mod/Makefile	Tue Oct 26 23:45:08 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../transfer.so
 
-../transfer.o: transfer.c transfer.h ../module.h ../modvals.h \
-../../eggdrop.h ../../tandem.h ../../users.h
+../transfer.o: transfer.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c transfer.c
 	rm -f ../transfer.o
 	mv transfer.o ../
@@ -22,5 +21,8 @@
 ../../../transfer.so: ../transfer.o
 	$(LD) -o ../../../transfer.so ../transfer.o
 	$(STRIP) ../../../transfer.so
+
+transfer.c: transfer.h ../../tandem.h ../../users.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/wire.mod/Makefile ./src/mod/wire.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/wire.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/wire.mod/Makefile	Tue Oct 26 23:46:31 1999
@@ -13,8 +13,7 @@
 
 modules: ../../../wire.so
 
-../wire.o: wire.c wire.h ../module.h ../modvals.h ../../eggdrop.h \
-../../chan.h ../../users.h
+../wire.o: wire.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c wire.c
 	rm -f ../wire.o
 	mv wire.o ../
@@ -22,5 +21,8 @@
 ../../../wire.so: ../wire.o
 	$(LD) -o ../../../wire.so ../wire.o
 	$(STRIP) ../../../wire.so
+
+wire.c: wire.h ../../chan.h ../../users.h \
+../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash
diff -urNPX ../exclude ../eggdrop1.3.tmp/src/mod/woobie.mod/Makefile ./src/mod/woobie.mod/Makefile
--- ../eggdrop1.3.tmp/src/mod/woobie.mod/Makefile	Wed Oct 27 00:12:50 1999
+++ ./src/mod/woobie.mod/Makefile	Tue Oct 26 23:44:47 1999
@@ -13,7 +13,7 @@
 
 modules: ../../../woobie.so
 
-../woobie.o: woobie.c ../module.h ../modvals.h ../../eggdrop.h
+../woobie.o: woobie.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c woobie.c
 	rm -f ../woobie.o
 	mv woobie.o ../
@@ -21,5 +21,7 @@
 ../../../woobie.so: ../woobie.o
 	$(LD) -o ../../../woobie.so ../woobie.o
 	$(STRIP) ../../../woobie.so
+
+woobie.c: ../module.h ../modvals.h ../../eggdrop.h
 
 #safety hash


More information about the Patches mailing list