OPTIONS_FILE port changes

- set OPTIONS_FILE in ntconf.h so makedefs will use it
- it gets set to either "ttyoptions" or "guioptions" depending on window port
 being built
- dlb nhdat creation stuffs both into the dlb file
This commit is contained in:
nethack.allison
2002-03-04 03:26:55 +00:00
parent b8b2b8bd51
commit 3dd82542fb
4 changed files with 111 additions and 33 deletions

View File

@@ -55,7 +55,30 @@ LINK32=link.exe
# Begin Special Build Tool
SOURCE="$(InputPath)"
PostBuild_Desc=Packaging via DLB
PostBuild_Cmds=echo chdir ..\dat chdir ..\dat chdir echo data >dlb.lst echo oracles >>dlb.lst echo options >>dlb.lst echo quest.dat >>dlb.lst echo rumors >>dlb.lst echo help >>dlb.lst echo hh >>dlb.lst echo cmdhelp >>dlb.lst echo history >>dlb.lst echo opthelp >>dlb.lst echo wizhelp >>dlb.lst echo dungeon >>dlb.lst echo license >>dlb.lst for %%N in (*.lev) do echo %%N >>dlb.lst ..\util\dlb_main.exe cIf dlb.lst nhdat echo chdir ..\build chdir ..\build echo if NOT exist ..\binary\*.* mkdir ..\binary if NOT exist ..\binary\*.* mkdir ..\binary
PostBuild_Cmds=echo chdir ..\dat \
chdir ..\dat \
chdir \
echo data >dlb.lst \
echo oracles >>dlb.lst \
if exist options echo options >>dlb.lst \
if exist ttyoptions echo ttyoptions >>dlb.lst \
if exist guioptions echo guioptions >>dlb.lst \
echo quest.dat >>dlb.lst \
echo rumors >>dlb.lst \
echo help >>dlb.lst \
echo hh >>dlb.lst \
echo cmdhelp >>dlb.lst \
echo history >>dlb.lst \
echo opthelp >>dlb.lst \
echo wizhelp >>dlb.lst \
echo dungeon >>dlb.lst \
echo license >>dlb.lst \
for %%N in (*.lev) do echo %%N >>dlb.lst \
..\util\dlb_main.exe cIf dlb.lst nhdat \
echo chdir ..\build \
chdir ..\build \
echo if NOT exist ..\binary\*.* mkdir ..\binary \
if NOT exist ..\binary\*.* mkdir ..\binary
# End Special Build Tool
!ELSEIF "$(CFG)" == "dlb_main - Win32 Debug"
@@ -84,7 +107,30 @@ LINK32=link.exe
# Begin Special Build Tool
SOURCE="$(InputPath)"
PostBuild_Desc=Packaging via dlb
PostBuild_Cmds=echo chdir ..\dat chdir ..\dat chdir echo data >dlb.lst echo oracles >>dlb.lst echo options >>dlb.lst echo quest.dat >>dlb.lst echo rumors >>dlb.lst echo help >>dlb.lst echo hh >>dlb.lst echo cmdhelp >>dlb.lst echo history >>dlb.lst echo opthelp >>dlb.lst echo wizhelp >>dlb.lst echo dungeon >>dlb.lst echo license >>dlb.lst for %%N in (*.lev) do echo %%N >>dlb.lst ..\util\dlb_main.exe cIf dlb.lst nhdat echo chdir ..\build chdir ..\build echo if NOT exist ..\binary\*.* mkdir ..\binary if NOT exist ..\binary\*.* mkdir ..\binary
PostBuild_Cmds=echo chdir ..\dat \
chdir ..\dat \
chdir \
echo data >dlb.lst \
echo oracles >>dlb.lst \
if exist options echo options >>dlb.lst \
if exist ttyoptions echo ttyoptions >>dlb.lst \
if exist guioptions echo guioptions >>dlb.lst \
echo quest.dat >>dlb.lst \
echo rumors >>dlb.lst \
echo help >>dlb.lst \
echo hh >>dlb.lst \
echo cmdhelp >>dlb.lst \
echo history >>dlb.lst \
echo opthelp >>dlb.lst \
echo wizhelp >>dlb.lst \
echo dungeon >>dlb.lst \
echo license >>dlb.lst \
for %%N in (*.lev) do echo %%N >>dlb.lst \
..\util\dlb_main.exe cIf dlb.lst nhdat \
echo chdir ..\build \
chdir ..\build \
echo if NOT exist ..\binary\*.* mkdir ..\binary \
if NOT exist ..\binary\*.* mkdir ..\binary
# End Special Build Tool
!ENDIF