diff options
Diffstat (limited to 'gconf/Makefile.am')
| -rw-r--r-- | gconf/Makefile.am | 48 |
1 files changed, 40 insertions, 8 deletions
diff --git a/gconf/Makefile.am b/gconf/Makefile.am index 3175bf2..c0cd889 100644 --- a/gconf/Makefile.am +++ b/gconf/Makefile.am @@ -19,22 +19,54 @@ # Free Software Foundation, Inc., 59 Temple Place, Suite 330, # Boston, MA 02111-1307 USA -gconf_PYTHON = \ - config.py \ - main.py \ +libibus = $(top_builddir)/src/libibus.la + +INCLUDES = \ + -I$(top_srcdir)/src \ + $(NULL) + +AM_CFLAGS = \ + @GLIB2_CFLAGS@ \ + @GCONF_CFLAGS@ \ + @DBUS_CFLAGS@ \ + -DG_LOG_DOMAIN=\"IBUS\" \ + $(INCLUDES) \ + $(NULL) +AM_LDFLAGS = \ + @GLIB2_LIBS@ \ + @GCONF_LIBS@ \ + @DBUS_LIBS@ \ + $(libibus) \ + $(NULL) + +libexec_PROGRAMS = \ + ibus-gconf \ $(NULL) -gconfdir = $(pkgdatadir)/gconf +ibus_gconf_SOURCES = \ + main.c \ + config.c \ + config.h \ + $(NULL) +ibus_gconf_CFLAGS = \ + $(AM_CFLAGS) \ + $(NULL) +ibus_gconf_LDFLAGS = \ + $(AM_LDFLAGS) \ + $(NULL) -bin_SCRIPTS = ibus-gconf +component_DATA = \ + gconf.xml \ + $(NULL) +componentdir = $(pkgdatadir)/component CLEANFILES = \ *.pyc \ $(NULL) EXTRA_DIST = \ - ibus-gconf.in \ + gconf.xml.in \ $(NULL) -test: - $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py +$(libibus): + $(MAKE) -C $(top_builddir)/src |
