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.

112 lines
2.4 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1989 - 1999
  3. Module Name:
  4. sources
  5. Abstract:
  6. This file specifies the SCardDlg.DLL (Smartcard common dialog) component
  7. being built and the list of sources files needed to build this DLL.
  8. Also, specifies optional compiler switches and libraries that are
  9. unique for this DLL being built.
  10. Author:
  11. Steve Wood (stevewo) 12-Apr-1990
  12. Modified:
  13. Chris Dudley 3-17-1997
  14. Notes:
  15. Commented description of this file is in \nt\bak\bin\sources.tpl
  16. !ENDIF
  17. MAJORCOMP=Calais
  18. MINORCOMP=SCardDlg
  19. TARGETNAME=$(MINORCOMP)
  20. TARGETPATH=obj
  21. TARGETTYPE=DYNLINK
  22. DLLDEF=$(O)\$(MINORCOMP).def
  23. DLLENTRY=_DllMainCRTStartup
  24. TARGETLIBS=\
  25. $(SECURITY_LIB_PATH)\CalaislbW.lib \
  26. $(SDK_LIB_PATH)\winscard.lib \
  27. $(SHELL_LIB_PATH)\shfusion.lib \
  28. $(SHELL_LIB_PATH)\shlwapip.lib \
  29. $(SDK_LIB_PATH)\comdlg32.lib \
  30. $(SDK_LIB_PATH)\winspool.lib \
  31. $(SDK_LIB_PATH)\shell32.lib \
  32. $(SDK_LIB_PATH)\wsock32.lib \
  33. $(SDK_LIB_PATH)\advapi32.lib \
  34. $(SDK_LIB_PATH)\user32.lib \
  35. $(SDK_LIB_PATH)\kernel32.lib
  36. INCLUDES= \
  37. $(SHELL_INC_PATH);\
  38. ..;$(O); \
  39. ..\..\inc;
  40. PASS0_HEADERDIR=$(O)
  41. PASS0_SOURCEDIR=$(O)
  42. SOURCES= \
  43. sclmsg.mc \
  44. stdafx.cpp \
  45. ..\statmon.cpp \
  46. scsearch.cpp \
  47. scarddlg.rc \
  48. scarddlg.cpp \
  49. scinsdlg.cpp \
  50. scinsbar.cpp \
  51. chngpdlg.cpp
  52. C_DEFINES= -D_WINDOWS -D_USRDLL -D_AFXDLL -D_UNICODE
  53. # Use C++ Exception Handling
  54. USE_NATIVE_EH=1
  55. # Use MFC, without or with UNICODE
  56. USE_MFCUNICODE=1
  57. USE_ATL=1
  58. # Make sure we are building a multi-threaded DLL
  59. !IF "$(NTDEBUG)" == "retail" || "$(NTDEBUG)" == "" || "$(NTDEBUG)" == "ntsdnodbg"
  60. #...release
  61. CFLAGS=$(CFLAGS) /MT
  62. !ELSE
  63. #...debug
  64. CFLAGS=$(CFLAGS) /MTd
  65. !ENDIF
  66. PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib}
  67. #
  68. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  69. #
  70. SXS_ASSEMBLY_NAME=Microsoft.Windows.scarddlg
  71. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  72. SXS_MANIFEST=scarddlg.manifest
  73. SXS_MANIFEST_IN_RESOURCES=1
  74. SXS_NO_BINPLACE=1
  75. # the resource ID here must be 2
  76. SXS_MANIFEST_RESOURCE_ID=2
  77. # ISOLATION_AWARE_ENABLED ==> use ui themes
  78. C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED
  79. #
  80. # Shfusion.lib causes linker warnings. Ignore them.
  81. #
  82. LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217