From: PatR Date: Tue, 8 Sep 2015 23:46:07 +0000 (-0700) Subject: VMS update from KevinS (2 of 2: sys/vms) X-Git-Tag: NetHack-3.6.0_RC01~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27efe608d705c78f41910ef1eb9c5759eb661c07;p=nethack 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. --- diff --git a/sys/vms/install.com b/sys/vms/install.com index ead22155f..87f5fb7c0 100755 --- a/sys/vms/install.com +++ b/sys/vms/install.com @@ -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" diff --git a/sys/vms/vmsbuild.com b/sys/vms/vmsbuild.com index 896916cdf..1ae200e0a 100755 --- a/sys/vms/vmsbuild.com +++ b/sys/vms/vmsbuild.com @@ -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"