mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Minor tweaks to msc_test build.
This commit is contained in:
@@ -92,6 +92,7 @@ mod_security2.la: $(MOD_SECURITY2_H) *.c
|
|||||||
for f in $(MOD_SECURITY2); do \
|
for f in $(MOD_SECURITY2); do \
|
||||||
src="$$src $$f.c"; \
|
src="$$src $$f.c"; \
|
||||||
done; \
|
done; \
|
||||||
|
rm -f msc_test; \
|
||||||
$(COMPILE_APACHE_MOD) $(APXS_EXTRA_CFLAGS) $(MODSEC_APXS_EXTRA_CFLAGS) $$src
|
$(COMPILE_APACHE_MOD) $(APXS_EXTRA_CFLAGS) $(MODSEC_APXS_EXTRA_CFLAGS) $$src
|
||||||
|
|
||||||
### MLogC
|
### MLogC
|
||||||
@@ -115,7 +116,7 @@ mlogc-static:
|
|||||||
msc_test.lo: msc_test.c
|
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
|
$(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=""; \
|
@objs=""; \
|
||||||
for f in $(MSC_TEST); do \
|
for f in $(MSC_TEST); do \
|
||||||
objs="$$objs $$f.lo"; \
|
objs="$$objs $$f.lo"; \
|
||||||
@@ -126,3 +127,4 @@ test: t/run-tests.pl msc_test
|
|||||||
@rm -f msc-test-debug.log; \
|
@rm -f msc-test-debug.log; \
|
||||||
$(PERL) t/run-tests.pl
|
$(PERL) t/run-tests.pl
|
||||||
|
|
||||||
|
.PHONY: all install clean-extras clean maintainer-clean distclean install-mods test
|
||||||
|
Reference in New Issue
Block a user