summaryrefslogtreecommitdiff
path: root/srclib/libapreq/Makefile.am
blob: 122e52238b546f298a04e19e4b5f26376ebc0c5c (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
EXTRA_DIST = t
AM_CPPFLAGS = @APR_INCLUDES@
BUILT_SOURCES = @APR_LA@ @APU_LA@
lib_LTLIBRARIES = libapreq2.la
libapreq2_la_SOURCES = util.c version.c cookie.c param.c parser.c \
                       parser_urlencoded.c parser_header.c parser_multipart.c \
	               module.c module_custom.c module_cgi.c error.c
libapreq2_la_LDFLAGS = -version-info @APREQ_LIBTOOL_VERSION@ @APR_LTFLAGS@ @APR_LIBS@

test: all
	cd t; $(MAKE) test

if ENABLE_PROFILE

AM_CFLAGS= -pg -fprofile-arcs -ftest-coverage

clean-local:
	-rm *.bb *.bbg *.da *.gcov
	cd t; $(MAKE) clean
else

clean-local:
	cd t; $(MAKE) clean
endif

distclean-am: clean-am distclean-compile distclean-generic \
	distclean-tags
	cd t; $(MAKE) distclean

if BUILD_APR

@APR_LA@:
	cd `@APR_CONFIG@ --srcdir` && $(MAKE)

endif

if BUILD_APU

@APU_LA@: @APR_LA@
	cd `@APU_CONFIG@ --srcdir` && $(MAKE)

endif