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.
83 lines
1.8 KiB
83 lines
1.8 KiB
!IF 0
|
|
|
|
Copyright (C) Microsoft Corporation, 1998 - 1999
|
|
|
|
Module Name:
|
|
|
|
sources.
|
|
|
|
NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
|
|
|
|
!ENDIF
|
|
|
|
GEM_ROOT=..
|
|
MAJORCOMP=GemSAFE
|
|
MINORCOMP=gpkcsp
|
|
PINCACHE_ROOT=..\..\pincache
|
|
|
|
TARGETNAME=$(MINORCOMP)
|
|
TARGETPATHLIB=$(GEM_ROOT)\lib\$(_OBJ_DIR)
|
|
TARGETPATH=$(GEM_ROOT)\bin\$(_OBJ_DIR)
|
|
PINCACHELIB=$(PINCACHE_ROOT)\$(O)
|
|
TARGETTYPE=DYNLINK
|
|
|
|
DLLDEF=$(MINORCOMP).def
|
|
|
|
DLLENTRY=_DllMainCRTStartup
|
|
|
|
TARGETLIBS= \
|
|
$(PINCACHELIB)\pincache.lib \
|
|
$(TARGETPATHLIB)\*\ccert32.lib \
|
|
$(SDK_LIB_PATH)\winscard.lib \
|
|
$(SDK_LIB_PATH)\scarddlg.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib
|
|
|
|
INCLUDES=\
|
|
$(PINCACHE_ROOT);\
|
|
$(GEM_ROOT)\inc;\
|
|
$(GEM_ROOT)\gpkgui;\
|
|
$(GEM_ROOT)\compcert;\
|
|
$(SDK_INC_PATH)\mfc42
|
|
|
|
SOURCES=\
|
|
autoreg.cpp \
|
|
cspwrap.cpp \
|
|
debug.c \
|
|
gpkcsp.cpp \
|
|
gpkcsp.rc \
|
|
gpkgui.c
|
|
|
|
C_DEFINES=$(C_DEFINES) -D_UNICODE -D_USRDLL -DGPKCSP_EXPORTS -D_WINDOWS -D_DISPLAY -D_GPKCSP -DMS_BUILD
|
|
|
|
# Additional Compiler definitions
|
|
USE_MSVCRT=1
|
|
USE_STL=1
|
|
|
|
# Use C++ Exception Handling
|
|
USE_NATIVE_EH=1
|
|
|
|
# if building a DLL, base the DLL.
|
|
DLLBASE=0x08000000
|
|
|
|
#
|
|
# Enable Fusion Build Magic (preprocess the manifest, stick in resources)
|
|
#
|
|
SXS_ASSEMBLY_NAME=Microsoft.Windows.gpkcsp
|
|
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
|
|
SXS_MANIFEST=gpkcsp.manifest
|
|
SXS_MANIFEST_IN_RESOURCES=1
|
|
SXS_NO_BINPLACE=1
|
|
|
|
# the resource ID here must be 2
|
|
SXS_MANIFEST_RESOURCE_ID=2
|
|
|
|
# ISOLATION_AWARE_ENABLED ==> use ui themes
|
|
|
|
C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED
|
|
|
|
#
|
|
# Shfusion.lib causes linker warnings. Ignore them.
|
|
#
|
|
LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217
|