summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-30 15:00:37 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-30 15:00:37 +0800
commitb988c0639be9b5b184aa2fed5fd69338abe748f5 (patch)
tree0ecbe784c482ce919098fbe83f6269a074cad20c /src/Makefile.am
parent12c6b51b1296aad330df572794693d37423179a4 (diff)
downloadlibpinyin-b988c0639be9b5b184aa2fed5fd69338abe748f5.tar.gz
libpinyin-b988c0639be9b5b184aa2fed5fd69338abe748f5.tar.xz
libpinyin-b988c0639be9b5b184aa2fed5fd69338abe748f5.zip
install public headers only
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2ada1da..44188a9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,6 +18,8 @@
AUTOMAKE_OPTIONS = gnu
SUBDIRS = include storage lookup
+EXTRA_DIST = libpinyin.ver
+
MAINTAINERCLEANFILES = Makefile.in
CLEANFILES = *.bak
@@ -32,18 +34,20 @@ INCLUDES = -I$(top_srcdir)/src \
libpinyinincludedir = $(includedir)/libpinyin-@LIBPINYIN_BINARY_VERSION@
-libpinyininclude_HEADERS= pinyin.h \
- pinyin_internal.h
+libpinyininclude_HEADERS= pinyin.h
+
+noinst_HEADERS = pinyin_internal.h
+
+lib_LTLIBRARIES = libpinyin.la
-lib_LTLIBRARIES = libpinyin.la \
- libpinyin_internal.la
+noinst_LTLIBRARIES = libpinyin_internal.la
libpinyin_la_SOURCES = pinyin.cpp
libpinyin_la_LIBADD = storage/libstorage.la lookup/liblookup.la
-libpinyin_la_LDFLAGS = -Wl,--version-script=libpinyin.ver \
- -version-info "0:3:0"
+libpinyin_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libpinyin.ver \
+ -version-info "0:3:0"
libpinyin_internal_la_SOURCES = pinyin_internal.cpp