From: handa Date: Thu, 27 May 2004 08:29:46 +0000 (+0000) Subject: (lib_LTLIBRARIES): Include libm17n-gui.la and X-Git-Tag: withdl~180 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4e148fd0f159aab0a2ff6fbe8e685f5b53800eb6;p=m17n%2Fm17n-lib.git (lib_LTLIBRARIES): Include libm17n-gui.la and libm17n-gd.la. (OPTIONAL_LD_FLAGS): Include @FONTCONFIG_LD_FLAGS@. (GUI_SOURCES): Delete it. (libm17n_X_la_SOURCES): Don't include ${GUI_SOURCES}. (libm17n_gui_la_SOURCES, libm17n_gui_la_LIBADD) (libm17n_gui_la_LDFLAGS, libm17n_gd_la_SOURCES) (libm17n_gd_la_LIBADD, libm17n_gd_la_LDFLAGS): New targets. (linkgui_LDADD): Set to libm17n-gui.la (linkgui_LDFLAGS): New target. (SRC): Include ${libm17n_gui_la_SOURCES} and ${libm17n_gd_la_SOURCES}. --- diff --git a/src/Makefile.am b/src/Makefile.am index 8942fc5..4bf0b95 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,12 @@ # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA # 02111-1307, USA. -lib_LTLIBRARIES = libm17n-core.la libm17n.la libm17n-X.la +lib_LTLIBRARIES = \ + libm17n-core.la \ + libm17n.la \ + libm17n-gui.la \ + libm17n-X.la \ + libm17n-gd.la libm17n_core_la_SOURCES = \ character.h character.c \ @@ -58,16 +63,25 @@ OPTIONAL_LD_FLAGS = \ @FREETYPE_LD_FLAGS@ \ @FRIBIDI_LD_FLAGS@ \ @OTF_LD_FLAGS@ \ - @XFT2_LD_FLAGS@ + @FONTCONFIG_LD_FLAGS@ -libm17n_X_la_SOURCES = ${GUI_SOURCES} m17n-X.h m17n-X.c -libm17n_X_la_LIBADD = libm17n.la -libm17n_X_la_LDFLAGS = ${X_LD_FLAGS} ${OPTIONAL_LD_FLAGS} +libm17n_gui_la_SOURCES = ${GUI_SOURCES} +libm17n_gui_la_LIBADD = libm17n.la +libm17n_gui_la_LDFLAGS = ${X_LD_FLAGS} ${OPTIONAL_LD_FLAGS} -include_HEADERS = m17n-core.h m17n.h m17n-misc.h m17n-gui.h m17n-X.h +libm17n_X_la_SOURCES = m17n-X.h m17n-X.c +libm17n_X_la_LIBADD = libm17n-gui.la +libm17n_X_la_LDFLAGS = -module ${X_LD_FLAGS} @XFT2_LD_FLAGS@ + +libm17n_gd_la_SOURCES = m17n-gd.c +libm17n_gd_la_LIBADD = libm17n-gui.la +libm17n_gd_la_LDFLAGS = -module @GD_LD_FLAGS@ AM_CPPFLAGS = -DM17NDIR="\"$(datadir)/m17n\"" + +include_HEADERS = m17n-core.h m17n.h m17n-misc.h m17n-gui.h m17n-X.h + noinst_PROGRAMS = linkcore linkshell linkgui linkcore_SOURCES = linkcore.c @@ -79,10 +93,14 @@ linkshell_LDADD = libm17n.la linkshell_LDFLAGS = -static linkgui_SOURCES = linkgui.c -linkgui_LDADD = libm17n-X.la -#linkgui_LDFLAGS = -static - -SRC = ${libm17n_core_la_SOURCES} ${libm17n_la_SOURCES} ${libm17n_X_la_SOURCES} +linkgui_LDADD = libm17n-gui.la +linkgui_LDFLAGS = -static + +SRC = ${libm17n_core_la_SOURCES} \ + ${libm17n_la_SOURCES} \ + ${libm17n_gui_la_SOURCES} \ + ${libm17n_X_la_SOURCES} \ + ${libm17n_gd_la_SOURCES} TAGS: ${SRC} etags ${SRC}