| 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 |
| 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 ra_tiff |
| 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 |
| 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/libtiff.a |
| 140 |
> |
ra_tiff: ra_tiff.o libtiff.a |
| 141 |
|
cc $(CFLAGS) -o ra_tiff ra_tiff.o ../common/librt.a \ |
| 142 |
< |
libtiff/libtiff.a -lm |
| 142 |
> |
libtiff.a -lm |
| 143 |
|
|
| 144 |
< |
ra_tiff.o: ra_tiff.c libtiff/tiffio.h libtiff/tiff.h |
| 144 |
> |
ra_tiff.o: ra_tiff.c |
| 145 |
|
cc $(CFLAGS) -Ilibtiff -c ra_tiff.c |
| 146 |
|
|
| 147 |
< |
libtiff/libtiff.a: |
| 148 |
< |
maketiff |
| 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 \ |