summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/Makefile.am
blob: 888de8ad7cfb5e3377716518e11dc6081102acbd (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

DEFAULT_INCLUDES = -I$(top_builddir) -idirafter.

lib_LTLIBRARIES = pychrysalide.la

libdir = $(pluginslibdir)


if BUILD_PYTHON_PACKAGE

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

endif


# if BUILD_GTK_SUPPORT

# GTKEXT_LIBADD =								\
# 	gtkext/libpychrysagtkext.la

# GTKEXT_SUBDIR = 							\
# 	gtkext

# GUI_LIBADD =								\
# 	gui/libpychrysagui.la

# GUI_SUBDIR =								\
# 	gui

# endif


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

AM_CFLAGS = $(LIBPYTHON_INTERPRETER_CFLAGS) $(LIBPYGOBJECT_CFLAGS) $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS) \
	-I$(top_srcdir)/src -DNO_IMPORT_PYGOBJECT

# 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_LIBADD)						\
# 	$(GUI_LIBADD)							\
# 	mangling/libpychrysamangling.la			\
# 	plugins/libpychrysaplugins.la

pychrysalide_la_LIBADD =					\
	analysis/libpychrysaanalysis4.la		\
	arch/libpychrysaarch4.la				\
	core/libpychrysacore.la					\
	plugins/libpychrysaplugins.la

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


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

dev_HEADERS = $(pychrysalide_la_SOURCES:%c=)


#SUBDIRS = analysis arch common core debug format glibext $(GTKEXT_SUBDIR) $(GUI_SUBDIR) mangling plugins
SUBDIRS = analysis arch core plugins