summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2011-06-21 17:57:38 +0100
committerRoss Burton <ross@linux.intel.com>2011-06-28 15:25:45 +0100
commit47f4a8c7c9589ce98da2dffb49b862484b298e5b (patch)
treeca2960be8d30151cedf3b4182d38d24c9acdab51
parentb4cd86e9efee5ad70c2397a41e4591d748a00f8e (diff)
downloadgconf-47f4a8c7c9589ce98da2dffb49b862484b298e5b.tar.gz
Fix make dist
-rw-r--r--gconf/Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/gconf/Makefile.am b/gconf/Makefile.am
index 821e768a..7240d124 100644
--- a/gconf/Makefile.am
+++ b/gconf/Makefile.am
@@ -36,14 +36,15 @@ lib_LTLIBRARIES = libgconf-2.la
bin_PROGRAMS = gconftool-2
libexec_PROGRAMS = gconfd-2 $(SANITY_CHECK)
-if HAVE_CORBA
CORBA_SOURCECODE = GConfX-common.c GConfX-skels.c GConfX-stubs.c GConfX.h
-endif
BUILT_SOURCES = \
- $(CORBA_SOURCECODE) \
gconfmarshal.h \
gconfmarshal.c
+if HAVE_CORBA
+BUILT_SOURCES += $(CORBA_SOURCECODE)
+endif
+
$(libgconf_2_la_OBJECTS) $(gconftool_2_OBJECTS) $(gconfd_2_OBJECTS): $(built_sourcecode)
@@ -127,9 +128,12 @@ libgconf_2_la_SOURCES = \
gconf.c \
gconf-client.c \
gconf-enum-types.c \
- $(CORBA_SOURCECODE) \
$(WIN32_SOURCECODE)
+if HAVE_CORBA
+libgconf_2_la_SOURCES += $(CORBA_SOURCECODE)
+endif
+
if HAVE_DBUS
libgconf_2_la_SOURCES += \
gconf-dbus.c \