!IF 0 Copyright (c) 1989-2001 Microsoft Corporation !ENDIF SYNCHRONIZE_DRAIN=1 FUSION_BUILD_TYPE=WIN !include $(PROJECT_ROOT)\win32\fusion\fusion.inc TARGETPATH=obj TARGETNAME=sxs TARGETTYPE=DYNLINK UMTYPE=windows DLLBASE=0x65000000 DLLDEF=sxs.def DLLENTRY=SxsDllMain LINKER_FLAGS=$(LINKER_FLAGS) -map #LINKER_FLAGS=$(LINKER_FLAGS) -verbose # # Defined specific for test to build code coverage bits since sanjays # is trying to find out why NTBBT set doesn't prop the ,fixup flag # !IFDEF SXSTESTBBT LINKER_FLAGS=$(LINKER_FLAGS) -debugtype:cv,fixup !ENDIF BINPLACE_PLACEFILE="..\placefil.txt" MISCFILES= \ Windows_Side-By-Side_Assemblies_{BCEACD41-D397-4DFE-902E-D0F26E7B0B70}.sld \ Primitive_osuninst.sld INCLUDES= \ $(FUSION_PATH)\sxs;\ $(FUSION_INC_PATH);\ $(FUSION_PATH)\xmlparser;\ $(FUSION_PATH)\id;\ $(FUSION_PATH)\inc;\ $(FUSION_PATH)\eventlog\whistler\$(O);\ $(FUSION_PATH)\idl\$(O);\ ..;\ $(INCLUDES);\ $(COM_INC_PATH) DELAYLOAD=rpcrt4.dll;imagehlp.dll;crypt32.dll;setupapi.dll #C_DEFINES=$(C_DEFINES) -DDELAYLOAD="\"$(DELAYLOAD:;=\0)\0\"" DLOAD_ERROR_HANDLER=kernel32 PASS1_PUBLISH= \ {$(O)\sxs.lib=$(PROJECT_LIB_PATH)\sxs.lib} # # !if doesn't work properly in all cases in build.exe, including this one. # This is a workaround, using a "switch" instead of an !if, just like # makefile.def does. # # TARGET_DIRECTORY is one of [i386, ia64, amd64]. We have all three # files, though some are empty. # !include $(TARGET_DIRECTORY)sxsmk.inc LINKLIBS=\ $(FUSION_LIB_PATH)\$(FUSION_BUILD_TYPE_PREFIX)sxsmain.lib \ $(FUSION_WIN_LIB_PATH)\winsxs1.lib \ $(FUSION_WIN_LIB_PATH)\winsxs2.lib # # Be sure to keep ntdll.lib ahead of libcmt.lib, so we # get more of the CRT of ntdll.dll. Do not rely on the # friendly build.exe options that link you with these "automagically". # TARGETLIBS=\ $(TARGETLIBS) \ !if !$(AMD64) $(SDK_LIB_PATH)\chkstk.obj \ !endif $(SDK_LIB_PATH)\noenv.obj \ $(SDK_LIB_PATH)\noarg.obj \ $(SDK_LIB_PATH)\smalheap.obj \ $(SDK_LIB_PATH)\ntdll.lib \ $(SDK_LIB_PATH)\libcmt.lib \ $(SDK_LIB_PATH)\uuid.lib \ $(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\kernl32p.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\crypt32.lib \ $(SDK_LIB_PATH)\rpcrt4.lib \ $(SDK_LIB_PATH)\setupapi.lib \ $(SDK_LIB_PATH)\imagehlp.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\wintrust.lib \ $(SDK_LIB_PATH)\mpr.lib \ $(FUSION_LIB_PATH)\$(FUSION_BUILD_TYPE_PREFIX)utils.lib \ $(FUSION_LIB_PATH)\$(FUSION_BUILD_TYPE_PREFIX)xmlparser.lib \ $(FUSION_LIB_PATH)\$(FUSION_BUILD_TYPE_PREFIX)id.lib \ $(FUSION_LIB_PATH)\$(FUSION_BUILD_TYPE_PREFIX)eventlog.lib \ $(FUSION_LIB_PATH)\$(FUSION_BUILD_TYPE_PREFIX)uuid.lib \ $(FUSION_LIB_PATH)\$(FUSION_BUILD_TYPE_PREFIX)xml.lib i386_SOURCES=\ i386\exitprocasm.asm \ i386\setunhandledexceptionfilterasm.asm \ i386\termprocasm.asm SOURCES=\ sxs.rc \ exitproc.c \ setunhandledexceptionfilter.c \ termproc.c \