| 1 |
– |
# SCCSid "$SunId$ LBL" |
| 2 |
– |
|
| 1 |
|
# |
| 2 |
+ |
# SCCSid "$SunId$ LBL" |
| 3 |
|
# Compiles for image processing and display programs |
| 4 |
|
# |
| 5 |
|
|
| 9 |
|
|
| 10 |
|
INSTDIR = /lumen/lumen/ray/bin.sun3 |
| 11 |
|
|
| 12 |
< |
LIBDIR = /lumen/lumen/ray/lib |
| 12 |
> |
LIBDIR = /usr/local/lib/ray |
| 13 |
|
|
| 14 |
|
PIXAR_INCLUDE= -I/usr/pixar/include |
| 15 |
|
PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm |
| 16 |
|
|
| 17 |
|
PROGS = pfilt ttyimage oki20c paintjet mt160r getinfo psign \ |
| 18 |
|
greyscale pvalue pcompos colorscale prot ra_pr ra_pr24 \ |
| 19 |
< |
ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip |
| 19 |
> |
ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm |
| 20 |
|
|
| 21 |
|
all: $(PROGS) |
| 22 |
|
|
| 35 |
|
chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor |
| 36 |
|
|
| 37 |
|
clean: |
| 38 |
< |
set nonomatch; rm -f $(PROGS) aedimage x10image *.o core |
| 38 |
> |
set nonomatch; rm -f $(PROGS) *.o core |
| 39 |
|
|
| 40 |
|
pfilt: pfilt.o pf2.o pf3.o |
| 41 |
|
cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o ../common/librt.a -lm |
| 93 |
|
ra_pr24: ra_pr24.o |
| 94 |
|
cc $(CFLAGS) -o ra_pr24 ra_pr24.o ../common/librt.a -lm |
| 95 |
|
|
| 96 |
+ |
ra_ppm: ra_ppm.o |
| 97 |
+ |
cc $(CFLAGS) -o ra_ppm ra_ppm.o ../common/librt.a -lm |
| 98 |
+ |
|
| 99 |
|
ra_t8: ra_t8.o ciq.o cut.o closest.o biq.o |
| 100 |
|
cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \ |
| 101 |
|
biq.o ../common/librt.a -lm |
| 133 |
|
pinterp: pinterp.o |
| 134 |
|
cc $(CFLAGS) -o pinterp pinterp.o ../common/librt.a -lm |
| 135 |
|
|
| 136 |
+ |
ra_tiff: ra_tiff.o libtiff/libtiff.a |
| 137 |
+ |
cc $(CFLAGS) -o ra_tiff ra_tiff.o ../common/librt.a \ |
| 138 |
+ |
libtiff/libtiff.a -lm |
| 139 |
+ |
|
| 140 |
+ |
ra_tiff.o: ra_tiff.c libtiff/tiffio.h libtiff/tiff.h |
| 141 |
+ |
cc $(CFLAGS) -Ilibtiff -c ra_tiff.c |
| 142 |
+ |
|
| 143 |
+ |
libtiff/libtiff.a: |
| 144 |
+ |
maketiff |
| 145 |
+ |
|
| 146 |
|
ra_pixar: ra_pixar.o ra_pixar.c |
| 147 |
|
cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o ../common/librt.a \ |
| 148 |
|
$(PIXAR_LIB) |
| 171 |
|
prot.o biq.o ciq.o pinterp.o ximage.o \ |
| 172 |
|
image.o: ../common/standard.h ../common/mat4.h ../common/fvect.h |
| 173 |
|
|
| 174 |
< |
ximage.o x11raster.o: xraster.h |
| 174 |
> |
ximage.o xraster.o: xraster.h |
| 175 |
|
|
| 176 |
|
x11image.o x11raster.o: x11raster.h |
| 177 |
|
|