blob: b4985b90c368acffe0eea002ab7e995f3ad41755 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
include $(top_srcdir)/common.mk
SUBDIRS = . scanner repository offsets warn
EXTRA_DIST=
BUILT_SOURCES=
CLEANFILES=
AM_CFLAGS = $(GOBJECT_CFLAGS)
LIBADD = $(GOBJECT_LIBS)
testsdir = $(datadir)/gobject-introspection-1.0/tests
tests_DATA = \
everything.c \
everything.h \
gimarshallingtests.c \
gimarshallingtests.h
check_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
libeverything_1_0_la_SOURCES = everything.c
libgimarshallingtests_1_0_la_SOURCES = gimarshallingtests.c
EXTRA_DIST += gimarshallingtests.h
BUILT_SOURCES += everything.c everything.h
CLEANFILES += \
$(BUILT_SOURCES) \
everything-stamp.h \
Everything-1.0.typelib \
GIMarshallingTests-1.0.typelib
everything-stamp.h: Makefile
$(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --generate-typelib-tests=Everything,everything.h,everything.c
touch $@
everything.c: everything-stamp.h
@true
everything.h: everything-stamp.h
@true
Everything-1.0.gir: libeverything-1.0.la Makefile
$(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
--namespace=Everything --nsversion=1.0 \
--libtool="$(LIBTOOL)" \
--add-include-path=$(top_builddir) --include=Gio-2.0 \
--library=libeverything-1.0.la --output=$@ \
everything.h everything.c
GIMarshallingTests-1.0.gir: libgimarshallingtests-1.0.la Makefile
$(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
--namespace=GIMarshallingTests --symbol-prefix=gi_marshalling_tests --nsversion=1.0 \
--libtool="$(LIBTOOL)" \
--add-include-path=$(top_builddir) --include=Gio-2.0 \
--library=libgimarshallingtests-1.0.la --output=$@ \
--c-include="tests/gimarshallingtests.h" \
$(srcdir)/gimarshallingtests.h $(srcdir)/gimarshallingtests.c
%.typelib: %.gir
$(AM_V_GEN) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) $< -o $@
check: Everything-1.0.typelib GIMarshallingTests-1.0.typelib
|