| 1 |
< |
# Compiles for image processing and display programs |
| 2 |
< |
# SCCSid "$SunId$ LBL" |
| 1 |
> |
# Compiles for image processing and display programs |
| 2 |
> |
# SCCSid "$SunId$ SGI" |
| 3 |
|
# |
| 4 |
|
|
| 5 |
|
ARCH = sun |
| 33 |
|
sgi: glimage |
| 34 |
|
cp glimage $(INSTDIR) |
| 35 |
|
|
| 36 |
– |
tiff: ra_tiff |
| 37 |
– |
cp ra_tiff $(INSTDIR) |
| 38 |
– |
|
| 36 |
|
sun: |
| 37 |
|
|
| 38 |
|
install: $(PROGS) $(SPECIAL) normpat.csh falsecolor.csh \ |
| 177 |
|
ra_tiff: ra_tiff.o ../lib/libtiff.a |
| 178 |
|
$(CC) $(CFLAGS) -o ra_tiff ra_tiff.o -lrt -ltiff $(MLIB) |
| 179 |
|
|
| 180 |
< |
ra_tiff.o: ra_tiff.c |
| 181 |
< |
$(CC) $(CFLAGS) -Ilibtiff -c ra_tiff.c |
| 180 |
> |
../common/tiff.h ../lib/libtiff.a: tiff/config.local |
| 181 |
> |
cd tiff ; ./configure -quiet -noninteractive ; \ |
| 182 |
> |
cd libtiff ; make install ; |
| 183 |
> |
# cd .. ; make distclean |
| 184 |
|
|
| 186 |
– |
../lib/libtiff.a: |
| 187 |
– |
cd libtiff ; make -f Makefile.$(ARCH) ; \ |
| 188 |
– |
mv libtiff.a ../../lib ; make clean |
| 189 |
– |
|
| 185 |
|
ra_pixar: ra_pixar.o ra_pixar.c |
| 186 |
|
$(CC) $(CFLAGS) $(PIXAR_INCLUDE) -o $@ ra_pixar.o -lrt \ |
| 187 |
|
$(PIXAR_LIB) |
| 232 |
|
x11image.o: ../common/tonemap.h ../common/color.h |
| 233 |
|
|
| 234 |
|
ra_t8.o: ../common/targa.h |
| 235 |
+ |
|
| 236 |
+ |
ra_tiff.o: ../common/tiff.h |
| 237 |
|
|
| 238 |
|
aedimage.o ximage.o ra_t8.o ra_pr.o: pic.h |
| 239 |
|
|