[dconf] conditionalise use of gobject-introspection
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] conditionalise use of gobject-introspection
- Date: Thu, 17 Jun 2010 18:48:50 +0000 (UTC)
commit 32360a27b9bea285f344c3d9542136b4f75ec3d9
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jun 17 14:48:28 2010 -0400
conditionalise use of gobject-introspection
client/Makefile.am | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/client/Makefile.am b/client/Makefile.am
index 59e5f8d..8e17e7b 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -1,8 +1,6 @@
+if HAVE_INTROSPECTION
include $(INTROSPECTION_MAKEFILE)
-AM_CFLAGS = -std=c89 -Wall -Wmissing-prototypes -Wwrite-strings
-INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(gio_CFLAGS)
-
dconf-0.3.gir: libdconf.la
dconf_0_3_gir_INCLUDES = Gio-2.0
dconf_0_3_gir_CFLAGS = $(INCLUDES)
@@ -10,6 +8,16 @@ dconf_0_3_gir_LIBS = libdconf.la
dconf_0_3_gir_FILES = dconf-client.c dconf-client.h
INTROSPECTION_GIRS = dconf-0.3.gir
+girdir = $(datadir)/gir-1.0
+dist_gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibdir = $(libdir)/girepository-1.0
+typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+endif
+
+AM_CFLAGS = -std=c89 -Wall -Wmissing-prototypes -Wwrite-strings
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(gio_CFLAGS)
+
lib_LTLIBRARIES = libdconf.la
dconfinclude_HEADERS = \
@@ -26,10 +34,4 @@ libdconf_la_SOURCES = \
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = dconf.pc
-girdir = $(datadir)/gir-1.0
-dist_gir_DATA = $(INTROSPECTION_GIRS)
-
-typelibdir = $(libdir)/girepository-1.0
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-
CLEANFILES = $(dist_gir_DATA) $(typelib_DATA)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]