[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] [beta] build process: dependency handling
'uname -rms'
FreeBSD 6.2-PRERELEASE i386
'gcc --version'
gcc (GCC) 3.4.6 [FreeBSD] 20060305
...
when leafnode-2 gets built, i see lines like:
if gcc -DHAVE_CONFIG_H -I. (more compiler switches)
-MT expire_lookup.o -MD -MP -MF ".deps/expire_lookup.Tpo" -c -o expire_lookup.o
expire_lookup.c;
then mv -f ".deps/expire_lookup.Tpo" ".deps/expire_lookup.Po";
else rm -f ".deps/expire_lookup.Tpo"; exit 1; fi
the Makefile also has, of course:
include ./$(DEPDIR)/expire_lookup.Po
i had a look at this dependency rule file. it shows the target twice:
expire_lookup.o expire_lookup.o: expire_lookup.c leafnode.h config.h (etc.)
how come? only one of "expire_lookup.o" is needed, the extra won't hurt,
but it doesn't help, either. if it isn't edited in after the compiler
run, the compiler would be at fault.
regards, clemens
--
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/