summaryrefslogtreecommitdiff
path: root/plugins/dexbnf/Makefile.am
blob: f46045954892f363242cc304b56e4bbefabb2a7e (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

lib_LTLIBRARIES = libdexbnf.la

libdir = $(pluginslibdir)


if BUILD_PYTHON3_BINDINGS

PYTHON3_LIBADD = python/libdexbnfpython.la

PYTHON3_LDFLAGS = -Wl,-rpath,$(abs_top_srcdir)/plugins/pychrysalide/.libs \
					-L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so

PYTHON3_SUBDIRS = python

endif


libdexbnf_la_SOURCES =					\
	context.h context.c					\
	core.h core.c						\
	demangler.h demangler.c				\
	simple.h simple.c					\
	shorty.h shorty.c					\
	type.h type.c

libdexbnf_la_LIBADD =					\
	$(PYTHON3_LIBADD)

libdexbnf_la_LDFLAGS =							\
	-L$(top_srcdir)/src/.libs -lchrysacore		\
	$(PYTHON3_LDFLAGS)


devdir = $(includedir)/chrysalide-$(subdir)

dev_HEADERS = $(libdexbnf_la_SOURCES:%c=)


AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src

AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)

SUBDIRS = $(PYTHON3_SUBDIRS)