summaryrefslogtreecommitdiff
path: root/plugins/readmc/Makefile.am
blob: 51a855263bef4fc3ff265c3d42eb9470d1210168 (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

lib_LTLIBRARIES = libreadmc.la

libdir = $(pluginslibdir)


if BUILD_PYTHON_PACKAGE

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

else

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

endif


libreadmc_la_SOURCES =						\
	header.h header.c						\
	reader.h reader.c						\
	text.h text.c							\
	v21.h v21.c								\
	v23.h v23.c								\
	v24.h v24.c

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

libreadmc_la_LDFLAGS =									\
	-avoid-version										\
	-L$(top_srcdir)/src/.libs -lchrysacore				\
	-L$(top_srcdir)/plugins/mobicore/.libs -lmobicore	\
	-L$(top_srcdir)/plugins/fmtp/.libs -lfmtp			\
	$(RUN_PATH)


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

dev_HEADERS = $(libreadmc_la_SOURCES:%c=)