cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PROPOSAL] simplify gnu makefiles

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 2 Jul 2004 22:50:34 +0200 (CEST)

On Fri, 2 Jul 2004, Guenter Knauf wrote:

> I've copied the part from Makefile.am containing the HHEADERS and CSOURCES
> section into a separate file 'files.inc', and then do a 'include files.inc'
> from my Makefile; I've also tried to directly include the whole Makefile.am,
> but unfortunately there broke something with a line, have not tracked that
> down yet.... so this would be usable with mingw32, netware, djp for sure,
> and perhaps riscos.
>
> the question is then if we check files.inc into CVS, and you generate only a
> new one out of Makefile.am when something changed?

We could have the Makefile.am file include the 'files.inc'! (Since the
generated makefile won't be using include then anyway.)

But I think I would prefer a file name like 'make.files' or 'Makefile.include'
or something.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-02