# Copyright (C) 2003, 2004 # National Institute of Advanced Industrial Science and Technology (AIST) # Registration Number H15PRO112 # This file is part of the m17n library. # The m17n library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation; either version 2.1 of # the License, or (at your option) any later version. # The m17n library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public # License along with the m17n library; if not, write to the Free # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA # 02111-1307, USA. lib_LTLIBRARIES = libm17n-core.la libm17n.la libm17n-X.la libm17n_core_la_SOURCES = \ character.h character.c \ chartab.h chartab.c \ internal.h \ plist.h plist.c \ m17n-core.h m17n-core.c \ m17n-misc.h \ mtext.h mtext.c \ symbol.h symbol.c \ textprop.h textprop.c libm17n_core_la_LDFLAGS = @XML2_LD_FLAGS@ libm17n_la_SOURCES = \ charset.h charset.c \ coding.h coding.c \ database.h database.c \ input.h input.c \ language.h language.c \ mlocale.h locale.c \ m17n.h m17n.c libm17n_la_LIBADD = libm17n-core.la libm17n_la_LDFLAGS = -ldl GUI_SOURCES = \ face.h face.c \ font.h font.c font-ft.c font-flt.c \ fontset.h fontset.c \ draw.c \ input-gui.c \ internal-gui.h \ m17n-gui.h m17n-gui.c X_LD_FLAGS = ${X_PRE_LIBS} ${X_LIBS} -lX11 -lXt ${X_EXTRA_LIBS} OPTIONAL_LD_FLAGS = @FRIBIDI_LD_FLAGS@ @FREETYPE_LD_FLAGS@ @OTF_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} include_HEADERS = m17n-core.h m17n.h m17n-misc.h m17n-gui.h m17n-X.h AM_CPPFLAGS = -DM17NDIR="\"$(datadir)/m17n\"" bin_PROGRAMS = linkcore linkshell linkgui linkcore_SOURCES = linkcore.c linkcore_LDADD = libm17n-core.la linkcore_LDFLAGS = -static linkshell_SOURCES = linkshell.c linkshell_LDADD = libm17n.la linkshell_LDFLAGS = -static linkgui_SOURCES = linkgui.c linkgui_LDADD = libm17n-X.la #linkgui_LDFLAGS = -static # We should not install the above test programs. install-binPROGRAMS: uninstall-binPROGRAMS: SRC = ${libm17n_core_la_SOURCES} ${libm17n_la_SOURCES} ${libm17n_X_la_SOURCES} TAGS: ${SRC} etags ${SRC}