gobject-introspection r826 - trunk/tests/everything



Author: tko
Date: Wed Oct 29 11:24:14 2008
New Revision: 826
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=826&view=rev

Log:
rename gitesttypes to Everything

	* tests/everything/Makefile.am: build normal shared library
	libgirepository-everything.so.1.0.0 and corresponding typelib
	Everything-1.0.typelib

Modified:
   trunk/tests/everything/Makefile.am

Modified: trunk/tests/everything/Makefile.am
==============================================================================
--- trunk/tests/everything/Makefile.am	(original)
+++ trunk/tests/everything/Makefile.am	Wed Oct 29 11:24:14 2008
@@ -1,12 +1,16 @@
 AM_CFLAGS = $(GOBJECT_CFLAGS)
-AM_LDFLAGS = -module -avoid-version
+AM_LDFLAGS = -version-info 1:0:0
 LIBS = $(GOBJECT_LIBS)
 
-testtypes_LTLIBRARIES = libgitesttypes.la
-testtypesdir = $(prefix)/unused
-install-testtypesLTLIBRARIES: # prevent it from being installed
+typelibsdir = $(libdir)/girepository
+typelibs_DATA = $(TYPELIBS)
 
-libgitesttypes_la_SOURCES = $(srcdir)/gitesttypes.c $(srcdir)/gitesttypes.h
+girsdir = $(datadir)/gir
+girs_DATA = $(GIRS)
+
+lib_LTLIBRARIES = libgirepository-everything.la
+
+libgirepository_everything_la_SOURCES = $(srcdir)/gitesttypes.c $(srcdir)/gitesttypes.h
 
 if OS_WIN32
 AM_LDFLAGS += -no-undefined
@@ -21,16 +25,16 @@
 CLEANFILES = $(TYPELIBS) $(TXMLS) $(GIRS)
 BUILT_SOURCES = $(TYPELIBS) $(TXMLS) $(GIRS)
 
-gitesttypes-1.0.gir: libgitesttypes.la gitesttypes.c gitesttypes.h $(SCANNER) $(SCANNER_LIBS)
+Everything-1.0.gir: libgirepository-everything.la gitesttypes.c gitesttypes.h $(SCANNER) $(SCANNER_LIBS)
 	PYTHONPATH=$(top_builddir):$$PYTHONPATH $(CHECK_DEBUG) $(SCANNER) -v \
 	--add-include-path=$(top_builddir)/gir \
 	--include=GObject-2.0 \
-	--library=gitesttypes \
-	--namespace=gitesttypes --nsversion=1.0 \
+	--library=girepository-everything \
+	--namespace=Everything --nsversion=1.0 \
 	--pkg gobject-2.0 \
 	$(srcdir)/gitesttypes.h $(srcdir)/gitesttypes.c \
 	--output $@
-GIRS += gitesttypes-1.0.gir
+GIRS += Everything-1.0.gir
 
 %.typelib: %.gir $(top_builddir)/tools/g-ir-compiler$(EXEEXT) Makefile
 	$(top_builddir)/tools/g-ir-compiler --includedir=. --includedir=$(top_builddir)/gir $< -o $@



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