6 |
|
ARCH = sun |
7 |
|
OPT = -O |
8 |
|
MACH = -DBSD |
9 |
< |
SPECIAL = aed |
9 |
> |
SPECIAL = |
10 |
|
CFLAGS = -I../common -L../lib $(OPT) $(MACH) |
11 |
|
CC = cc |
12 |
|
MLIB = -lm |
15 |
|
|
16 |
|
LIBDIR = /usr/local/lib/ray |
17 |
|
|
18 |
< |
PIXAR_INCLUDE= -I/usr/pixar/include |
19 |
< |
PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar $(MLIB) |
20 |
< |
|
21 |
< |
PROGS = pfilt ttyimage oki20c oki20 psign ra_tiff normtiff \ |
22 |
< |
pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_hexbit ra_bmp \ |
23 |
< |
ra_t8 ra_bn ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ |
18 |
> |
PROGS = pfilt ttyimage psign ra_tiff normtiff \ |
19 |
> |
pvalue pcompos protate ra_hexbit ra_bmp \ |
20 |
> |
ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ |
21 |
|
ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp |
22 |
|
|
23 |
|
all: $(PROGS) $(SPECIAL) |
24 |
|
|
28 |
– |
x10: x10image |
29 |
– |
cp x10image $(INSTDIR) |
30 |
– |
|
31 |
– |
aed: aedimage |
32 |
– |
cp aedimage $(INSTDIR) |
33 |
– |
|
34 |
– |
sgi: glimage |
35 |
– |
cp glimage $(INSTDIR) |
36 |
– |
|
25 |
|
ogl: |
26 |
|
|
27 |
|
sun: |
28 |
|
|
29 |
|
install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \ |
30 |
< |
pdfblur.csh pmblur.csh xyzimage.csh pgblur.csh |
30 |
> |
pdfblur.csh pmblur.csh pmdblur.csh xyzimage.csh pgblur.csh ra_pfm.csh |
31 |
|
cp $(PROGS) $(INSTDIR) |
32 |
|
cp normpat.csh $(INSTDIR)/normpat |
33 |
|
cp falsecolor.csh $(INSTDIR)/falsecolor |
34 |
|
cp pdfblur.csh $(INSTDIR)/pdfblur |
35 |
|
cp pmblur.csh $(INSTDIR)/pmblur |
36 |
+ |
cp pmdblur.csh $(INSTDIR)/pmdblur |
37 |
|
cp xyzimage.csh $(INSTDIR)/xyzimage |
38 |
|
cp phisto.csh $(INSTDIR)/phisto |
39 |
|
cp pdelta.csh $(INSTDIR)/pdelta |
40 |
|
cp pgblur.csh $(INSTDIR)/pgblur |
41 |
+ |
cp ra_pfm.csh $(INSTDIR)/ra_pfm |
42 |
|
cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur \ |
43 |
< |
pmblur xyzimage phisto pdelta pgblur |
43 |
> |
pmblur pmdblur xyzimage phisto pdelta pgblur ra_pfm |
44 |
|
|
45 |
|
clean: |
46 |
< |
set nonomatch; rm -f x10image aedimage glimage \ |
47 |
< |
$(PROGS) $(SPECIAL) *.o core |
58 |
< |
-cd tiff; make distclean |
46 |
> |
rm -f $(PROGS) $(SPECIAL) *.o core |
47 |
> |
cd tiff; make distclean |
48 |
|
|
49 |
|
pfilt: pfilt.o pf2.o pf3.o |
50 |
|
$(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB) |
59 |
|
ttyimage: ttyimage.o |
60 |
|
$(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt $(MLIB) |
61 |
|
|
73 |
– |
t4027: t4027.o |
74 |
– |
$(CC) $(CFLAGS) -o t4027 t4027.o -lrt |
75 |
– |
|
76 |
– |
glimage: glimage.o |
77 |
– |
$(CC) $(CFLAGS) -o glimage glimage.o -lrt -lgl_s $(MLIB) |
78 |
– |
|
79 |
– |
aedimage: aedimage.o ciq.o cut.o closest.o biq.o |
80 |
– |
$(CC) $(CFLAGS) -o aedimage aedimage.o ciq.o cut.o closest.o \ |
81 |
– |
biq.o -lrt $(MLIB) |
82 |
– |
|
83 |
– |
oki20c: oki20c.o |
84 |
– |
$(CC) $(CFLAGS) -o oki20c oki20c.o -lrt $(MLIB) |
85 |
– |
|
86 |
– |
oki20: oki20.o |
87 |
– |
$(CC) $(CFLAGS) -o oki20 oki20.o -lrt $(MLIB) |
88 |
– |
|
89 |
– |
paintjet: paintjet.o |
90 |
– |
$(CC) $(CFLAGS) -o paintjet paintjet.o -lrt $(MLIB) |
91 |
– |
|
92 |
– |
mt160r: mt160r.o |
93 |
– |
$(CC) $(CFLAGS) -o mt160r mt160r.o -lrt $(MLIB) |
94 |
– |
|
95 |
– |
greyscale: greyscale.o |
96 |
– |
$(CC) $(CFLAGS) -o greyscale greyscale.o -lrt $(MLIB) |
97 |
– |
|
98 |
– |
colorscale: colorscale.o |
99 |
– |
$(CC) $(CFLAGS) -o colorscale colorscale.o -lrt $(MLIB) |
100 |
– |
|
62 |
|
pvalue: pvalue.o |
63 |
|
$(CC) $(CFLAGS) -o pvalue pvalue.o -lrt $(MLIB) |
64 |
|
|
104 |
– |
psum: psum.o |
105 |
– |
$(CC) $(CFLAGS) -o psum psum.o -lrt |
106 |
– |
|
65 |
|
pcompos: pcompos.o |
66 |
|
$(CC) $(CFLAGS) -o pcompos pcompos.o -lrt $(MLIB) |
67 |
|
|
68 |
|
psign: psign.o |
69 |
|
$(CC) $(CFLAGS) -o psign psign.o -lrt $(MLIB) |
70 |
|
|
113 |
– |
d48c: d48c.o |
114 |
– |
$(CC) $(CFLAGS) -o d48c d48c.o -lrt |
115 |
– |
|
71 |
|
ra_gif: ra_gif.o clrtab.o neuclrtab.o |
72 |
|
$(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrt $(MLIB) |
73 |
|
|
119 |
– |
ra_pr: ra_pr.o ciq.o cut.o closest.o biq.o |
120 |
– |
$(CC) $(CFLAGS) -o ra_pr ra_pr.o ciq.o cut.o closest.o \ |
121 |
– |
biq.o -lrt $(MLIB) |
122 |
– |
|
123 |
– |
ra_pr24: ra_pr24.o |
124 |
– |
$(CC) $(CFLAGS) -o ra_pr24 ra_pr24.o -lrt $(MLIB) |
125 |
– |
|
126 |
– |
ra_avs: ra_avs.o |
127 |
– |
$(CC) $(CFLAGS) -o ra_avs ra_avs.o -lrt $(MLIB) |
128 |
– |
|
74 |
|
ra_ps: ra_ps.o |
75 |
|
$(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrt $(MLIB) |
76 |
|
|
86 |
|
ra_t16: ra_t16.o |
87 |
|
$(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrt $(MLIB) |
88 |
|
|
144 |
– |
ra_im: ra_im.o |
145 |
– |
$(CC) $(CFLAGS) -o ra_im ra_im.o |
146 |
– |
|
147 |
– |
ra_bn: ra_bn.o |
148 |
– |
$(CC) $(CFLAGS) -o ra_bn ra_bn.o -lrt $(MLIB) |
149 |
– |
|
89 |
|
ra_rgbe: ra_rgbe.o |
90 |
|
$(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrt $(MLIB) |
91 |
|
|
95 |
|
ra_hexbit: ra_hexbit.o |
96 |
|
$(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt $(MLIB) |
97 |
|
|
159 |
– |
x10image: ximage.o ciq.o cut.o closest.o xraster.o biq.o |
160 |
– |
$(CC) $(CFLAGS) -o x10image ximage.o xraster.o \ |
161 |
– |
ciq.o cut.o closest.o biq.o -lX -lrt $(MLIB) |
162 |
– |
|
98 |
|
ximage: x11image.o x11raster.o clrtab.o |
99 |
|
$(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \ |
100 |
|
clrtab.o -lrt -lX11 $(MLIB) |
108 |
|
pflip: pflip.o |
109 |
|
$(CC) $(CFLAGS) -o pflip pflip.o -lrt $(MLIB) |
110 |
|
|
176 |
– |
panim: panim.o client/libclient.a |
177 |
– |
$(CC) $(CFLAGS) -o panim panim.o \ |
178 |
– |
-lrt client/libclient.a -lrpcsvc $(MLIB) |
179 |
– |
|
111 |
|
pcomb: pcomb.o |
112 |
|
$(CC) $(CFLAGS) -o pcomb pcomb.o -lrt $(MLIB) |
113 |
|
|
127 |
|
normtiff: normtiff.o ../lib/libtiff.a |
128 |
|
$(CC) $(CFLAGS) -o normtiff normtiff.o -lrt -ltiff $(MLIB) |
129 |
|
|
130 |
< |
../lib/libtiff.a: tiff/config.local |
131 |
< |
cd tiff ; sh configure -quiet -noninteractive -with-CC=$(CC) \ |
130 |
> |
../lib/libtiff.a: |
131 |
> |
cd tiff ; ./configure -C -quiet -with-CC=$(CC) \ |
132 |
> |
"--libdir=`pwd`/../../lib" "--includedir=`pwd`/../../common" \ |
133 |
> |
--enable-static --disable-shared --disable-cxx \ |
134 |
> |
--enable-logluv --disable-jpeg \ |
135 |
> |
--disable-zlib --disable-pixarlog \ |
136 |
|
"-with-ENVOPTS=$(OPT)" ; \ |
137 |
< |
cd libtiff ; make install |
137 |
> |
cd port ; make all ; \ |
138 |
> |
cd ../libtiff ; make install |
139 |
|
|
204 |
– |
ra_pixar: ra_pixar.o ra_pixar.c |
205 |
– |
$(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \ |
206 |
– |
$(PIXAR_LIB) |
207 |
– |
|
208 |
– |
ra_pixar.o: ra_pixar.c |
209 |
– |
$(CC) $(CFLAGS) $(PIXAR_INCLUDE) -c ra_pixar.c |
210 |
– |
|
140 |
|
xshowtrace: xshowtrace.o x11findwind.o |
141 |
|
$(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \ |
142 |
|
x11findwind.o -lrt -lX11 $(MLIB) |
159 |
|
|
160 |
|
pcomb.o: ../common/calcomp.h |
161 |
|
|
162 |
< |
panim.o: client/scan.h ../common/color.h ../common/random.h |
162 |
> |
pf2.o ra_ps.o ra_t16.o: ../common/random.h |
163 |
|
|
164 |
< |
pf2.o bnoise.o ra_ps.o ra_t16.o: ../common/random.h |
164 |
> |
neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o \ |
165 |
> |
psign.o protate.o ra_hexbit.o pextrem.o pcompos.o \ |
166 |
> |
pflip.o ra_t8.o ra_t16.o ra_tiff.o ra_pict.o \ |
167 |
> |
ra_ps.o pvalue.o pcomb.o pinterp.o: ../common/color.h |
168 |
|
|
169 |
< |
neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o t4027.o mt160r.o \ |
238 |
< |
psum.o psign.o protate.o ra_hexbit.o \ |
239 |
< |
pextrem.o ra_pr24.o d48c.o aedimage.o pcompos.o color.o resolu.o colrops.o \ |
240 |
< |
pflip.o greyscale.o ra_t8.o glimage.o ra_bn.o ra_t16.o ra_tiff.o ra_pict.o \ |
241 |
< |
ra_ps.o ra_pr.o pvalue.o pcomb.o pinterp.o ximage.o: ../common/color.h |
242 |
< |
|
243 |
< |
neuclrtab.o pvalue.o protate.o biq.o ciq.o pinterp.o ximage.o psign.o \ |
169 |
> |
neuclrtab.o pvalue.o protate.o pinterp.o psign.o \ |
170 |
|
xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o: ../common/standard.h \ |
171 |
|
../common/rtmisc.h ../common/rtio.h \ |
172 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
173 |
|
../common/rterror.h ../common/tifftypes.h |
174 |
|
|
249 |
– |
ximage.o xraster.o: xraster.h |
250 |
– |
|
175 |
|
x11image.o x11raster.o: x11raster.h |
176 |
|
|
177 |
|
x11image.o: ../common/tonemap.h ../common/color.h |
180 |
|
|
181 |
|
ra_tiff.o normtiff.o: ../common/tiff.h ../common/tiffio.h |
182 |
|
|
183 |
< |
aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h |
183 |
> |
ra_t8.o: pic.h |
184 |
|
|
185 |
< |
ciq.o cut.o closest.o biq.o: pic.h ciq.h |
262 |
< |
|
263 |
< |
pcomb.o pfilt.o pinterp.o ximage.o x11image.o x11showtrace.o \ |
185 |
> |
pcomb.o pfilt.o pinterp.o x11image.o x11showtrace.o \ |
186 |
|
image.o: ../common/view.h ../common/resolu.h |
187 |
|
|
188 |
|
ra_pict.o: pict.h |
189 |
|
|
190 |
< |
mt160r.o oki20c.o paintjet.o pcompos.o pfilt.o pflip.o \ |
191 |
< |
pinterp.o protate.o pvalue.o ra_bn.o ra_pict.o ra_pixar.o ra_hexbit.o \ |
192 |
< |
ra_ppm.o ra_pr.o ra_pr24.o ra_rgbe.o ra_t16.o ra_t8.o glimage.o \ |
190 |
> |
pcompos.o pfilt.o pflip.o \ |
191 |
> |
pinterp.o protate.o pvalue.o ra_pict.o ra_hexbit.o \ |
192 |
> |
ra_ppm.o ra_rgbe.o ra_t16.o ra_t8.o \ |
193 |
|
ra_tiff.o ttyimage.o: ../common/resolu.h |
194 |
|
|
195 |
|
pfilt.o: ../common/paths.h |