13850c43dcd6ba151a258634f1f3f4f035382428
[framework/uifw/ise-engine-hangul.git] / src / Makefile.am
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2 ## Copyright (C) 2002 James Su
3 ##
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
7 ## any later version.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
13 ##
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 MAINTAINERCLEANFILES    = Makefile.in
19
20 hangul_DEFINES          = -DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
21                           -DSCIM_HANGUL_LOCALEDIR=\"$(localedir)\" \
22                           -DSCIM_HANGUL_DATADIR=\"@SCIM_HANGUL_DATADIR@\" \
23                           -DSCIM_HANGUL_ICON_FILE=\"@SCIM_ICONDIR@/scim-hangul.png\"
24
25 noinst_HEADERS          = scim_hangul_imengine.h
26
27 moduledir               = @SCIM_MODULEDIR@/IMEngine
28 module_LTLIBRARIES      = hangul.la
29
30 hangul_la_SOURCES       = scim_hangul_imengine.cpp
31
32 hangul_la_CFLAGS        = @SCIM_CFLAGS@ @LIBHANGUL_CFLAGS@ $(hangul_DEFINES)
33 hangul_la_CXXFLAGS      = @SCIM_CFLAGS@ @LIBHANGUL_CFLAGS@ $(hangul_DEFINES)
34
35 hangul_la_LDFLAGS       = -avoid-version \
36                           -rpath $(moduledir) \
37                           -module \
38                           @LIBTOOL_EXPORT_OPTIONS@ \
39                           @INTLLIBS@ \
40                           @SCIM_LIBS@ \
41                           @LIBHANGUL_LIBS@
42
43 if SCIM_BUILD_SETUP
44 SETUP_MODULE = hangul-imengine-setup.la
45 endif
46
47 setupmoduledir           = @SCIM_MODULEDIR@/SetupUI
48 setupmodule_LTLIBRARIES  = $(SETUP_MODULE)
49
50 hangul_imengine_setup_la_SOURCES = scim_hangul_imengine_setup.cpp
51
52 hangul_imengine_setup_la_CFLAGS  = @SCIM_GTKUTILS_CFLAGS@ \
53                                    @SCIM_CFLAGS@ \
54                                    $(hangul_DEFINES)
55
56 hangul_imengine_setup_la_CXXFLAGS= @SCIM_GTKUTILS_CFLAGS@ \
57                                    @SCIM_CFLAGS@ \
58                                    $(hangul_DEFINES)
59
60 hangul_imengine_setup_la_LDFLAGS = -avoid-version \
61                                    -rpath $(setupmoduledir) \
62                                    -module \
63                                    @LIBTOOL_EXPORT_OPTIONS@ \
64                                    @SCIM_GTKUTILS_LIBS@ \
65                                    @INTLLIBS@ \
66                                    @SCIM_LIBS@