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.

172 lines
4.0 KiB

  1. !ifndef ROOT
  2. ROOT=$(MAKEDIR:\ui\msconf=)
  3. !endif
  4. !ifndef DEVROOT
  5. DEVROOT=$(ROOT)\dev
  6. !endif
  7. !include $(DEVROOT)\common.inc
  8. MAJORCOMP=ui
  9. MINORCOMP=msconf
  10. TARGETNAME=msconf
  11. TARGETPATH=$(_OBJ_DIR)
  12. TARGETTYPE=DYNLINK
  13. C_DEFINES = $(C_DEFINES) -D_USRDLL
  14. DLLDEF=msconf.def
  15. !if "$(FREEBUILD)" == "0"
  16. ##################################################################
  17. # DEBUG BUILD STUFF
  18. ##################################################################
  19. # The following line ( if uncommented ) will allow you to use VC's
  20. # Edit and continue feature.. it is really cool!
  21. #ENABLE_VC_EDIT_AND_CONTINUE=1
  22. DLLENTRY=_DllMainCRTStartup
  23. !else
  24. ##################################################################
  25. # RETAIL BUILD STUFF
  26. ##################################################################
  27. # Don't use any C runtime on retail builds
  28. !if $(WIN64)
  29. DLLENTRY=_DllMainCRTStartup
  30. USE_MSVCRT=1
  31. !else
  32. # If _ATL_MIN_CRT is present, ATL does not depend on C-RunTime library
  33. # the few C-RunTime fns that ATL uses, it writes it's own versions
  34. C_DEFINES = $(C_DEFINES) -D_ATL_MIN_CRT
  35. DLLENTRY=DllMain
  36. !UNDEF USE_MSVCRT
  37. !UNDEF USE_LIBCMT
  38. USE_NOLIBS=1
  39. ##################################################################
  40. # The following is here because we yanked the USE_SYSDLL statement
  41. # the reason that the USE_SYSDLL statement was yanked is because
  42. # it was #defining _DLL symbol. ATL uses <malloc.h> to declare
  43. # several functions that it implements if _ATL_MIN_CRT is defined.
  44. # However, if _DLL is defined, the functions decls in <malloc.h>
  45. # have the _declspec(dllimport) directive, which was causing an
  46. # error, because ATL is implementing them directly...
  47. ##################################################################
  48. !if defined(CHICAGO_PRODUCT)
  49. TARGETLIB=$(WIN32DLL_LIBS) $(SDK_LIB_PATH)\kernel32.lib
  50. !else
  51. TARGETLIB=$(WIN32DLL_LIBS) $(SDK_LIB_PATH)\ntdll.lib
  52. !endif
  53. ##################################################################
  54. !ENDIF
  55. !endif
  56. BBTCOMP=1
  57. 386_STDCALL=1
  58. LINKLIBS=\
  59. $(ROOT)\nmutil\nmutila\$(O)\nmutila.lib
  60. TARGETLIBS= \
  61. $(SDK_LIB_PATH)\chkstk.obj \
  62. $(SDK_LIB_PATH)\kernel32.lib \
  63. $(SDK_LIB_PATH)\advapi32.lib \
  64. $(SDK_LIB_PATH)\user32.lib \
  65. $(SDK_LIB_PATH)\gdi32.lib \
  66. $(SDK_LIB_PATH)\comdlg32.lib \
  67. $(SDK_LIB_PATH)\ole32.lib \
  68. $(SDK_LIB_PATH)\oleaut32.lib \
  69. $(SDK_LIB_PATH)\uuid.lib \
  70. $(SDK_LIB_PATH)\shell32.lib
  71. IDL_TYPE=ole
  72. PASS0_HEADERDIR = $(ROOT)\ui\msconf\$(O)
  73. PASS0_SOURCEDIR = $(ROOT)\ui\msconf\$(O)
  74. MIDL_TLBDIR = $(ROOT)\ui\msconf\$(O)
  75. MIDL_UUIDDIR = $(ROOT)\ui\msconf\$(O)
  76. #
  77. # List of sources
  78. #
  79. SOURCES= \
  80. sdkInternal.idl \
  81. sdkInternal_i.c \
  82. imsconf3.idl \
  83. imsconf3_i.c \
  84. NetMeeting.idl\
  85. NetMeeting_i.c\
  86. Mslablti.idl\
  87. Mslablti_i.c\
  88. clcnflnk.cpp \
  89. cldataob.cpp \
  90. clenumft.cpp \
  91. clpersis.cpp \
  92. clprpsht.cpp \
  93. clrefcnt.cpp \
  94. dlginfo.cpp \
  95. launstub.cpp\
  96. marshalableti.cpp\
  97. mrulist2.cpp \
  98. NmSysInfo.cpp\
  99. siDebug.cpp \
  100. siLoad.cpp \
  101. siMain.cpp \
  102. si.rc \
  103. watcher.cpp
  104. !if $(ALPHA)
  105. !if "$(FREEBUILD)" == "0"
  106. # QIThunk.lib is for ATL debugging on Alpha
  107. TARGETLIBS= $(TARGETLIBS) $(SDK_LIB_PATH)\qithunk.lib
  108. !else
  109. # we have to link with chkstk for _alloca
  110. # On i386 targets this works fine... However, the
  111. # Alpha needs OtsDivide32 from libc.lib
  112. # DEBGU builds are fine. because they use CRT already
  113. TARGETLIBS= $(TARGETLIBS) $(SDK_LIB_PATH)\libc.lib
  114. !endif
  115. !endif
  116. # Precompiled specs
  117. #
  118. PRECOMPILED_INCLUDE = precomp.h
  119. PRECOMPILED_SOURCEFILE = precomp.cpp
  120. PRECOMPILED_PCH = precomp.pch
  121. PRECOMPILED_OBJ = precomp.obj
  122. PRECOMPILED_CXX = 1
  123. CONDITIONAL_INCLUDES = \
  124. macocidl.h \
  125. macwin32.h \
  126. rpcerr.h \
  127. rpcmac.h \
  128. winwlm.h \
  129. macname1.h \
  130. macname2.h \
  131. macpub.h \
  132. macapi.h