summaryrefslogtreecommitdiff
path: root/plugins/lnxsyscalls/Makefile.am
blob: 21feaa57f683d5137672a3be5a28b6667dc5fd3a (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

lib_LTLIBRARIES = liblnxsyscalls.la

libdir = $(pluginslibdir)


if BUILD_PYTHON_PACKAGE

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

else

RUN_PATH = -Wl,-rpath,'$$ORIGIN'

endif

liblnxsyscalls_la_SOURCES =					\
	collect.h collect.c						\
	core.h core.c							\
	db.h db.c								\
	hops.h									\
	hops_armv7.h hops_armv7.c				\
	hunter.h hunter.c						\
	syscall.h syscall.c						\
	writer.h writer.c

liblnxsyscalls_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src

liblnxsyscalls_la_LDFLAGS =					\
	-avoid-version							\
	-L$(top_srcdir)/src/.libs -lchrysacore	\
	-L$(top_srcdir)/plugins/arm/.libs -larm	\
	$(RUN_PATH)


EXTRA_DIST = linux-syscalls.db


db_DATA = linux-syscalls.db

dbdir = $(pluginsdatadir)


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

dev_HEADERS = $(liblnxsyscalls_la_SOURCES:%c=)