summaryrefslogtreecommitdiff
path: root/plugins/dalvik/Makefile.am
blob: 0183cfb7cab769991cfa251ee0708da5d45be9f4 (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

lib_LTLIBRARIES = libdalvik.la

libdir = $(pluginslibdir)


if BUILD_PYTHON3_BINDINGS

PYTHON3_LIBADD = python/libdalvikpython.la

if BUILD_DISCARD_LOCAL

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

else

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

endif

PYTHON3_SUBDIRS = python

endif


libdalvik_la_SOURCES =					\
	context.h context.c					\
	core.h core.c						\
	fetch.h fetch.c						\
	helpers.h							\
	instruction-int.h					\
	instruction.h instruction.c			\
	link.h link.c						\
	operand.h operand.c					\
	post.h post.c						\
	processor-int.h						\
	processor.h processor.c				\
	register.h register.c

libdalvik_la_LIBADD =					\
	operands/libdalvikoperands.la		\
	pseudo/libdalvikpseudo.la			\
	$(PYTHON3_LIBADD)					\
	v35/libdalvik35.la

libdalvik_la_LDFLAGS =						\
	-L$(top_srcdir)/src/.libs -lchrysacore	\
	-L$(top_srcdir)/plugins/dex/.libs -ldex	\
	$(PYTHON3_LDFLAGS)


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

dev_HEADERS = $(libdalvik_la_SOURCES:%c=)


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

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


SUBDIRS = operands pseudo $(PYTHON3_SUBDIRS) v35