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

lib_LTLIBRARIES = libreaddex.la

libdir = $(pluginslibdir)


if BUILD_PYTHON_PACKAGE

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

else

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

endif


libreaddex_la_SOURCES =					\
	class.h class.c						\
	code.h code.c						\
	header.h header.c					\
	ids.h ids.c							\
	reader.h reader.c

libreaddex_la_LDFLAGS =							\
	-avoid-version								\
	-L$(top_srcdir)/src/.libs -lchrysacore		\
	-L$(top_srcdir)/plugins/dex/.libs -ldex		\
	-L$(top_srcdir)/plugins/fmtp/.libs -lfmtp	\
	$(RUN_PATH)


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

dev_HEADERS = $(libreaddex_la_SOURCES:%c=)


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

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