!include $(NTMAKEENV)\system_defaultmk.inc TARGETNAME=basesrv TARGETPATH=obj TARGETTYPE=DYNLINK TARGETLIBS=\ $(PROJECT_LIB_PATH)\csrsrv.lib # Linking to kernel32 does not work. October 16, 2000, a-JayK # Kernel32's DllMain access violates, because BaseStaticServerData / BASE_SHARED_SERVER_DATA # are NULL. LINKLIBS=\ $(SDK_LIB_PATH)\uuid.lib INCLUDES=\ ..\inc; \ $(WINDOWS_INC_PATH); \ $(TERMSRV_INC_PATH); \ $(PROJECT_ROOT)\ntos\inc C_DEFINES=$(C_DEFINES) -DNOWINBASEINTERLOCK -DRTL_DECLARE_STREAMS=1 -DRTL_DECLARE_MEMORY_STREAM=1 C_DEFINES=$(C_DEFINES) $(DEFINE_SYSTEM_COMPATIBLE_ASSEMBLY_NAME) -D_NTDRIVER_ MSC_WARNING_LEVEL=/W3 /WX SOURCES= \ srvinit.c \ srvtask.c \ srvvdm.c \ srvnls.c \ srvini.c \ srvacces.c \ srvsxs.c \ srvcmpat.c \ mmapstm.c \ basesrv.rc USE_NTDLL=1 DLLDEF=$(O)\basesrv.def PRECOMPILED_INCLUDE=basesrv.h PRECOMPILED_PCH=basesrv.pch PRECOMPILED_OBJ=basesrv.obj PASS1_PUBLISH=\ {$(O)\basesrv.lib=$(SDK_LIB_PATH)\basesrv.lib} BUFFER_OVERFLOW_CHECKS=NTDLL # DELAYLOAD = apphelp.dll # DLOAD_ERROR_HANDLER = kernel32.dll