| 1 |
– |
# SCCSid "$SunId$ LBL" |
| 2 |
– |
|
| 1 |
|
# |
| 2 |
+ |
# SCCSid "$SunId$ LBL" |
| 3 |
|
# Compiles for image processing and display programs |
| 4 |
|
# |
| 5 |
|
|
| 6 |
+ |
ARCH = sun |
| 7 |
|
OPT = -O |
| 8 |
|
MACH = -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE -DBSD |
| 9 |
|
CFLAGS = $(OPT) $(MACH) -I../common |
| 10 |
|
|
| 11 |
|
INSTDIR = /lumen/lumen/ray/bin.sun3 |
| 12 |
|
|
| 13 |
< |
LIBDIR = /lumen/lumen/ray/lib |
| 13 |
> |
LIBDIR = /usr/local/lib/ray |
| 14 |
|
|
| 15 |
|
PIXAR_INCLUDE= -I/usr/pixar/include |
| 16 |
|
PIXAR_LIB= -L/usr/pixar/host/lib -lpirl -lpicio -lchad -lpixar -lm |
| 17 |
|
|
| 18 |
|
PROGS = pfilt ttyimage oki20c paintjet mt160r getinfo psign \ |
| 19 |
|
greyscale pvalue pcompos colorscale prot ra_pr ra_pr24 \ |
| 20 |
< |
ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip |
| 20 |
> |
ra_t8 ra_bn ra_t16 pcomb pinterp ximage xshowtrace pflip ra_ppm |
| 21 |
|
|
| 22 |
|
all: $(PROGS) |
| 23 |
|
|
| 27 |
|
aed: aedimage |
| 28 |
|
cp aedimage $(INSTDIR) |
| 29 |
|
|
| 30 |
+ |
tiff: ra_tiff |
| 31 |
+ |
cp ra_tiff $(INSTDIR) |
| 32 |
+ |
|
| 33 |
|
sun: |
| 34 |
|
|
| 35 |
|
install: $(PROGS) normpat.csh falsecolor.csh |
| 39 |
|
chmod 755 $(INSTDIR)/normpat $(INSTDIR)/falsecolor |
| 40 |
|
|
| 41 |
|
clean: |
| 42 |
< |
set nonomatch; rm -f $(PROGS) aedimage x10image *.o core |
| 42 |
> |
set nonomatch; rm -f $(PROGS) *.o core |
| 43 |
|
|
| 44 |
|
pfilt: pfilt.o pf2.o pf3.o |
| 45 |
|
cc $(CFLAGS) -o pfilt pfilt.o pf2.o pf3.o ../common/librt.a -lm |
| 97 |
|
ra_pr24: ra_pr24.o |
| 98 |
|
cc $(CFLAGS) -o ra_pr24 ra_pr24.o ../common/librt.a -lm |
| 99 |
|
|
| 100 |
+ |
ra_ppm: ra_ppm.o |
| 101 |
+ |
cc $(CFLAGS) -o ra_ppm ra_ppm.o ../common/librt.a -lm |
| 102 |
+ |
|
| 103 |
|
ra_t8: ra_t8.o ciq.o cut.o closest.o biq.o |
| 104 |
|
cc $(CFLAGS) -o ra_t8 ra_t8.o ciq.o cut.o closest.o \ |
| 105 |
|
biq.o ../common/librt.a -lm |
| 137 |
|
pinterp: pinterp.o |
| 138 |
|
cc $(CFLAGS) -o pinterp pinterp.o ../common/librt.a -lm |
| 139 |
|
|
| 140 |
+ |
ra_tiff: ra_tiff.o libtiff.a |
| 141 |
+ |
cc $(CFLAGS) -o ra_tiff ra_tiff.o ../common/librt.a \ |
| 142 |
+ |
libtiff.a -lm |
| 143 |
+ |
|
| 144 |
+ |
ra_tiff.o: ra_tiff.c |
| 145 |
+ |
cc $(CFLAGS) -Ilibtiff -c ra_tiff.c |
| 146 |
+ |
|
| 147 |
+ |
libtiff.a: |
| 148 |
+ |
cd libtiff ; make -f Makefile.$(ARCH) ; mv libtiff.a .. ; make clean |
| 149 |
+ |
|
| 150 |
|
ra_pixar: ra_pixar.o ra_pixar.c |
| 151 |
|
cc $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o ../common/librt.a \ |
| 152 |
|
$(PIXAR_LIB) |
| 175 |
|
prot.o biq.o ciq.o pinterp.o ximage.o \ |
| 176 |
|
image.o: ../common/standard.h ../common/mat4.h ../common/fvect.h |
| 177 |
|
|
| 178 |
< |
ximage.o x11raster.o: xraster.h |
| 178 |
> |
ximage.o xraster.o: xraster.h |
| 179 |
|
|
| 180 |
|
x11image.o x11raster.o: x11raster.h |
| 181 |
|
|