ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/Rmakefile
Revision: 2.28
Committed: Fri Sep 20 16:46:32 1996 UTC (27 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.27: +5 -1 lines
Log Message:
added psquish, pveil and pacuity scripts

File Contents

# User Rev Content
1 greg 1.54 # Compiles for image processing and display programs
2 greg 1.1 # SCCSid "$SunId$ LBL"
3     #
4    
5 greg 1.47 ARCH = sun
6 greg 1.8 OPT = -O
7 greg 1.53 MACH = -DBSD
8 greg 1.51 SPECIAL = aed tiff
9 greg 1.48 CFLAGS = $(OPT) $(MACH) -I../common -L../lib
10 greg 2.4 CC = cc
11 greg 2.16 MLIB = -lm
12 greg 1.1
13 greg 1.50 INSTDIR = /usr/local/bin
14 greg 1.1
15 greg 1.43 LIBDIR = /usr/local/lib/ray
16 greg 1.28
17 greg 1.4 PIXAR_INCLUDE= -I/usr/pixar/include
18 greg 2.16 PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB)
19 greg 1.4
20 greg 2.27 PROGS = pfilt ttyimage oki20c oki20 paintjet mt160r psign \
21 greg 2.13 greyscale pvalue pcompos colorscale protate ra_pr ra_pr24 ra_avs \
22 greg 1.49 ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm \
23 greg 2.22 ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal
24 greg 1.1
25 greg 1.51 all: $(PROGS) $(SPECIAL)
26 greg 1.29
27 greg 1.34 x10: x10image
28     cp x10image $(INSTDIR)
29 greg 1.29
30     aed: aedimage
31     cp aedimage $(INSTDIR)
32    
33 greg 1.54 sgi: glimage
34     cp glimage $(INSTDIR)
35    
36 greg 1.47 tiff: ra_tiff
37     cp ra_tiff $(INSTDIR)
38    
39 greg 1.29 sun:
40 greg 1.1
41 greg 2.24 install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \
42 greg 2.25 pdfblur.csh pmblur.csh xyzimage.csh
43 greg 1.1 cp $(PROGS) $(INSTDIR)
44 greg 1.25 cp normpat.csh $(INSTDIR)/normpat
45 greg 1.38 cp falsecolor.csh $(INSTDIR)/falsecolor
46 greg 2.28 cp pacuity.csh $(INSTDIR)/pacuity
47 greg 2.20 cp pdfblur.csh $(INSTDIR)/pdfblur
48 greg 2.24 cp pmblur.csh $(INSTDIR)/pmblur
49 greg 2.28 cp psquish.csh $(INSTDIR)/psquish
50     cp pveil.csh $(INSTDIR)/pveil
51 greg 2.25 cp xyzimage.csh $(INSTDIR)/xyzimage
52 greg 2.24 chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor \
53 greg 2.28 $(INSTDIR)/pdfblur $(INSTDIR)/pmblur $(INSTDIR)/xyzimage \
54     $(INSTDIR)/pacuity $(INSTDIR)/psquish $(INSTDIR)/pveil
55 greg 1.1
56 greg 1.28 clean:
57 greg 1.54 set nonomatch; rm -f x10image aedimage glimage ra_tiff \
58     $(PROGS) *.o core
59 greg 1.28
60 greg 1.40 pfilt: pfilt.o pf2.o pf3.o
61 greg 2.16 $(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB)
62 greg 1.1
63 greg 1.40 ttyimage: ttyimage.o
64 greg 2.16 $(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt $(MLIB)
65 greg 1.1
66 greg 1.40 t4027: t4027.o
67 greg 2.4 $(CC) $(CFLAGS) -o t4027 t4027.o -lrt
68 greg 1.1
69 greg 1.40 glimage: glimage.o
70 greg 2.16 $(CC) $(CFLAGS) -o glimage glimage.o -lrt -lgl_s $(MLIB)
71 greg 1.16
72 greg 1.40 aedimage: aedimage.o ciq.o cut.o closest.o biq.o
73 greg 2.4 $(CC) $(CFLAGS) -o aedimage aedimage.o ciq.o cut.o closest.o \
74 greg 2.16 biq.o -lrt $(MLIB)
75 greg 1.1
76 greg 1.40 oki20c: oki20c.o
77 greg 2.16 $(CC) $(CFLAGS) -o oki20c oki20c.o -lrt $(MLIB)
78 greg 2.2
79     oki20: oki20.o
80 greg 2.16 $(CC) $(CFLAGS) -o oki20 oki20.o -lrt $(MLIB)
81 greg 1.7
82 greg 1.40 paintjet: paintjet.o
83 greg 2.16 $(CC) $(CFLAGS) -o paintjet paintjet.o -lrt $(MLIB)
84 greg 1.1
85 greg 1.40 mt160r: mt160r.o
86 greg 2.16 $(CC) $(CFLAGS) -o mt160r mt160r.o -lrt $(MLIB)
87 greg 1.1
88 greg 1.40 greyscale: greyscale.o
89 greg 2.16 $(CC) $(CFLAGS) -o greyscale greyscale.o -lrt $(MLIB)
90 greg 1.1
91 greg 1.40 colorscale: colorscale.o
92 greg 2.4 $(CC) $(CFLAGS) -o colorscale colorscale.o -lrt
93 greg 1.1
94 greg 1.40 pvalue: pvalue.o
95 greg 2.16 $(CC) $(CFLAGS) -o pvalue pvalue.o -lrt $(MLIB)
96 greg 1.1
97 greg 1.40 psum: psum.o
98 greg 2.4 $(CC) $(CFLAGS) -o psum psum.o -lrt
99 greg 1.1
100 greg 1.40 pcompos: pcompos.o
101 greg 2.4 $(CC) $(CFLAGS) -o pcompos pcompos.o -lrt
102 greg 1.1
103 greg 1.40 psign: psign.o
104 greg 2.4 $(CC) $(CFLAGS) -o psign psign.o -lrt
105 greg 1.1
106 greg 1.40 d48c: d48c.o
107 greg 2.4 $(CC) $(CFLAGS) -o d48c d48c.o -lrt
108 greg 2.17
109 greg 2.19 ra_gif: ra_gif.o clrtab.o neuclrtab.o
110     $(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrt $(MLIB)
111 greg 1.1
112 greg 1.40 ra_pr: ra_pr.o ciq.o cut.o closest.o biq.o
113 greg 2.4 $(CC) $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \
114 greg 2.16 biq.o -lrt $(MLIB)
115 greg 1.1
116 greg 1.40 ra_pr24: ra_pr24.o
117 greg 2.16 $(CC) $(CFLAGS) -o ra_pr24 ra_pr24.o -lrt $(MLIB)
118 greg 2.13
119     ra_avs: ra_avs.o
120 greg 2.16 $(CC) $(CFLAGS) -o ra_avs ra_avs.o -lrt $(MLIB)
121 greg 1.46
122 greg 2.5 ra_ps: ra_ps.o
123 greg 2.16 $(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrt $(MLIB)
124 greg 2.5
125 greg 1.46 ra_ppm: ra_ppm.o
126 greg 2.16 $(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrt $(MLIB)
127 greg 1.19
128 greg 2.19 ra_t8: ra_t8.o clrtab.o neuclrtab.o
129     $(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrt $(MLIB)
130 greg 1.1
131 greg 1.40 ra_t16: ra_t16.o
132 greg 2.16 $(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrt $(MLIB)
133 greg 1.1
134     ra_im: ra_im.o
135 greg 2.15 $(CC) $(CFLAGS) -o ra_im ra_im.o
136 greg 1.1
137 greg 1.40 ra_bn: ra_bn.o
138 greg 2.16 $(CC) $(CFLAGS) -o ra_bn ra_bn.o -lrt $(MLIB)
139 greg 1.49
140     ra_rgbe: ra_rgbe.o
141 greg 2.16 $(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrt $(MLIB)
142 greg 1.1
143 greg 1.50 ra_pict: ra_pict.o
144 greg 2.16 $(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrt $(MLIB)
145 greg 1.50
146    
147 greg 1.40 x10image: ximage.o ciq.o cut.o closest.o xraster.o biq.o
148 greg 2.4 $(CC) $(CFLAGS) -o x10image ximage.o xraster.o \
149 greg 2.16 ciq.o cut.o closest.o biq.o -lX -lrt $(MLIB)
150 greg 1.1
151 greg 2.9 ximage: x11image.o x11raster.o clrtab.o
152 greg 2.4 $(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \
153 greg 2.16 clrtab.o -lX11 -lrt $(MLIB)
154 greg 1.17
155 greg 1.56 protate: protate.o
156 greg 2.4 $(CC) $(CFLAGS) -o protate protate.o -lrt
157 greg 1.1
158 greg 2.6 pextrem: pextrem.o
159     $(CC) $(CFLAGS) -o pextrem pextrem.o -lrt
160    
161 greg 1.40 pflip: pflip.o
162 greg 2.4 $(CC) $(CFLAGS) -o pflip pflip.o -lrt
163 greg 1.26
164 greg 1.40 panim: panim.o client/libclient.a
165 greg 2.4 $(CC) $(CFLAGS) -o panim panim.o \
166 greg 2.16 -lrt client/libclient.a -lrpcsvc $(MLIB)
167 greg 1.1
168 greg 1.41 pcomb: pcomb.o
169 greg 2.16 $(CC) $(CFLAGS) -o pcomb pcomb.o -lrt $(MLIB)
170 greg 1.1
171 greg 1.40 pinterp: pinterp.o
172 greg 2.16 $(CC) $(CFLAGS) -o pinterp pinterp.o -lrt $(MLIB)
173 greg 2.22
174     ra_xyze: ra_xyze.o
175     $(CC) $(CFLAGS) -o ra_xyze ra_xyze.o -lrt $(MLIB)
176 greg 1.44
177 greg 1.48 ra_tiff: ra_tiff.o ../lib/libtiff.a
178 greg 2.16 $(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB)
179 greg 1.44
180 greg 1.47 ra_tiff.o: ra_tiff.c
181 greg 2.4 $(CC) $(CFLAGS) -Ilibtiff -c ra_tiff.c
182 greg 1.44
183 greg 1.48 ../lib/libtiff.a:
184     cd libtiff ; make -f Makefile.$(ARCH) ; \
185     mv libtiff.a ../../lib ; make clean
186 greg 1.10
187 greg 1.40 ra_pixar: ra_pixar.o ra_pixar.c
188 greg 2.4 $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \
189 greg 1.4 $(PIXAR_LIB)
190    
191     ra_pixar.o: ra_pixar.c
192 greg 2.4 $(CC) $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c
193 greg 1.1
194 greg 1.40 xshowtrace: xshowtrace.o x11findwind.o
195 greg 2.4 $(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \
196 greg 2.16 x11findwind.o -lrt $(MLIB) -lX11
197 greg 2.21
198     macbethcal: macbethcal.o pmapgen.o mx3.o
199     $(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o -lrt $(MLIB)
200    
201    
202 greg 2.23 macbethcal.o: pmap.h ../common/color.h ../common/resolu.h
203 greg 2.21
204     pmapgen.o: mx3.h pmap.h
205 greg 1.28
206 greg 2.19 nclrtab.o: neuclrtab.o
207     ln neuclrtab.c nclrtab.c
208     $(CC) $(CFLAGS) -DCOMPAT_MODE -c nclrtab.c
209     rm -f nclrtab.c
210    
211 greg 1.41 pcomb.o: ../common/calcomp.h
212 greg 1.18
213 greg 1.40 panim.o: client/scan.h ../common/color.h ../common/random.h
214 greg 1.24
215 greg 2.5 pf2.o bnoise.o ra_ps.o ra_t16.o: ../common/random.h
216 greg 1.1
217 greg 2.19 neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o \
218     psum.o psign.o protate.o \
219 greg 2.14 pextrem.o ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \
220     pflip.o greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \
221 greg 2.5 ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: ../common/color.h
222 greg 1.1
223 greg 2.19 neuclrtab.o pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o psign.o \
224     xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o: ../common/standard.h \
225 greg 2.12 ../common/mat4.h ../common/fvect.h
226 greg 1.1
227 greg 1.43 ximage.o xraster.o: xraster.h
228 greg 1.17
229     x11image.o x11raster.o: x11raster.h
230 greg 1.1
231 greg 1.40 ra_t8.o: ../common/targa.h
232 greg 1.1
233     aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h
234    
235     ciq.o cut.o closest.o biq.o: pic.h ciq.h
236    
237 greg 2.3 pinterp.o ximage.o x11showtrace.o image.o: ../common/view.h
238 greg 1.50
239     ra_pict.o: pict.h
240 greg 1.55
241     mt160r.o oki20c.o paintjet.o pcomb.o pcompos.o pfilt.o pflip.o \
242 greg 1.56 pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o \
243 greg 2.1 ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \
244     ra_tiff.o ttyimage.o ximage.o x11image.o: ../common/resolu.h
245 greg 2.7
246 greg 2.26 pfilt.o: ../common/paths.h ../common/view.h
247 greg 2.18
248     psign.o: ../common/font.h