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.

82 lines
1.8 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1998 - 1999
  3. Module Name:
  4. sources.
  5. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  6. !ENDIF
  7. GEM_ROOT=..
  8. MAJORCOMP=GemSAFE
  9. MINORCOMP=gpkcsp
  10. PINCACHE_ROOT=..\..\pincache
  11. TARGETNAME=$(MINORCOMP)
  12. TARGETPATHLIB=$(GEM_ROOT)\lib\$(_OBJ_DIR)
  13. TARGETPATH=$(GEM_ROOT)\bin\$(_OBJ_DIR)
  14. PINCACHELIB=$(PINCACHE_ROOT)\$(O)
  15. TARGETTYPE=DYNLINK
  16. DLLDEF=$(MINORCOMP).def
  17. DLLENTRY=_DllMainCRTStartup
  18. TARGETLIBS= \
  19. $(PINCACHELIB)\pincache.lib \
  20. $(TARGETPATHLIB)\*\ccert32.lib \
  21. $(SDK_LIB_PATH)\winscard.lib \
  22. $(SDK_LIB_PATH)\scarddlg.lib \
  23. $(SDK_LIB_PATH)\user32.lib \
  24. $(SDK_LIB_PATH)\advapi32.lib \
  25. $(SDK_LIB_PATH)\kernel32.lib
  26. INCLUDES=\
  27. $(PINCACHE_ROOT);\
  28. $(GEM_ROOT)\inc;\
  29. $(GEM_ROOT)\gpkgui;\
  30. $(GEM_ROOT)\compcert;\
  31. $(SDK_INC_PATH)\mfc42
  32. SOURCES=\
  33. autoreg.cpp \
  34. cspwrap.cpp \
  35. debug.c \
  36. gpkcsp.cpp \
  37. gpkcsp.rc \
  38. gpkgui.c
  39. C_DEFINES=$(C_DEFINES) -D_UNICODE -D_USRDLL -DGPKCSP_EXPORTS -D_WINDOWS -D_DISPLAY -D_GPKCSP -DMS_BUILD
  40. # Additional Compiler definitions
  41. USE_MSVCRT=1
  42. USE_STL=1
  43. # Use C++ Exception Handling
  44. USE_NATIVE_EH=1
  45. # if building a DLL, base the DLL.
  46. DLLBASE=0x08000000
  47. #
  48. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  49. #
  50. SXS_ASSEMBLY_NAME=Microsoft.Windows.gpkcsp
  51. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  52. SXS_MANIFEST=gpkcsp.manifest
  53. SXS_MANIFEST_IN_RESOURCES=1
  54. SXS_NO_BINPLACE=1
  55. # the resource ID here must be 2
  56. SXS_MANIFEST_RESOURCE_ID=2
  57. # ISOLATION_AWARE_ENABLED ==> use ui themes
  58. C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED
  59. #
  60. # Shfusion.lib causes linker warnings. Ignore them.
  61. #
  62. LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217