httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@ast.cam.ac.uk (David Robinson)
Subject Makefile dependencies
Date Mon, 24 Jul 1995 17:41:00 GMT
The makefile didn't have any dependencies, so do not recompile correctly when
I edited a header file. Here is a patch (for 0.8.2)

----------------------- begin file make.patch -----------------------------
*** Makefile.tmpl~	Sun Jul 16 20:38:13 1995
--- Makefile.tmpl	Mon Jul 24 17:07:50 1995
***************
*** 14,21 ****
  httpd: $(OBJS)
  	$(CC) $(LFLAGS) -o httpd $(OBJS) $(EXTRA_LIBS)
  
- $(OBJS): Makefile httpd.h
- 
  clean:
  	rm -f httpd $(OBJS) *pure*
  
--- 14,19 ----
***************
*** 25,27 ****
--- 23,55 ----
  	cp modules.c.orig modules.c
  	tar cvf dist.tar README INSTALL CHANGES TODO API.html \
  		Configuration Configure Makefile.tmpl Makefile *.h *.c
+ 
+ #Dependencies
+ #Core code
+ $(OBJS): Makefile httpd.h alloc.h conf.h
+ 
+ http_config.o http_core.o http_main.o util.o: http_conf_globals.h
+ http_config.o http_core.o http_main.o: http_config.h http_log.h
+ http_log.o http_protocol.o http_request.o modules.o: http_config.h
+ http_config.o http_core.o http_protocol.o http_request.o: http_core.h
+ http_protocol.o http_request.o util_script.o: http_log.h
+ http_core.o http_main.o http_protocol.o http_request.o: http_main.h
+ http_core.o http_main.o http_protocol.o http_request.o: http_protocol.h
+ http_config.o http_main.o http_request.o: http_request.h
+ http_main.o: scoreboard.h
+ 
+ #Modules
+ $(MODULES): http_config.h
+ mod_dld.o: http_conf_globals.h
+ mod_ai_backcompat.o mod_auth.o mod_auth_dbm.o mod_cgi.o mod_dir.o: http_core.h
+ mod_imap.o mod_include.o mod_negotiation.o: http_core.h
+ mod_asis.o mod_auth.o mod_auth_dbm.o mod_cgi.o mod_dir.o: http_core.h
+ mod_imap.o mod_include.o mod_negotiation.o: http_log.h
+ mod_asis.o mod_cgi.o mod_dir.o mod_imap.o mod_include.o: http_main.h
+ mod_asis.o mod_auth.o mod_auth_dbm.o mod_cgi.o mod_dir.o: http_protocol.h
+ mod_imap.o mod_include.o: http_protocol.h
+ mod_cgi.o mod_dir.o mod_imap.o mod_include.o mod_negotiation.o: http_request.h
+ mod_asis.o mod_cgi.o mod_dir.o mod_imap.o mod_include.o: util_script.h
+ 
+ #Utils
+ util_script.o: http_core.h http_main.h http_protocol.h util_script.h
----------------------- end file make.patch -----------------------------

Mime
View raw message