(lib_LTLIBRARIES): Define it conditionaly on
authorhanda <handa>
Mon, 21 Nov 2005 10:31:34 +0000 (10:31 +0000)
committerhanda <handa>
Mon, 21 Nov 2005 10:31:34 +0000 (10:31 +0000)
WITH_GUI.

src/Makefile.am

index e56c7ed..fa1530d 100644 (file)
 
 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 \