X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tests%2Foffsets%2FMakefile.am;h=2a68da47bf9fe7b112cddac5c5841d2c0c5cecb0;hb=ca7865b8b29e8a764e3511d556e16c00432c2fd2;hp=f1a88c806d2bf0bb72505db8934f0cd12453420c;hpb=db381df952f39a2a50ca29e83bfe1d3235edd3ee;p=gnome.gobject-introspection diff --git a/tests/offsets/Makefile.am b/tests/offsets/Makefile.am index f1a88c8..2a68da4 100644 --- a/tests/offsets/Makefile.am +++ b/tests/offsets/Makefile.am @@ -1,8 +1,10 @@ include $(top_srcdir)/common.mk +include $(top_srcdir)/Makefile.introspection BUILT_SOURCES = CLEANFILES = EXTRA_DIST = +INTROSPECTION_GIRS = check_LTLIBRARIES = check_PROGRAMS = @@ -18,19 +20,12 @@ liboffsets_la_CPPFLAGS = $(GIREPO_CFLAGS) # dummy rpath to get built dynamically (huh?) liboffsets_la_LDFLAGS = -avoid-version -rpath $(libdir) -offsets-1.0.gir: liboffsets.la offsets.h $(SCANNER_BIN) $(SCANNER_LIBS) Makefile - $(CHECK_DEBUG) $(SCANNER) \ - --include=GObject-2.0 \ - --libtool="$(LIBTOOL)" \ - --library=liboffsets.la \ - --namespace=offsets \ - --nsversion=1.0 \ - --pkg gobject-2.0 \ - $(srcdir)/offsets.h $(srcdir)/offsets.c \ - --output $@ - -%.typelib: %.gir $(top_builddir)/tools/g-ir-compiler$(EXEEXT) Makefile - $(top_builddir)/tools/g-ir-compiler --includedir=. --includedir=$(top_builddir)/gir $< -o $@ +offsets-1.0.gir: liboffsets.la offsets.h +offsets_1_0_gir_INCLUDES = GObject-2.0 +offsets_1_0_gir_LIBS = liboffsets.la +offsets_1_0_gir_PACKAGES = gobject-2.0 +offsets_1_0_gir_FILES = $(srcdir)/offsets.h $(srcdir)/offsets.c +INTROSPECTION_GIRS += offsets-1.0.gir CLEANFILES += offsets-1.0.gir offsets-1.0.typelib