From: handa Date: Mon, 21 Nov 2005 10:31:34 +0000 (+0000) Subject: (lib_LTLIBRARIES): Define it conditionaly on X-Git-Tag: REL-1-3-0~58 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c608842db95d138c721b8506d9d91b28bd1b7d17;p=m17n%2Fm17n-lib.git (lib_LTLIBRARIES): Define it conditionaly on WITH_GUI. --- diff --git a/src/Makefile.am b/src/Makefile.am index e56c7ed..fa1530d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,12 +21,12 @@ VINFO = -version-info @API_VERSION@ -lib_LTLIBRARIES = \ - libm17n-core.la \ - libm17n.la \ - libm17n-gui.la \ - libm17n-X.la \ - libm17n-gd.la +BUILD_LIBS = libm17n-core.la libm17n.la +if WITH_GUI +BUILD_LIBS += libm17n-gui.la libm17n-X.la libm17n-gd.la +endif + +lib_LTLIBRARIES = $(BUILD_LIBS) libm17n_core_la_SOURCES = \ character.h character.c \