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

lib_LTLIBRARIES = libdwarf.la

libdir = $(pluginslibdir)


if BUILD_PYTHON_PACKAGE

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

endif


libdwarf_la_SOURCES =						\
	abbrev.h abbrev.c						\
	checks.h checks.c						\
	core.h core.c							\
	def.h									\
	die.h die.c								\
	form.h form.c							\
	format.h format.c						\
	info.h info.c							\
	utils.h utils.c


# libdwarf_la_SOURCES =					\
# 	abbrev.h abbrev.c					\
# 	die.h die.c							\
# 	dwarf.h dwarf.c						\
# 	dwarf-int.h dwarf-int.c				\
# 	dwarf_def.h							\
# 	form.h form.c						\
# 	info.h info.c						\
# 	symbols.h symbols.c

libdwarf_la_LIBADD =						\
	v2/libdwarfv2.la						\
	v3/libdwarfv3.la						\
	v4/libdwarfv4.la

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

libdwarf_la_LDFLAGS =						\
	-avoid-version							\
	-L$(top_srcdir)/src/.libs -lchrysacore	\
	$(RUN_PATH)


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

dev_HEADERS = $(libdwarf_la_SOURCES:%c=)


SUBDIRS = v2 v3 v4