more lib subfolder updates
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
[.dat] -- data files
|
[.dat] -- data files
|
||||||
[.doc] -- documentation files
|
[.doc] -- documentation files
|
||||||
[.include] -- C header files
|
[.include] -- C header files
|
||||||
|
[.lib .lua535] -- Lua distribution from https://www.lua.org/
|
||||||
[.src] -- primary source files
|
[.src] -- primary source files
|
||||||
[.sys] -- parent for [.sys.*]
|
[.sys] -- parent for [.sys.*]
|
||||||
[.sys .share] -- files shared by several ports, including VMS
|
[.sys .share] -- files shared by several ports, including VMS
|
||||||
|
|||||||
+16
-2
@@ -34,8 +34,8 @@ $ gnuc_ = "GCC"
|
|||||||
$ if f$type(gcc).eqs."STRING" then gnuc_ = gcc
|
$ if f$type(gcc).eqs."STRING" then gnuc_ = gcc
|
||||||
$ gnulib = "gnu_cc:[000000]gcclib/Library" !(not used w/ vaxc)
|
$ 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)
|
$ ! 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],[-.LIB.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"")"
|
||||||
$ veryold_vms = f$extract(1,1,f$getsyi("VERSION")).eqs."4" -
|
$ veryold_vms = f$extract(1,1,f$getsyi("VERSION")).eqs."4" -
|
||||||
.and. f$extract(3,3,f$getsyi("VERSION")).lts."6"
|
.and. f$extract(3,3,f$getsyi("VERSION")).lts."6"
|
||||||
$ if veryold_vms then c_c_ = c_c_ + "/DEFINE=(""VERYOLD_VMS"")"
|
$ 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."CURSES" then interface = cursessrc
|
||||||
$ if p5.eqs."TTY+CURSES" then interface = ttysrc + "," + cursessrc
|
$ if p5.eqs."TTY+CURSES" then interface = ttysrc + "," + cursessrc
|
||||||
$ if p5.eqs."CURSES+TTY" then interface = cursessrc + "," + ttysrc
|
$ 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
|
$! create object library
|
||||||
$!
|
$!
|
||||||
|
|||||||
Reference in New Issue
Block a user