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 |
– |
|
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 \ |
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 |
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 ra_pfm |
43 |
> |
pmblur pmdblur xyzimage phisto pdelta pgblur ra_pfm |
44 |
|
|
45 |
|
clean: |
46 |
|
rm -f $(PROGS) $(SPECIAL) *.o core |
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 |
|
|
140 |
|
xshowtrace: xshowtrace.o x11findwind.o |
141 |
|
$(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \ |