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.

111 lines
2.2 KiB

  1. TARGETNAME=nms
  2. TARGETPATH=obj
  3. TARGETTYPE=PROGRAM
  4. USE_MSVCRT=1
  5. !IFNDEF USENETBT
  6. USENETBT=1
  7. !ENDIF
  8. !IFNDEF SECURITY
  9. SECURITY=1
  10. !ENDIF
  11. !IFNDEF TEST_DATA
  12. TEST_DATA=1
  13. !ENDIF
  14. !IFNDEF MCAST
  15. MCAST=1
  16. !ENDIF
  17. !IFNDEF NO_LIMIT
  18. NO_LIMIT=1
  19. !ENDIF
  20. !IFNDEF SUPPORT612WINS
  21. SUPPORT612WINS=1
  22. !ENDIF
  23. !IFNDEF REG_N_QUERY_SEP
  24. REG_N_QUERY_SEP=1
  25. !ENDIF
  26. !IFNDEF INIT_TIME_PAUSE_TEST
  27. INIT_TIME_PAUSE_TEST=1
  28. !ENDIF
  29. !IFNDEF TEST_HEAP
  30. TEST_HEAP=0
  31. !ENDIF
  32. !IFNDEF NEW_JET
  33. NEW_JET=0
  34. NEW_OWID=0
  35. !ENDIF
  36. !IFNDEF PRSCONN
  37. PRSCONN=1
  38. !ENDIF
  39. !IFNDEF DYNLOADJET
  40. __JET500=0
  41. __JET600=1
  42. DYNLOADJET=1
  43. NEW_JET=0
  44. !ENDIF
  45. !IF 0
  46. Add -DTESTWITHUB in C_DEFINES if you require WINS to test and drop broadcast
  47. packets
  48. Add -DWINS_INTERACTIVE in C_DEFINES if you require WINS to be interactive (non-service mode)
  49. !ENDIF
  50. COMMON_DEFINES=-DINCL_32= -DNT -DWIN32 -DRPC_NO_WINDOWS_H -DTEST_DATA=$(TEST_DATA) -DUSENETBT=$(USENETBT) -DSECURITY=$(SECURITY) -DSUPPORT612WINS=$(SUPPORT612WINS) -DREG_N_QUERY_SEP=$(REG_N_QUERY_SEP) -DINIT_TIME_PAUSE_TEST=$(INIT_TIME_PAUSE_TEST) -DTEST_HEAP=$(TEST_HEAP) -DMCAST=$(MCAST) -DNO_LIMIT=$(NO_LIMIT) -DNEW_JET=$(NEW_JET) -DNEW_OWID=$(NEW_OWID) -DDYNLOADJET=$(DYNLOADJET) -D__JET500=$(__JET500) -D__JET600=$(__JET600) -DPRSCONN=$(PRSCONN)
  51. !IFDEF WINS_INTERACTIVE
  52. C_DEFINES=$(COMMON_DEFINES) -DWINS_INTERACTIVE
  53. TARGETNAME=winsint
  54. !ELSE
  55. C_DEFINES=$(COMMON_DEFINES)
  56. TARGETNAME=wins
  57. !ENDIF
  58. UNICODE=1
  59. NET_C_DEFINES=-DUNICODE
  60. UMTYPE=console
  61. TARGETLIBS= \
  62. ..\com\$(O)\com.lib \
  63. ..\msc\$(O)\msc.lib \
  64. ..\rpl\$(O)\rpl.lib \
  65. $(SDK_LIB_PATH)\advapi32.lib \
  66. $(SDK_LIB_PATH)\kernl32p.lib \
  67. $(SDK_LIB_PATH)\netlib.lib \
  68. $(SDK_LIB_PATH)\netapi32.lib \
  69. $(SDK_LIB_PATH)\ntdll.lib \
  70. $(SDK_LIB_PATH)\rpcrt4.lib \
  71. $(SDK_LIB_PATH)\security.lib \
  72. $(SDK_LIB_PATH)\user32.lib \
  73. $(SDK_LIB_PATH)\ws2_32.lib \
  74. $(SDK_LIB_PATH)\ole32.lib \
  75. $(SDK_LIB_PATH)\vssapi.lib
  76. INCLUDES=\
  77. ..\..\msgs\$(O); \
  78. ..\inc;..\msc\$(O); \
  79. ..\..\idl; \
  80. $(DS_INC_PATH); \
  81. $(SDXROOT)\public\internal\drivers\inc
  82. SOURCES= \
  83. nms.c \
  84. nmsscv.c \
  85. nmschl.c \
  86. nmsdb.c \
  87. nmsnmh.c \
  88. nmsmsgf.c \
  89. wins.rc \
  90. winswriter.cpp