Annotation of OpenXM_contrib/gnuplot/makefile.vms, Revision 1.1.1.1
1.1 maekawa 1: #
2: # $Id: makefile.vms,v 1.26 1998/04/14 00:15:59 drd Exp $
3: #
4: #
5: # GNUPLOT Makefile
6: # for VMS
7: #
8: # use with the MAKE that was posted by Tony Ivanov (tony@gvgpvd.GVG.TEK.COM)
9: # in comp.os.vms on 5 December 1988
10: #
11:
12: ########### COMPILE OPTIONS ###########
13:
14:
15: # select these lines for DECC
16: #
17: # WHICHRTL=DECCRTL
18: # PREFIXALL=/prefix=all
19: #
20: # select these lines for VAXC
21:
22: WHICHRTL=VAXCRTL
23: CRTL_SHARE=,sys$$disk:[]linkopt.vms/opt
24:
25: # uncomment the following line for gnu cc
26: # EXTRALIB=,gnu_cc:[000000]gcclib/lib
27:
28: #maybe ABJ and AXE if that's your local convention for alpha
29: #(that's how I build vax and axp programs in same directory)
30: O=OBJ
31: X=EXE
32:
33: # NOOP NO Optimiser
34: # take out X11 if you dont want windows support
35: # pipes compiles with popen emulation (from VMS perl-5 port)
36: CFLAGS = /NOOP/define=(NO_GIH,X11,PIPES,$(WHICHRTL)) $(PREFIXALL)
37:
38: TERMFLAGS = /include=[.term]
39:
40:
41: ############## okay, that's enough fiddling ###############
42:
43: OBJS1 = alloc.$O,binary.$O,bitmap.$O,command.$O,contour.$O,datafile.$O,eval.$O,
44: OBJS2 = fit.$O,graphics.$O,graph3d.$O,hidden3d.$O,internal.$O,interpol.$O,
45: OBJS3 = matrix.$O,misc.$O,parse.$O,plot.$O,plot2d.$O,plot3d.$O,scanner.$O,set.$O,
46: OBJS4 = show.$O,specfun.$O,standard.$O,stdfn.$O,term.$O,time.$O,util.$O,util3d.$O,version.$O,vms.$O
47: OBJS = $(OBJS1)$(OBJS2)$(OBJS3)$(OBJS4)$(EXTRAOBJ)
48:
49: CSOURCE1 = command.c set.c show.c
50: CSOURCE2 = help.c graphics.c graph3d.c internal.c
51: CSOURCE3 = misc.c eval.c parse.c plot.c plot2d.c plot3d.c scanner.c standard.c stdfn.c
52: CSOURCE4 = bitmap.c term.c time.c util.c version.c interpol.c fit.c matrix.c
53: CSOURCE5 = [.term]aed.trm [.term]cgi.trm [.term]dumb.trm [.term]dxf.trm [.term]dxy.trm \
54: [.term]eepic.trm [.term]epson.trm [.term]fig.trm [.term]hp26.trm \
55: [.term]hp2648.trm [.term]hpgl.trm [.term]hpljii.trm
56: CSOURCE6 = [.term]impcodes.h [.term]imagen.trm [.term]object.h \
57: [.term]iris4d.trm [.term]kyo.trm [.term]latex.trm [.term]pbm.trm \
58: [.term]pc.trm
59: CSOURCE7 = [.term]post.trm [.term]qms.trm [.term]regis.trm [.term]sun.trm \
60: [.term]t410x.trm [.term]tek.trm [.term]unixpc.trm [.term]unixplot.trm \
61: [.term]v384.trm [.term]x11.trm gplt_x11.c
62: CSOURCE8 = contour.c specfun.c interpol.c vms.c
63:
64: all : gnuplot.$X gnuplot.hlp gnuplot.hlb
65:
66: gnuplot.$X : $(OBJS) $(EXTRAOBJ)
67: link /exe=gnuplot.$X vms.$O gnuplot.opt/opt $(EXTRAOBJ) $(EXTRALIB) $(CRTL_SHARE)
68:
69: gnuplot.hlp : doc2hlp.$X [.docs]gnuplot.doc [.docs]doc2hlp.com
70: $$@[.docs]doc2hlp.com
71:
72: gnuplot.hlb : gnuplot.hlp
73: library/create/help gnuplot.hlb gnuplot.hlp
74:
75: doc2hlp.$X: [.docs]doc2hlp.c [.docs]termdoc.c
76: $(CC) /include=([.docs],[],[.term]) [.docs]doc2hlp.c [.docs]termdoc.c
77: link /exe=doc2hlp.$X doc2hlp termdoc $(CTRL_SHARE)
78:
79: term.$O: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
80: $(CC) $(CFLAGS) $(TERMFLAGS) term.c /object=term.$O
81:
82: $(OBJS): plot.h
83:
84: command.$O help.$O misc.$O: help.h
85:
86: command.$O graphics.$O graph3d.$O misc.$O plot.$O set.$O show.$O term.O interpol.$O: setshow.h
87:
88: command.$O fit.$O matrix.$O: fit.h
89:
90: fit.$O matrix.$O: matrix.h
91:
92: bitmap.$O term.$O: bitmap.h
93:
94: clean :
95: purge/log
96: del/log *.$O;*
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>