#
#/*****************************************************************************
#*
#*                         NCSA HDF version 3.00
#*                               December, 1989
#*
#* NCSA HDF Version 3.00 source code and documentation are in the public
#* domain.  Specifically, we give to the public domain all rights for future
#* licensing of the source code, all resale rights, and all publishing rights.
#*
#* We ask, but do not require, that the following message be included in all
#* derived works:
#*
#* Portions developed at the National Center for Supercomputing Applications at
#* the University of Illinois at Urbana-Champaign.
#*
#* THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
#* SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
#* WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
#*
#*****************************************************************************/
#
# Makefile for compiling required HDF routines and creating the library
# for use with CompositeTool 1.1.
#
# THIS IS ONLY A SUBSET OF THE NCSA HDF VERSION 3.00! THERE IS A
# SEPARATE DISTRIBUTION FOR NCSA HDF. See the anonymous FTP server
# README.FIRST file for details.
#
# If you type 
#
#			make
#
# in this directory, correct execution will result in the library file
#
#			libdf.a
#
# in this directory.
#
# The header files required are all in this directory.
#
#------------------------------------------------------------------------------
#
CFLAGS = -O
#
OBJS =		df.o \
		dfr8.o \
		dfgroup.o \
		dfcomp.o \
		dfimcomp.o \
		dfkit.o \
		dfp.o
#
# include this simply to prevent the printing of the compile line.
#
.c.o:
	@ $(CC) $(CFLAGS) -c $<
#
# include 1>/dev/null 2>&1 to prevent the printing of any output
#
libdf.a: $(OBJS)
	@ if [ -f libdf.a ]; then \
		ar ruv libdf.a $? 1>/dev/null 2>&1; \
	else \
		ar rcv libdf.a $? 1>/dev/null 2>&1; \
	fi
	@ ranlib libdf.a
#
df.o:		dfi.h df.h
dfr8.o:		dfrig.h dfi.h df.h
dfgroup.o:	dfi.h df.h
dfcomp.o:	dfi.h df.h
dfimcomp.o:	dfi.h df.h
dfkit.o:	dfi.h df.h
dfp.o:		dfi.h df.h
