diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2003-04-30 17:28:26 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2003-04-30 17:28:26 +0000 |
commit | ecfdcc37ceb07a86da28f3500def444b7d8f8027 (patch) | |
tree | 9cf11288d6f1b6a5b4409ffb1ab0bb0bafa1454a /test/Makefile.in | |
parent | 1ba0737a718a7422bc83446d728822a6220a97ec (diff) | |
download | libapr-ecfdcc37ceb07a86da28f3500def444b7d8f8027.tar.gz |
fix some problems with undesired build droppings left around after
"make [foo]clean"
for make clean:
zap all test programs, not just the ones we run from "make check"
for make distclean:
zap exports.c, export_vars.h instead of waiting for extraclean
zap apr_rules.mk... fix the old rules.mk references that weren't
changed when the file was renamed to rules.mk
for make extraclen:
zap ltmain.sh and libtool.m4
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64497 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 95ccb8773..a904434a9 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -1,12 +1,16 @@ srcdir = @srcdir@ VPATH = @srcdir@ -NONPORTABLE = \ - testshm@EXEEXT@ \ - testprocmutex@EXEEXT@ \ - testglobalmutex@EXEEXT@ - -PROGRAMS = \ +# PROGRAMS includes all test programs built on this platform. +# STDTEST_PORTABLE +# test programs invoked via standard user interface, run on all platforms +# STDTEST_NONPORTABLE +# test programs invoked via standard user interface, not portable +# OTHER_PROGRAMS +# programs such as sendfile, that have to be invoked in a special sequence +# or with special parameters + +STDTEST_PORTABLE = \ testflock@EXEEXT@ \ testsock@EXEEXT@ \ testlockperf@EXEEXT@ \ @@ -16,25 +20,32 @@ PROGRAMS = \ testmutexscope@EXEEXT@ \ testall@EXEEXT@ +STDTEST_NONPORTABLE = \ + testshm@EXEEXT@ \ + testprocmutex@EXEEXT@ \ + testglobalmutex@EXEEXT@ + +OTHER_PROGRAMS = client@EXEEXT@ sendfile@EXEEXT@ \ + server@EXEEXT@ + +PROGRAMS = $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE) $(OTHER_PROGRAMS) -TARGETS = $(PROGRAMS) $(NONPORTABLE) client@EXEEXT@ sendfile@EXEEXT@ \ - server@EXEEXT@ +TARGETS = $(PROGRAMS) # bring in rules.mk for standard functionality @INCLUDE_RULES@ LOCAL_LIBS=../lib@APR_LIBNAME@.la -CLEAN_TARGETS = testfile.tmp mod_test.slo proc_child@EXEEXT@ occhild@EXEEXT@ \ - testprocmutex@EXEEXT@ testglobalmutex@EXEEXT@ testshm@EXEEXT@ +CLEAN_TARGETS = testfile.tmp mod_test.slo proc_child@EXEEXT@ occhild@EXEEXT@ INCDIR=../include INCLUDES=-I$(INCDIR) CFLAGS=$(MY_CFLAGS) -check: $(PROGRAMS) $(NONPORTABLE) - for prog in $(PROGRAMS) $(NONPORTABLE); do \ +check: $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE) + for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \ ./$$prog; \ if test $$? = 255; then \ echo "$$prog failed"; \ |