dgaudet 98/02/12 02:15:30
Modified: src Configure Makefile.tmpl src/ap Makefile.tmpl src/main Makefile.tmpl src/modules/example Makefile.tmpl src/modules/experimental Makefile.tmpl src/modules/extra Makefile.tmpl src/modules/proxy Makefile.tmpl src/modules/standard Makefile.tmpl src/modules/test Makefile.tmpl src/os/unix Makefile.tmpl src/regex Makefile.tmpl Log: Out of date dependencies are worse than no dependencies. Without an automated rule we're unlikely to keep them up to date. Resurrect the "make depend" which existed prior to the makefile rearrangement. It's not perfect, like it lists os/unix/os.h... but that won't break anyone -- win32 developers don't use these dependencies. Folks don't any of them to just compile the server once... and aren't hurt by listing a dependency that doesn't apply to their compilation environment. Revision Changes Path 1.184 +1 -1 apache-1.3/src/Configure Index: Configure =================================================================== RCS file: /export/home/cvs/apache-1.3/src/Configure,v retrieving revision 1.183 retrieving revision 1.184 diff -u -r1.183 -r1.184 --- Configure 1998/02/04 18:18:49 1.183 +++ Configure 1998/02/12 10:15:15 1.184 @@ -1090,7 +1090,7 @@ default: all -all clean :: +all clean depend :: for i in \$(MODULES); do (cd \$\$i && \$(MAKE) CC='\$(CC)' AUX_CFLAGS='\$(CFLAGS)' RANLIB='\$(RANLIB)' \$@) || exit 1; done EOF 1.76 +8 -3 apache-1.3/src/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/Makefile.tmpl,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- Makefile.tmpl 1998/02/04 13:32:26 1.75 +++ Makefile.tmpl 1998/02/12 10:15:16 1.76 @@ -62,12 +62,17 @@ && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ && mv Makefile.tmpl Makefile.tmpl.bak \ && mv Makefile.new Makefile.tmpl - + for i in $(SUBDIRS); do \ + ( cd $$i && $(MAKE) CC='$(CC)' AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)' depend) || exit 1; \ + done #Dependencies $(OBJS): Makefile # DO NOT REMOVE -modules.o: modules.c include/httpd.h include/conf.h include/alloc.h \ - include/buff.h include/http_config.h +buildmark.o: buildmark.c +modules.o: modules.c include/httpd.h include/conf.h os/unix/os.h \ + include/hsregex.h include/alloc.h include/buff.h include/ap.h \ + include/http_config.h +tt.o: tt.c 1.12 +27 -7 apache-1.3/src/ap/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/ap/Makefile.tmpl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Makefile.tmpl 1998/02/03 20:00:55 1.11 +++ Makefile.tmpl 1998/02/12 10:15:18 1.12 @@ -24,10 +24,30 @@ ar cr $@ $(OBJS) $(RANLIB) $@ -# dependencies -ap_signal.o: $(INCDIR)/httpd.h -ap_slack.o: $(INCDIR)/httpd.h $(INCDIR)/http_log.h -ap_snprintf.o: $(INCDIR)/conf.h -ap_strings.o: $(INCDIR)/httpd.h -ap_cpystrn.o: $(INCDIR)/httpd.h -ap_execve.o: $(INCDIR)/httpd.h $(INCDIR)/http_log.h +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + +# DO NOT REMOVE +ap_cpystrn.o: ap_cpystrn.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h +ap_execve.o: ap_execve.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_log.h +ap_signal.o: ap_signal.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h +ap_slack.o: ap_slack.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_log.h +ap_snprintf.o: ap_snprintf.c ../include/conf.h ../os/unix/os.h \ + ../include/hsregex.h +ap_strings.o: ap_strings.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h 1.10 +88 -55 apache-1.3/src/main/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/Makefile.tmpl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Makefile.tmpl 1998/02/01 16:44:28 1.9 +++ Makefile.tmpl 1998/02/12 10:15:19 1.10 @@ -33,63 +33,96 @@ http_bprintf.o: http_bprintf.c $(CC) -c $(INCLUDES) $(CFLAGS) $(BROKEN_BPRINTF_FLAGS) http_bprintf.c +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + #Dependencies $(OBJS): Makefile # DO NOT REMOVE -alloc.o: alloc.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/multithread.h -buff.o: buff.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_main.h -dummy.o: dummy.c -explain.o: explain.c $(INCDIR)/explain.h -fnmatch.o: fnmatch.c -gnu-fnmatch.o: gnu-fnmatch.c $(INCDIR)/fnmatch.h -http_bprintf.o: http_bprintf.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h -http_config.o: http_config.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h $(INCDIR)/http_request.h \ - $(INCDIR)/http_conf_globals.h $(INCDIR)/explain.h \ - $(INCDIR)/http_vhost.h -http_core.o: http_core.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_config.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_conf_globals.h \ - $(INCDIR)/http_main.h $(INCDIR)/http_log.h $(INCDIR)/rfc1413.h \ - $(INCDIR)/util_md5.h $(INCDIR)/md5.h $(INCDIR)/scoreboard.h \ - $(INCDIR)/fnmatch.h -http_log.o: http_log.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_config.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_log.h -http_main.o: http_main.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_main.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_config.h $(INCDIR)/http_protocol.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_conf_globals.h \ - $(INCDIR)/http_core.h $(INCDIR)/scoreboard.h $(INCDIR)/multithread.h \ - $(INCDIR)/explain.h $(INCDIR)/http_vhost.h -http_protocol.o: http_protocol.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_protocol.h $(INCDIR)/http_main.h \ - $(INCDIR)/http_log.h $(INCDIR)/util_date.h $(INCDIR)/http_vhost.h -http_request.o: http_request.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_log.h $(INCDIR)/http_main.h \ - $(INCDIR)/scoreboard.h $(INCDIR)/fnmatch.h -md5c.o: md5c.c $(INCDIR)/conf.h $(INCDIR)/md5.h -modules.o: modules.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_config.h -rfc1413.o: rfc1413.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_log.h $(INCDIR)/rfc1413.h \ - $(INCDIR)/http_main.h -util.o: util.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_conf_globals.h -util_date.o: util_date.c $(INCDIR)/conf.h $(INCDIR)/util_date.h -util_md5.o: util_md5.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/util_md5.h $(INCDIR)/md5.h -util_script.o: util_script.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_conf_globals.h $(INCDIR)/http_main.h \ - $(INCDIR)/http_log.h $(INCDIR)/http_protocol.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_request.h $(INCDIR)/util_script.h +alloc.o: alloc.c ../include/httpd.h ../include/conf.h ../os/unix/os.h \ + ../include/hsregex.h ../include/alloc.h ../include/buff.h \ + ../include/ap.h ../include/multithread.h ../include/http_log.h +buff.o: buff.c ../include/httpd.h ../include/conf.h ../os/unix/os.h \ + ../include/hsregex.h ../include/alloc.h ../include/buff.h \ + ../include/ap.h ../include/http_main.h ../include/http_log.h +explain.o: explain.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/explain.h +fnmatch.o: fnmatch.c ../include/fnmatch.h +http_bprintf.o: http_bprintf.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h +http_config.o: http_config.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_config.h \ + ../include/http_core.h ../include/http_log.h \ + ../include/http_request.h ../include/http_conf_globals.h \ + ../include/http_vhost.h ../include/explain.h +http_core.o: http_core.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_config.h \ + ../include/http_core.h ../include/http_protocol.h \ + ../include/http_request.h ../include/http_conf_globals.h \ + ../include/http_vhost.h ../include/http_main.h ../include/http_log.h \ + ../include/rfc1413.h ../include/util_md5.h ../include/md5.h \ + ../include/scoreboard.h ../include/fnmatch.h +http_log.o: http_log.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_config.h \ + ../include/http_core.h ../include/http_log.h ../include/http_main.h +http_main.o: http_main.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_main.h \ + ../include/http_log.h ../include/http_config.h \ + ../include/http_protocol.h ../include/http_request.h \ + ../include/http_conf_globals.h ../include/http_core.h \ + ../include/http_vhost.h ../include/util_script.h \ + ../include/scoreboard.h ../include/multithread.h ../include/explain.h +http_protocol.o: http_protocol.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_config.h \ + ../include/http_core.h ../include/http_protocol.h \ + ../include/http_main.h ../include/http_request.h \ + ../include/http_vhost.h ../include/http_log.h ../include/util_date.h \ + ../include/http_conf_globals.h +http_request.o: http_request.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_config.h \ + ../include/http_request.h ../include/http_core.h \ + ../include/http_protocol.h ../include/http_log.h \ + ../include/http_main.h ../include/scoreboard.h ../include/fnmatch.h +http_vhost.o: http_vhost.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_config.h \ + ../include/http_conf_globals.h ../include/http_log.h \ + ../include/http_vhost.h ../include/http_protocol.h +md5c.o: md5c.c ../include/conf.h ../os/unix/os.h ../include/hsregex.h \ + ../include/md5.h +rfc1413.o: rfc1413.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_log.h \ + ../include/rfc1413.h ../include/http_main.h +util.o: util.c ../include/httpd.h ../include/conf.h ../os/unix/os.h \ + ../include/hsregex.h ../include/alloc.h ../include/buff.h \ + ../include/ap.h ../include/http_conf_globals.h ../include/http_log.h +util_date.o: util_date.c ../include/conf.h ../os/unix/os.h \ + ../include/hsregex.h ../include/util_date.h +util_md5.o: util_md5.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/util_md5.h \ + ../include/md5.h +util_script.o: util_script.c ../include/httpd.h ../include/conf.h \ + ../os/unix/os.h ../include/hsregex.h ../include/alloc.h \ + ../include/buff.h ../include/ap.h ../include/http_config.h \ + ../include/http_conf_globals.h ../include/http_main.h \ + ../include/http_log.h ../include/http_protocol.h \ + ../include/http_core.h ../include/http_request.h \ + ../include/util_script.h ../include/util_date.h 1.2 +22 -1 apache-1.3/src/modules/example/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/example/Makefile.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Makefile.tmpl 1997/10/07 19:53:28 1.1 +++ Makefile.tmpl 1998/02/12 10:15:20 1.2 @@ -1 +1,22 @@ -# this is enough to get us a default Makefile +# default Makefile.tmpl to force Configure to create a Makefile + +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + +#Dependencies + +$(OBJS): Makefile + +# DO NOT REMOVE +mod_example.o: mod_example.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h \ + ../../include/http_log.h ../../include/http_main.h \ + ../../include/http_protocol.h ../../include/util_script.h 1.2 +20 -0 apache-1.3/src/modules/experimental/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/experimental/Makefile.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Makefile.tmpl 1998/02/10 09:49:27 1.1 +++ Makefile.tmpl 1998/02/12 10:15:21 1.2 @@ -1 +1,21 @@ # default Makefile.tmpl to force Configure to create a Makefile + +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + +#Dependencies + +$(OBJS): Makefile + +# DO NOT REMOVE +mod_mmap_static.o: mod_mmap_static.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_log.h \ + ../../include/http_protocol.h ../../include/http_request.h 1.2 +15 -0 apache-1.3/src/modules/extra/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/extra/Makefile.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Makefile.tmpl 1997/08/13 09:09:15 1.1 +++ Makefile.tmpl 1998/02/12 10:15:22 1.2 @@ -1 +1,16 @@ # default Makefile.tmpl to force Configure to create a Makefile + +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + +#Dependencies + +$(OBJS): Makefile + +# DO NOT REMOVE 1.2 +48 -7 apache-1.3/src/modules/proxy/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/proxy/Makefile.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Makefile.tmpl 1997/10/07 19:53:30 1.1 +++ Makefile.tmpl 1998/02/12 10:15:24 1.2 @@ -15,12 +15,53 @@ clean: rm -f *.o $(LIB) +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + +#Dependencies + $(OBJS): Makefile -# dependencies -$(OBJS): mod_proxy.h $(INCDIR)/httpd.h $(INCDIR)/http_config.h $(INCDIR)/http_protocol.h -proxy_cache.o proxy_connect.o proxy_http.o proxy_util.o: $(INCDIR)/http_main.h -proxy_cache.o proxy_connect.o proxy_http.o: $(INCDIR)/http_log.h -proxy_cache.o proxy_http.o: $(INCDIR)/util_date.h -proxy_cache.o proxy_util.o: $(INCDIR)/md5.h -proxy_ftp.o: $(INCDIR)/http_main.h ../standard/mod_mime.h +# DO NOT REMOVE +mod_proxy.o: mod_proxy.c mod_proxy.h ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_protocol.h \ + ../../include/explain.h ../../include/http_log.h +proxy_cache.o: proxy_cache.c mod_proxy.h ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_protocol.h \ + ../../include/explain.h ../../include/http_log.h \ + ../../include/http_main.h ../../include/util_date.h \ + ../../include/multithread.h ../../include/md5.h +proxy_connect.o: proxy_connect.c mod_proxy.h ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_protocol.h \ + ../../include/explain.h ../../include/http_log.h \ + ../../include/http_main.h +proxy_ftp.o: proxy_ftp.c mod_proxy.h ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_protocol.h \ + ../../include/explain.h ../../include/http_main.h \ + ../standard/mod_mime.h +proxy_http.o: proxy_http.c mod_proxy.h ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_protocol.h \ + ../../include/explain.h ../../include/http_log.h \ + ../../include/http_main.h ../../include/util_date.h +proxy_util.o: proxy_util.c mod_proxy.h ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_protocol.h \ + ../../include/explain.h ../../include/http_main.h ../../include/md5.h \ + ../../include/multithread.h ../../include/http_log.h 1.6 +184 -158 apache-1.3/src/modules/standard/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/standard/Makefile.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Makefile.tmpl 1997/10/07 19:53:31 1.5 +++ Makefile.tmpl 1998/02/12 10:15:25 1.6 @@ -1,158 +1,184 @@ -mod_access.o: mod_access.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_config.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_request.h - -mod_actions.o: mod_actions.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_main.h \ - $(INCDIR)/http_log.h $(INCDIR)/util_script.h - -mod_alias.o: mod_alias.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h - -mod_asis.o: mod_asis.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_log.h \ - $(INCDIR)/util_script.h $(INCDIR)/http_main.h \ - $(INCDIR)/http_request.h - -mod_auth.o: mod_auth.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_protocol.h - -mod_auth_anon.o: mod_auth_anon.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_protocol.h - -mod_auth_db.o: mod_auth_db.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_protocol.h - -mod_auth_dbm.o: mod_auth_dbm.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_protocol.h - -mod_autoindex.o: mod_autoindex.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_request.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_main.h $(INCDIR)/util_script.h - -mod_browser.o: mod_browser.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h - -mod_cern_meta.o: mod_cern_meta.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/util_script.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_request.h - -mod_cgi.o: mod_cgi.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_main.h \ - $(INCDIR)/http_log.h $(INCDIR)/util_script.h \ - $(INCDIR)/http_conf_globals.h - -mod_digest.o: mod_digest.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/util_md5.h $(INCDIR)/md5.h - -mod_dir.o: mod_dir.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_request.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_main.h $(INCDIR)/util_script.h - -mod_dld.o: mod_dld.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_conf_globals.h - -mod_env.o: mod_env.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h - -mod_expires.o: mod_expires.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_log.h - -mod_headers.o: mod_headers.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h - -mod_imap.o: mod_imap.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_main.h \ - $(INCDIR)/http_log.h $(INCDIR)/util_script.h - -mod_include.o: mod_include.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_protocol.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_main.h $(INCDIR)/util_script.h - -mod_info.o: mod_info.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h \ - $(INCDIR)/http_main.h $(INCDIR)/http_protocol.h \ - $(INCDIR)/util_script.h $(INCDIR)/http_conf_globals.h - -mod_log_agent.o: mod_log_agent.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h - -mod_log_config.o: mod_log_config.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h - -mod_log_referer.o: mod_log_referer.c $(INCDIR)/httpd.h \ - $(INCDIR)/conf.h $(INCDIR)/alloc.h $(INCDIR)/buff.h \ - $(INCDIR)/http_config.h - -mod_mime.o: mod_mime.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h - -mod_mime_magic.o: mod_mime_magic.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_log.h $(INCDIR)/http_protocol.h - -mod_negotiation.o: mod_negotiation.c $(INCDIR)/httpd.h \ - $(INCDIR)/conf.h $(INCDIR)/alloc.h $(INCDIR)/buff.h \ - $(INCDIR)/http_config.h $(INCDIR)/http_request.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h \ - $(INCDIR)/util_script.h - -mod_rewrite.o: mod_rewrite.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_request.h $(INCDIR)/http_core.h \ - $(INCDIR)/http_log.h mod_rewrite.h - -mod_setenvif.o: mod_setenvif.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_log.h - -mod_speling.o: mod_speling.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - ../../$(OSDIR)/os.h ../../$(OSDIR)/os-inline.c $(INCDIR)/alloc.h \ - $(INCDIR)/buff.h $(INCDIR)/http_config.h $(INCDIR)/http_log.h - -mod_status.o: mod_status.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h $(INCDIR)/http_protocol.h \ - $(INCDIR)/http_main.h $(INCDIR)/util_script.h \ - $(INCDIR)/scoreboard.h $(INCDIR)/http_log.h - -mod_unique_id.o: mod_unique_id.c $(INCDIR)/httpd.h \ - $(INCDIR)/http_config.h $(INCDIR)/http_log.h \ - $(INCDIR)/multithread.h - -mod_userdir.o: mod_userdir.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h - -mod_usertrack.o: mod_usertrack.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \ - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/http_config.h \ - $(INCDIR)/http_core.h +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + +#Dependencies + +$(OBJS): Makefile + +# DO NOT REMOVE +mod_access.o: mod_access.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_core.h \ + ../../include/http_config.h ../../include/http_log.h \ + ../../include/http_request.h +mod_actions.o: mod_actions.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_request.h \ + ../../include/http_core.h ../../include/http_protocol.h \ + ../../include/http_main.h ../../include/http_log.h \ + ../../include/util_script.h +mod_alias.o: mod_alias.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h +mod_asis.o: mod_asis.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_protocol.h ../../include/http_log.h \ + ../../include/util_script.h ../../include/http_main.h \ + ../../include/http_request.h +mod_auth.o: mod_auth.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_core.h ../../include/http_log.h \ + ../../include/http_protocol.h +mod_auth_anon.o: mod_auth_anon.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h \ + ../../include/http_log.h ../../include/http_protocol.h \ + ../../include/http_request.h +mod_auth_db.o: mod_auth_db.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h \ + ../../include/http_log.h ../../include/http_protocol.h +mod_auth_dbm.o: mod_auth_dbm.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h \ + ../../include/http_log.h ../../include/http_protocol.h +mod_autoindex.o: mod_autoindex.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h \ + ../../include/http_request.h ../../include/http_protocol.h \ + ../../include/http_log.h ../../include/http_main.h \ + ../../include/util_script.h +mod_cern_meta.o: mod_cern_meta.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/util_script.h \ + ../../include/http_log.h ../../include/http_request.h +mod_cgi.o: mod_cgi.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_request.h ../../include/http_core.h \ + ../../include/http_protocol.h ../../include/http_main.h \ + ../../include/http_log.h ../../include/util_script.h \ + ../../include/http_conf_globals.h +mod_digest.o: mod_digest.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_core.h ../../include/http_log.h \ + ../../include/http_protocol.h ../../include/util_md5.h \ + ../../include/md5.h +mod_dir.o: mod_dir.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_core.h ../../include/http_request.h \ + ../../include/http_protocol.h ../../include/http_log.h \ + ../../include/http_main.h ../../include/util_script.h +mod_env.o: mod_env.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h +mod_expires.o: mod_expires.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_log.h +mod_headers.o: mod_headers.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h +mod_imap.o: mod_imap.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_request.h ../../include/http_core.h \ + ../../include/http_protocol.h ../../include/http_main.h \ + ../../include/http_log.h ../../include/util_script.h +mod_include.o: mod_include.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_request.h \ + ../../include/http_core.h ../../include/http_protocol.h \ + ../../include/http_log.h ../../include/http_main.h \ + ../../include/util_script.h +mod_info.o: mod_info.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_core.h ../../include/http_log.h \ + ../../include/http_main.h ../../include/http_protocol.h \ + ../../include/util_script.h ../../include/http_conf_globals.h +mod_log_agent.o: mod_log_agent.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h +mod_log_config.o: mod_log_config.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h \ + ../../include/http_log.h +mod_log_referer.o: mod_log_referer.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h +mod_mime.o: mod_mime.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + mod_mime.h +mod_mime_magic.o: mod_mime_magic.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_request.h \ + ../../include/http_core.h ../../include/http_log.h \ + ../../include/http_protocol.h +mod_negotiation.o: mod_negotiation.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_request.h \ + ../../include/http_core.h ../../include/http_log.h \ + ../../include/util_script.h +mod_rewrite.o: mod_rewrite.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_request.h \ + ../../include/http_core.h ../../include/http_log.h mod_rewrite.h +mod_setenvif.o: mod_setenvif.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h \ + ../../include/http_log.h +mod_so.o: mod_so.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_log.h +mod_speling.o: mod_speling.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_core.h ../../include/http_config.h \ + ../../include/http_log.h +mod_status.o: mod_status.c ../../include/httpd.h ../../include/conf.h \ + ../../os/unix/os.h ../../include/hsregex.h ../../include/alloc.h \ + ../../include/buff.h ../../include/ap.h ../../include/http_config.h \ + ../../include/http_core.h ../../include/http_protocol.h \ + ../../include/http_main.h ../../include/util_script.h \ + ../../include/scoreboard.h ../../include/http_log.h +mod_unique_id.o: mod_unique_id.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_log.h \ + ../../include/multithread.h +mod_userdir.o: mod_userdir.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h +mod_usertrack.o: mod_usertrack.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_config.h ../../include/http_core.h 1.2 +20 -0 apache-1.3/src/modules/test/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/test/Makefile.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Makefile.tmpl 1998/02/07 10:44:33 1.1 +++ Makefile.tmpl 1998/02/12 10:15:26 1.2 @@ -1 +1,21 @@ # default Makefile.tmpl to force Configure to create a Makefile + +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + +#Dependencies + +$(OBJS): Makefile + +# DO NOT REMOVE +mod_rndchunk.o: mod_rndchunk.c ../../include/httpd.h \ + ../../include/conf.h ../../os/unix/os.h ../../include/hsregex.h \ + ../../include/alloc.h ../../include/buff.h ../../include/ap.h \ + ../../include/http_protocol.h ../../include/http_config.h \ + ../../include/http_main.h 1.11 +11 -1 apache-1.3/src/os/unix/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/os/unix/Makefile.tmpl,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- Makefile.tmpl 1998/02/01 15:56:18 1.10 +++ Makefile.tmpl 1998/02/12 10:15:27 1.11 @@ -21,7 +21,17 @@ clean: rm -f $(OBJS) $(LIB) +# We really don't expect end users to use this rule. It works only with +# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after +# using it. +depend: + sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ + && $(CC) -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ + && mv Makefile.tmpl Makefile.tmpl.bak \ + && mv Makefile.new Makefile.tmpl + $(OBJS): Makefile # DO NOT REMOVE -os.o: os.c os-inline.c +os-inline.o: os-inline.c +os.o: os.c os.h 1.5 +3 -0 apache-1.3/src/regex/Makefile.tmpl Index: Makefile.tmpl =================================================================== RCS file: /export/home/cvs/apache-1.3/src/regex/Makefile.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Makefile.tmpl 1998/02/04 18:18:52 1.4 +++ Makefile.tmpl 1998/02/12 10:15:29 1.5 @@ -54,6 +54,9 @@ # cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h # rm -f regex.tmp +# no automatic dependencies here +depend: + # dependencies $(OBJPRODN) debug.o: utils.h $(REGEXH) regex2.h regcomp.o: cclass.h cname.h regcomp.ih