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
|
## 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
CLEANFILES = *.bak
EXTRA_DIST = imengine.version-script
INCLUDES = -I$(top_builddir) \
-I$(top_builddir)/src \
-I$(top_srcdir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/intl \
-I$(top_srcdir)/utils \
-DSCIM_DATADIR=\"@SCIM_DATADIR@\" \
-DSCIM_LOCALEDIR=\"@SCIM_LOCALEDIR@\" \
-DSCIM_SYSCONFDIR=\"@SCIM_SYSCONFDIR@\" \
-DSCIM_LIBEXECDIR=\"@SCIM_LIBEXECDIR@\" \
-DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
-DSCIM_MODULE_PATH=\"@SCIM_MODULE_PATH@\" \
-DSCIM_TEMPDIR=\"@SCIM_TEMPDIR@\"
if SCIM_BUILD_IMENGINE_RAWCODE
CONFIG_IMENGINE_RAWCODE_MODULE = rawcode.la
endif
if SCIM_BUILD_IMENGINE_SOCKET
CONFIG_IMENGINE_SOCKET_MODULE = socket.la
endif
if SCIM_LD_VERSION_SCRIPT
LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/imengine.version-script"
endif
noinst_HEADERS = scim_rawcode_imengine.h \
scim_socket_imengine.h
moduledir = $(libdir)/scim@SCIM_EPOCH@/$(SCIM_BINARY_VERSION)/IMEngine
module_LTLIBRARIES = $(CONFIG_IMENGINE_RAWCODE_MODULE) \
$(CONFIG_IMENGINE_SOCKET_MODULE)
rawcode_la_SOURCES = scim_rawcode_imengine.cpp
rawcode_la_LDFLAGS = -avoid-version \
-rpath $(moduledir) \
-module \
$(LD_VERSION_SCRIPT_OPTION) \
@LIBTOOL_EXPORT_OPTIONS@ \
@LTLIBINTL@
rawcode_la_LIBADD = $(top_builddir)/src/libscim@SCIM_EPOCH@.la
socket_la_SOURCES = scim_socket_imengine.cpp
socket_la_LDFLAGS = -avoid-version \
-rpath $(moduledir) \
-module \
$(LD_VERSION_SCRIPT_OPTION) \
@LIBTOOL_EXPORT_OPTIONS@ \
@LTLIBINTL@
socket_la_LIBADD = $(top_builddir)/src/libscim@SCIM_EPOCH@.la
|