summaryrefslogtreecommitdiff
path: root/tests/libpeas/introspection/Makefile.am
blob: 3ea3758dae3d3af7fd64f95478d42ddc95466147 (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
noinst_LTLIBRARIES = libintrospection-1.0.la

AM_CPPFLAGS = \
	-I$(top_srcdir)		\
	-I$(srcdir)		\
	$(PEAS_CFLAGS)		\
	$(WARN_CFLAGS)		\
	$(DISABLE_DEPRECATED)

libintrospection_1_0_la_LDFLAGS = $(TEST_INTROSPECTION_LIBTOOL_FLAGS)
libintrospection_1_0_la_LIBADD = \
	$(PEAS_LIBS)				\
	$(top_builddir)/libpeas/libpeas-1.0.la

libintrospection_1_0_la_SOURCES = \
	introspection-abstract.c		\
	introspection-abstract.h		\
	introspection-base.c			\
	introspection-base.h			\
	introspection-callable.c		\
	introspection-callable.h		\
	introspection-has-prerequisite.c	\
	introspection-has-prerequisite.h	\
	introspection-prerequisite.c	        \
	introspection-prerequisite.h	        \
	introspection-unimplemented.c		\
	introspection-unimplemented.h

-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS = Introspection-1.0.gir
INTROSPECTION_TYPELIBS = $(INTROSPECTION_GIRS:.gir=.typelib)
INTROSPECTION_SCANNER_ARGS = \
	--add-include-path=$(top_builddir)/libpeas	\
	--warn-all
INTROSPECTION_COMPILER_ARGS = \
	--includedir=$(top_srcdir)/libpeas	\
	--includedir=$(top_builddir)/libpeas

introspection_sources = $(libintrospection_1_0_la_SOURCES)

Introspection-1.0.gir: libintrospection-1.0.la
Introspection_1_0_gir_INCLUDES = GObject-2.0
Introspection_1_0_gir_CFLAGS = $(PEAS_CFLAGS) -I$(top_srcdir)
Introspection_1_0_gir_LIBS = $(top_builddir)/libpeas/libpeas-1.0.la libintrospection-1.0.la
Introspection_1_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
Introspection_1_0_gir_SCANNERFLAGS = --include-uninstalled=$(top_builddir)/libpeas/Peas-1.0.gir

CLEANFILES = $(INTROSPECTION_GIRS) $(INTROSPECTION_TYPELIBS)

all: Introspection-1.0.typelib