From c1a9e5638aa7cfdf5c8fd6e025c05dc9b460bdbb Mon Sep 17 00:00:00 2001 From: CryptoAlgo-Dev <64193267+cryptoAlgorithm@users.noreply.github.com> Date: Sat, 26 Sep 2020 13:33:54 +0800 Subject: [PATCH] Add files via upload --- Source/XPSP1/NT/dirs | 22 ++++++++++ Source/XPSP1/NT/makefil0 | 87 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 Source/XPSP1/NT/dirs create mode 100644 Source/XPSP1/NT/makefil0 diff --git a/Source/XPSP1/NT/dirs b/Source/XPSP1/NT/dirs new file mode 100644 index 000000000..60583353c --- /dev/null +++ b/Source/XPSP1/NT/dirs @@ -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 diff --git a/Source/XPSP1/NT/makefil0 b/Source/XPSP1/NT/makefil0 new file mode 100644 index 000000000..141576672 --- /dev/null +++ b/Source/XPSP1/NT/makefil0 @@ -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