summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 71db7c1d81adece90716bb1fbc3da26ac007f708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
## Copyright (C) 2004 Hiroyuki Ikezoe
## Copyright (C) 2004-2005 Takuro Ashie
##
## 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

AM_CPPFLAGS = \
	-DSCIM_ANTHY_LOCALEDIR=\"$(datadir)/locale\" \
	-DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
	-DSCIM_ANTHY_DATADIR=\"@SCIM_ANTHY_DATADIR@\" \
	-DSCIM_ANTHY_STYLEDIR=\"@SCIM_ANTHY_DATADIR@/style\"
INCLUDE	= \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	-I$(top_srcdir)/src 

noinst_HEADERS = \
	scim_anthy_intl.h \
	scim_anthy_prefs.h \
	scim_anthy_factory.h \
	scim_anthy_imengine.h \
	scim_anthy_action.h \
	scim_anthy_preedit.h \
	scim_anthy_reading.h \
	scim_anthy_conversion.h \
	scim_anthy_key2kana_table.h \
	scim_anthy_key2kana_base.h \
	scim_anthy_key2kana.h \
	scim_anthy_kana.h \
	scim_anthy_nicola.h \
	scim_anthy_default_tables.h \
	scim_anthy_style_file.h \
	scim_anthy_setup.h \
	scim_anthy_setup_romaji.h \
	scim_anthy_setup_kana.h \
	scim_anthy_table_editor.h \
	scim_anthy_utils.h \
	scim_anthy_color_button.h \
	scim_anthy_helper.h


#
# IMEngine Module
#
moduledir = @SCIM_MODULEDIR@/IMEngine
module_LTLIBRARIES = ise-engine-anthy.la

ise_engine_anthy_la_SOURCES = \
	scim_anthy_factory.cpp \
	scim_anthy_imengine.cpp \
	scim_anthy_action.cpp \
	scim_anthy_preedit.cpp \
	scim_anthy_reading.cpp \
	scim_anthy_conversion.cpp \
	scim_anthy_key2kana.cpp \
	scim_anthy_key2kana_table.cpp \
	scim_anthy_kana.cpp \
	scim_anthy_nicola.cpp \
	scim_anthy_default_tables.cpp \
	scim_anthy_style_file.cpp \
	scim_anthy_utils.cpp

ise_engine_anthy_la_CFLAGS   = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ @ANTHY_CFLAGS@
ise_engine_anthy_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ @ANTHY_CFLAGS@

ise_engine_anthy_la_LDFLAGS = \
	-avoid-version \
	-rpath $(moduledir) \
	-module \
	@LIBTOOL_EXPORT_OPTIONS@ \
	@SCIM_LIBS@ \
	@ANTHY_LIBS@


#
# Setup Module
#
if SCIM_BUILD_SETUP
SETUP_MODULE = anthy-imengine-setup.la
endif

setupmoduledir           = @SCIM_MODULEDIR@/SetupUI
setupmodule_LTLIBRARIES  = $(SETUP_MODULE)

anthy_imengine_setup_la_SOURCES = \
	scim_anthy_setup.cpp \
	scim_anthy_setup_romaji.cpp \
	scim_anthy_setup_kana.cpp \
	scim_anthy_style_file.cpp \
	scim_anthy_default_tables.cpp \
	scim_anthy_prefs.cpp \
	scim_anthy_utils.cpp \
	scim_anthy_table_editor.cpp \
	scim_anthy_color_button.cpp

anthy_imengine_setup_la_CFLAGS  = @SCIM_GTKUTILS_CFLAGS@ \
				  @SCIM_CFLAGS@ \
				  @SCIM_DEBUG_FLAGS@
anthy_imengine_setup_la_CXXFLAGS= @SCIM_GTKUTILS_CFLAGS@ \
				  @SCIM_CFLAGS@ \
				  @SCIM_DEBUG_FLAGS@
anthy_imengine_setup_la_LDFLAGS = -avoid-version \
                                  -rpath $(setupmoduledir) \
                                  -module \
                                  @LIBTOOL_EXPORT_OPTIONS@ \
                                  @SCIM_GTKUTILS_LIBS@ \
                                  @INTLLIBS@ \
                                  @SCIM_LIBS@


#
# Helper Program
#
if SCIM_BUILD_HELPER
HELPER_MODULE = anthy-imengine-helper.la
endif
helpermoduledir          = @SCIM_MODULEDIR@/Helper
helpermodule_LTLIBRARIES = $(HELPER_MODULE)

anthy_imengine_helper_la_SOURCES  = scim_anthy_helper.cpp
anthy_imengine_helper_la_CFLAGS   = @GTK2_CFLAGS@ \
				    @SCIM_CFLAGS@ \
				    @SCIM_DEBUG_FLAGS@
anthy_imengine_helper_la_CXXFLAGS = @GTK2_CFLAGS@ \
				    @SCIM_CFLAGS@ \
				    @SCIM_DEBUG_FLAGS@
anthy_imengine_helper_la_LDFLAGS  = -avoid-version \
                                    -rpath $(setupmoduledir) \
                                    -module \
				    @LIBTOOL_EXPORT_OPTIONS@ \
				    @GTK2_LIBS@ \
				    @INTLLIBS@ \
				    @SCIM_LIBS@