Files
yallie 9fa3874800 Added the contents of the archive.
Moved the original file to the archive subfolder.
2017-11-20 16:11:42 +03:00

75 lines
2.7 KiB
PHP

# ==++==
#
#
# Copyright (c) 2002 Microsoft Corporation. All rights reserved.
#
# The use and distribution terms for this software are contained in the file
# named license.txt, which can be found in the root of this distribution.
# By using this software in any fashion, you are agreeing to be bound by the
# terms of this license.
#
# You must not remove this notice, or any other, from this software.
#
#
# ==--==
!INCLUDE $(NTMAKEENV)\makefile.csc
####################################################################################
# Include extra source files specifying the assembly version and strong name as
# custom attributes.
$(O)\buildversioninfo.cs: version.pp $(CORBASE)\src\inc\version\__file__.ver
perl $(NTMAKEENV)\keylocationex.pl $(ASSEMBLY_KEY_FILE) > $(O)\keydefine.h
!ifdef PLATFORM_UNIX
$(CC_NAME) -x c++ -E -C -P -nostdinc -include $(CORBASE)\src\inc\version\__file__.ver -include $(O)\keydefine.h -DCOR_BUILD_YEAR=7 -DCSC_INCLUDE version.pp > $(O)/buildversioninfo.cs
!else
cl /EP /C /FI $(CORBASE)\src\inc\version\__file__.ver /FI $(O)\keydefine.h /DCOR_BUILD_YEAR=7 /DCSC_INCLUDE version.pp > $(O)\buildversioninfo.cs
!endif
####################################################################################
#
# ResGen Stuff.
#
####################################################################################
RESGEN_PATH = $(CORBASE)\src\tools\internalresgen
RESGEN_SRC = $(RESGEN_PATH)\internalresgen.cpp
!ifdef PLATFORM_UNIX
RESGEN_TARGET = $(TARGETPATH)\internalresgen
!else
RESGEN_TARGET = $(TARGETPATH)\internalresgen.exe
!endif
$(RESGEN_TARGET): $(RESGEN_SRC) $(MSCOREE_TARGET)
-$(DELETER) $(RESGEN_TARGET)
cd $(RESGEN_PATH)
build -c
cd $(CSC_SOURCE_DIR)
####################################################################################
#
# This rule is always run and it is run before $(COMPLUSTARGET):: is run.
#
####################################################################################
$(MANAGED_RESOURCES): $(CSC_SOURCE_DIR)\resources.txt
!if "$(_TGTCPU)" == "i386"
$(TARGETPATH)\internalresgen $(CSC_SOURCE_DIR)\resources.txt $(MANAGED_RESOURCES)
!else
$(INTTOOLSTARGET)\internalresgen $(CSC_SOURCE_DIR)\resources.txt $(MANAGED_RESOURCES)
!endif
####################################################################################
# PHASE 1 pass.
####################################################################################
prep_target: $(O)\buildversioninfo.cs
####################################################################################
TARGET_EXTENSION_ = dll
TARGET_MANAGED_PDB = $(TARGETPATH)\microsoft.jscript.pdb
!INCLUDE $(NTMAKEENV)\mk_mngpdb.inc