blob: 2b33d5445e1c4868e649d9e718c73d1c93baa24b (
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
|
## Process this file with automake to produce Makefile.in
check_PROGRAMS = invoke
testlib_LTLIBRARIES = testfns.la
testlibdir = /tmp
install-testlibLTLIBRARIES: # prevent it from being installed
testfns_la_SOURCES = \
testfns.c \
testfns-metadata.c
testfns_la_CFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository
testfns_la_LDFLAGS = -module -avoid-version
testfns_la_LIBADD = $(GIREPO_LIBS) $(top_builddir)/girepository/libgirepository.la
if OS_WIN32
testfns_la_LDFLAGS += -no-undefined
endif
BUILT_SOURCES = testfns-metadata.c
CLEANFILES = testfns-metadata.c
testfns-metadata.c: testfns.gir $(top_builddir)/tools/g-ir-compiler Makefile
$(CHECK_DEBUG) $(top_builddir)/tools/g-ir-compiler $(srcdir)/testfns.gir --code -o testfns-metadata.c
invoke_SOURCES = invoke.c
invoke_CFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository
invoke_LDADD = $(GIREPO_LIBS) $(top_builddir)/girepository/libgirepository.la
TESTS = invoke invoke-namespace-find.sh
EXTRA_DIST = invoke-namespace-find.sh testfns.gir
|