Hello,
the target make_tools_dir (.PHONY) causes gen_test_char to be always
rebuilt whenever make is called.
I came up with the following patch :
Index: Makefile.in
===================================================================
--- Makefile.in (revision 1589047)
+++ Makefile.in (working copy)
@@ -53,7 +53,7 @@
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.lo \
+ tools/gen_test_char.o tools/gen_test_char.lo tools/.made \
include/private/apr_escape_test_char.h
DISTCLEAN_TARGETS = config.cache config.log config.status \
include/apr.h include/arch/unix/apr_private.h \
@@ -161,11 +161,12 @@
etags:
etags `find . -name '*.[ch]'`
-make_tools_dir:
+tools/.made:
$(APR_MKDIR) tools
+ touch tools/.made
OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
-tools/gen_test_char.lo: make_tools_dir
+tools/gen_test_char.lo: tools/.made
tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
$(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
[END]
Hope this helps.
Regards,
Yann.