Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: src/tools/Makefile.am

Issue 2640005: Fix tools to run on the host system during cross-compile. (Closed) Base URL: ssh://gitrw.chromium.org/libchewing.git
Patch Set: Change HOST_CC to CC_FOR_BUILD Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « configure.ac ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tools/Makefile.am
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
index 8f9059599279c9dded566e8381094b793ecc7c97..be2cc0e251f50df990cf97699e86279128d8522c 100644
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -4,12 +4,17 @@ INCLUDES = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/porting_layer/include
+CC = $(CC_FOR_BUILD)
+CFLAGS = $(CFLAGS_FOR_BUILD)
+
noinst_PROGRAMS = sort_word sort_dic maketree
-sort_word_LDADD = $(top_builddir)/src/common/libcommon.la
-sort_word_SOURCES = sort_word.c
+sort_word_SOURCES = sort_word.c \
+ $(top_builddir)/src/common/key2pho.c \
+ $(top_builddir)/src/common/chewing-utf8-util.c
-sort_dic_LDADD = $(top_builddir)/src/common/libcommon.la
-sort_dic_SOURCES = sort_dic.c
+sort_dic_SOURCES = sort_dic.c \
+ $(top_builddir)/src/common/key2pho.c \
+ $(top_builddir)/src/common/chewing-utf8-util.c
maketree_SOURCES = maketree.c
« no previous file with comments | « configure.ac ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698