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.
18 AUX_DIST = $(ac_aux_dir)/config.guess \
19 $(ac_aux_dir)/config.sub \
20 $(ac_aux_dir)/compile \
21 $(ac_aux_dir)/depcomp \
22 $(ac_aux_dir)/install-sh \
23 $(ac_aux_dir)/ltconfig \
24 $(ac_aux_dir)/ltmain.sh \
27 EXTRA_DIST = config.rpath \
35 AUTOMAKE_OPTIONS = gnu
36 SUBDIRS = ism/src ism/utils ism/modules ism/configs po ism/extras ism/data ism/demos
38 MAINTAINERCLEANFILES = Makefile.in \
44 DISTCLEANFILES = isf.pc scim.pc scim-gtkutils.pc intltool-extract intltool-merge intltool-update
48 ACLOCAL = aclocal -I $(ac_aux_dir)/ism
50 pkgconfigdir = $(libdir)/pkgconfig
52 if SCIM_BUILD_GTK_UTILS
53 GTK_UTILS_PKGCONFIG = scim-gtkutils.pc
56 pkgconfig_DATA = isf.pc scim.pc \
57 $(GTK_UTILS_PKGCONFIG)
59 if ISF_BUILD_KBD_MODE_CHANGER
60 kbdmodechangerxmldir = @RO_PACKAGES_DIR@
61 kbdmodechangerxml_DATA = org.tizen.isf-kbd-mode-changer.xml
64 if ISF_INSTALL_SYSTEMD_SCRIPT
65 SYSTEMD_SCRIPT = scim.service scim.path
67 # $(libdir) will be /usr/lib64 on x86_64 arch, so hard-coded.
68 systemduserunitdir = /usr/lib/systemd/user
69 systemduserunit_DATA = $(SYSTEMD_SCRIPT)
71 ACLOCAL_AMFLAGS = -I ism/m4
73 .PHONY: update-ChangeLog
76 /bin/sh $(top_srcdir)/svn2cl.sh --authors=$(top_srcdir)/developers -f $(top_srcdir)/ChangeLog
79 rm -rf @SCIM_MODULE_PATH@
82 if ISF_INSTALL_SYSTEMD_SCRIPT
83 $(mkinstalldirs) $(DESTDIR)$(systemduserunitdir)/default.target.wants
84 ln -sf ../scim.path $(DESTDIR)$(systemduserunitdir)/default.target.wants/scim.path