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/scim 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)
60 # $(libdir) will be /usr/lib64 on x86_64 arch, so hard-coded.
61 systemduserunitdir = /usr/lib/systemd/user
62 systemduserunit_DATA = scim.service
64 ACLOCAL_AMFLAGS = -I ism/m4
66 .PHONY: update-ChangeLog
69 /bin/sh $(top_srcdir)/svn2cl.sh --authors=$(top_srcdir)/developers -f $(top_srcdir)/ChangeLog
72 rm -rf @SCIM_MODULE_PATH@
75 $(mkinstalldirs) $(DESTDIR)$(systemduserunitdir)/default.target.wants
76 ln -sf ../scim.service $(DESTDIR)$(systemduserunitdir)/default.target.wants/scim.service