File: Makefile.am

package info (click to toggle)
libapreq2 2.17-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,164 kB
  • sloc: ansic: 8,283; perl: 5,451; sh: 4,627; cpp: 380; makefile: 270; javascript: 186
file content (28 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (8)
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
AM_CPPFLAGS = @APR_INCLUDES@
SUBDIRS = apache2
TEST_CONFIG_SCRIPT = package Apache::TestMM; filter_args(); generate_script("t/TEST")
EXTRA_DIST = t

noinst_PROGRAMS = test_cgi
test_cgi_LDFLAGS =  `@APREQ_CONFIG@ --link-libtool` @APR_LDFLAGS@

run_tests : t/TEST
	if [ ! -d t/cgi-bin ]; then mkdir t/cgi-bin; fi
	-cp -f test_cgi t/cgi-bin
	-cp -Rp .libs t/cgi-bin
	MAKE=$(MAKE) @PERL@ t/TEST

t/TEST : Makefile.am t/TEST.PL
	@PERL@ -MApache::TestMM -e '$(TEST_CONFIG_SCRIPT)' -- -apxs @APACHE2_APXS@

test :: all check run_tests

test_clean : cmodules_clean
	-MAKE=$(MAKE) @PERL@ t/TEST -clean
	-rm -rf t/htdocs t/logs t/modules t/TEST t/core t/core.* t/cgi-bin/test_cgi t/cgi-bin/.libs t/.libs t/conf/extra.conf t/conf/ssl/ca t/conf/ssl/httpd-passphrase.pl

cmodules_clean:
	-cd t/c-modules && $(MAKE) clean
	-rm t/c-modules/Makefile t/c-modules/*/Makefile t/c-modules/apache_httpd_test.h

clean-local: test_clean