File: buildvms.com

package info (click to toggle)
gnuplot 3.5beta6.340-5
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 4,792 kB
  • ctags: 4,205
  • sloc: ansic: 41,878; asm: 539; makefile: 498; objc: 379; csh: 297; sh: 277; pascal: 194; perl: 138; lisp: 88
file content (98 lines) | stat: -rw-r--r-- 2,659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
$ ! buildvms.com  (Command file to compile/link gnuplot and doc2hlp)
$ set noon
$!
$! detect compiler - drd
$! if DECC is around, assume that, else gcc is preferred. Finally vaxc
$ its_decc = (f$search("SYS$SYSTEM:DECC$COMPILER.EXE") .nes. "")
$ its_gnuc = .not.its_decc .and. (f$trnlnm("gnu_cc").nes."")
$ its_vaxc = .not. (its_decc .or. its_gnuc)
$ its_decw = (f$trnlnm("DECW$INCLUDE") .nes. "") 
$
$! configure
$
$ if its_decc
$ then pfix = "/prefix=all"
$      rtl  = "DECCRTL"
$ else pfix = ""
$      rtl  = "VAXCRTL"
$ endif
$
$ if its_decw
$ then CFLAGS    = "/NOWARN/NOOP/DEFINE=(X11,NOGAMMA,NO_GIH,PIPES,''rtl')''pfix'"
$ else CFLAGS    = "/NOWARN/NOOP/DEFINE=(NOGAMMA,NO_GIH,PIPES,''rtl')''pfix'"
$ endif
$!
$ TERMFLAGS = "/INCLUDE=[.term]"
$
$ if its_gnuc
$ then cc := GCC/NOCASE
$      EXTRALIB = ",GNU_CC:[000000]GCCLIB/LIB"
$ else EXTRALIB = ""
$ endif
$
$ if its_decc
$ then CFLAGS="''cflags'/prefix=all"
$      LINKOPT=""
$ else LINKOPT=",sys$disk:[]linkvms.opt/opt"
$ endif
$
$ if its_decw
$ then DEFINE/NOLOG X11 DECW$INCLUDE
$      DEFINE SYS SYS$LIBRARY
$ endif
$
$ set verify
$ cc 'CFLAGS' alloc.c
$ cc 'CFLAGS' binary.c
$ cc 'CFLAGS' bitmap.c
$ cc 'CFLAGS' command.c
$ cc 'CFLAGS' contour.c
$ cc 'CFLAGS' datafile.c
$ cc 'CFLAGS' eval.c
$ cc 'CFLAGS' fit.c
$ cc 'CFLAGS' graphics.c
$ cc 'CFLAGS' graph3d.c
$ cc 'CFLAGS' hidden3d.c
$ cc 'CFLAGS' internal.c
$ cc 'CFLAGS' interpol.c
$ cc 'CFLAGS' matrix.c
$ cc 'cflags' misc.c
$ cc 'CFLAGS' parse.c
$ cc 'CFLAGS' plot.c
$ cc 'CFLAGS' plot2d.c
$ cc 'CFLAGS' plot3d.c
$ cc 'CFLAGS' scanner.c
$ cc 'CFLAGS' set.c
$ cc 'CFLAGS' show.c
$ cc 'CFLAGS' specfun.c
$ cc 'CFLAGS' standard.c
$ cc 'cflags' 'TERMFLAGS' term.c
$ cc 'cflags' time.c
$ cc 'CFLAGS' util.c
$ cc 'CFLAGS' util3d.c
$ cc 'CFLAGS' version.c
$ cc 'CFLAGS' vms.c
$ link/exe=gnuplot -
bitmap,command,contour,eval,graphics,graph3d,vms,-
binary,specfun,interpol,fit,matrix,internal,misc,parse,-
plot,plot2d,plot3d,scanner,set,show,datafile,alloc,-
standard,term,util,version,util3d,hidden3d,time'extralib''LINKOPT'
$ cc 'CFLAGS' bf_test.c
$ link /exe=bf_test bf_test,binary,alloc 'extralib''LINKOPT'
$ ren bf_test.exe [.demo]
$ CC 'CFLAGS' GPLT_X11
$ LINK /exe=GNUPLOT_X11 gplt_x11 'extralib''LINKOPT',SYS$INPUT:/OPT
SYS$SHARE:DECW$XLIBSHR/SHARE
$!
$ SET DEF [.DOCS]
$ cc/OBJ=[-]doc2hlp/include=([-],[-.term]) doc2hlp.c
$ SET DEF [-]
$ link doc2hlp 'extralib' 'LINKOPT'
$ doc2hlp := $sys$disk:[]doc2hlp
$ doc2hlp [.docs]gnuplot.doc gnuplot.hlp
$ library/create/help sys$disk:[]gnuplot.hlb gnuplot.hlp
$ run [.demo]bf_test
$ write sys$output "%define GNUPLOT_X11 :== $Disk:[directory]GNUPLOT_X11"
$ set noverify
$ deassign x11
$ exit