Newer
Older
scim-wnn / honoka / plugins / Makefile.am
## 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 \
	nicolainput.h 	anthyplugin.h anthyconversion.h anthyprediction.h skkdic.h \
					skkdicconversion.h wnnplugin.h wnnprediction.h 	honoka_plugin_def.h simpleprediction.h \
	cannaconversion.h primeprediction.h asciiplugin.h wordsdic.h wordsprediction.h \
	asciiinput.h

moduledir		= @SCIM_MODULEDIR@/IMEngine


if WNNCONVERSION
WNN_PLUGIN = plugin-wnn.la
endif

if ANTHYCONVERSION
ANTHY_PLUGIN = plugin-anthy.la
endif

if CANNACONVERSION
CANNA_PLUGIN = plugin-canna.la
endif

plugindir           = @SCIM_MODULEDIR@/honoka
plugin_LTLIBRARIES  = $(ANTHY_PLUGIN) $(WNN_PLUGIN) $(CANNA_PLUGIN) plugin-skkdic.la plugin-romkan.la plugin-kanainput.la plugin-simpleprediction.la plugin-prime.la plugin-nicola.la plugin-ascii.la

plugin_anthy_la_SOURCES = anthyplugin.cpp anthyconversion.cpp anthyprediction.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@ 
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

plugin_nicola_la_SOURCES = nicolainput.cpp
plugin_nicola_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_nicola_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_nicola_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@
plugin_nicola_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_simpleprediction_la_SOURCES = simpleprediction.cpp
plugin_simpleprediction_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_simpleprediction_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_simpleprediction_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@
plugin_simpleprediction_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_prime_la_SOURCES = primeprediction.cpp
plugin_prime_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_prime_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_prime_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@
plugin_prime_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_canna_la_SOURCES = cannaconversion.cpp
plugin_canna_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_canna_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_canna_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@ @CANNA_LIBS@
plugin_canna_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la

plugin_ascii_la_SOURCES = asciiplugin.cpp wordsdic.cpp wordsprediction.cpp \
	asciiinput.cpp
plugin_ascii_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_ascii_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
plugin_ascii_la_LDFLAGS = -avoid-version -module -rpath $(plugindir) @LIBTOOL_EXPORT_OPTIONS@ @INTLLIBS@ @SCIM_LIBS@
plugin_ascii_la_LIBADD = $(top_builddir)/libhonoka/libhonoka_plugin.la