summaryrefslogtreecommitdiff
path: root/libxslt/Makefile.am
blob: ef2de24e2efd4c2ba2c4ad15c9aac7568af95539 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libxslt

AM_CFLAGS = $(LIBXML_CFLAGS)

lib_LTLIBRARIES = libxslt.la

xsltincdir = $(includedir)/libxslt

xsltinc_HEADERS = 			\
	xslt.h				\
	xsltutils.h			\
	pattern.h			\
	templates.h			\
	variables.h			\
	keys.h				\
	numbersInternals.h		\
	extensions.h			\
	extra.h				\
	functions.h			\
	namespaces.h			\
	imports.h			\
	attributes.h			\
	documents.h			\
	preproc.h			\
	transform.h			\
	security.h			\
	xsltInternals.h			\
	xsltexports.h			\
	xsltlocale.h
nodist_xsltinc_HEADERS = 		\
	xsltconfig.h

libxslt_la_SOURCES = 			\
	attrvt.c			\
	xslt.c				\
	xsltlocale.c			\
	xsltutils.c			\
	pattern.c			\
	templates.c			\
	variables.c			\
	keys.c				\
	numbers.c			\
	extensions.c			\
	extra.c				\
	functions.c			\
	namespaces.c			\
	imports.c			\
	attributes.c			\
	documents.c			\
	preproc.c			\
	transform.c			\
	security.c			\
	win32config.h			\
	xsltwin32config.h.in		\
	libxslt.h
nodist_libxslt_la_SOURCES =		\
	xsltwin32config.h

if USE_VERSION_SCRIPT
LIBXSLT_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxslt.syms
else
LIBXSLT_VERSION_SCRIPT =
endif

libxslt_la_LIBADD = $(LIBXML_LIBS) $(EXTRA_LIBS) $(M_LIBS)
libxslt_la_LDFLAGS =					\
		$(WIN32_EXTRA_LDFLAGS)			\
		$(LIBXSLT_VERSION_SCRIPT)		\
		-version-info $(LIBXSLT_VERSION_INFO)

man_MANS = libxslt.3

EXTRA_DIST = $(man_MANS) trio.h triodef.h libxslt.syms

xsltproc: all
	@(cd ../xsltproc ; $(MAKE))

install-exec-hook:
	$(MKDIR_P) "$(DESTDIR)$(libdir)/libxslt-plugins"