automake
[Top][All Lists]
Advanced

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

Re: 答复: how to install library in a s pecific directory?


From: John Calcote
Subject: Re: 答复: how to install library in a s pecific directory?
Date: Fri, 24 Jul 2009 00:04:04 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2

On 7/23/2009 7:45 PM, A117 wrote:
Sorry I forgot to mention the files in EXTRA_DIST are to be packed into release 
package. All the cpp files mentioned here already exists and are to be compiled 
and released.
If I put all cpp files in _SOURCES, the EXTRA_DIST files are not released. The 
only way I've found is to put only one cpp file in _SOURCES, while others to 
EXTRA_DIST and add .o to _LIBADD. My goal is to build all the .cpp and put all 
.cpp, .txt, .rc into release package.

Okay, I understand the problem now. But there's not enough information in the snippet you posted to determine the cause. Can you post the entire Makefile.am file? Or at least a smaller example that reproduces the problem. There's nothing that I can see in the portion of your file that you posted that would be the cause of such a problem.

John

-------------------------------------
And can I ask another question? I want to build some source code files into 
this library and need to distribute some other files, too. But EXTRA_DIST in 
Makefile.am does not work as below,
lib_LTLIBRARIES = libezcommon.la
...
libezcommon_la_SOURCES = ezcommon.cpp tinystr.cpp ...
EXTRA_DIST = tinyxml.txt ezcommon.rc ...

If I write only one file in libezcommon_la_SOURCES, while adding others to 
EXTRA_DIST and others' .o to libezcommon_la_LIBADD, it works. I don't know why.






reply via email to

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