VMS update from KevinS (2 of 2: sys/vms)
Update the command procedure that can be used to compile and link everything. The sys/vms Makefiles still need updating. I added 'tribute' to the command procedure used to create and populate the plaground directory but am not able to test it.
This commit is contained in:
@@ -4,6 +4,10 @@ $ ! $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
||||
$ !
|
||||
$ ! Use vmsbuild.com to create nethack.exe, makedefs, and lev_comp *first*.
|
||||
$ !
|
||||
$ ! Note: this command procedure is also used by the top level Makefile
|
||||
$ ! if you build and install with MMS or MMK. In that situation, only the
|
||||
$ ! Makefile will need any editing.
|
||||
$ !
|
||||
$ ! Edit this file to define gamedir & gameuic, or else invoke it with two
|
||||
$ ! command line parameters, as in:
|
||||
$ ! @[.sys.vms]install "disk$users:[games.nethack]" "games"
|
||||
@@ -21,7 +25,7 @@ $ ! note: all filespecs contain some punctuation,
|
||||
$ ! to avoid inadvertent logical name interaction
|
||||
$ play_files = "PERM.,RECORD.,LOGFILE.,PANICLOG."
|
||||
$ help_files = "HELP.,HH.,CMDHELP.,WIZHELP.,OPTHELP.,HISTORY.,LICENSE."
|
||||
$ data_files = "DATA.,RUMORS.,ORACLES.,OPTIONS.,QUEST.DAT"
|
||||
$ data_files = "DATA.,RUMORS.,ORACLES.,OPTIONS.,QUEST.DAT,TRIBUTE."
|
||||
$ guidebook = "[.doc]Guidebook.txt"
|
||||
$ invoc_proc = "[.sys.vms]nethack.com"
|
||||
$ trmcp_file = "[.sys.share]termcap"
|
||||
|
||||
@@ -221,6 +221,7 @@ $begin:
|
||||
$!
|
||||
$! miscellaneous special source file setup
|
||||
$!
|
||||
$ if f$search("pmatchregex.c").eqs."" then copy [-.sys.share]pmatchregex.c []*.*
|
||||
$ if f$search("random.c").eqs."" then copy [-.sys.share]random.c []*.*
|
||||
$ if f$search("tclib.c") .eqs."" then copy [-.sys.share]tclib.c []*.*
|
||||
$ if f$search("[-.util]lev_yacc.c").eqs."" then @[-.sys.vms]spec_lev.com
|
||||
@@ -255,7 +256,7 @@ $ set default [-.src]
|
||||
$! compile most of the source files:
|
||||
$ c_list = "decl,version,[-.sys.vms]vmsmain,[-.sys.vms]vmsunix" -
|
||||
+ ",[-.sys.vms]vmstty,[-.sys.vms]vmsmail" -
|
||||
+ ",[]random,[]tclib" !copied from [-.sys.share]
|
||||
+ ",[]random,[]tclib,[]pmatchregex" !copied from [-.sys.share]
|
||||
$ gosub compile_list
|
||||
$ c_list = "[-.win.tty]getline,[-.win.tty]termcap" -
|
||||
+ ",[-.win.tty]topl,[-.win.tty]wintty"
|
||||
|
||||
Reference in New Issue
Block a user