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.

64 lines
1.6 KiB

  1. TARGETNAME=rtm
  2. TARGETPATH=obj
  3. TARGETTYPE=DYNLINK
  4. PASS1_PUBLISH={$(O)\rtm.lib=$(SDK_LIB_PATH)\rtm.lib}
  5. C_DEFINES=$(C_DEFINES) -DNT -DMPR50=1 -DWRN=1 -DPROF=0 -DMT=0 -DDBG_TRACE=1
  6. !IF $(FREEBUILD)
  7. C_DEFINES=$(C_DEFINES) -DDBG_MEM=0 -DDBG_REF=0 -DDBG_REF_BLOCKING=0 -DDBG_HDL=0
  8. !ELSE
  9. C_DEFINES=$(C_DEFINES) -DDBG_MEM=1 -DDBG_REF=1 -DDBG_REF_BLOCKING=0 -DDBG_HDL=1
  10. !ENDIF
  11. # WRN - Code required to compile without spurious warnings
  12. # PROF - Probes used in timing various code sequences
  13. # MT - Enabled multiple entity threads in test program
  14. # DBG_MEM - Keep tracks of "almost all" heap allocations
  15. # DBG_REF - Debug ref counts by keeping types of ref counts
  16. # DBG_REF_BLOCKING - When deregistering an object, wait till ref count becomes 0
  17. # DBG_HDL - Validate incoming handles in a try-except block
  18. DLLENTRY=DllMain
  19. MSC_WARNING_LEVEL=/W4 /WX
  20. PRECOMPILED_INCLUDE=pchrtm.h
  21. USE_MSVCRT=1
  22. TARGETLIBS=\
  23. $(SDK_LIB_PATH)\advapi32.lib \
  24. $(SDK_LIB_PATH)\kernel32.lib \
  25. $(SDK_LIB_PATH)\rtutils.lib \
  26. $(SDK_LIB_PATH)\user32.lib \
  27. $(SDK_LIB_PATH)\wsock32.lib
  28. LINKLIBS=\
  29. ..\rtm\$(O)\rtmv1.lib \
  30. ..\mgm\$(O)\mgm.lib
  31. INCLUDES=..\rtm;..\mgm;..\inc;..\..\inc;
  32. SOURCES=\
  33. $(O)\rtmmsg.mc \
  34. lookup.c \
  35. rtm.rc \
  36. rtm1to2.c \
  37. rtmchng.c \
  38. rtmcnfg.c \
  39. rtmconst.c \
  40. rtmenum.c \
  41. rtmhndl.c \
  42. rtminfo.c \
  43. rtmlist.c \
  44. rtmmain.c \
  45. rtmmetd.c \
  46. rtmmgmt.c \
  47. rtmnhop.c \
  48. rtmobj1.c \
  49. rtmobj2.c \
  50. rtmquer.c \
  51. rtmregn.c \
  52. rtmrout.c \
  53. rtmtimer.c
  54. NTTARGETFILE0=$(O)\rtmmsg.mc