Leaked source code of windows server 2003
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.

53 lines
1.2 KiB

  1. !include $(NTMAKEENV)\system_defaultmk.inc
  2. TARGETNAME=basesrv
  3. TARGETPATH=obj
  4. TARGETTYPE=DYNLINK
  5. TARGETLIBS=\
  6. $(PROJECT_LIB_PATH)\csrsrv.lib
  7. # Linking to kernel32 does not work. October 16, 2000, a-JayK
  8. # Kernel32's DllMain access violates, because BaseStaticServerData / BASE_SHARED_SERVER_DATA
  9. # are NULL.
  10. LINKLIBS=\
  11. $(SDK_LIB_PATH)\uuid.lib
  12. INCLUDES=\
  13. ..\inc; \
  14. $(WINDOWS_INC_PATH); \
  15. $(TERMSRV_INC_PATH); \
  16. $(PROJECT_ROOT)\ntos\inc
  17. C_DEFINES=$(C_DEFINES) -DNOWINBASEINTERLOCK -DRTL_DECLARE_STREAMS=1 -DRTL_DECLARE_MEMORY_STREAM=1
  18. C_DEFINES=$(C_DEFINES) $(DEFINE_SYSTEM_COMPATIBLE_ASSEMBLY_NAME) -D_NTDRIVER_
  19. MSC_WARNING_LEVEL=/W3 /WX
  20. SOURCES= \
  21. srvinit.c \
  22. srvtask.c \
  23. srvvdm.c \
  24. srvnls.c \
  25. srvini.c \
  26. srvacces.c \
  27. srvsxs.c \
  28. srvcmpat.c \
  29. mmapstm.c \
  30. basesrv.rc
  31. USE_NTDLL=1
  32. DLLDEF=$(O)\basesrv.def
  33. PRECOMPILED_INCLUDE=basesrv.h
  34. PRECOMPILED_PCH=basesrv.pch
  35. PRECOMPILED_OBJ=basesrv.obj
  36. PASS1_PUBLISH=\
  37. {$(O)\basesrv.lib=$(SDK_LIB_PATH)\basesrv.lib}
  38. BUFFER_OVERFLOW_CHECKS=NTDLL
  39. # DELAYLOAD = apphelp.dll
  40. # DLOAD_ERROR_HANDLER = kernel32.dll