| 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 \ |
| 33 |
< |
pdfblur.csh pmblur.csh pmdblur.csh xyzimage.csh pgblur.csh |
| 34 |
< |
cp $(PROGS) $(INSTDIR) |
| 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 |
> |
$(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 |
| 46 |
< |
cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur \ |
| 47 |
< |
pmblur pmdblur xyzimage phisto pdelta pgblur ra_pfm |
| 46 |
> |
cp ran2tiff.csh $(INSTDIR)/ran2tiff |
| 47 |
> |
cp pbilat.csh $(INSTDIR)/pbilat |
| 48 |
> |
cd $(INSTDIR) ; chmod 755 normpat falsecolor pdfblur pmblur \ |
| 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 |
| 56 |
< |
$(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrt $(MLIB) |
| 56 |
> |
$(CC) $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o -lrtrad $(MLIB) |
| 57 |
|
|
| 58 |
|
pcond: pcond.o pcond2.o pcond3.o pcond4.o warp3d.o |
| 59 |
|
$(CC) $(CFLAGS) -o pcond pcond.o pcond2.o pcond3.o pcond4.o warp3d.o \ |
| 60 |
< |
-lrt $(MLIB) |
| 60 |
> |
-lrtrad $(MLIB) |
| 61 |
|
|
| 62 |
|
pcwarp: pcwarp.o warp3d.o |
| 63 |
< |
$(CC) $(CFLAGS) -o pcwarp pcwarp.o warp3d.o -lrt $(MLIB) |
| 63 |
> |
$(CC) $(CFLAGS) -o pcwarp pcwarp.o warp3d.o -lrtrad $(MLIB) |
| 64 |
|
|
| 65 |
|
ttyimage: ttyimage.o |
| 66 |
< |
$(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrt $(MLIB) |
| 66 |
> |
$(CC) $(CFLAGS) -o ttyimage ttyimage.o -lrtrad $(MLIB) |
| 67 |
|
|
| 68 |
|
pvalue: pvalue.o |
| 69 |
< |
$(CC) $(CFLAGS) -o pvalue pvalue.o -lrt $(MLIB) |
| 69 |
> |
$(CC) $(CFLAGS) -o pvalue pvalue.o -lrtrad $(MLIB) |
| 70 |
|
|
| 71 |
|
pcompos: pcompos.o |
| 72 |
< |
$(CC) $(CFLAGS) -o pcompos pcompos.o -lrt $(MLIB) |
| 72 |
> |
$(CC) $(CFLAGS) -o pcompos pcompos.o -lrtrad $(MLIB) |
| 73 |
|
|
| 74 |
|
psign: psign.o |
| 75 |
< |
$(CC) $(CFLAGS) -o psign psign.o -lrt $(MLIB) |
| 75 |
> |
$(CC) $(CFLAGS) -o psign psign.o -lrtrad $(MLIB) |
| 76 |
|
|
| 77 |
|
ra_gif: ra_gif.o clrtab.o neuclrtab.o |
| 78 |
< |
$(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrt $(MLIB) |
| 78 |
> |
$(CC) $(CFLAGS) -o ra_gif ra_gif.o clrtab.o neuclrtab.o -lrtrad $(MLIB) |
| 79 |
|
|
| 80 |
|
ra_ps: ra_ps.o |
| 81 |
< |
$(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrt $(MLIB) |
| 81 |
> |
$(CC) $(CFLAGS) -o ra_ps ra_ps.o -lrtrad $(MLIB) |
| 82 |
|
|
| 83 |
|
ra_ppm: ra_ppm.o |
| 84 |
< |
$(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrt $(MLIB) |
| 84 |
> |
$(CC) $(CFLAGS) -o ra_ppm ra_ppm.o -lrtrad $(MLIB) |
| 85 |
|
|
| 86 |
|
ra_bmp: ra_bmp.o |
| 87 |
< |
$(CC) $(CFLAGS) -o ra_bmp ra_bmp.o -lrt $(MLIB) |
| 87 |
> |
$(CC) $(CFLAGS) -o ra_bmp ra_bmp.o -lrtrad $(MLIB) |
| 88 |
|
|
| 89 |
|
ra_t8: ra_t8.o clrtab.o neuclrtab.o |
| 90 |
< |
$(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrt $(MLIB) |
| 90 |
> |
$(CC) $(CFLAGS) -o ra_t8 ra_t8.o clrtab.o neuclrtab.o -lrtrad $(MLIB) |
| 91 |
|
|
| 92 |
|
ra_t16: ra_t16.o |
| 93 |
< |
$(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrt $(MLIB) |
| 93 |
> |
$(CC) $(CFLAGS) -o ra_t16 ra_t16.o -lrtrad $(MLIB) |
| 94 |
|
|
| 95 |
|
ra_rgbe: ra_rgbe.o |
| 96 |
< |
$(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrt $(MLIB) |
| 96 |
> |
$(CC) $(CFLAGS) -o ra_rgbe ra_rgbe.o -lrtrad $(MLIB) |
| 97 |
|
|
| 98 |
|
ra_pict: ra_pict.o |
| 99 |
< |
$(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrt $(MLIB) |
| 99 |
> |
$(CC) $(CFLAGS) -o ra_pict ra_pict.o -lrtrad $(MLIB) |
| 100 |
|
|
| 101 |
|
ra_hexbit: ra_hexbit.o |
| 102 |
< |
$(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrt $(MLIB) |
| 102 |
> |
$(CC) $(CFLAGS) -o ra_hexbit ra_hexbit.o -lrtrad $(MLIB) |
| 103 |
|
|
| 104 |
|
ximage: x11image.o x11raster.o clrtab.o |
| 105 |
|
$(CC) $(CFLAGS) -o ximage x11image.o x11raster.o \ |
| 106 |
< |
clrtab.o -lrt -lX11 $(MLIB) |
| 106 |
> |
clrtab.o -lrtrad -lX11 $(MLIB) |
| 107 |
|
|
| 108 |
|
protate: protate.o |
| 109 |
< |
$(CC) $(CFLAGS) -o protate protate.o -lrt $(MLIB) |
| 109 |
> |
$(CC) $(CFLAGS) -o protate protate.o -lrtrad $(MLIB) |
| 110 |
|
|
| 111 |
|
pextrem: pextrem.o |
| 112 |
< |
$(CC) $(CFLAGS) -o pextrem pextrem.o -lrt $(MLIB) |
| 112 |
> |
$(CC) $(CFLAGS) -o pextrem pextrem.o -lrtrad $(MLIB) |
| 113 |
|
|
| 114 |
|
pflip: pflip.o |
| 115 |
< |
$(CC) $(CFLAGS) -o pflip pflip.o -lrt $(MLIB) |
| 115 |
> |
$(CC) $(CFLAGS) -o pflip pflip.o -lrtrad $(MLIB) |
| 116 |
|
|
| 117 |
|
pcomb: pcomb.o |
| 118 |
< |
$(CC) $(CFLAGS) -o pcomb pcomb.o -lrt $(MLIB) |
| 118 |
> |
$(CC) $(CFLAGS) -o pcomb pcomb.o -lrtrad $(MLIB) |
| 119 |
|
|
| 120 |
|
pinterp: pinterp.o |
| 121 |
< |
$(CC) $(CFLAGS) -o pinterp pinterp.o -lrt $(MLIB) |
| 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 -lrt $(MLIB) |
| 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 -lrt -ltiff $(MLIB) |
| 133 |
> |
$(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrtrad -ltiff $(MLIB) |
| 134 |
|
|
| 135 |
|
../common/tiff.h ../common/tiffio.h: ../lib/libtiff.a |
| 136 |
|
@chmod u+w ../common/tiff.h ../common/tiffio.h |
| 137 |
|
@touch ../common/tiff.h ../common/tiffio.h |
| 138 |
|
|
| 139 |
|
normtiff: normtiff.o ../lib/libtiff.a |
| 140 |
< |
$(CC) $(CFLAGS) -o normtiff normtiff.o -lrt -ltiff $(MLIB) |
| 140 |
> |
$(CC) $(CFLAGS) -o normtiff normtiff.o -lrtrad -ltiff $(MLIB) |
| 141 |
|
|
| 142 |
|
../lib/libtiff.a: |
| 143 |
|
cd tiff ; ./configure -C -quiet -with-CC=$(CC) \ |
| 151 |
|
|
| 152 |
|
xshowtrace: xshowtrace.o x11findwind.o |
| 153 |
|
$(CC) $(CFLAGS) -o xshowtrace xshowtrace.o \ |
| 154 |
< |
x11findwind.o -lrt -lX11 $(MLIB) |
| 154 |
> |
x11findwind.o -lrtrad -lX11 $(MLIB) |
| 155 |
|
|
| 156 |
|
macbethcal: macbethcal.o pmapgen.o mx3.o warp3d.o |
| 157 |
|
$(CC) $(CFLAGS) -o macbethcal macbethcal.o pmapgen.o mx3.o warp3d.o \ |
| 158 |
< |
-lrt $(MLIB) |
| 158 |
> |
-lrtrad $(MLIB) |
| 159 |
|
|
| 160 |
|
|
| 161 |
|
macbethcal.o: pmap.h ../common/color.h ../common/resolu.h |
| 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 \ |
| 203 |
< |
../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 |