1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2 ## Copyright (C) 2002 James Su
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)
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.
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.
19 SUBDIRS = ime-core lexicon pinyin slm
20 MAINTAINERCLEANFILES = Makefile.in
22 #####################portability##########################
23 noinst_LTLIBRARIES = libportability.la
24 libportability_la_SOURCES = portability.cpp
26 libsunpinyinincludedir = $(includedir)/sunpinyin-2.0
27 libsunpinyininclude_HEADERS = portability.h\
29 ime-core/imi_option_event.h\
31 ime-core/imi_options.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@\"
39 module_LTLIBRARIES = libsunpinyin.la
41 libsunpinyin_la_SOURCES =
43 libsunpinyin_la_CXXFLAGS = @ISF_CXXFLAGS@ $(SUNPINYIN_DEFINES)
45 libsunpinyin_la_LDFLAGS = -avoid-version \
51 libsunpinyin_la_LIBADD = libportability.la\
52 $(top_srcdir)/src/ime-core/libime-core.la\
53 $(top_srcdir)/src/lexicon/liblexicon.la\
54 $(top_srcdir)/src/pinyin/libpinyin.la\
55 $(top_srcdir)/src/slm/libslm.la