You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
TARGETNAME=rasl2tp
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DRIVER
|
|
|
|
# System and NDIS wrapper definitions.
|
|
#
|
|
C_DEFINES=$(C_DEFINES) -DNDIS50 -DNDIS_MINIPORT_DRIVER -DNDIS50_MINIPORT \
|
|
-DBINARY_COMPATIBLE=0 -DNT -DPSDEBUG \
|
|
-DNDIS_TAPI_CURRENT_VERSION=0x00030000
|
|
|
|
# L2TP conditional compile options. See code for description.
|
|
#
|
|
C_DEFINES=$(C_DEFINES) -DNDISBUFFERISMDL=1 -DALLOCATEIRPS=1 -DROUTEWITHREF=1
|
|
|
|
# Set TESTMODE in your environment to build with talkative debug defaults
|
|
# and other private test code enabled.
|
|
#
|
|
!ifdef TESTMODE
|
|
C_DEFINES=$(C_DEFINES) -DTESTMODE
|
|
!endif
|
|
|
|
PRECOMPILED_INCLUDE=l2tpp.h
|
|
|
|
TARGETLIBS= $(DDK_LIB_PATH)\ndis.lib \
|
|
$(DS_LIB_PATH)\rsa32k.lib
|
|
|
|
INCLUDES=..\inc; \
|
|
$(DS_INC_PATH)\crypto;
|
|
|
|
SOURCES=\
|
|
version.rc \
|
|
bpool.c \
|
|
cm.c \
|
|
debug.c \
|
|
fsm.c \
|
|
main.c \
|
|
mp.c \
|
|
ppool.c \
|
|
receive.c \
|
|
send.c \
|
|
tdix.c \
|
|
timer.c \
|
|
util.c
|
|
|
|
# merge RSA32K.LIB paged code & data into non-paged sections.
|
|
LINKER_FLAGS = $(LINKER_FLAGS) -merge:PAGER32C=.text -merge:PAGER32D=.data -merge:PAGER32R=.rdata
|
|
|
|
RUN_WPP= $(SOURCES) -km -func:WPLOG(LEVEL,FLAGS,(MSG,...))
|
|
|