[gnome-ostree] cleanup: Split off GSystem introspection to its own makefile
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] cleanup: Split off GSystem introspection to its own makefile
- Date: Tue, 2 Apr 2013 19:02:50 +0000 (UTC)
commit 0a596babf59f46a97d6ec76d8c0bf177e3968bc5
Author: Colin Walters <walters verbum org>
Date: Wed Mar 27 09:36:38 2013 -0400
cleanup: Split off GSystem introspection to its own makefile
Makefile-gsystem-introspection.am | 16 ++++++++++++++++
Makefile.am | 34 ++++++++++------------------------
2 files changed, 26 insertions(+), 24 deletions(-)
---
diff --git a/Makefile-gsystem-introspection.am b/Makefile-gsystem-introspection.am
new file mode 100644
index 0000000..3f7d763
--- /dev/null
+++ b/Makefile-gsystem-introspection.am
@@ -0,0 +1,16 @@
+INTROSPECTION_GIRS += GSystem-1.0.gir
+
+GSystem-1.0.gir: libgsystem.la Makefile
+GSystem_1_0_gir_NAMESPACE = GSystem
+GSystem_1_0_gir_VERSION = 1.0
+GSystem_1_0_gir_LIBS = libgsystem.la
+GSystem_1_0_gir_CFLAGS = $(libgsystem_cflags)
+GSystem_1_0_gir_SCANNERFLAGS = \
+ --warn-all \
+ --warn-error \
+ --symbol-prefix=gs_ \
+ --identifier-prefix=GS \
+ --c-include="libgsystem.h" \
+ $(NULL)
+GSystem_1_0_gir_INCLUDES = Gio-2.0
+GSystem_1_0_gir_FILES = $(libgsystem_la_SOURCES)
diff --git a/Makefile.am b/Makefile.am
index f19a3f3..9e1e110 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,6 +34,15 @@ privlibdir = $(pkglibdir)
privlib_LTLIBRARIES =
INSTALL_DATA_HOOKS =
+include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+
+girdir= $(pkgdatadir)/gir-1.0
+typelibdir= $(pkglibdir)/girepository-1.0
+
+gir_DATA = $(INTROSPECTION_GIRS)
+typelib_DATA = $(gir_DATA:.gir=.typelib)
+
libgsystem_srcpath := src/libgsystem
libgsystem_cflags = $(GIO_UNIX_CFLAGS) -I$(srcdir)/src/libgsystem
libgsystem_libs = $(GIO_UNIX_LIBS)
@@ -42,30 +51,7 @@ privlib_LTLIBRARIES += libgsystem.la
include Makefile-ostbuild.am
include Makefile-tests.am
-
-include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS = GSystem-1.0.gir
-
-GSystem-1.0.gir: libgsystem.la Makefile
-GSystem_1_0_gir_NAMESPACE = GSystem
-GSystem_1_0_gir_VERSION = 1.0
-GSystem_1_0_gir_LIBS = libgsystem.la
-GSystem_1_0_gir_CFLAGS = $(libgsystem_cflags)
-GSystem_1_0_gir_SCANNERFLAGS = \
- --warn-all \
- --warn-error \
- --symbol-prefix=gs_ \
- --identifier-prefix=GS \
- --c-include="libgsystem.h" \
- $(NULL)
-GSystem_1_0_gir_INCLUDES = Gio-2.0
-GSystem_1_0_gir_FILES = $(libgsystem_la_SOURCES)
-
-girdir= $(pkgdatadir)/gir-1.0
-typelibdir= $(pkglibdir)/girepository-1.0
-
-gir_DATA = $(INTROSPECTION_GIRS)
-typelib_DATA = $(gir_DATA:.gir=.typelib)
+include Makefile-gsystem-introspection.am
install-data-hook: $(INSTALL_DATA_HOOKS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]