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.

137 lines
3.3 KiB

  1. !IF 0
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. Author:
  11. CliffV 11-April-2001
  12. !ENDIF
  13. MAJORCOMP=authz
  14. MINORCOMP=azroles
  15. TARGETNAME=$(MINORCOMP)
  16. TARGETPATH=obj
  17. TARGETTYPE=DYNLINK
  18. DLLDEF= $(O)\$(TARGETNAME).def
  19. DLLENTRY= _DllMainCRTStartup
  20. C_DEFINES= $(C_DEFINES) -DUNICODE
  21. C_DEFINES= $(C_DEFINES) -D_AZROLESAPI_
  22. # Define the following to build a binary that runs on Windows XP RTM
  23. C_DEFINES= $(C_DEFINES) -DRUN_ON_XP_RTM
  24. # Define the following to build a binary where the MSXML: provider is compiled into azroles.dll
  25. C_DEFINES= $(C_DEFINES) -DUSE_INTERNAL_MSXML
  26. USE_STL=1
  27. ATL_VER=30
  28. USE_STATIC_ATL=1
  29. USE_SYSTEM_MIDL=1
  30. IDL_TYPE=OLE
  31. # USE_ICECAP4_ICEPICK=1
  32. SOURCES= \
  33. $(TARGETNAME).idl \
  34. $(TARGETNAME).rc \
  35. $(TARGETNAME).cxx \
  36. azdisp.cxx \
  37. stdafx_stub.cxx \
  38. accessck.cxx \
  39. azstore.cxx \
  40. app.cxx \
  41. bizrule.cxx \
  42. context.cxx \
  43. domain.cxx \
  44. genobj.cxx \
  45. group.cxx \
  46. role.cxx \
  47. xml.cxx \
  48. adstore.cxx \
  49. scope.cxx \
  50. sid.cxx \
  51. task.cxx \
  52. op.cxx \
  53. opcache.cxx \
  54. persist.cxx \
  55. util.cxx \
  56. INCLUDES= \
  57. $(SECURITY_INC); \
  58. $(BASE_INC_PATH); \
  59. $(O) \
  60. .; \
  61. # Strict warning, can be used to detect uninitialized vars. Picks up random
  62. # stuff too
  63. COMPILER_WARNINGS=$(COMPILER_WARNINGS) -FI$(SECURITY_INC)\secwarn.h
  64. MSC_WARNING_LEVEL=/W4
  65. PRECOMPILED_INCLUDE=pch.hxx
  66. PRECOMPILED_OBJ=pch.obj
  67. PRECOMPILED_PCH=pch.pch
  68. # Use C++ Exception Handling
  69. # USE_NATIVE_EH=1
  70. USE_MSVCRT= 1
  71. TARGETLIBS= \
  72. $(SDK_LIB_PATH)\user32.lib \
  73. $(SDK_LIB_PATH)\kernel32.lib \
  74. $(SDK_LIB_PATH)\ole32.lib \
  75. $(SDK_LIB_PATH)\oleaut32.lib \
  76. $(SDK_LIB_PATH)\uuid.lib \
  77. $(SDK_LIB_PATH)\advapi32.lib \
  78. $(SDK_LIB_PATH)\authzi.lib \
  79. $(DS_LIB_PATH)\alloca.lib \
  80. $(SDK_LIB_PATH)\wldap32.lib \
  81. $(SDK_LIB_PATH)\netapi32.lib \
  82. $(SDK_LIB_PATH)\secur32.lib \
  83. $(SDK_LIB_PATH)\msxml2.lib \
  84. $(SDK_LIB_PATH)\rpcrt4.lib \
  85. $(SECURITY_LIB_PATH)\dsysdbg.lib \
  86. $(SDK_LIB_PATH)\rpcrt4.lib \
  87. $(SDK_LIB_PATH)\wininet.lib \
  88. $(SDK_LIB_PATH)\mpr.lib \
  89. $(SDK_LIB_PATH)\shlwapi.lib \
  90. $(SDK_LIB_PATH)\Ntdsapi.lib \
  91. DELAYLOAD=netapi32.dll;secur32.dll;wldap32.dll;mpr.dll;shlwapi.dll
  92. DLOAD_ERROR_HANDLER=kernel32
  93. NTTARGETFILES= \
  94. stdafx_stub.cxx \
  95. $(O)\azrolesp.lib \
  96. PASS0_PUBLISH= \
  97. {$(O)\$(TARGETNAME).h=$(SDK_INC_PATH)\$(TARGETNAME).h} \
  98. {$(O)\$(TARGETNAME).tlb=$(SDK_LIB_PATH)\$(TARGETNAME).tlb}
  99. PASS0_BINPLACE= \
  100. -:DEST retail Microsoft.Interop.Security.AzRoles.dll
  101. PASS1_PUBLISH= \
  102. {$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib} \
  103. {$(O)\azrolesp.lib=$(DS_GLOBAL_LIB_PATH)\azrolesp.lib}