[libpeas] Don't link to libpeas in test Introspection
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Don't link to libpeas in test Introspection
- Date: Sun, 13 Feb 2011 11:03:26 +0000 (UTC)
commit 9e1d0b0123761cd9e3b33850c0bf5df80cc2be36
Author: Garrett Regier <alias301 gmail com>
Date: Sat Feb 12 03:32:50 2011 -0800
Don't link to libpeas in test Introspection
It does not use libpeas or GIRepository and just causes
it to be rebuilt needlessly.
tests/libpeas/introspection/Makefile.am | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/tests/libpeas/introspection/Makefile.am b/tests/libpeas/introspection/Makefile.am
index 1e6b487..09ae0d2 100644
--- a/tests/libpeas/introspection/Makefile.am
+++ b/tests/libpeas/introspection/Makefile.am
@@ -12,9 +12,7 @@ INCLUDES = \
libintrospection_1_0_la_LDFLAGS = \
-export-dynamic -no-undefined -export-symbols-regex "^[^_].*"
-libintrospection_1_0_la_LIBADD = \
- $(PEAS_LIBS) \
- $(top_builddir)/libpeas/libpeas-1.0.la
+libintrospection_1_0_la_LIBADD = $(PEAS_LIBS)
libintrospection_1_0_la_SOURCES = \
introspection-callable.c \
@@ -30,19 +28,16 @@ INCLUDES += $(INTROSPECTION_INCLUDES)
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS = Introspection-1.0.gir
INTROSPECTION_TYPELIBS = $(INTROSPECTION_GIRS:.gir=.typelib)
-INTROSPECTION_SCANNER_ARGS = \
- --add-include-path=$(top_builddir)/libpeas \
- --warn-all
+INTROSPECTION_SCANNER_ARGS = --warn-all
INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/libpeas
introspection_sources = $(libintrospection_1_0_la_SOURCES)
Introspection-1.0.gir: libintrospection-1.0.la
-Introspection_1_0_gir_INCLUDES = GObject-2.0 GIRepository-2.0
+Introspection_1_0_gir_INCLUDES = GObject-2.0
Introspection_1_0_gir_CFLAGS = $(INTROSPECTION_INCLUDES)
Introspection_1_0_gir_LIBS = libintrospection-1.0.la
Introspection_1_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
-Introspection_1_0_gir_SCANNERFLAGS = --include-uninstalled=$(top_builddir)/libpeas/Peas-1.0.gir
CLEANFILES = $(INTROSPECTION_GIRS) $(INTROSPECTION_TYPELIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]