OLD | NEW |
| (Empty) |
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 | |
4 | |
5 EXTRA_PROGRAMS= | |
6 bin_PROGRAMS = xsltproc $(XSLTPROCDV) | |
7 | |
8 noinst_PROGRAMS=testThreads | |
9 | |
10 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBXML_CFLAGS) | |
11 | |
12 xsltproc_SOURCES = xsltproc.c | |
13 xsltproc_LDFLAGS = | |
14 xsltproc_DEPENDENCIES = $(DEPS) | |
15 | |
16 testThreads_SOURCES=testThreads.c | |
17 testThreads_LDFLAGS = | |
18 testThreads_DEPENDENCIES = $(DEPS) | |
19 testThreads_LDADD= $(THREAD_LIBS) $(LDADDS) | |
20 | |
21 DEPS = $(top_builddir)/libxslt/libxslt.la \ | |
22 $(top_builddir)/libexslt/libexslt.la | |
23 | |
24 LDADDS = $(top_builddir)/libxslt/libxslt.la \ | |
25 $(top_builddir)/libexslt/libexslt.la \ | |
26 $(LIBXML_LIBS) $(EXTRA_LIBS) $(WIN32_EXTRA_LIBADD) | |
27 | |
28 xsltproc_LDADD = $(LIBGCRYPT_LIBS) $(LDADDS) | |
29 | |
30 CLEANFILES = .memdump | |
31 | |
32 $(top_builddir)/libxslt/libxslt.la: | |
33 cd $(top_builddir)/libxslt && $(MAKE) libxslt.la | |
34 | |
35 $(top_builddir)/libexslt/libexslt.la: $(top_builddir)/libxslt/libxslt.la | |
36 cd $(top_builddir)/libexslt && $(MAKE) libexslt.la | |
37 | |
38 xsltproc.dv: xsltproc.o | |
39 $(CC) $(CFLAGS) -o xsltproc xsltproc.o ../libexslt/.libs/libexslt.a ../l
ibxslt/.libs/libxslt.a $(LIBXML_LIBS) $(EXTRA_LIBS) $(LIBGCRYPT_LIBS) | |
40 | |
41 tests: testThreads | |
42 @echo > .memdump | |
43 @echo '## Running testThreads' | |
44 @($(CHECKER) ./testThreads ; grep "MORY ALLO" .memdump | grep -v "MEMOR
Y ALLOCATED : 0" || true) | |
OLD | NEW |