ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.24
Committed: Sat Dec 15 15:18:07 1990 UTC (33 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.23: +4 -2 lines
Log Message:
added mat4.h dependencies

File Contents

# User Rev Content
1 greg 1.1 # SCCSid "$SunId$ LBL"
2    
3     #
4     # Compiles for pixel file plotters.
5     #
6    
7 greg 1.8 OPT = -O
8 greg 1.14 MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il -DIEEE
9 greg 1.8 CFLAGS = $(OPT) $(MACH)
10 greg 1.1
11     INSTDIR = /usr/local/ray
12    
13 greg 1.8 CALDEFS = -DFUNCTION -DVARIABLE -DRCONST -DBIGLIB
14 greg 1.1
15 greg 1.4 PIXAR_INCLUDE= -I/usr/pixar/include
16     PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm
17    
18 greg 1.7 PROGS = pfilt ttyimage aedimage oki20c paintjet mt160r getinfo psign \
19 greg 1.19 greyscale pvalue pcompos colorscale ra_pr ra_pr24 ximage prot \
20 greg 1.18 ra_t8 ra_bn ra_t16 pcomb pinterp x11image xshowtrace
21 greg 1.1
22     all: $(PROGS)
23    
24     install: $(PROGS)
25     cp $(PROGS) $(INSTDIR)
26    
27 greg 1.23 pfilt: pfilt.o pf2.o pf3.o resolu.o color.o header.o lamps.o \
28     rexpr.o fropen.o spec_rgb.o
29     cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o resolu.o color.o \
30     header.o lamps.o rexpr.o fropen.o spec_rgb.o -lm
31 greg 1.1
32 greg 1.21 ttyimage: ttyimage.o resolu.o color.o colrops.o header.o
33     cc $(CFLAGS) -o ttyimage ttyimage.o resolu.o color.o colrops.o \
34     header.o -lm
35 greg 1.1
36 greg 1.18 t4027: t4027.o color.o resolu.o
37     cc $(CFLAGS) -o t4027 t4027.o color.o resolu.o
38 greg 1.1
39 greg 1.21 glimage: glimage.o color.o colrops.o resolu.o header.o
40     cc $(CFLAGS) -o glimage glimage.o color.o colrops.o resolu.o \
41     header.o -lgl_s -lm
42 greg 1.16
43 greg 1.21 aedimage: aedimage.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
44     ealloc.o biq.o header.o
45     cc $(CFLAGS) -o aedimage aedimage.o color.o colrops.o resolu.o \
46     ciq.o cut.o closest.o ealloc.o biq.o header.o -lm
47 greg 1.1
48 greg 1.21 oki20c: oki20c.o color.o colrops.o resolu.o header.o
49     cc $(CFLAGS) -o oki20c oki20c.o color.o colrops.o resolu.o header.o -lm
50 greg 1.7
51 greg 1.21 paintjet: paintjet.o color.o colrops.o resolu.o header.o
52     cc $(CFLAGS) -o paintjet paintjet.o color.o colrops.o resolu.o \
53     header.o -lm
54 greg 1.1
55 greg 1.21 mt160r: mt160r.o color.o colrops.o resolu.o header.o
56     cc $(CFLAGS) -o mt160r mt160r.o color.o colrops.o resolu.o header.o -lm
57 greg 1.1
58     getinfo: getinfo.o header.o
59     cc $(CFLAGS) -n -o getinfo getinfo.o header.o
60    
61 greg 1.18 greyscale: greyscale.o color.o resolu.o
62     cc $(CFLAGS) -o greyscale greyscale.o color.o resolu.o -lm
63 greg 1.1
64 greg 1.18 colorscale: colorscale.o color.o resolu.o
65     cc $(CFLAGS) -o colorscale colorscale.o color.o resolu.o
66 greg 1.1
67 greg 1.18 pvalue: pvalue.o color.o resolu.o header.o
68     cc $(CFLAGS) -o pvalue pvalue.o color.o resolu.o header.o
69 greg 1.1
70 greg 1.18 psum: psum.o color.o resolu.o header.o
71     cc $(CFLAGS) -o psum psum.o color.o resolu.o header.o
72 greg 1.1
73 greg 1.18 pcompos: pcompos.o color.o resolu.o header.o
74     cc $(CFLAGS) -o pcompos pcompos.o color.o resolu.o header.o
75 greg 1.1
76 greg 1.23 psign: psign.o color.o resolu.o fropen.o
77     cc $(CFLAGS) -o psign psign.o color.o resolu.o fropen.o
78 greg 1.1
79 greg 1.18 d48c: d48c.o color.o resolu.o
80     cc $(CFLAGS) -o d48c d48c.o color.o resolu.o
81 greg 1.1
82 greg 1.21 ra_pr: ra_pr.o ciq.o cut.o closest.o color.o colrops.o resolu.o ealloc.o \
83     header.o biq.o
84 greg 1.1 cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
85 greg 1.21 color.o colrops.o resolu.o ealloc.o header.o biq.o -lm
86 greg 1.1
87 greg 1.21 ra_pr24: ra_pr24.o color.o colrops.o resolu.o header.o
88 greg 1.20 cc $(CFLAGS) -o ra_pr24 ra_pr24.o color.o colrops.o resolu.o \
89     header.o -lm
90 greg 1.19
91 greg 1.21 ra_t8: ra_t8.o ciq.o cut.o closest.o color.o colrops.o resolu.o \
92     ealloc.o header.o biq.o
93 greg 1.1 cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \
94 greg 1.21 color.o colrops.o resolu.o ealloc.o header.o biq.o -lm
95 greg 1.1
96 greg 1.21 ra_t16: ra_t16.o color.o colrops.o resolu.o ealloc.o header.o
97     cc $(CFLAGS) -o ra_t16 ra_t16.o color.o colrops.o \
98     resolu.o ealloc.o header.o -lm
99 greg 1.1
100     ra_im: ra_im.o
101     cc $(CFLAGS) -n -o ra_im ra_im.o
102    
103 greg 1.21 ra_bn: ra_bn.o color.o colrops.o resolu.o header.o
104     cc $(CFLAGS) -o ra_bn ra_bn.o color.o colrops.o resolu.o header.o -lm
105 greg 1.1
106 greg 1.21 ximage: ximage.o color.o colrops.o resolu.o ciq.o cut.o closest.o ealloc.o \
107 greg 1.1 xraster.o header.o biq.o image.o fvect.o
108 greg 1.21 cc $(CFLAGS) -o ximage ximage.o color.o colrops.o resolu.o xraster.o \
109 greg 1.1 header.o ciq.o cut.o closest.o ealloc.o biq.o image.o fvect.o -lX -lm
110    
111 greg 1.21 x11image: x11image.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
112     ealloc.o x11raster.o header.o biq.o image.o fvect.o
113     cc $(CFLAGS) -o x11image x11image.o color.o colrops.o resolu.o \
114     x11raster.o header.o ciq.o cut.o closest.o ealloc.o biq.o image.o \
115     fvect.o -lX11 -lm
116 greg 1.17
117 greg 1.18 prot: prot.o color.o resolu.o header.o
118     cc $(CFLAGS) -o prot prot.o color.o resolu.o header.o
119 greg 1.1
120 greg 1.21 panim: panim.o color.o colrops.o resolu.o header.o client/libclient.a
121     cc $(CFLAGS) -o panim panim.o color.o colrops.o resolu.o header.o \
122 greg 1.18 client/libclient.a -lrpcsvc -lm
123 greg 1.1
124 greg 1.18 pcomb: pcomb.o calexpr.o calfunc.o caldefn.o color.o resolu.o \
125 greg 1.1 header.o ealloc.o savestr.o
126     cc $(CFLAGS) -o pcomb pcomb.o calexpr.o calfunc.o caldefn.o \
127 greg 1.18 color.o resolu.o header.o ealloc.o savestr.o -lm
128 greg 1.1
129 greg 1.18 pinterp: pinterp.o image.o header.o color.o resolu.o fvect.o mat4.o
130 greg 1.11 cc $(CFLAGS) -o pinterp pinterp.o image.o header.o mat4.o \
131 greg 1.18 fvect.o color.o resolu.o -lm
132 greg 1.10
133 greg 1.18 ra_pixar: ra_pixar.o ra_pixar.c color.o resolu.o header.o
134     cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o color.o resolu.o header.o \
135 greg 1.4 $(PIXAR_LIB)
136    
137 greg 1.1 calexpr.o: calexpr.c
138     cc $(CFLAGS) $(CALDEFS) -c calexpr.c
139    
140     calfunc.o: calfunc.c
141     cc $(CFLAGS) $(CALDEFS) -c calfunc.c
142    
143     caldefn.o: caldefn.c
144     cc $(CFLAGS) $(CALDEFS) -c caldefn.c
145 greg 1.4
146     ra_pixar.o: ra_pixar.c
147     cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
148 greg 1.1
149 greg 1.18 xshowtrace: xshowtrace.o image.o resolu.o header.o fvect.o
150     cc $(CFLAGS) -o xshowtrace xshowtrace.o image.o resolu.o header.o \
151     fvect.o -lm -lX11
152    
153 greg 1.24 xshowtrace.o: view.h standard.h mat4.h fvect.h
154 greg 1.18
155 greg 1.24 mat4.o: mat4.h fvect.h
156    
157 greg 1.1 pcomb.o calexpr.o calfunc.o caldefn.o: calcomp.h
158    
159 greg 1.18 panim.o: client/scan.h color.h random.h
160 greg 1.1
161     pf2.o bnoise.o: random.h
162    
163 greg 1.3 ra_t16.o: random.h
164    
165 greg 1.19 pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \
166 greg 1.20 d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \
167     greyscale.o ra_t8.o glimage.o \
168 greg 1.12 ra_bn.o ra_t16.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: color.h
169 greg 1.1
170 greg 1.24 prot.o biq.o ciq.o pinterp.o ximage.o image.o: standard.h mat4.h fvect.h
171 greg 1.1
172 greg 1.17 ximage.o x11raster.o: xraster.h
173    
174     x11image.o x11raster.o: x11raster.h
175 greg 1.1
176     ra_t8.o: targa.h
177    
178     fvect.o: fvect.h
179    
180     aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
181    
182     ciq.o cut.o closest.o biq.o: pic.h ciq.h
183    
184 greg 1.10 pinterp.o ximage.o image.o: view.h