Hello Ting, * susan xie wrote on Wed, Dec 05, 2007 at 06:53:03PM CET: > > > > I have a third-party static library distributed with my software > > package, and I want to install it into the libraries during 'make > > install'. Do you know how to do that? Thanks in advance.
> Finally I use 'data' prefix to install the library into the '/share' > directory. It works. > > nobase_data_DATA = lib/linux/foo.a lib/linux64/foo.a include/foo.h Why are you shipping a binary file in your sources? If you really, really need to, then do it like this, please: include_HEADERS = foo.h shipped_lib_dir = $(libdir) nobase_shipped_lib_DATA = linux/foo.a linux64/foo.a But it seems very very ugly to me to do that. Your package should just create the libraries. Cheers, Ralf
