cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: renaming curl_SOURCES to CURL_ALLFILES

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Aug 2010 18:35:57 +0200 (CEST)

On Mon, 2 Aug 2010, Guenter wrote:

>> This said, you can name it whatever you like in Makefile.inc, and then
>> do the automake-specific name within the .am file, just like the
>> lib/Makefile.am file does.

> so you mean I can just move the line 'curl_SOURCES = ...' from Makefile.inc
> into Makefile.am? But I see that CMakeLists.txt makes use of it ...

Right. I meant that you can rename it to CURL_ALL_SOURCES or whatever you like
in the src/Makefile.inc and make the CMakeLists.txt file use that, and then
you add a line in src/Makefile.am that looks like:

curl_SOURCES = $(CURL_ALL_SOURCES)

I think that will be enough to make automake happy at least.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-02