summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2018-08-30 21:13:10 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2018-08-30 21:13:10 +0000
commit40919f88bca20a30ae9c1b76d2c0f02df68488bb (patch)
tree3052f5dca3b2299537f199563fc74f3c3347e6ca /Makefile.in
parentb7152e360ea9c95161a8cb48aaa8b0cdac03bc36 (diff)
downloadapr-40919f88bca20a30ae9c1b76d2c0f02df68488bb.tar.gz
Revert 1839628, backport of 1839627
This macro does not result in a usable CC_FOR_BUILD Corresponds to unsuccessful pull request #8. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1839702 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index a6e0f25c0..1c7317638 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,7 +46,7 @@ LT_VERSION = @LT_VERSION@
CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \
build/apr_rules.out tools/gen_test_char@EXEEXT@ \
- tools/gen_test_char.o \
+ tools/gen_test_char.o tools/gen_test_char.lo \
include/private/apr_escape_test_char.h
DISTCLEAN_TARGETS = config.cache config.log config.status \
include/apr.h include/arch/unix/apr_private.h \
@@ -130,9 +130,13 @@ check: $(TARGET_LIB)
etags:
etags `find . -name '*.[ch]'`
-tools/gen_test_char@EXEEXT@: tools/gen_test_char.c
+OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
+tools/gen_test_char.lo: tools/gen_test_char.c
$(APR_MKDIR) tools
- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $< -o $@
+ $(LT_COMPILE)
+
+tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
+ $(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
$(APR_MKDIR) include/private