11 |
|
CC = cc |
12 |
|
MLIB = -lm |
13 |
|
|
14 |
+ |
INSTALL = cp |
15 |
+ |
|
16 |
|
INSTDIR = /usr/local/bin |
17 |
|
|
18 |
|
LIBDIR = /usr/local/lib/ray |
20 |
|
PROGS = pfilt ttyimage psign ra_tiff normtiff \ |
21 |
|
pvalue pcompos protate ra_hexbit ra_bmp \ |
22 |
|
ra_t8 ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ |
23 |
< |
ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp |
23 |
> |
ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond \ |
24 |
> |
pcwarp pmblur2 psketch |
25 |
|
|
26 |
|
all: $(PROGS) $(SPECIAL) |
27 |
|
|
29 |
|
|
30 |
|
sun: |
31 |
|
|
32 |
< |
install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \ |
32 |
> |
install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.pl \ |
33 |
|
pdfblur.csh pmblur.csh pmdblur.csh xyzimage.csh pgblur.csh ra_pfm.csh \ |
34 |
|
pbilat.csh |
35 |
< |
cp $(PROGS) $(INSTDIR) |
35 |
> |
$(INSTALL) $(PROGS) $(INSTDIR) |
36 |
|
cp normpat.csh $(INSTDIR)/normpat |
37 |
< |
cp falsecolor.csh $(INSTDIR)/falsecolor |
37 |
> |
cp falsecolor.pl $(INSTDIR)/falsecolor |
38 |
|
cp pdfblur.csh $(INSTDIR)/pdfblur |
39 |
|
cp pmblur.csh $(INSTDIR)/pmblur |
40 |
|
cp pmdblur.csh $(INSTDIR)/pmdblur |
41 |
|
cp xyzimage.csh $(INSTDIR)/xyzimage |
42 |
< |
cp phisto.csh $(INSTDIR)/phisto |
42 |
> |
cp phisto.pl $(INSTDIR)/phisto |
43 |
|
cp pdelta.csh $(INSTDIR)/pdelta |
44 |
|
cp pgblur.csh $(INSTDIR)/pgblur |
45 |
|
cp ra_pfm.csh $(INSTDIR)/ra_pfm |
49 |
|
pmdblur xyzimage phisto pdelta pgblur ra_pfm ran2tiff pbilat |
50 |
|
|
51 |
|
clean: |
52 |
< |
rm -f $(PROGS) $(SPECIAL) *.o core |
52 |
> |
rm -f $(PROGS) $(SPECIAL) *.o x11findwind.c |
53 |
|
cd tiff; make distclean |
54 |
|
|
55 |
|
pfilt: pfilt.o pf2.o pf3.o |
120 |
|
pinterp: pinterp.o |
121 |
|
$(CC) $(CFLAGS) -o pinterp pinterp.o -lrtrad $(MLIB) |
122 |
|
|
123 |
+ |
pmblur2: pmblur2.o |
124 |
+ |
$(CC) $(CFLAGS) -o pmblur2 pmblur2.o -lrtrad $(MLIB) |
125 |
+ |
|
126 |
|
ra_xyze: ra_xyze.o |
127 |
|
$(CC) $(CFLAGS) -o ra_xyze ra_xyze.o -lrtrad $(MLIB) |
128 |
|
|
129 |
+ |
psketch: psketch.o |
130 |
+ |
$(CC) $(CFLAGS) -o psketch psketch.o -lrtrad $(MLIB) |
131 |
+ |
|
132 |
|
ra_tiff: ra_tiff.o ../lib/libtiff.a |
133 |
|
$(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrtrad -ltiff $(MLIB) |
134 |
|
|
175 |
|
|
176 |
|
neuclrtab.o clrtab.o pfilt.o pf2.o pf3.o ttyimage.o \ |
177 |
|
psign.o protate.o ra_hexbit.o pextrem.o pcompos.o \ |
178 |
< |
pflip.o ra_t8.o ra_t16.o ra_tiff.o ra_pict.o \ |
178 |
> |
pflip.o ra_t8.o ra_t16.o ra_tiff.o ra_pict.o pmblur2.o \ |
179 |
|
ra_ps.o pvalue.o pcomb.o pinterp.o: ../common/color.h |
180 |
|
|
181 |
< |
neuclrtab.o pvalue.o protate.o pinterp.o psign.o \ |
181 |
> |
neuclrtab.o pvalue.o protate.o pinterp.o psign.o pmblur2.o psketch.o \ |
182 |
|
xshowtrace.o clrtab.o pcomb.o pfilt.o pf3.o image.o: ../common/standard.h \ |
183 |
|
../common/rtmisc.h ../common/rtio.h \ |
184 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
185 |
< |
../common/rterror.h ../common/tifftypes.h |
185 |
> |
../common/rterror.h |
186 |
|
|
187 |
|
x11image.o x11raster.o: x11raster.h |
188 |
|
|
204 |
|
ra_ppm.o ra_rgbe.o ra_t16.o ra_t8.o \ |
205 |
|
ra_tiff.o ttyimage.o: ../common/resolu.h |
206 |
|
|
207 |
< |
pfilt.o: ../common/paths.h |
207 |
> |
psketch.o: ../common/resolu.h ../common/color.h |
208 |
|
|
209 |
+ |
psketch.o pfilt.o: ../common/paths.h |
210 |
+ |
|
211 |
|
psign.o: ../common/font.h |
212 |
|
|
213 |
|
pcond.o pcond2.o pcond3.o pcond4.o: pcond.h ../common/standard.h \ |
214 |
|
../common/rtmisc.h ../common/rtio.h \ |
215 |
|
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ |
216 |
< |
../common/rterror.h ../common/tifftypes.h \ |
206 |
< |
../common/color.h ../common/view.h ../common/resolu.h |
216 |
> |
../common/rterror.h ../common/color.h ../common/view.h ../common/resolu.h |
217 |
|
|
218 |
|
normtiff.o: ../common/color.h ../common/tonemap.h ../common/resolu.h |
219 |
|
|
222 |
|
|
223 |
|
x11findwind.c: ../common/x11findwind.c |
224 |
|
cp ../common/x11findwind.c . |
225 |
+ |
|
226 |
+ |
macbethcal.o normtiff.o pcomb.o pcompos.o pcond.o pextrem.o pfilt.o \ |
227 |
+ |
pflip.o psign.o pvalue.o ra_bmp.o ra_gif.o ra_pict.o ra_ppm.o ra_ps.o \ |
228 |
+ |
ra_rgbe.o ra_skel.o ra_t16.o ra_t8.o ra_tiff.o ra_xyze.o pmblur2.o \ |
229 |
+ |
psketch.o ttyimage.o: ../common/platform.h |