[squid-dev] [RFC] The situation with helpers/

Amos Jeffries squid3 at treenet.co.nz
Wed Jan 13 22:38:18 UTC 2016


On 14/01/2016 11:07 a.m., Kinkie wrote:
> On Wed, Jan 13, 2016 at 10:13 PM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>> On 14/01/2016 2:12 a.m., Kinkie wrote:
...
> 
>> When DEPENDENCIES is *absent*, automake will take the SOURCES list and
>> add dependency for each file listed, plus (compiler version dependent) a
>> sub-dependency recursively for each file #include'd by those. It will
>> also take the LDADD list and for all local tree objects will add a
>> dependency. It is smart enough to filter out flags and system libraries
>> nowdays (AFAICT that was the reason DEPENDENCIES was used to begin with
>> back in Y2K).
>>
>> When DEPENDENCIES is present only objects explicitly listed in that
>> variable are dependencies. *all* of the existing ones are broken and
>> breaking Squid builds.
> 
> I hadn't understood htis, however I don't know how to force automake
> to copy the .h files without :( Any idea?

Either list them in the IMPORTED_FILES set as well, or if that is not
reasonable:
  AM_CPPFLAGS += -I$(top_srcdir)/src/

(I think, have not tested so it may be something other than AM_CPPFLAGS)

Amos



More information about the squid-dev mailing list