summaryrefslogtreecommitdiffstats
path: root/utils
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
parent648c5f863a43d3686dbea71a98ccd44a089a65c4 (diff)
downloadlibpinyin-3cf88c57de20fc04c52a8e6f98e074b83e57b2a5.tar.gz
libpinyin-3cf88c57de20fc04c52a8e6f98e074b83e57b2a5.tar.xz
libpinyin-3cf88c57de20fc04c52a8e6f98e074b83e57b2a5.zip
use AM_CPPFLAGS instead of INCLUDES in automake
Diffstat (limited to 'utils')
-rw-r--r--utils/segment/Makefile.am21
-rw-r--r--utils/storage/Makefile.am2
-rw-r--r--utils/training/Makefile.am23
3 files changed, 22 insertions, 24 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
diff --git a/utils/storage/Makefile.am b/utils/storage/Makefile.am
index 3046bcf..262e0de 100644
--- a/utils/storage/Makefile.am
+++ b/utils/storage/Makefile.am
@@ -14,7 +14,7 @@
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
-INCLUDES = -I$(top_srcdir)/src \
+AM_CPPFLAGS = -I$(top_srcdir)/src \
-I$(top_srcdir)/src/include \
-I$(top_srcdir)/src/storage \
-I$(top_srcdir)/src/lookup \
diff --git a/utils/training/Makefile.am b/utils/training/Makefile.am
index d27a792..d82cacf 100644
--- a/utils/training/Makefile.am
+++ b/utils/training/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@
-
-LDADD = \
- ../../src/libpinyin_internal.a \
- ../../src/storage/libstorage.a \
- ../../src/lookup/liblookup.a \
- @GLIB2_LIBS@
+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@
noinst_HEADERS = k_mixture_model.h