*** empty log message ***
This commit is contained in:
parent
5e21c221e7
commit
e6be1240e1
@ -1,27 +0,0 @@
|
|||||||
$
|
|
||||||
$! build script for OpenVMS
|
|
||||||
$! define xp [dir.of.xpkit.xp]
|
|
||||||
$
|
|
||||||
$ names := awk,err,tree,tab,map,parse,run,sa,val,func,misc,extio,rex
|
|
||||||
$ gosub compile
|
|
||||||
$ gosub archive
|
|
||||||
$ exit
|
|
||||||
$
|
|
||||||
$ compile:
|
|
||||||
$ num = 0
|
|
||||||
$ compile_loop:
|
|
||||||
$ name = f$element(num,",",names)
|
|
||||||
$ if name .eqs. "," then return
|
|
||||||
$ gosub compile_file
|
|
||||||
$ num = num + 1
|
|
||||||
$ goto compile_loop
|
|
||||||
$
|
|
||||||
$ compile_file:
|
|
||||||
$ write sys$output "Compiling ''name'.c..."
|
|
||||||
$! cc/define=XP_AWK_STAND_ALONE 'name'
|
|
||||||
$ cc/define=XP_AWK_STAND_ALONE /pointer_size=long 'name'
|
|
||||||
$ return
|
|
||||||
$
|
|
||||||
$ archive:
|
|
||||||
$ write sys$output "Creating library..."
|
|
||||||
$ lib/create xpawk 'names'
|
|
@ -4,7 +4,8 @@ CFLAGS = /pointer_size=long /define=XP_AWK_STAND_ALONE
|
|||||||
LIBRFLAGS =
|
LIBRFLAGS =
|
||||||
|
|
||||||
xpawk.olb : $(objects)
|
xpawk.olb : $(objects)
|
||||||
$(LIBR)/create $(LIBRFLAGS) $(MMS$TARGET) $(objects)
|
$(LIBR)/create $(MMS$TARGET)
|
||||||
|
$(LIBR)/replace $(LIBRFLAGS) $(MMS$TARGET) $(objects)
|
||||||
|
|
||||||
awk.obj depends_on awk.c
|
awk.obj depends_on awk.c
|
||||||
err.obj depends_on err.c
|
err.obj depends_on err.c
|
||||||
|
Loading…
Reference in New Issue
Block a user