windows visual studio 2013 build updates

This commit is contained in:
nhmall
2016-01-01 22:01:25 -05:00
parent adcb7dc202
commit 14ce76a159
7 changed files with 194 additions and 152 deletions

View File

@@ -806,14 +806,6 @@ $(INCL)\vis_tab.h: $(U)makedefs.exe
$(SRC)\vis_tab.c: $(U)makedefs.exe
$(U)makedefs -z
$(DAT)\engrave: $(DAT)\engrave.txt $(U)makedefs.exe
..\util\makedefs -s
$(DAT)\epitaph: $(DAT)\epitaph.txt $(U)makedefs.exe
..\util\makedefs -s
$(DAT)\bogusmon: $(DAT)\bogusmon.txt $(U)makedefs.exe
..\util\makedefs -s
#==========================================
# uudecode utility and uuencoded targets
#==========================================
@@ -1269,6 +1261,15 @@ $(DAT)\quest.dat: $(O)utility.tag $(DAT)\quest.txt
$(DAT)\oracles: $(O)utility.tag $(DAT)\oracles.txt
$(U)makedefs -h
$(DAT)\engrave: $(DAT)\engrave.txt $(U)makedefs.exe
$(U)makedefs -s
$(DAT)\epitaph: $(DAT)\epitaph.txt $(U)makedefs.exe
$(U)makedefs -s
$(DAT)\bogusmon: $(DAT)\bogusmon.txt $(U)makedefs.exe
$(U)makedefs -s
$(DAT)\dungeon: $(O)utility.tag $(DAT)\dungeon.def
$(U)makedefs -e
cd $(DAT)

3
win/win32/record.uu Normal file
View File

@@ -0,0 +1,3 @@
begin 600 record.
`
end

View File

@@ -135,11 +135,11 @@
copy $(OutDir)NetHack.exe ..\binary
copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -192,11 +192,11 @@
copy $(OutDir)NetHack.exe ..\binary
copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -242,11 +242,11 @@
copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -292,11 +292,11 @@
copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -489,4 +489,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

View File

@@ -138,10 +138,12 @@
<Command>copy $(OutDir)NetHackW.exe ..\binary
copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -199,10 +201,12 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
<Command>copy $(OutDir)NetHackW.exe ..\binary
copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -264,6 +268,7 @@ if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -322,6 +327,7 @@ if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -505,4 +511,4 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

View File

@@ -135,6 +135,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst
@@ -206,6 +209,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst
@@ -280,6 +286,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst
@@ -352,6 +361,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst
@@ -432,4 +444,4 @@ if NOT exist ..\binary\*.* mkdir ..\binary
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

View File

@@ -123,40 +123,43 @@
</Bscmake>
<PostBuildEvent>
<Message>Running makedefs</Message>
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -201,40 +204,43 @@ copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
</Bscmake>
<PostBuildEvent>
<Message>Running makedefs</Message>
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -282,40 +288,43 @@ copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
</Bscmake>
<PostBuildEvent>
<Message>Running makedefs</Message>
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -361,40 +370,43 @@ copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
</Bscmake>
<PostBuildEvent>
<Message>Running makedefs</Message>
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
<Command>echo chdir ..\util
chdir ..\util
chdir
echo makedefs.exe -v
makedefs.exe -v
echo makedefs.exe -o
makedefs.exe -o
echo makedefs.exe -p
makedefs.exe -p
echo makedefs.exe -m
makedefs.exe -m
echo makedefs.exe -z
makedefs.exe -z
echo chdir ..\dat
chdir ..\dat
chdir
echo Generating NetHack database
echo ..\util\makedefs.exe -d
..\util\makedefs.exe -d
echo Generating rumors
echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests
echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q
echo Generating oracles
echo ..\util\makedefs.exe -h
..\util\makedefs.exe -h
echo Generating dungeon.pdf
echo ..\util\makedefs.exe -e
..\util\makedefs.exe -e
echo chdir ..\build
chdir ..\build
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -449,4 +461,4 @@ copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

View File

@@ -139,6 +139,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary
</Command>
</PostBuildEvent>
@@ -200,6 +202,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary
</Command>
</PostBuildEvent>
@@ -264,6 +268,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary
</Command>
</PostBuildEvent>
@@ -326,6 +332,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary
</Command>
</PostBuildEvent>