blob: 268ba1ddad91dbb0ab6aae68e9a92b817384ba53 (
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
|
SUBDIRS = . scanner repository offsets
EXTRA_DIST=
BUILT_SOURCES=
CLEANFILES=
INCLUDES = $(GOBJECT_CFLAGS)
LIBADD = $(GOBJECT_LIBS)
testlib_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
testlibdir=$(prefix)/unused
install-testlibLTLIBRARIES: # prevent it from being installed
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-stamp.h: Makefile
$(AM_V_GEN) $(top_builddir)/tools/g-ir-scanner --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) $(top_builddir)/tools/g-ir-scanner --warn-all --warn-error --reparse-validate \
--namespace=Everything --nsversion=1.0 \
--add-include-path=$(top_builddir)/gir --include=Gio-2.0 \
--library=libeverything-1.0.la --output=$@ \
everything.h everything.c
Everything-1.0.typelib: Everything-1.0.gir
$(AM_V_GEN) $(top_builddir)/tools/g-ir-compiler $< -o $@
GIMarshallingTests-1.0.gir: libgimarshallingtests-1.0.la Makefile
$(AM_V_GEN) $(top_builddir)/tools/g-ir-scanner --warn-all --warn-error --reparse-validate \
--namespace=GIMarshallingTests --symbol-prefix=gi_marshalling_tests --nsversion=1.0 \
--add-include-path=$(top_builddir)/gir --include=Gio-2.0 \
--library=libgimarshallingtests-1.0.la --output=$@ \
gimarshallingtests.h gimarshallingtests.c
GIMarshallingTests-1.0.typelib: GIMarshallingTests-1.0.gir
$(AM_V_GEN) $(top_builddir)/tools/g-ir-compiler $< -o $@
check: Everything-1.0.typelib GIMarshallingTests-1.0.typelib
install-data-local:
for src in everything.c everything.h gimarshallingtests.c gimarshallingtests.h; do \
install -m 644 -D $$src $(datadir)/gobject-introspection-1.0/tests/$$src; \
done
|