httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: new makefiles
Date Sat, 06 Sep 1997 17:28:11 GMT
Grrr.  I hate gnu make, but I'm thinking I hate BSD make more.  It
insists on thinking that a target of foo has to be called foo on 
disk.  That doesn't work right because in our case it is looking
at the times on the proxy _directory_ to see if it is up to date.

Using the following makefile:
#----------------------------------------------------------------------
default: proxy
	@echo "Done building module subdirectories"

proxy: ForceMe
	@echo making: $@

ForceMe:
#----------------------------------------------------------------------

I get:

marcs@alive:/tmp/tm$ touch proxy; make
Done building module subdirectories
marcs@alive:/tmp/tm$ touch proxy; sleep 1 ; make
making: proxy

Arrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgh.

Since we are already using seperate targets for *_clean, perhaps we
should just do a proxy_build or something instead of just relying
on the list in MODULES.  Grr.

I see the same thing on taz.  

Some debug output from a slightly modified modules makefile (seperate ForceMe
targets for each module)

update time: 10:45:29 Sep 6, 1997
SuffFindDeps (proxy)
        No known suffix on proxy. Using .NULL suffix
not adding suffix rules
proxy:@ = proxy
proxy:* = proxy
Expanding "ForceMe.$(.TARGET)"...ForceMe.proxy...
SuffFindDeps (ForceMe.proxy)
        No known suffix on ForceMe.proxy. Using .NULL suffix
not adding suffix rules
ForceMe.proxy:@ = ForceMe.proxy
ForceMe.proxy:* = ForceMe.proxy
Examining ForceMe.proxy...non-existent...! operator...out-of-date.
ForceMe.proxy:? = 
ForceMe.proxy:> = 
update time: 10:45:29 Sep 6, 1997
Examining proxy...modified 10:45:26 Sep 6, 1997...modified before source...out-o
f-date.
proxy:> = ForceMe.proxy
proxy:? = ForceMe.proxy
(cd proxy; make CC='cc' AUX_CFLAGS=' ' RANLIB='ranlib')


SuffFindDeps (proxy)
        No known suffix on proxy. Using .NULL suffix
not adding suffix rules
proxy:@ = proxy
proxy:* = proxy
Expanding "ForceMe.$(.TARGET)"...ForceMe.proxy...
SuffFindDeps (ForceMe.proxy)
        No known suffix on ForceMe.proxy. Using .NULL suffix
not adding suffix rules
ForceMe.proxy:@ = ForceMe.proxy
ForceMe.proxy:* = ForceMe.proxy
Examining ForceMe.proxy...non-existent...! operator...out-of-date.
ForceMe.proxy:? = 
ForceMe.proxy:> = 
update time: 10:45:26 Sep 6, 1997
Examining proxy...modified 10:45:26 Sep 6, 1997...up-to-date.



Mime
View raw message