File: makefile.win

package info (click to toggle)
libapache-mod-security 1.8.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,132 kB
  • ctags: 664
  • sloc: ansic: 7,641; perl: 199; makefile: 59; sh: 44
file content (32 lines) | stat: -rwxr-xr-x 655 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

BASE = "C:/Program Files/Apache Group/Apache2/"
# BASE = C:/Progra~1/Apache~1/Apache2/
CC= cl
DEFS = /nologo /MT /Od /LD /W3 -DWIN32 -DWINNT
DLL = mod_security.dll

INCLUDES = -I. -I$(BASE)\include

DEFINES= $(INCLUDES) $(DEFS)
CFLAGS= -O $(DEFINES)

LIBS = $(BASE)\lib\libhttpd.lib $(BASE)\lib\libapr.lib $(BASE)\lib\libaprutil.lib

SRCS = mod_security.c
OBJS = mod_security.obj

all: $(DLL)

dll: $(DLL)

.c.obj:
	$(CC) $(CFLAGS) -c $< -Fo$@

.cpp.obj:
	$(CC) $(CFLAGS) -c $< -Fo$@

$(DLL): $(OBJS)
	$(CC) $(CFLAGS) -LD $(OBJS) -Fe$(DLL) $(LIBS)

clean:
	del $(OBJS) *.dll *.lib *.pdb *.idb *.ilk *.exp *.res *.rc *.bin