Add files via upload

This commit is contained in:
CryptoAlgo-Dev 2020-09-26 13:33:54 +08:00 committed by GitHub
parent 4b12e74c6f
commit c1a9e5638a
2 changed files with 109 additions and 0 deletions

22
Source/XPSP1/NT/dirs Normal file
View file

@ -0,0 +1,22 @@
# The ordering belowing is just a guess. Change it if you need to.
DIRS= \
Published \
QFE \
Base \
Windows \
Admin \
DS \
Shell \
InetCore \
COM \
Drivers \
Net \
SdkTools \
\
MultiMedia \
InetSrv \
PrintScan \
EndUser \
loc \
MergedComponents

87
Source/XPSP1/NT/makefil0 Normal file
View file

@ -0,0 +1,87 @@
#
# If BUILDMSG is not defined, the define it as the empty string to make
# the conditionals easier to write.
#
!INCLUDE $(NTMAKEENV)\makefile.plt
all: echobldmsg
echobldmsg:
!IF "$(BUILDMSG)" != ""
@echo.
@echo $(BUILDMSG)
!ENDIF
cleanup: nuke_binaries
clean: cleanup set_builddate set_buildnum DelPub all
quietclean: quiet_revert_public cleanup set_builddate set_buildnum DelPub all
set_builddate:
!if !defined(BUILD_DATE_SET) || !exists($(BASEDIR)\__blddate__)
@perl $(RAZZLETOOLPATH)\updtnum.pl
!endif
@echo BuildDate:
@type $(BASEDIR)\__blddate__
binplace $(BASEDIR)\__blddate__
set_buildnum:
@perl $(RAZZLETOOLPATH)\genbldno.pl
@echo BuildNumber:
@type $(BASEDIR)\__bldnum__
binplace $(BASEDIR)\__bldnum__
@echo QfeNumber:
@type $(BASEDIR)\__qfenum__
binplace $(BASEDIR)\__qfenum__
revert_public:
-revert_public.cmd
quiet_revert_public:
-revert_public.cmd -NoInteract
!ifdef BUILD_SCORCH_SAVE_PATH
SCORCH_SWITCHES=-save=$(BUILD_SCORCH_SAVE_PATH)
SCORCH_MSG1=@echo BUILDMSG: Saving extra files in: $(BUILD_SCORCH_SAVE_PATH)
!endif
!ifdef BUILD_SCORCH_ONLY_THIS_ARCH
SCORCH_SWITCHES=-arch=$(TARGET_DIRECTORY) $(SCORCH_SWITCHES)
SCORCH_MSG2=@echo BUILDMSG: Only deleting files for $(TARGET_DIRECTORY) architecture
!endif
scorch_source:
@echo BUILDMSG: Removing all r/w files from the source tree.
$(SCORCH_MSG1)
$(SCORCH_MSG2)
@perl $(RAZZLETOOLPATH)\scorch.pl -scorch=. $(SCORCH_SWITCHES)
nuke_binaries:
!if "$(_NTTREE)" != ""
# @echo BUILDMSG: Cleaning out $(_NTTREE) - Please wait
# -rd /s /q $(_NTTREE)
# @-md $(_NTTREE)
# Mark the binaries tree with the correct acls
!if !defined(OFFICIAL_BUILD_MACHINE) && !defined(BUILD_OFFLINE)
!if exists($(_NTDRIVE)$(_NTROOT)\developer\$(USERNAME)\binacl.txt)
@-razacl /SDDLfile:$(_NTDRIVE)$(_NTROOT)\developer\$(USERNAME)\binacl.txt /root:$(_NTTREE)
!else
@-razacl /SDDLfile:$(RAZZLETOOLPATH)\binariesacl.txt /root:$(_NTTREE)
!endif
!endif
# Mark the symbols and symbols.pri dirs as compressed by default.
@-md $(_NTTREE)\symbols
@-echo foo > $(_NTTREE)\symbols\sym.txt
@-md $(_NTTREE)\symbols.pri
@-echo foo > $(_NTTREE)\symbols.pri\sym.txt
@-compact /q /c /s $(_NTTREE)\symbols
@-compact /q /c /s $(_NTTREE)\symbols.pri
@-del $(_NTTREE)\symbols\sym.txt
@-del $(_NTTREE)\symbols.pri\sym.txt
!endif
DelPub:
-SubmitNewPublicFiles.cmd Delete