Tizen 2.1 base
[platform/core/uifw/ise-engine-sunpinyin.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
19 SUBDIRS                 = ime-core lexicon pinyin slm
20 MAINTAINERCLEANFILES    = Makefile.in
21
22 #####################portability##########################
23 noinst_LTLIBRARIES = libportability.la
24 libportability_la_SOURCES               = portability.cpp
25
26 libsunpinyinincludedir       = $(includedir)/sunpinyin-2.0
27 libsunpinyininclude_HEADERS     = portability.h\
28                                     sunpinyin.h\
29                                     ime-core/imi_option_event.h\
30                                     ime-core/imi_view.h\
31                                     ime-core/imi_options.h\
32                                     ime-core/imi_keys.h\
33                                     ime-core/imi_option_keys.h\
34                                     ime-core/imi_winHandler.h\
35                                     ime-core/imi_uiobjects.h
36 #####################sunpinyin##########################
37 SUNPINYIN_DEFINES=-DSUNPINYIN_DATA_DIR=\"@SUNPINYIN_DATA_DIR@\"
38 moduledir = /usr/lib
39 module_LTLIBRARIES = libsunpinyin.la
40
41 libsunpinyin_la_SOURCES = 
42
43 libsunpinyin_la_CXXFLAGS = @ISF_CXXFLAGS@ @SQLITE_CXXFLAGS@ @GLIB_CXXFLAGS@ $(SUNPINYIN_DEFINES)
44
45 libsunpinyin_la_LDFLAGS = -avoid-version  @LTLIBINTL@\
46                                         -module \
47                                         -export-dynamic\
48                                         @ISF_LIBS@ \
49                                         @SQLITE_LIBS@\
50                                         @GLIB_LIBS@\
51                                         -lstdc++ 
52
53 libsunpinyin_la_LIBADD = libportability.la\
54                         $(top_srcdir)/src/ime-core/libime-core.la\
55                         $(top_srcdir)/src/lexicon/liblexicon.la\
56                         $(top_srcdir)/src/pinyin/libpinyin.la\
57                         $(top_srcdir)/src/slm/libslm.la