mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
As the this new Curl version supports well the Windows certificate storage, removing the dependency on the OpenSSL. Also changing the build scripts to work accordingly. As the cmake build of Curl is said to broken abandoning it in favor of the nmake files. Thanks to Gregg Smith and Steffen.
58 lines
1.4 KiB
Makefile
Executable File
58 lines
1.4 KiB
Makefile
Executable File
###########################################################################
|
|
### You Will need to modify the following variables for your system
|
|
###########################################################################
|
|
###########################################################################
|
|
|
|
# Path to Apache httpd installation
|
|
BASE = %APACHE%
|
|
|
|
# Paths to required libraries
|
|
PCRE = %PCRE%
|
|
CURL = %CURL%
|
|
|
|
# Linking libraries
|
|
LIBS = $(BASE)\lib\libapr-1.lib \
|
|
$(BASE)\lib\libaprutil-1.lib \
|
|
$(PCRE)\pcre.lib \
|
|
$(CURL)\libcurl.lib \
|
|
wsock32.lib
|
|
|
|
###########################################################################
|
|
###########################################################################
|
|
|
|
CC = cL
|
|
|
|
MT = mt
|
|
|
|
DEFS = /nologo /O2 /W3 -DWIN32 -DWINNT -Dinline=APR_INLINE -D_CONSOLE -D$(VERSION)
|
|
|
|
EXE = mlogc.exe
|
|
|
|
INCLUDES = -I. -I..\apache2 \
|
|
-I$(PCRE)\include -I$(PCRE) \
|
|
-I$(CURL)\include -I$(CURL) \
|
|
-I$(BASE)\include
|
|
|
|
CFLAGS= -MT $(INCLUDES) $(DEFS)
|
|
|
|
LDFLAGS =
|
|
|
|
OBJS = mlogc.obj
|
|
|
|
all: $(EXE)
|
|
|
|
.c.obj:
|
|
$(CC) $(CFLAGS) -c $< -Fo$@
|
|
|
|
.cpp.obj:
|
|
$(CC) $(CFLAGS) -c $< -Fo$@
|
|
|
|
$(EXE): $(OBJS)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) /link /NODEFAULTLIB:MSVCRT.lib /subsystem:console
|
|
|
|
install: $(EXE)
|
|
copy $(EXE) $(BASE)\bin
|
|
|
|
clean:
|
|
del $(OBJS) $(EXE) *.dll *.lib *.pdb *.idb *.ilk *.exp *.res *.rc *.bin *.manifest
|