|
不好意思,又来问你一下:我的makefile.am如下
lib_LTLIBRARIES = libhello.la
libhello_la_SOURCES = hello.cpp AEEModGen.c AEEAppGen.c hello.cid
helloDIR=/applecore/applets/hello
helloDATA=hello.cid font.bmp
EXTRA_DIST=$(helloDATA)
# set the include path found by configure
INCLUDES= $(all_includes)
configure.in文件:
AC_INIT(configure.in)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(hello, 0.1)
AC_LANG_CPLUSPLUS
AC_PROG_CXX
AM_PROG_LIBTOOL
libdir=/applecore/applets/hello
AC_OUTPUT(Makefile src/Makefile)
我用的是kdevelop,他根据这个makefile.am生成的目录结构是,建立一个debug目录,在debug目录下有Makefile, .libs等
我install后就把libhello.so 等文件靠到libdir目录下了,而hello.cid,font.bmp都没有靠过去,不知道为什么 |
|