File: Makefile.am

package info (click to toggle)
libapreq2 2.13-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 5,652 kB
  • sloc: sh: 9,383; ansic: 8,039; perl: 5,830; cpp: 380; makefile: 284
file content (19 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AM_CPPFLAGS = @APR_INCLUDES@
AM_LDFLAGS = `@APREQ_CONFIG@ --link-libtool --libs` @APR_LTFLAGS@
noinst_LIBRARIES = libapache_test.a
libapache_test_a_SOURCES = at.h at.c

check_PROGRAMS = version cookie params parsers error util
LDADD  = libapache_test.a

check_SCRIPTS = version.t cookie.t params.t parsers.t error.t util.t
TESTS = $(check_SCRIPTS)
TESTS_ENVIRONMENT = @PERL@ -MTest::Harness -e 'runtests(@ARGV)'
CLEANFILES = $(check_PROGRAMS) $(check_SCRIPTS)

%.t: %
	echo "#!perl" > $@
	echo "exec './$*'" >> $@

test: $(check_SCRIPTS)
	$(TESTS_ENVIRONMENT) $(check_SCRIPTS)