ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 1.25
Committed: Fri Jan 4 23:35:00 1991 UTC (33 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.24: +2 -0 lines
Log Message:
added normpat.csh

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 greg 1.25 cp normpat.csh $(INSTDIR)/normpat
27     chmod 755 $(INSTDIR)/normpat
28 greg 1.1
29 greg 1.23 pfilt: pfilt.o pf2.o pf3.o resolu.o color.o header.o lamps.o \
30     rexpr.o fropen.o spec_rgb.o
31     cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o resolu.o color.o \
32     header.o lamps.o rexpr.o fropen.o spec_rgb.o -lm
33 greg 1.1
34 greg 1.21 ttyimage: ttyimage.o resolu.o color.o colrops.o header.o
35     cc $(CFLAGS) -o ttyimage ttyimage.o resolu.o color.o colrops.o \
36     header.o -lm
37 greg 1.1
38 greg 1.18 t4027: t4027.o color.o resolu.o
39     cc $(CFLAGS) -o t4027 t4027.o color.o resolu.o
40 greg 1.1
41 greg 1.21 glimage: glimage.o color.o colrops.o resolu.o header.o
42     cc $(CFLAGS) -o glimage glimage.o color.o colrops.o resolu.o \
43     header.o -lgl_s -lm
44 greg 1.16
45 greg 1.21 aedimage: aedimage.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
46     ealloc.o biq.o header.o
47     cc $(CFLAGS) -o aedimage aedimage.o color.o colrops.o resolu.o \
48     ciq.o cut.o closest.o ealloc.o biq.o header.o -lm
49 greg 1.1
50 greg 1.21 oki20c: oki20c.o color.o colrops.o resolu.o header.o
51     cc $(CFLAGS) -o oki20c oki20c.o color.o colrops.o resolu.o header.o -lm
52 greg 1.7
53 greg 1.21 paintjet: paintjet.o color.o colrops.o resolu.o header.o
54     cc $(CFLAGS) -o paintjet paintjet.o color.o colrops.o resolu.o \
55     header.o -lm
56 greg 1.1
57 greg 1.21 mt160r: mt160r.o color.o colrops.o resolu.o header.o
58     cc $(CFLAGS) -o mt160r mt160r.o color.o colrops.o resolu.o header.o -lm
59 greg 1.1
60     getinfo: getinfo.o header.o
61     cc $(CFLAGS) -n -o getinfo getinfo.o header.o
62    
63 greg 1.18 greyscale: greyscale.o color.o resolu.o
64     cc $(CFLAGS) -o greyscale greyscale.o color.o resolu.o -lm
65 greg 1.1
66 greg 1.18 colorscale: colorscale.o color.o resolu.o
67     cc $(CFLAGS) -o colorscale colorscale.o color.o resolu.o
68 greg 1.1
69 greg 1.18 pvalue: pvalue.o color.o resolu.o header.o
70     cc $(CFLAGS) -o pvalue pvalue.o color.o resolu.o header.o
71 greg 1.1
72 greg 1.18 psum: psum.o color.o resolu.o header.o
73     cc $(CFLAGS) -o psum psum.o color.o resolu.o header.o
74 greg 1.1
75 greg 1.18 pcompos: pcompos.o color.o resolu.o header.o
76     cc $(CFLAGS) -o pcompos pcompos.o color.o resolu.o header.o
77 greg 1.1
78 greg 1.23 psign: psign.o color.o resolu.o fropen.o
79     cc $(CFLAGS) -o psign psign.o color.o resolu.o fropen.o
80 greg 1.1
81 greg 1.18 d48c: d48c.o color.o resolu.o
82     cc $(CFLAGS) -o d48c d48c.o color.o resolu.o
83 greg 1.1
84 greg 1.21 ra_pr: ra_pr.o ciq.o cut.o closest.o color.o colrops.o resolu.o ealloc.o \
85     header.o biq.o
86 greg 1.1 cc $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
87 greg 1.21 color.o colrops.o resolu.o ealloc.o header.o biq.o -lm
88 greg 1.1
89 greg 1.21 ra_pr24: ra_pr24.o color.o colrops.o resolu.o header.o
90 greg 1.20 cc $(CFLAGS) -o ra_pr24 ra_pr24.o color.o colrops.o resolu.o \
91     header.o -lm
92 greg 1.19
93 greg 1.21 ra_t8: ra_t8.o ciq.o cut.o closest.o color.o colrops.o resolu.o \
94     ealloc.o header.o biq.o
95 greg 1.1 cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \
96 greg 1.21 color.o colrops.o resolu.o ealloc.o header.o biq.o -lm
97 greg 1.1
98 greg 1.21 ra_t16: ra_t16.o color.o colrops.o resolu.o ealloc.o header.o
99     cc $(CFLAGS) -o ra_t16 ra_t16.o color.o colrops.o \
100     resolu.o ealloc.o header.o -lm
101 greg 1.1
102     ra_im: ra_im.o
103     cc $(CFLAGS) -n -o ra_im ra_im.o
104    
105 greg 1.21 ra_bn: ra_bn.o color.o colrops.o resolu.o header.o
106     cc $(CFLAGS) -o ra_bn ra_bn.o color.o colrops.o resolu.o header.o -lm
107 greg 1.1
108 greg 1.21 ximage: ximage.o color.o colrops.o resolu.o ciq.o cut.o closest.o ealloc.o \
109 greg 1.1 xraster.o header.o biq.o image.o fvect.o
110 greg 1.21 cc $(CFLAGS) -o ximage ximage.o color.o colrops.o resolu.o xraster.o \
111 greg 1.1 header.o ciq.o cut.o closest.o ealloc.o biq.o image.o fvect.o -lX -lm
112    
113 greg 1.21 x11image: x11image.o color.o colrops.o resolu.o ciq.o cut.o closest.o \
114     ealloc.o x11raster.o header.o biq.o image.o fvect.o
115     cc $(CFLAGS) -o x11image x11image.o color.o colrops.o resolu.o \
116     x11raster.o header.o ciq.o cut.o closest.o ealloc.o biq.o image.o \
117     fvect.o -lX11 -lm
118 greg 1.17
119 greg 1.18 prot: prot.o color.o resolu.o header.o
120     cc $(CFLAGS) -o prot prot.o color.o resolu.o header.o
121 greg 1.1
122 greg 1.21 panim: panim.o color.o colrops.o resolu.o header.o client/libclient.a
123     cc $(CFLAGS) -o panim panim.o color.o colrops.o resolu.o header.o \
124 greg 1.18 client/libclient.a -lrpcsvc -lm
125 greg 1.1
126 greg 1.18 pcomb: pcomb.o calexpr.o calfunc.o caldefn.o color.o resolu.o \
127 greg 1.1 header.o ealloc.o savestr.o
128     cc $(CFLAGS) -o pcomb pcomb.o calexpr.o calfunc.o caldefn.o \
129 greg 1.18 color.o resolu.o header.o ealloc.o savestr.o -lm
130 greg 1.1
131 greg 1.18 pinterp: pinterp.o image.o header.o color.o resolu.o fvect.o mat4.o
132 greg 1.11 cc $(CFLAGS) -o pinterp pinterp.o image.o header.o mat4.o \
133 greg 1.18 fvect.o color.o resolu.o -lm
134 greg 1.10
135 greg 1.18 ra_pixar: ra_pixar.o ra_pixar.c color.o resolu.o header.o
136     cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o color.o resolu.o header.o \
137 greg 1.4 $(PIXAR_LIB)
138    
139 greg 1.1 calexpr.o: calexpr.c
140     cc $(CFLAGS) $(CALDEFS) -c calexpr.c
141    
142     calfunc.o: calfunc.c
143     cc $(CFLAGS) $(CALDEFS) -c calfunc.c
144    
145     caldefn.o: caldefn.c
146     cc $(CFLAGS) $(CALDEFS) -c caldefn.c
147 greg 1.4
148     ra_pixar.o: ra_pixar.c
149     cc $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
150 greg 1.1
151 greg 1.18 xshowtrace: xshowtrace.o image.o resolu.o header.o fvect.o
152     cc $(CFLAGS) -o xshowtrace xshowtrace.o image.o resolu.o header.o \
153     fvect.o -lm -lX11
154    
155 greg 1.24 xshowtrace.o: view.h standard.h mat4.h fvect.h
156 greg 1.18
157 greg 1.24 mat4.o: mat4.h fvect.h
158    
159 greg 1.1 pcomb.o calexpr.o calfunc.o caldefn.o: calcomp.h
160    
161 greg 1.18 panim.o: client/scan.h color.h random.h
162 greg 1.1
163     pf2.o bnoise.o: random.h
164    
165 greg 1.3 ra_t16.o: random.h
166    
167 greg 1.19 pfilt.o pf2.o ttyimage.o t4027.o mt160r.o psum.o psign.o prot.o ra_pr24.o \
168 greg 1.20 d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \
169     greyscale.o ra_t8.o glimage.o \
170 greg 1.12 ra_bn.o ra_t16.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: color.h
171 greg 1.1
172 greg 1.24 prot.o biq.o ciq.o pinterp.o ximage.o image.o: standard.h mat4.h fvect.h
173 greg 1.1
174 greg 1.17 ximage.o x11raster.o: xraster.h
175    
176     x11image.o x11raster.o: x11raster.h
177 greg 1.1
178     ra_t8.o: targa.h
179    
180     fvect.o: fvect.h
181    
182     aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
183    
184     ciq.o cut.o closest.o biq.o: pic.h ciq.h
185    
186 greg 1.10 pinterp.o ximage.o image.o: view.h