summaryrefslogtreecommitdiff
path: root/utils/segment
diff options
context:
space:
mode:
authorPeng Wu <pwu@redhat.com>2019-11-28 16:15:27 +0800
committerPeng Wu <pwu@redhat.com>2019-11-28 16:20:34 +0800
commit3cf88c57de20fc04c52a8e6f98e074b83e57b2a5 (patch)
treee8b8deaf821fa1f76a3a02602f34562369eb0290 /utils/segment
parent648c5f863a43d3686dbea71a98ccd44a089a65c4 (diff)
downloadlibpinyin-3cf88c57de20fc04c52a8e6f98e074b83e57b2a5.tar.gz
use AM_CPPFLAGS instead of INCLUDES in automake
Diffstat (limited to 'utils/segment')
-rw-r--r--utils/segment/Makefile.am21
1 files changed, 10 insertions, 11 deletions
diff --git a/utils/segment/Makefile.am b/utils/segment/Makefile.am
index 0d801b6..72e6743 100644
--- a/utils/segment/Makefile.am
+++ b/utils/segment/Makefile.am
@@ -16,18 +16,17 @@
MAINTAINERCLEANFILES = Makefile.in
-INCLUDES = -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/include \
- -I$(top_srcdir)/src/storage \
- -I$(top_srcdir)/src/lookup \
- -I$(top_srcdir)/utils \
- @GLIB2_CFLAGS@
+AM_CPPFLAGS = -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/include \
+ -I$(top_srcdir)/src/storage \
+ -I$(top_srcdir)/src/lookup \
+ -I$(top_srcdir)/utils \
+ @GLIB2_CFLAGS@
-LDADD = \
- ../../src/libpinyin_internal.a \
- ../../src/storage/libstorage.a \
- ../../src/lookup/liblookup.a \
- @GLIB2_LIBS@
+LDADD = ../../src/libpinyin_internal.a \
+ ../../src/storage/libstorage.a \
+ ../../src/lookup/liblookup.a \
+ @GLIB2_LIBS@
noinst_PROGRAMS = spseg ngseg mergeseq