Minor tweaks to msc_test build.

This commit is contained in:
brectanus 2008-04-24 15:39:15 +00:00
parent 27601f6b40
commit d37ab94824

View File

@ -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