Source code of Windows XP (NT5)
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

  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_HDL=0
  8. !ELSE
  9. C_DEFINES=$(C_DEFINES) -DDBG_MEM=1 -DDBG_REF=1 -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_HDL - Validate incoming handles in a try-except block
  17. DLLENTRY=DllMain
  18. MSC_WARNING_LEVEL=/W4 /WX
  19. PRECOMPILED_INCLUDE=pchrtm.h
  20. USE_MSVCRT=1
  21. TARGETLIBS=\
  22. $(SDK_LIB_PATH)\advapi32.lib \
  23. $(SDK_LIB_PATH)\kernel32.lib \
  24. $(SDK_LIB_PATH)\rtutils.lib \
  25. $(SDK_LIB_PATH)\user32.lib \
  26. $(SDK_LIB_PATH)\wsock32.lib
  27. LINKLIBS=\
  28. ..\rtm\$(O)\rtmv1.lib \
  29. ..\mgm\$(O)\mgm.lib
  30. INCLUDES=..\rtm;..\mgm;..\inc;..\..\inc;
  31. SOURCES=\
  32. $(O)\rtmmsg.mc \
  33. lookup.c \
  34. rtm.rc \
  35. rtm1to2.c \
  36. rtmchng.c \
  37. rtmcnfg.c \
  38. rtmconst.c \
  39. rtmenum.c \
  40. rtmhndl.c \
  41. rtminfo.c \
  42. rtmlist.c \
  43. rtmmain.c \
  44. rtmmetd.c \
  45. rtmmgmt.c \
  46. rtmnhop.c \
  47. rtmobj1.c \
  48. rtmobj2.c \
  49. rtmquer.c \
  50. rtmregn.c \
  51. rtmrout.c \
  52. rtmtimer.c
  53. NTTARGETFILE0=$(O)\rtmmsg.mc