automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: 2nd possibly silly question: XTRA_foo_SOURCES


From: Robert Collins
Subject: Fw: 2nd possibly silly question: XTRA_foo_SOURCES
Date: Sat, 31 Mar 2001 21:20:14 +1000

I assume this got overlooked? Or maybe I missed any reply...

Any suggestions as to what I'm doing wrong?

Rob


----- Original Message -----
From: "Robert Collins" <address@hidden>
To: <address@hidden>
Sent: Monday, March 26, 2001 8:04 PM
Subject: 2nd possibly silly question: XTRA_foo_SOURCES


> I several warnings of the form :
>
> src/Makefile.am:42: squid_SOURCES includes configure substitution
> address@hidden@'
>
> for a makefile.am containing (trimmed for clarity):
>
> EXTRA_squid_SOURCES = dns.c dns_internal.c
>
> squid_SOURCES = \
> access_log.c acl.c asn.c auth_modules.c authenticate.c cache_cf.c
> cf_parser.h \
> disk.c @DNS_SOURCE@ errorpage.c
>
> squid_LDADD = @REPL_OBJS@ @STORE_OBJS@ @AUTH_OBJS@ \
>         @CRYPTLIB@ @REGEXLIB@ @SQUID_PTHREAD_LIB@ \
>         @SNMPLIB@ @LIB_MALLOC@ ../lib/libmiscutil.a @XTRA_LIBS@
>
>
>
> Depending on configure switches, either dns.c or dns_internal.c is
> linked into squid. Going on the doco from
> http://www.gnu.org/manual/automake/html_mono/automake.html#SEC55
> I should put the conditionally included source in
EXTRA_squid_SOURCES -
> which I have, and then (extrapolating from the example given for cpio
> and EXTRA_PROGRAMS a few paragraphs later, I should put DNS_SOURCE in
> the real SOURCES line as well.
>
> The resulting Makefile (after configureing) has the appropriate dns*.c
> module in the squid_SOURCES entry, but nothing in the squid_OBJECTS or
> am_squid_OBJECTS entries.... any hints? need more info?
>
> Rob
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]