1 include $(top_srcdir)/common.mk
3 SUBDIRS = . scanner repository offsets warn
4 DIST_SUBDIRS = $(SUBDIRS)
8 DIST_SUBDIRS += doctool
15 INCLUDES = $(GOBJECT_CFLAGS)
16 LIBADD = $(GOBJECT_LIBS)
18 testsdir = $(datadir)/gobject-introspection-1.0/tests
22 gimarshallingtests.c \
25 check_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
27 libeverything_1_0_la_SOURCES = everything.c
28 libgimarshallingtests_1_0_la_SOURCES = gimarshallingtests.c
30 EXTRA_DIST += gimarshallingtests.h
32 BUILT_SOURCES += everything.c everything.h
37 Everything-1.0.typelib \
38 GIMarshallingTests-1.0.typelib
40 everything-stamp.h: Makefile
41 $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --generate-typelib-tests=Everything,everything.h,everything.c
44 everything.c: everything-stamp.h
47 everything.h: everything-stamp.h
50 Everything-1.0.gir: libeverything-1.0.la Makefile
51 $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
52 --namespace=Everything --nsversion=1.0 \
53 --libtool="$(LIBTOOL)" \
54 --add-include-path=$(top_builddir) --include=Gio-2.0 \
55 --library=libeverything-1.0.la --output=$@ \
56 everything.h everything.c
58 GIMarshallingTests-1.0.gir: libgimarshallingtests-1.0.la Makefile
59 $(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
60 --namespace=GIMarshallingTests --symbol-prefix=gi_marshalling_tests --nsversion=1.0 \
61 --libtool="$(LIBTOOL)" \
62 --add-include-path=$(top_builddir) --include=Gio-2.0 \
63 --library=libgimarshallingtests-1.0.la --output=$@ \
64 --c-include="tests/gimarshallingtests.h" \
65 $(srcdir)/gimarshallingtests.h $(srcdir)/gimarshallingtests.c
68 $(AM_V_GEN) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) $< -o $@
70 check: Everything-1.0.typelib GIMarshallingTests-1.0.typelib