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.

121 lines
3.6 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. $(SDK_LIB_PATH)\clusapi.lib
  72. LINKLIBS=$(LINKLIBS)\
  73. $(PROJDIR)\shell\lanui\$(O)\lanui.lib \
  74. $(PROJDIR)\shell\netsetup\$(O)\netsetup.lib
  75. DELAYLOAD=\
  76. dhcpcsvc.dll; \
  77. dnsapi.dll; \
  78. mobsync.dll; \
  79. mprapi.dll; \
  80. netapi32.dll; \
  81. netcfgx.dll; \
  82. rasapi32.dll; \
  83. rasdlg.dll; \
  84. setupapi.dll; \
  85. wzcdlg.dll; \
  86. wzcsapi.dll; \
  87. winspool.drv
  88. DLOAD_ERROR_HANDLER=kernel32
  89. INCLUDES=\
  90. $(PROJDIR)\shell\inc; \
  91. $(PROJDIR)\shell\inc\$(O); \
  92. $(PROJDIR)\netcfg\inc; \
  93. $(PROJDIR)\netman\inc; \
  94. $(PROJDIR)\inc;\
  95. $(SHELL_INC_PATH)
  96. SOURCES=\
  97. dlldatax.c \
  98. dllmain.cpp \
  99. implinc.cpp \
  100. netshell.rc
  101. MISCFILES=\
  102. $(EMBEDDED_DIR)\NetCfg_{3B679106-FB02-453D-9B29-91393A3CA6A1}.sld \
  103. $(EMBEDDED_DIR)\ICS_Discover_and_Control_Client_{88B6F68E-311A-48A5-B9F6-DA50D14145AE}.sld \
  104. $(EMBEDDED_DIR)\NetShell_{84ADA114-0053-4E83-8A1B-AE126F127B4B}.sld
  105. # Need this for an 8-way build to work (netsetup.lib isn't ready in time otherwise)
  106. SYNCHRONIZE_DRAIN=1