#==========================================================================
#
# Nmake makefile for building webkeeper.
#
#==========================================================================
!INCLUDE <win32.mak>
!IF "$(PROCESSOR_ARCHITECTURE)" == "x86"
PROC = IX86
!ELSE
PROC = ALPHA
!ENDIF
WEBKEEP_LIB = webkeep.lib
WEBKEEP_DLL = webkeep.dll
WEBKEEP_DEF = \
mod_webkeep.def
WEBKEEP_H = \
mod_webkeep.h
WEBKEEP_SRC = \
mod_webkeep.c \
mod_webkeep2.cc
WEBKEEP_DEPS = \
$(WEBKEEP_H) \
$(WEBKEEP_SRC)
WEBKEEP_OBJS = \
mod_webkeep.obj \
mod_webkeep2.obj
P4API_LIBS = \
libclient.lib \
librpc.lib \
libsupp.lib
APACHE_LOC = f:\Apache\src
APACHE_LIBS = \
$(APACHE_LOC)\Release\ApacheCore.lib
# $(APACHE_LOC)\libexec\ApacheCore.lib
RESPONSE=keep
dllflags = -D_Dll -D_MT -DWIN32 -DOS_NT
mthread = /MT
cdebug = -Zi
ldebug = /DEBUG
lclcflags = /I $(APACHE_LOC)\include /I $(APACHE_LOC)\os\win32 /I .
clclflags =
all: $(WEBKEEP_DLL)
mod_webkeep.obj: mod_webkeep.c mod_webkeep.h
$(cc) $(cflags) $(dllflags) $(lclcflags) /Tc $*.c
mod_webkeep2.obj: mod_webkeep2.cc mod_webkeep.h
$(cc) $(cflags) $(dllflags) $(lclcflags) /Tp $*.cc
mod_webkeep.exp:
$(WEBKEEP_LIB): $(WEBKEEP_DEF)
$(implib) /NOLOGO /MACHINE:$(PROC) /OUT:$(WEBKEEP_LIB) /DEF:$(WEBKEEP_DEF)
$(WEBKEEP_DLL): $(WEBKEEP_OBJS)
@echo >nul @<<webkeep.rf7
/NOLOGO
/OUT:$(WEBKEEP_DLL)
/ENTRY:DllMain$(DLLENTRY)
/SUBSYSTEM:console
/DEF:$(WEBKEEP_DEF)
/DLL
/IMPLIB:webkeep.lib
/MACHINE:$(PROC)
/MAP:$(@B).map
/NODEFAULTLIB:libc
/NODEFAULTLIB:libcmt
/INCREMENTAL:NO
$(WEBKEEP_OBJS)
$(P4API_LIBS)
$(APACHE_LIBS)
$(lcllflags) $(conlibsdll)
<<$(RESPONSE)
$(link) @webkeep.rf7
# |
Change |
User |
Description |
Committed |
|
#1
|
828 |
brett |
Changes in webkeeper to build for Apache 1.3.20 Win32. |
|
|