1 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libxslt -I$(top_srcdir)/libexslt \
2 -I$(top_builddir) -I$(top_builddir)/libxslt \
3 -I$(top_builddir)/libexslt
6 bin_PROGRAMS = xsltproc $(XSLTPROCDV)
8 noinst_PROGRAMS=testThreads
10 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBXML_CFLAGS)
12 xsltproc_SOURCES = xsltproc.c
14 xsltproc_DEPENDENCIES = $(DEPS)
16 testThreads_SOURCES=testThreads.c
18 testThreads_DEPENDENCIES = $(DEPS)
19 testThreads_LDADD= $(THREAD_LIBS) $(LDADDS)
21 DEPS = $(top_builddir)/libxslt/libxslt.la \
22 $(top_builddir)/libexslt/libexslt.la
24 LDADDS = $(top_builddir)/libxslt/libxslt.la \
25 $(top_builddir)/libexslt/libexslt.la \
26 $(LIBXML_LIBS) $(EXTRA_LIBS) $(WIN32_EXTRA_LIBADD)
28 xsltproc_LDADD = $(LIBGCRYPT_LIBS) $(LDADDS)
32 $(top_builddir)/libxslt/libxslt.la:
33 cd $(top_builddir)/libxslt && $(MAKE) libxslt.la
35 $(top_builddir)/libexslt/libexslt.la: $(top_builddir)/libxslt/libxslt.la
36 cd $(top_builddir)/libexslt && $(MAKE) libexslt.la
38 xsltproc.dv: xsltproc.o
39 $(CC) $(CFLAGS) -o xsltproc xsltproc.o ../libexslt/.libs/libexslt.a ../libxslt/.libs/libxslt.a $(LIBXML_LIBS) $(EXTRA_LIBS) $(LIBGCRYPT_LIBS)
43 @echo '## Running testThreads'
44 @($(CHECKER) ./testThreads ; grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true)