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.

104 lines
2.8 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. $(PROJECT_ROOT)\rras\ip\natapi; \
  61. $(PROJECT_ROOT)\rras\ip\nath323; \
  62. $(PROJECT_ROOT)\rras\inc; \
  63. $(PROJECT_ROOT)\inc; \
  64. $(PROJECT_ROOT)\homenet\config\inc; \
  65. $(IPNAT_PROJECT_PATH)\dhcp; \
  66. $(IPNAT_PROJECT_PATH)\dns; \
  67. $(IPNAT_PROJECT_PATH)\ftp; \
  68. $(IPNAT_PROJECT_PATH)\ALG; \
  69. $(IPNAT_PROJECT_PATH)\h323; \
  70. $(IPNAT_PROJECT_PATH)\natsvc; \
  71. $(BEACON_PATH)\idl;
  72. SOURCES=\
  73. $(O)\nathlpmc.mc \
  74. nathlp.idl \
  75. buffer.cpp \
  76. debug.cpp \
  77. ipnathlp.rc \
  78. range.cpp \
  79. rmapi.cpp \
  80. socket.cpp \
  81. timer.cpp \
  82. udpbcast_i.c
  83. NTTARGETFILE0=$(O)\nathlpmc.mc
  84. MISCFILES=IP_NAT_{251E42DD-ACC9-4ED3-A6EA-A1214B238540}.sld
  85. UMTEST=nhtest
  86. UMTYPE=console
  87. UMLIBS=\
  88. $(O)\ipnathlp.lib \
  89. $(SDK_LIB_PATH)\ntdll.lib \
  90. $(SDK_LIB_PATH)\ws2_32.lib \
  91. $(SDK_LIB_PATH)\rtutils.lib