From bb1e74b81eb5d1aea0ff9e93c07854ccad5cd599 Mon Sep 17 00:00:00 2001 From: brectanus Date: Thu, 24 Apr 2008 16:42:37 +0000 Subject: [PATCH] Minor tweaks to msc_test build. --- apache2/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apache2/Makefile.in b/apache2/Makefile.in index 4acb2531..a818426c 100644 --- a/apache2/Makefile.in +++ b/apache2/Makefile.in @@ -92,6 +92,7 @@ mod_security2.la: $(MOD_SECURITY2_H) *.c for f in $(MOD_SECURITY2); do \ src="$$src $$f.c"; \ done; \ + rm -f msc_test; \ $(COMPILE_APACHE_MOD) $(APXS_EXTRA_CFLAGS) $(MODSEC_APXS_EXTRA_CFLAGS) $$src ### MLogC @@ -115,7 +116,7 @@ mlogc-static: msc_test.lo: msc_test.c $(LIBTOOL) --mode=compile $(CC) $(APXS_INCLUDES) $(APXS_CFLAGS) $(EXTRA_CFLAGS) $(MODSEC_EXTRA_CFLAGS) $(CPPFLAGS) $(APR_CFLAGS) $(APU_CFLAGS) -o msc_test.lo -c msc_test.c -msc_test: $(TESTOBJS) msc_test.lo +msc_test: $(TESTOBJS) $(MOD_SECURITY2_H}) msc_test.lo @objs=""; \ for f in $(MSC_TEST); do \ objs="$$objs $$f.lo"; \ @@ -126,3 +127,4 @@ test: t/run-tests.pl msc_test @rm -f msc-test-debug.log; \ $(PERL) t/run-tests.pl +.PHONY: all install clean-extras clean maintainer-clean distclean install-mods test