*** empty log message ***
authorhanda <handa>
Fri, 23 Jun 2006 12:27:54 +0000 (12:27 +0000)
committerhanda <handa>
Fri, 23 Jun 2006 12:27:54 +0000 (12:27 +0000)
Makefile.am
example/Makefile.am
src/Makefile.am

index 2f0d5cb..e841efd 100644 (file)
@@ -31,9 +31,10 @@ EXTRA_DIST = \
 
 pkgconfigdir = ${libdir}/pkgconfig
 
+BASICDATA = m17n-core.pc m17n-shell.pc
 if WITH_GUI
-PKGDATA = m17n-core.pc m17n-shell.pc m17n-gui.pc
+PKGDATA = $(BASICDATA) m17n-gui.pc
 else
-PKGDATA = m17n-core.pc m17n-shell.pc
+PKGDATA = $(BASICDATA)
 endif
 pkgconfig_DATA = $(PKGDATA)
index 88f8b7e..225911c 100644 (file)
 ## Note: Source files have preifx "m" but executables have prefix
 ## "m17n-" to avoid confliction of program names.
 
-bin_PROGRAMS = m17n-conv
+BASICPROGS = m17n-conv
 if WITH_GUI
-bin_PROGRAMS += m17n-view m17n-date m17n-dump m17n-edit
+bin_PROGRAMS = $(BASICPROGS) m17n-view m17n-date m17n-dump m17n-edit
+else
+bin_PROGRAMS = $(BASICPROGS)
 endif
 
 common_ldflags = ${top_srcdir}/src/libm17n-core.la ${top_srcdir}/src/libm17n.la
@@ -63,9 +65,11 @@ EXTRA_DIST = \
 
 VINFO = -version-info @API_VERSION@
 
-BUILD_LIBS = libmimx-anthy.la
+BASIC_BUILD_LIBS = libmimx-anthy.la
 if WITH_GUI
-BUILD_LIBS += libmimx-ispell.la 
+BUILD_LIBS = $(BASIC_BUILD_LIBS) libmimx-ispell.la 
+else
+BUILD_LIBS = $(BASIC_BUILD_LIBS)
 endif
 lib_LTLIBRARIES = $(BUILD_LIBS)
 
index c3088a6..e1680c2 100644 (file)
 
 VINFO = -version-info @API_VERSION@
 
-BUILD_LIBS = libm17n-core.la libm17n.la
+BASIC_BUILD_LIBS = libm17n-core.la libm17n.la
 if WITH_GUI
-BUILD_LIBS += libm17n-gui.la libm17n-X.la libm17n-gd.la
+BUILD_LIBS = $(BASIC_BUILD_LIBS) libm17n-gui.la libm17n-X.la libm17n-gd.la
+else
+BUILD_LIBS = $(BASIC_BUILD_LIBS)
 endif
 
 lib_LTLIBRARIES = $(BUILD_LIBS)