summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 20b69fb11b11817df4ae8a954fe0104c34a47938 (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
## 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)/src \
			  -I$(top_srcdir)/intl \
			  -DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
			  -DSCIM_TABLE_LOCALEDIR=\"$(datadir)/locale\" \
			  -DSCIM_TABLEDIR=\"@SCIM_TABLEDIR@\" \
			  -DSCIM_DATADIR=\"@SCIM_DATADIR@\"


noinst_HEADERS		= scim_generic_table.h \
			  scim_table_imengine.h \
			  scim_table_private.h

noinst_LTLIBRARIES	= libgentable.la
libgentable_la_SOURCES	= scim_generic_table.cpp

libgentable_la_CFLAGS	= @SCIM_CFLAGS@ 
libgentable_la_CXXFLAGS	= @SCIM_CFLAGS@
libgentable_la_LDFLAGS	= @SCIM_LIBS@ 

moduledir		= @SCIM_MODULEDIR@/IMEngine
module_LTLIBRARIES	= table.la

table_la_SOURCES 	= scim_table_imengine.cpp

table_la_CFLAGS		= @SCIM_CFLAGS@
table_la_CXXFLAGS	= @SCIM_CFLAGS@

table_la_LDFLAGS	= -avoid-version \
		     	  -rpath $(moduledir) \
			  -module \
			  @LIBTOOL_EXPORT_OPTIONS@ \
			  @LTLIBINTL@ \
			  @SCIM_LIBS@

table_la_LIBADD		= libgentable.la

bin_PROGRAMS		= scim-make-table

scim_make_table_SOURCES	= scim_make_table.cpp
scim_make_table_CFLAGS	= @SCIM_CFLAGS@ -fPIE
scim_make_table_CXXFLAGS= @SCIM_CFLAGS@ -fPIE
scim_make_table_LDFLAGS	= @LTLIBINTL@ @SCIM_LIBS@ -pie
scim_make_table_LDADD	= libgentable.la

if SCIM_BUILD_SETUP
SETUP_MODULE 		= table-imengine-setup.la
endif

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

table_imengine_setup_la_SOURCES	= scim_table_imengine_setup.cpp

table_imengine_setup_la_CFLAGS	= @SCIM_GTKUTILS_CFLAGS@ @SCIM_CFLAGS@

table_imengine_setup_la_CXXFLAGS= @SCIM_GTKUTILS_CFLAGS@ @SCIM_CFLAGS@

table_imengine_setup_la_LDFLAGS	= -avoid-version \
				 -rpath $(setupmoduledir) \
				 -module \
				 @LIBTOOL_EXPORT_OPTIONS@ \
				 @LTLIBINTL@ \
				 @SCIM_GTKUTILS_LIBS@ \
				 @SCIM_LIBS@

table_imengine_setup_la_LIBADD  = libgentable.la