more lib subfolder updates
This commit is contained in:
@@ -16,39 +16,40 @@
|
||||
structure. You should set up a directory--referred to as "top" below
|
||||
and in some of the assorted files, but which may be a subdirectory--
|
||||
that has these subdirectories
|
||||
[.dat] -- data files
|
||||
[.doc] -- documentation files
|
||||
[.include] -- C header files
|
||||
[.src] -- primary source files
|
||||
[.sys] -- parent for [.sys.*]
|
||||
[.sys .share] -- files shared by several ports, including VMS
|
||||
[.sys .vms] -- VMS-specific source and support files
|
||||
[.util] -- sources for essential utility programs
|
||||
[.win] -- parent for [.win.*]
|
||||
[.win .tty] -- "window" routines for ordinary terminals
|
||||
[.dat] -- data files
|
||||
[.doc] -- documentation files
|
||||
[.include] -- C header files
|
||||
[.lib .lua535] -- Lua distribution from https://www.lua.org/
|
||||
[.src] -- primary source files
|
||||
[.sys] -- parent for [.sys.*]
|
||||
[.sys .share] -- files shared by several ports, including VMS
|
||||
[.sys .vms] -- VMS-specific source and support files
|
||||
[.util] -- sources for essential utility programs
|
||||
[.win] -- parent for [.win.*]
|
||||
[.win .tty] -- "window" routines for ordinary terminals
|
||||
(including terminal windows on workstations)
|
||||
The following subdirectories may be present, but are not useful for
|
||||
building NetHack on VMS and are not required:
|
||||
[.sys .amiga] -- AmigaDOS
|
||||
[.sys .atari] -- Atari TOS
|
||||
[.sys .be] -- BeBox BeOS
|
||||
[.sys .mac] -- Macintosh
|
||||
[.sys .msdos] -- MSDOS for IBM PCs and compatibles
|
||||
[.sys .os2] -- OS/2
|
||||
[.sys .amiga] -- AmigaDOS
|
||||
[.sys .atari] -- Atari TOS
|
||||
[.sys .be] -- BeBox BeOS
|
||||
[.sys .mac] -- Macintosh
|
||||
[.sys .msdos] -- MSDOS for IBM PCs and compatibles
|
||||
[.sys .os2] -- OS/2
|
||||
[.sys .share .sounds] -- AIFF format audio files
|
||||
[.sys .unix] -- guess :-)
|
||||
[.sys .unix] -- guess :-)
|
||||
[.sys .unit .hints] -- configuration data for setup.sh
|
||||
[.sys .wince] -- Windows CE
|
||||
[.sys .wince] -- Windows CE
|
||||
[.sys .wince .ceinc] -- more WinCE
|
||||
[.sys .wince .ceinc .sys] -- ditto
|
||||
[.sys .winnt] -- Windows NT
|
||||
[.win .gem] -- window routines for Atari/GEM
|
||||
[.win .gnome] -- window routines for Unix/GNOME
|
||||
[.win .Qt] -- window routines for Qt
|
||||
[.win .share] -- "tile" graphic support
|
||||
[.win .win32] -- Windows NT and Windows CE
|
||||
[.win .X11] -- window routines for X-Windows; requires X11R4
|
||||
or later and MIT's Athena Widget set
|
||||
[.sys .winnt] -- Windows NT
|
||||
[.win .gem] -- window routines for Atari/GEM
|
||||
[.win .gnome] -- window routines for Unix/GNOME
|
||||
[.win .Qt] -- window routines for Qt
|
||||
[.win .share] -- "tile" graphic support
|
||||
[.win .win32] -- Windows NT and Windows CE
|
||||
[.win .X11] -- window routines for X-Windows; requires X11R4
|
||||
or later and MIT's Athena Widget set
|
||||
You must arrange things in this structure or the supplied procedures
|
||||
and instructions in this file will not work properly. Several DCL
|
||||
command files are present in the [.sys.vms] subdirectory and will not
|
||||
|
||||
@@ -34,8 +34,8 @@ $ gnuc_ = "GCC"
|
||||
$ if f$type(gcc).eqs."STRING" then gnuc_ = gcc
|
||||
$ gnulib = "gnu_cc:[000000]gcclib/Library" !(not used w/ vaxc)
|
||||
$ ! common CC options (/obj=file doesn't work for GCC 1.36, use rename instead)
|
||||
$ ! c_c_ = "/INCLUDE=([-.INCLUDE],[-.-.LUA535.SRC])/DEFINE=(""LUA_USE_C89"",""LUA_32BITS"")"
|
||||
$ c_c_ = "/INCLUDE=([-.INCLUDE],[-.-.LUA535.SRC])/DEFINE=(""LUA_USE_C89"")"
|
||||
$ ! c_c_ = "/INCLUDE=([-.INCLUDE],[-.LIB.LUA535.SRC])/DEFINE=(""LUA_USE_C89"",""LUA_32BITS"")"
|
||||
$ c_c_ = "/INCLUDE=([-.INCLUDE],[-.LIB.LUA535.SRC])/DEFINE=(""LUA_USE_C89"")"
|
||||
$ veryold_vms = f$extract(1,1,f$getsyi("VERSION")).eqs."4" -
|
||||
.and. f$extract(3,3,f$getsyi("VERSION")).lts."6"
|
||||
$ if veryold_vms then c_c_ = c_c_ + "/DEFINE=(""VERYOLD_VMS"")"
|
||||
@@ -251,6 +251,20 @@ $ interface = ttysrc !default
|
||||
$ if p5.eqs."CURSES" then interface = cursessrc
|
||||
$ if p5.eqs."TTY+CURSES" then interface = ttysrc + "," + cursessrc
|
||||
$ if p5.eqs."CURSES+TTY" then interface = cursessrc + "," + ttysrc
|
||||
|
||||
$ if f$search("[-.include]nhlua.h").eqs.""
|
||||
$ then
|
||||
$ create [-.include]nhlua.h !empty
|
||||
$ set file/att=(RFM:STM) [-.include]nhlua.h
|
||||
$ open/Append f [-.include]nhlua.h
|
||||
$ write f "/* nhlua.h - generated by vmsbuild.com */"
|
||||
$ write f "#include ""[-.lib.lua535.src]lua.h"""
|
||||
$ write f "LUA_API int (lua_error) (lua_State *L) NORETURN;"
|
||||
$ write f "#include ""[-.lib.lua535.src]lualib.h"""
|
||||
$ write f "#include ""[-.lib.lua535.src]lauxlib.h"""
|
||||
$ write f "/*nhlua.h*/"
|
||||
$ close f
|
||||
$ endif
|
||||
$!
|
||||
$! create object library
|
||||
$!
|
||||
|
||||
Reference in New Issue
Block a user