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.

120 lines
3.5 KiB

  1. EMBEDDED_DIR=..\..\embedded
  2. PROJDIR=..\..
  3. TARGETNAME=netshell
  4. TARGETTYPE=DYNLINK
  5. PASS1_PUBLISH={$(O)\netshell.lib=$(PROJECT_LIB_PATH)\netshell.lib}
  6. !include $(PROJDIR)\makefile.inc
  7. USE_STL=1
  8. C_DEFINES=$(C_DEFINES) -D_MERGE_PROXYSTUB
  9. DLLENTRY=_DllMainCRTStartup
  10. #
  11. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  12. #
  13. SXS_ASSEMBLY_NAME=Microsoft.Windows.Net.Netshell
  14. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  15. SXS_MANIFEST=Netshell.Manifest
  16. SXS_MANIFEST_IN_RESOURCES=1
  17. SXS_NO_BINPLACE=1
  18. SXS_MANIFEST_RESOURCE_ID=50
  19. #
  20. # Shfusion.lib causes linker warnings. Ignore them.
  21. #
  22. LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217
  23. TARGETLIBS=\
  24. $(PROJDIR)\lib\$(O)\ncnetcfg.lib \
  25. $(PROJDIR)\lib\$(O)\ncdebug.lib \
  26. $(PROJDIR)\lib\$(O)\ncras.lib \
  27. $(PROJDIR)\lib\$(O)\ncnetcfg.lib \
  28. $(PROJDIR)\lib\$(O)\ncnetcon.lib \
  29. $(PROJDIR)\lib\$(O)\nctraceui.lib \
  30. $(PROJDIR)\lib\$(O)\lancmn.lib \
  31. $(PROJECT_PRIVATE_LIB_PATH)\wzcsapi.lib \
  32. $(PROJDIR)\shell\folder\$(O)\confold.lib \
  33. $(PROJDIR)\shell\common\$(O)\shcommon.lib \
  34. $(PROJDIR)\shell\commconn\$(O)\commconn.lib \
  35. $(PROJDIR)\shell\advcfg\$(O)\advcfg.lib \
  36. $(PROJDIR)\shell\statmon\$(O)\statmon.lib \
  37. $(PROJDIR)\shell\wanui\$(O)\wanui.lib \
  38. $(PROJDIR)\shell\dun\$(O)\dun.lib \
  39. $(NET_LIB_PATH)\ndispnp.lib \
  40. $(NET_LIB_PATH)\wzcdlg.lib \
  41. $(PROJECT_PRIVATE_LIB_PATH)\netcfgx.lib \
  42. $(SDK_LIB_PATH)\advapi32.lib \
  43. $(SHELL_LIB_PATH)\shfusion.lib \
  44. $(SDK_LIB_PATH)\dhcpcsvc.lib \
  45. $(SDK_LIB_PATH)\dnsapi.lib \
  46. $(SDK_LIB_PATH)\gdi32.lib \
  47. $(SDK_LIB_PATH)\kernl32p.lib \
  48. $(SDK_LIB_PATH)\htmlhelp.lib \
  49. $(SDK_LIB_PATH)\mobsyncp.lib \
  50. $(SDK_LIB_PATH)\mprapi.lib \
  51. $(SDK_LIB_PATH)\credui.lib \
  52. $(SDK_LIB_PATH)\mpr.lib \
  53. $(SDK_LIB_PATH)\ole32.lib \
  54. $(SDK_LIB_PATH)\netapi32.lib \
  55. $(SDK_LIB_PATH)\oleaut32.lib \
  56. $(SDK_LIB_PATH)\rasapi32.lib \
  57. $(SDK_LIB_PATH)\rasdlg.lib \
  58. $(SDK_LIB_PATH)\rpcrt4.lib \
  59. $(SDK_LIB_PATH)\setupapi.lib \
  60. $(SDK_LIB_PATH)\shlwapi.lib \
  61. $(SHELL_LIB_PATH)\shlwapip.lib \
  62. $(SHELL_LIB_PATH)\shell32p.lib \
  63. $(SHELL_LIB_PATH)\shguidp.lib \
  64. $(SDK_LIB_PATH)\user32.lib \
  65. $(SDK_LIB_PATH)\uuid.lib \
  66. $(SDK_LIB_PATH)\winspool.lib \
  67. $(SDK_LIB_PATH)\ws2_32.lib \
  68. $(SDK_LIB_PATH)\wbemuuid.lib \
  69. $(SDK_LIB_PATH)\atl.lib \
  70. $(SDK_LIB_PATH)\iphlpapi.lib
  71. LINKLIBS=$(LINKLIBS)\
  72. $(PROJDIR)\shell\lanui\$(O)\lanui.lib \
  73. $(PROJDIR)\shell\netsetup\$(O)\netsetup.lib
  74. DELAYLOAD=\
  75. dhcpcsvc.dll; \
  76. dnsapi.dll; \
  77. mobsync.dll; \
  78. mprapi.dll; \
  79. netapi32.dll; \
  80. netcfgx.dll; \
  81. rasapi32.dll; \
  82. rasdlg.dll; \
  83. setupapi.dll; \
  84. wzcdlg.dll; \
  85. wzcsapi.dll; \
  86. winspool.drv
  87. DLOAD_ERROR_HANDLER=kernel32
  88. INCLUDES=\
  89. $(PROJDIR)\shell\inc; \
  90. $(PROJDIR)\shell\inc\$(O); \
  91. $(PROJDIR)\netcfg\inc; \
  92. $(PROJDIR)\netman\inc; \
  93. $(PROJDIR)\inc;\
  94. $(SHELL_INC_PATH)
  95. SOURCES=\
  96. dlldatax.c \
  97. dllmain.cpp \
  98. implinc.cpp \
  99. netshell.rc
  100. MISCFILES=\
  101. $(EMBEDDED_DIR)\NetCfg_{3B679106-FB02-453D-9B29-91393A3CA6A1}.sld \
  102. $(EMBEDDED_DIR)\ICS_Discover_and_Control_Client_{88B6F68E-311A-48A5-B9F6-DA50D14145AE}.sld \
  103. $(EMBEDDED_DIR)\NetShell_{84ADA114-0053-4E83-8A1B-AE126F127B4B}.sld
  104. # Need this for an 8-way build to work (netsetup.lib isn't ready in time otherwise)
  105. SYNCHRONIZE_DRAIN=1