summaryrefslogtreecommitdiffstats
path: root/src/lookup
diff options
context:
space:
mode:
authorPeng Wu <pwu@redhat.com>2019-11-28 16:05:48 +0800
committerPeng Wu <pwu@redhat.com>2019-11-28 16:20:19 +0800
commit648c5f863a43d3686dbea71a98ccd44a089a65c4 (patch)
tree5f2f5700db346adcc6bf9e253cfacb11208b86a1 /src/lookup
parent50a87b3efe0b10a9ae2ce989c0c0172e2984af32 (diff)
downloadlibpinyin-648c5f863a43d3686dbea71a98ccd44a089a65c4.tar.gz
libpinyin-648c5f863a43d3686dbea71a98ccd44a089a65c4.tar.xz
libpinyin-648c5f863a43d3686dbea71a98ccd44a089a65c4.zip
improve autoconf for libpinyin.la and libzhuyin.la
Diffstat (limited to 'src/lookup')
-rw-r--r--src/lookup/Makefile.am24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/lookup/Makefile.am b/src/lookup/Makefile.am
index a6000cb..75a7ae5 100644
--- a/src/lookup/Makefile.am
+++ b/src/lookup/Makefile.am
@@ -17,22 +17,20 @@
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = -I$(top_srcdir)/src/include \
- -I$(top_srcdir)/src/storage \
- @GLIB2_CFLAGS@
+ -I$(top_srcdir)/src/storage \
+ @GLIB2_CFLAGS@
noinst_HEADERS = lookup.h \
- pinyin_lookup2.h \
- phrase_lookup.h \
- phonetic_lookup.h \
- phonetic_lookup_linear.h \
- phonetic_lookup_heap.h
+ pinyin_lookup2.h \
+ phrase_lookup.h \
+ phonetic_lookup.h \
+ phonetic_lookup_linear.h \
+ phonetic_lookup_heap.h
noinst_LIBRARIES = liblookup.a
-liblookup_a_CXXFLAGS = "-fPIC"
-
-liblookup_a_SOURCES = pinyin_lookup2.cpp \
- phrase_lookup.cpp \
- lookup.cpp \
- phonetic_lookup.cpp
+liblookup_a_SOURCES = pinyin_lookup2.cpp \
+ phrase_lookup.cpp \
+ lookup.cpp \
+ phonetic_lookup.cpp