Newer
Older
scim-wnn / honoka / plugins / Makefile.am
@tamra tamra on 24 Jun 2005 3 KB プラグイン分離。
## Makefile.am -- Process this file with automake to produce Makefile.in
## Copyright (C) 2002 James Su
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
##
## This program 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 General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

MAINTAINERCLEANFILES	= Makefile.in

INCLUDES		= -I$(top_builddir) \
	    		  -I$(top_srcdir) \
			  -I$(top_srcdir)/libhonoka \
			  -DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
			  -DHONOKA_LOCALEDIR=\"$(datadir)/locale\" \
			  -DHONOKA_DATADIR=\"@SCIM_DATADIR@/honoka\" \
			  -DHONOKA_ICON_FILE=\"@SCIM_ICONDIR@/honoka.png\" \
			  -DHONOKA_PLUGINDIR=\"@SCIM_MODULEDIR@/honoka\"

noinst_HEADERS = wnnproto.h romkan.h  \
				wnnconversion.h kanainput.h anthyconversion.h skkdic.h \
				skkdicconversion.h wnnplugin.h wnnprediction.h honoka_plugin_def.h

moduledir		= @SCIM_MODULEDIR@/IMEngine


if WNNCONVERSION
WNN_PLUGIN = plugin-wnn.la
endif

if ANTHYCONVERSION
ANTHY_PLUGIN = plugin-anthy.la
endif

plugindir           = @SCIM_MODULEDIR@/honoka
plugin_LTLIBRARIES  = $(ANTHY_PLUGIN) $(WNN_PLUGIN) plugin-skkdic.la plugin-romkan.la plugin-kanainput.la

plugin_anthy_la_SOURCES = anthyconversion.cpp
plugin_anthy_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_anthy_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_anthy_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@ @ANTHY_LIBS@
plugin_anthy_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_wnn_la_SOURCES = wnnconversion.cpp wnnplugin.cpp wnnprediction.cpp
plugin_wnn_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_wnn_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_wnn_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@ @WNN_LIBS@
plugin_wnn_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_skkdic_la_SOURCES = skkdic.cpp skkdicconversion.cpp
plugin_skkdic_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_skkdic_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_skkdic_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@ @ANTHY_LIBS@
plugin_skkdic_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_romkan_la_SOURCES = romkan.cpp
plugin_romkan_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_romkan_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_romkan_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@ 
plugin_romkan_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_kanainput_la_SOURCES = kanainput.cpp
plugin_kanainput_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_kanainput_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_kanainput_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@
plugin_kanainput_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la