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

DEFAULT_INCLUDES = -I$(top_builddir) -idirafter.

lib_LTLIBRARIES = pychrysalide.la

libdir = $(pluginslibdir)


if BUILD_PYTHON_PACKAGE

RUN_PATH = -Wl,-rpath,'$$ORIGIN/chrysalide-libs'

endif


pychrysalide_la_SOURCES =				\
	access.h access.c					\
	core.h core.c						\
	helpers.h helpers.c					\
	star.h star.c						\
	strenum.h strenum.c					\
	struct.h struct.c					\
	weak.h weak.c

pychrysalide_la_LIBADD =				\
	analysis/libpychrysaanalysis.la		\
	arch/libpychrysaarch.la				\
	common/libpychrysacommon.la			\
	core/libpychrysacore.la				\
	debug/libpychrysadebug.la			\
	format/libpychrysaformat.la			\
	glibext/libpychrysaglibext.la		\
	gtkext/libpychrysagtkext.la			\
	gui/libpychrysagui.la				\
	mangling/libpychrysamangling.la		\
	plugins/libpychrysaplugins.la

# -ldl: dladdr(), dlerror()
pychrysalide_la_LDFLAGS =					\
	-module -avoid-version -ldl				\
	$(LIBPYTHON_LIBS) $(LIBPYGOBJECT_LIBS)	\
	-L$(top_srcdir)/src/.libs -lchrysacore	\
	$(RUN_PATH)


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

dev_HEADERS = $(pychrysalide_la_SOURCES:%c=)


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

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

SUBDIRS = analysis arch common core debug format glibext gtkext gui mangling plugins