]> granicus.if.org Git - nethack/commitdiff
VMS update from KevinS (2 of 2: sys/vms)
authorPatR <rankin@nethack.org>
Tue, 8 Sep 2015 23:46:07 +0000 (16:46 -0700)
committerPatR <rankin@nethack.org>
Tue, 8 Sep 2015 23:46:07 +0000 (16:46 -0700)
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.

sys/vms/install.com
sys/vms/vmsbuild.com

index ead22155f838017e7866d06f05392dbede3ccb07..87f5fb7c02db0d6bdb1096b97faac170034787dd 100755 (executable)
@@ -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"
index 896916cdf0d3f503ff18e4b38f6e8c97152458ac..1ae200e0aa81806dcdc310f7d3133d170728ce5d 100755 (executable)
@@ -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"