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.

106 lines
2.9 KiB

  1. TARGETNAME=ipnathlp
  2. TARGETPATH=obj
  3. TARGETTYPE=DYNLINK
  4. C_DEFINES=$(C_DEFINES) -DMPR50=1 -DTARGETNAME=\"$(TARGETNAME)\" -DUNICODE \
  5. -D_UNICODE -DCOMPREF_TRACKING=0 -D_WIN32_WINNT=0x0510
  6. DLLENTRY=_DllMainCRTStartup
  7. PRECOMPILED_INCLUDE=precomp.h
  8. PRECOMPILED_CXX=1
  9. USE_MSVCRT=1
  10. USE_ATL=1
  11. USE_STL=1
  12. ATL_VER=30
  13. IPNAT_PROJECT_PATH=$(PROJECT_ROOT)\rras\ip\nathlp
  14. BEACON_PATH=$(PROJECT_ROOT)\homenet\beacon\
  15. SYNCHRONIZE_DRAIN=1
  16. #
  17. # set the NO_FTP_PROXY_BUILD enviroment variable
  18. # to disable the FTP Proxy part of IPNATHLP
  19. #
  20. #!IFDEF NO_FTP_PROXY_BUILD
  21. C_DEFINES=$(C_DEFINES) -DNO_FTP_PROXY
  22. #!ENDIF
  23. LINKLIBS=\
  24. $(PROJECT_ROOT)\rras\ip\nath323\$(O)\nath323.lib \
  25. $(IPNAT_PROJECT_PATH)\natapi\$(O)\ipnatapi.lib \
  26. $(IPNAT_PROJECT_PATH)\dhcp\$(O)\natdhcp.lib \
  27. $(IPNAT_PROJECT_PATH)\dns\$(O)\natdns.lib \
  28. $(IPNAT_PROJECT_PATH)\h323\$(O)\nath323p.lib \
  29. $(IPNAT_PROJECT_PATH)\natsvc\$(O)\natsvc.lib \
  30. $(IPNAT_PROJECT_PATH)\alg\$(O)\natAlg.lib \
  31. $(BEACON_PATH)\server\$(O)\beacon.lib
  32. TARGETLIBS=\
  33. $(SDK_LIB_PATH)\ATL.lib \
  34. $(SDK_LIB_PATH)\advapi32.lib \
  35. $(SDK_LIB_PATH)\dnsapi.lib \
  36. $(SDK_LIB_PATH)\iphlpapi.lib \
  37. $(SDK_LIB_PATH)\kernel32.lib \
  38. $(SDK_LIB_PATH)\mprapi.lib \
  39. $(SDK_LIB_PATH)\msasn1.lib \
  40. $(SDK_LIB_PATH)\mswsock.lib \
  41. $(SDK_LIB_PATH)\ntdll.lib \
  42. $(SDK_LIB_PATH)\rasapi32.lib \
  43. $(SDK_LIB_PATH)\rtutils.lib \
  44. $(SDK_LIB_PATH)\user32.lib \
  45. $(SDK_LIB_PATH)\ws2_32.lib \
  46. $(SDK_LIB_PATH)\ole32.lib \
  47. $(SDK_LIB_PATH)\oleaut32.lib \
  48. $(SDK_LIB_PATH)\uuid.lib \
  49. $(SDK_LIB_PATH)\shell32.lib \
  50. $(NET_LIB_PATH)\ndispnp.lib \
  51. $(NET_LIB_PATH)\netshell.lib \
  52. $(NET_LIB_PATH)\sockreg.lib \
  53. $(PROJECT_PRIVATE_LIB_PATH)\rasman.lib \
  54. $(PROJECT_PRIVATE_LIB_PATH)\ALG_Private.lib \
  55. $(NET_LIB_PATH)\hnetcfg.lib \
  56. $(SDK_LIB_PATH)\wmip.lib \
  57. $(PROJECT_PRIVATE_LIB_PATH)\saupdate.lib
  58. INCLUDES=\
  59. $(IPNAT_PROJECT_PATH)\inc; \
  60. $(IPNAT_PROJECT_PATH)\idl\$(O); \
  61. $(PROJECT_ROOT)\rras\ip\natapi; \
  62. $(PROJECT_ROOT)\rras\ip\nath323; \
  63. $(PROJECT_ROOT)\rras\inc; \
  64. $(PROJECT_ROOT)\inc; \
  65. $(PROJECT_ROOT)\homenet\config\inc; \
  66. $(PROJECT_ROOT)\homenet\config\idl\$(O); \
  67. $(IPNAT_PROJECT_PATH)\dhcp; \
  68. $(IPNAT_PROJECT_PATH)\dns; \
  69. $(IPNAT_PROJECT_PATH)\ftp; \
  70. $(IPNAT_PROJECT_PATH)\ALG; \
  71. $(IPNAT_PROJECT_PATH)\h323; \
  72. $(IPNAT_PROJECT_PATH)\natsvc; \
  73. $(BEACON_PATH)\idl;
  74. SOURCES=\
  75. nathlpmc.mc \
  76. nathlp.idl \
  77. buffer.cpp \
  78. debug.cpp \
  79. ipnathlp.rc \
  80. range.cpp \
  81. rmapi.cpp \
  82. socket.cpp \
  83. timer.cpp \
  84. udpbcast_i_stub.c
  85. NTTARGETFILE0=$(O)\nathlpmc.mc
  86. MISCFILES=IP_NAT_{251E42DD-ACC9-4ED3-A6EA-A1214B238540}.sld
  87. UMTEST=nhtest
  88. UMTYPE=console
  89. UMLIBS=\
  90. $(O)\ipnathlp.lib \
  91. $(SDK_LIB_PATH)\ntdll.lib \
  92. $(SDK_LIB_PATH)\ws2_32.lib \
  93. $(SDK_LIB_PATH)\rtutils.lib