summaryrefslogtreecommitdiffstats
path: root/test/internal/Makefile.in
blob: b1f6c6a6c437d30acd4008e614ebd1ee04c74937 (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
srcdir = @srcdir@
VPATH = @srcdir@

NONPORTABLE = \
	testregex@EXEEXT@

PROGRAMS = \

TARGETS = $(PROGRAMS) $(NONPORTABLE)

# bring in rules.mk for standard functionality
@INCLUDE_RULES@

LOCAL_LIBS=../../lib@APR_LIBNAME@.la

CLEAN_TARGETS = testregex@EXEEXT@

INCDIR=../../include
INCLUDES=-I$(INCDIR)

CFLAGS=$(MY_CFLAGS)

all: $(PROGRAMS) $(NONPORTABLE)

check: $(PROGRAMS) $(NONPORTABLE)
	for prog in $(PROGRAMS) $(NONPORTABLE); do \
		./$$prog; \
		if test $$i = 255; then \
			echo "$$prog failed"; \
			break; \
		fi \
	done

testregex@EXEEXT@: testregex.lo $(LOCAL_LIBS)
	$(LINK) testregex.lo $(LOCAL_LIBS) $(ALL_LIBS)

# DO NOT REMOVE