mirror of https://github.com/tongzx/nt5src
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.
63 lines
1.4 KiB
63 lines
1.4 KiB
TARGETNAME=rtm
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DYNLINK
|
|
PASS1_PUBLISH={$(O)\rtm.lib=$(SDK_LIB_PATH)\rtm.lib}
|
|
|
|
C_DEFINES=$(C_DEFINES) -DNT -DMPR50=1 -DWRN=1 -DPROF=0 -DMT=0 -DDBG_TRACE=1
|
|
|
|
!IF $(FREEBUILD)
|
|
C_DEFINES=$(C_DEFINES) -DDBG_MEM=0 -DDBG_REF=0 -DDBG_HDL=0
|
|
!ELSE
|
|
C_DEFINES=$(C_DEFINES) -DDBG_MEM=1 -DDBG_REF=1 -DDBG_HDL=1
|
|
!ENDIF
|
|
# WRN - Code required to compile without spurious warnings
|
|
# PROF - Probes used in timing various code sequences
|
|
# MT - Enabled multiple entity threads in test program
|
|
# DBG_MEM - Keep tracks of "almost all" heap allocations
|
|
# DBG_REF - Debug ref counts by keeping types of ref counts
|
|
# DBG_HDL - Validate incoming handles in a try-except block
|
|
|
|
|
|
DLLENTRY=DllMain
|
|
MSC_WARNING_LEVEL=/W4 /WX
|
|
PRECOMPILED_INCLUDE=pchrtm.h
|
|
USE_MSVCRT=1
|
|
|
|
TARGETLIBS=\
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\rtutils.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\wsock32.lib
|
|
|
|
LINKLIBS=\
|
|
..\rtm\$(O)\rtmv1.lib \
|
|
..\mgm\$(O)\mgm.lib
|
|
|
|
INCLUDES=..\rtm;..\mgm;..\inc;..\..\inc;
|
|
|
|
SOURCES=\
|
|
$(O)\rtmmsg.mc \
|
|
lookup.c \
|
|
rtm.rc \
|
|
rtm1to2.c \
|
|
rtmchng.c \
|
|
rtmcnfg.c \
|
|
rtmconst.c \
|
|
rtmenum.c \
|
|
rtmhndl.c \
|
|
rtminfo.c \
|
|
rtmlist.c \
|
|
rtmmain.c \
|
|
rtmmetd.c \
|
|
rtmmgmt.c \
|
|
rtmnhop.c \
|
|
rtmobj1.c \
|
|
rtmobj2.c \
|
|
rtmquer.c \
|
|
rtmregn.c \
|
|
rtmrout.c \
|
|
rtmtimer.c
|
|
|
|
|
|
NTTARGETFILE0=$(O)\rtmmsg.mc
|