gobject-introspection r244 - trunk/tests/parser



Author: johan
Date: Mon Apr 28 02:51:08 2008
New Revision: 244
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=244&view=rev

Log:
fix a typo, revert to automake hack for uninstalled shared libraries

Modified:
   trunk/tests/parser/Makefile.am

Modified: trunk/tests/parser/Makefile.am
==============================================================================
--- trunk/tests/parser/Makefile.am	(original)
+++ trunk/tests/parser/Makefile.am	Mon Apr 28 02:51:08 2008
@@ -1,4 +1,8 @@
-noinst_LTLIBRARIES = libfoo.la libutility.la
+# We need to build a shared library, which can be dlopened
+# it does not work with noinst_LTLIBRARIES
+testlib_LTLIBRARIES = libfoo.la libutility.la
+testlibdir = $(prefix)/unused
+install-testlibLTLIBRARIES: # prevent it from being installed
 
 libfoo_la_SOURCES = foo.c foo-object.h
 libfoo_la_CFLAGS = $(GOBJECT_CFLAGS)
@@ -16,7 +20,7 @@
 SCANNER = $(top_srcdir)/tools/g-ir-scanner
 
 utility.gir: libutility.la utility.h $(SCANNER)
-	@PYTHONPATH=$(top_buildir) $(SCANNER) -v \
+	@PYTHONPATH=$(top_builddir) $(SCANNER) -v \
 	--include=$(top_srcdir)/gir/gobject-2.0.gir \
 	--library=libutility.la \
 	--namespace=utility \
@@ -25,7 +29,7 @@
 	--output $@
 
 Foo.gir: libfoo.la foo-object.h $(SCANNER)
-	@PYTHONPATH=$(top_buildir) $(SCANNER) -v \
+	@PYTHONPATH=$(top_builddir) $(SCANNER) -v \
 	--include=$(top_srcdir)/gir/gobject-2.0.gir \
 	--include=$(srcdir)/utility.gir \
 	--library=libfoo.la \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]