WIP fix gtk3 setup issues
[platform/upstream/ibus.git] / gconf / Makefile.am
1 # vim:set noet ts=4:
2 #
3 # ibus - The Input Bus
4 #
5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
6 # Copyright (c) 2007-2010 Red Hat, Inc.
7 #
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2 of the License, or (at your option) any later version.
12 #
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU Lesser General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with this program; if not, write to the
20 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 # Boston, MA  02111-1307  USA
22
23 libibus = $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la
24
25 libexec_PROGRAMS = \
26         ibus-gconf \
27         $(NULL)
28
29 ibus_gconf_SOURCES = \
30         main.c \
31         config.c \
32         config.h \
33         $(NULL)
34 ibus_gconf_CFLAGS = \
35         @GLIB2_CFLAGS@ \
36         @GIO2_CFLAGS@ \
37         @GCONF_CFLAGS@ \
38         -DG_LOG_DOMAIN=\"IBUS\" \
39         -I$(top_srcdir)/src \
40         -I$(top_builddir)/src \
41         $(NULL)
42 ibus_gconf_LDADD = \
43         @GOBJECT2_LIBS@ \
44         @GLIB2_LIBS@ \
45         @GIO2_LIBS@ \
46         @GCONF_LIBS@ \
47         $(libibus) \
48         $(NULL)
49 ibus_gconf_DEPENDENCIES = \
50         $(libibus) \
51         $(NULL)
52
53 component_DATA = \
54         gconf.xml \
55         $(NULL)
56
57 componentdir = $(pkgdatadir)/component
58
59 CLEANFILES = \
60         gconf.xml \
61         *.pyc \
62         $(NULL)
63
64 EXTRA_DIST = \
65         gconf.xml.in.in \
66         $(NULL)
67
68 gconf.xml: gconf.xml.in
69         $(AM_V_GEN) \
70         ( \
71                 libexecdir=${libexecdir}; \
72                 s=`cat $<`; \
73                 eval "echo \"$${s}\""; \
74         ) > $@
75
76 $(libibus):
77         $(MAKE) -C $(top_builddir)/src
78
79 -include $(top_srcdir)/git.mk