diff options
author | hongbotian <hongbo.tianhongbo@huawei.com> | 2015-11-30 01:45:08 -0500 |
---|---|---|
committer | hongbotian <hongbo.tianhongbo@huawei.com> | 2015-11-30 01:45:08 -0500 |
commit | e8ec7aa8e38a93f5b034ac74cebce5de23710317 (patch) | |
tree | aa031937bf856c1f8d6ad7877b8d2cb0224da5ef /rubbos/app/httpd-2.0.64/srclib/apr-util/test/Makefile | |
parent | cc40af334e619bb549038238507407866f774f8f (diff) |
upload http
JIRA: BOTTLENECK-10
Change-Id: I7598427ff904df438ce77c2819ee48ac75ffa8da
Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/app/httpd-2.0.64/srclib/apr-util/test/Makefile')
-rw-r--r-- | rubbos/app/httpd-2.0.64/srclib/apr-util/test/Makefile | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/rubbos/app/httpd-2.0.64/srclib/apr-util/test/Makefile b/rubbos/app/httpd-2.0.64/srclib/apr-util/test/Makefile new file mode 100644 index 00000000..bdd2e0fe --- /dev/null +++ b/rubbos/app/httpd-2.0.64/srclib/apr-util/test/Makefile @@ -0,0 +1,110 @@ +srcdir = . + + +INCLUDES = -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/include -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/include/private -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/include -I/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/lib + +PROGRAMS = testdbm testdate testmd4 testmd5 testxml testrmm teststrmatch \ + testuuid testreslist testqueue testuri testpass +TARGETS = $(PROGRAMS) + +APRUTIL_DOTTED_VERSION=0.9.19 +APRUTIL_MAJOR_VERSION=0 +TARGET_LIB_PATH = ../libaprutil-${APRUTIL_MAJOR_VERSION}.la + +# bring in rules.mk for standard functionality +include /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/build/rules.mk +PROGRAM_DEPENDENCIES = /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/libexpat.la /bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl +APRUTIL_LDFLAGS = -L/bottlenecks/rubbos/app/httpd-2.0.64/srclib/apr-util/xml/expat/lib -no-install + +all: $(PROGRAMS) + +check: $(PROGRAMS) +# For VPATH builds; where we have no ./data, copy us some data + if test ! -d "./data"; then cp -r $(srcdir)/data data; fi + for prog in $(PROGRAMS); do \ + if test "$$prog" = 'testmd4'; then \ + ./$$prog -ssomestringtohash; \ + if test $$? = 255; then \ + echo "$$prog failed"; \ + break; \ + fi; \ + elif test "$$prog" = 'testdbm'; then \ + ./$$prog auto SDBM; \ + if test $$? = 255; then \ + echo "$$prog failed"; \ + break; \ + fi; \ + else \ + ./$$prog ;\ + if test $$? = 255; then \ + echo "$$prog failed"; \ + break; \ + fi; \ + fi; \ + done + +testdbm_OBJECTS = testdbm.lo +testdbm_LDADD = $(TARGET_LIB_PATH) +testdbm: $(testdbm_OBJECTS) $(testdbm_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testdbm_OBJECTS) $(testdbm_LDADD) $(PROGRAM_DEPENDENCIES) + +testdate_OBJECTS = testdate.lo +testdate_LDADD = $(TARGET_LIB_PATH) +testdate: $(testdate_OBJECTS) $(testdate_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testdate_OBJECTS) $(testdate_LDADD) $(PROGRAM_DEPENDENCIES) + +testxml_OBJECTS = testxml.lo +testxml_LDADD = $(TARGET_LIB_PATH) +testxml: $(testxml_OBJECTS) $(testxml_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testxml_OBJECTS) $(testxml_LDADD) $(PROGRAM_DEPENDENCIES) + +testmd4_OBJECTS = testmd4.lo +testmd4_LDADD = $(TARGET_LIB_PATH) +testmd4: $(testmd4_OBJECTS) $(testmd4_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testmd4_OBJECTS) $(testmd4_LDADD) $(PROGRAM_DEPENDENCIES) + +testmd5_OBJECTS = testmd5.lo +testmd5_LDADD = $(TARGET_LIB_PATH) +testmd5: $(testmd5_OBJECTS) $(testmd5_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testmd5_OBJECTS) $(testmd5_LDADD) $(PROGRAM_DEPENDENCIES) + +testrmm_OBJECTS = testrmm.lo +testrmm_LDADD = $(TARGET_LIB_PATH) +testrmm: $(testrmm_OBJECTS) $(testrmm_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testrmm_OBJECTS) $(testrmm_LDADD) $(PROGRAM_DEPENDENCIES) + +teststrmatch_OBJECTS = teststrmatch.lo +teststrmatch_LDADD = $(TARGET_LIB_PATH) +teststrmatch: $(teststrmatch_OBJECTS) $(teststrmatch_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(teststrmatch_OBJECTS) $(teststrmatch_LDADD) $(PROGRAM_DEPENDENCIES) + +testuuid_OBJECTS = testuuid.lo +testuuid_LDADD = $(TARGET_LIB_PATH) +testuuid: $(testuuid_OBJECTS) $(testuuid_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testuuid_OBJECTS) $(testuuid_LDADD) $(PROGRAM_DEPENDENCIES) + +testreslist_OBJECTS = testreslist.lo +testreslist_LDADD = $(TARGET_LIB_PATH) +testreslist: $(testreslist_OBJECTS) $(testreslist_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testreslist_OBJECTS) $(testreslist_LDADD) $(PROGRAM_DEPENDENCIES) + +testqueue_OBJECTS = testqueue.lo +testqueue_LDADD = $(TARGET_LIB_PATH) +testqueue: $(testqueue_OBJECTS) $(testqueue_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testqueue_OBJECTS) $(testqueue_LDADD) $(PROGRAM_DEPENDENCIES) + +testuri_OBJECTS = testuri.lo +testuri_LDADD = $(TARGET_LIB_PATH) +testuri: $(testuri_OBJECTS) $(testuri_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testuri_OBJECTS) $(testuri_LDADD) $(PROGRAM_DEPENDENCIES) + +testpass_OBJECTS = testpass.lo +testpass_LDADD = $(TARGET_LIB_PATH) +testpass: $(testpass_OBJECTS) $(testpass_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testpass_OBJECTS) $(testpass_LDADD) $(PROGRAM_DEPENDENCIES) + +testxlate_OBJECTS = testxlate.lo +testxlate_LDADD = $(TARGET_LIB_PATH) +testxlate: $(testxlate_OBJECTS) $(testxlate_LDADD) + $(LINK) $(APRUTIL_LDFLAGS) $(testxlate_OBJECTS) $(testxlate_LDADD) $(PROGRAM_DEPENDENCIES) + |