[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
答复: 答复: how to install library in a specific directory?
From: |
A117 |
Subject: |
答复: 答复: how to install library in a specific directory? |
Date: |
Fri, 24 Jul 2009 14:56:25 +0800 |
yeah. You are totally right. thank you.
-----邮件原件-----
发件人: John Calcote [mailto:address@hidden
发送时间: 2009年7月24日 14:45
收件人: A117
抄送: address@hidden
主题: Re: 答复: how to install library in a specific directory?
On 7/24/2009 12:36 AM, A117 wrote:
> I’ve removed the backslashes and made them all one-line statements. No help.
>
What about the backslash at the end of your commented EXTRA_DIST line?
Try removing that one too. It could be that it's causing the comment to
include the following line, which is not supposed to be a comment. Just
shooting in the dark now...
> 发件人: John Calcote [mailto:address@hidden
> 发送时间: 2009年7月24日 14:28
> 收件人: A117
> 抄送: address@hidden
> 主题: Re: how to install library in a specific directory?
>
> On 7/24/2009 12:21 AM, A117 wrote:
> lib_LTLIBRARIES = libezcommon.la
> myincludedir = $(includedir)/ezproject
> myinclude_HEADERS= ezcommon.h tinystr.h tinyxml.h
> libezcommon_la_SOURCES = ezcommon.cpp \
> tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp
> #libezcommon_la_LIBADD = tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o
> libezcommon_la_LDFLAGS = -version-info 2:0:0
> #EXTRA_DIST = tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp \
> EXTRA_DIST = ezcommon.rc dllmain.cpp ezcommon.aps ezcommon.vcproj icon.ico \
> tinyxml.txt resource.h stdafx.h targetver.h
>
>
> Try replacing the TAB characters at the beginning of your wrapped lines with
> spaces. And also make sure you don't have any white-space following any of
> the back-slashes at the end of wrapped lines.
>
> John
>
>
>
> ----- -----
>
> 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.
>
>
>
>
>
>
>
>
>
>
>
>
- Re: how to install library in a specific directory?, (continued)
- Re: how to install library in a specific directory?, A117, 2009/07/22
- Re: how to install library in a specific directory?, John Calcote, 2009/07/23
- Re: how to install library in a specific directory?, A117, 2009/07/23
- Re: how to install library in a specific directory?, John Calcote, 2009/07/23
- 答复: how to install library in a spec ific directory?, A117, 2009/07/23
- Re: 答复: how to install library in a s pecific directory?, John Calcote, 2009/07/24
- Re:Re: how to install library in a specific directory?, A117, 2009/07/24
- Re: how to install library in a specific directory?, John Calcote, 2009/07/24
- 答复: how to install library in a spec ific directory?, A117, 2009/07/24
- Re: 答复: how to install library in a s pecific directory?, John Calcote, 2009/07/24
- 答复: 答复: how to install library in a specific directory?,
A117 <=
- Re: how to install library in a specific directory?, Ralf Wildenhues, 2009/07/24
Re: how to install library in a specific directory?, William Pursell, 2009/07/23