Libraries Makefile

Julien ÉLIE julien at trigofacile.com
Wed Apr 15 20:09:25 UTC 2009


Hi,

When lib/perl.c is modified, perl.o is regenerated but libinn.a is *not*,
which leads to problems afterwards.

I see that perl.c is not in $(SOURCES) but instead, perl.c/o is treated
differently and added in a few Makefile rules (like "depend").
Is there a problem not to put it in $(SOURCES)?


I also see that we have:

# Sources for additional functions only built to replace missing system ones.
EXTRA_SOURCES = alloca.c asprintf.c fseeko.c ftello.c getaddrinfo.c getnameinfo.c \
[...]

But I do not see when they are compiled.  If for instance getaddrinfo is missing,
I do not understand what will trigger the compilation of getaddrinfo.c...

-- 
Julien ÉLIE

« Pour aller plus vite, j'additionne toujours de bas en haut :
  je fais du même coup l'addition et la preuve. » (Aurélien Scholl) 




More information about the inn-workers mailing list