# $Header: MAKEFILE,v 2.204 89/10/08 11:37:09 keith Stab $
CC = CC
CCDEBUG =
# For no multiple inheritance support
MI =
# Enable support for multiple inheritance
#MI = -DMI
I = /usr/include/CC
NIHCLLIB = ../lib/libnihcl.a
NIHVECLIB = libnihclvec.a
CFLAGS = ${MI} -I${NIHCLINCDIR} ${CCDEBUG} +p
# Target Directories
NIHCLLIBDIR = /usr/lib
NIHCLINCDIR = ../lib
NIHCLSRCDIR = /usr/local/src/nihcl

VECS = BitVec.c ByteVec.c DoubleVec.c FloatVec.c IntVec.c LongVec.c ShortVec.c
OBJECTS = BitVec.o ByteVec.o ByteVect.o DoubleVec.o DoubleVect.o FloatVec.o FloatVect.o IntVec.o IntVect.o LongVec.o LongVect.o ShortVec.o ShortVect.o Vector.o

.SUFFIXES: ..c .s
.c.o:
	${CC} ${CFLAGS} -c $<
.c..c:
	${CC} ${CFLAGS} +i -c $<
.c.s:
	${CC} ${CFLAGS} +i -S $<

.PRECIOUS: ${NIHVECLIB}

all: always ${NIHVECLIB}

${NIHVECLIB}: ${OBJECTS}
	ar rv $@ $?
	-ranlib ${NIHVECLIB}
	rm $?

always:
	${MAKE} generic

generic:
	${MAKE} -f genericmake ${VECS}

install:
	cp lib*.a ${NIHCLLIBDIR}
	-for i in lib*.a; do (cd ${NIHCLLIBDIR}; ranlib -t $$i); done
	-mkdir ${NIHCLINCDIR}
	cp *.h ${NIHCLINCDIR}
	-mkdir ${NIHCLSRCDIR}
	cp *.c ${NIHCLSRCDIR}

clean:
	-chmod u+w *Vec.c
	-rm -f targetlist *.o *Vec.c *..c *.s ${NIHVECLIB} make.tdep*

# DO NOT DELETE THIS LINE -- make depend depends on it.

BitVec.o: IntVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
BitVec.o: $I/stdio.h $I/errno.h
BitVec.o: $I/stream.h $I/iostream.h
BitVec.o: $I/memory.h $I/iomanip.h
BitVec.o: $I/generic.h $I/stdiostream.h
BitVec.o: $I/fstream.h $I/errors.h
BitVec.o: $I/math.h BitVec.h bitstreams.h ${NIHCLINCDIR}/nihclconfig.h
BitVec.o: $I/signal.h $I/sys/signal.h
BitVec.o: $I/setjmp.h ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h
BitVec.o: ${NIHCLINCDIR}/OIOfd.h $I/string.h $I/osfcn.h
BitVec.o: $I/sys/types.h /usr/include/sys/sysmacros.h
BitVec.o: $I/sys/ptrace.h
ByteVec.o: ByteVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
ByteVec.o: $I/stdio.h $I/errno.h
ByteVec.o: $I/stream.h $I/iostream.h
ByteVec.o: $I/memory.h $I/iomanip.h
ByteVec.o: $I/generic.h $I/stdiostream.h
ByteVec.o: $I/fstream.h $I/errors.h
ByteVec.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclIO.h
ByteVec.o: ${NIHCLINCDIR}/OIO.h ${NIHCLINCDIR}/OIOfd.h $I/string.h
ByteVec.o: $I/osfcn.h $I/sys/types.h
ByteVec.o: /usr/include/sys/sysmacros.h $I/sys/ptrace.h
ByteVect.o: ByteVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
ByteVect.o: $I/stdio.h $I/errno.h
ByteVect.o: $I/stream.h $I/iostream.h
ByteVect.o: $I/memory.h $I/iomanip.h
ByteVect.o: $I/generic.h $I/stdiostream.h
ByteVect.o: $I/fstream.h $I/errors.h
ByteVect.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclconfig.h
ByteVect.o: $I/signal.h $I/sys/signal.h
ByteVect.o: $I/setjmp.h ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h
ByteVect.o: ${NIHCLINCDIR}/OIOfd.h $I/string.h $I/osfcn.h
ByteVect.o: $I/sys/types.h /usr/include/sys/sysmacros.h
ByteVect.o: $I/sys/ptrace.h $I/libc.h
ByteVect.o: $I/pwd.h $I/rand48.h
ByteVect.o: $I/regcmp.h
DoubleVec.o: DoubleVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
DoubleVec.o: $I/stdio.h $I/errno.h
DoubleVec.o: $I/stream.h $I/iostream.h
DoubleVec.o: $I/memory.h $I/iomanip.h
DoubleVec.o: $I/generic.h $I/stdiostream.h
DoubleVec.o: $I/fstream.h $I/errors.h
DoubleVec.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclIO.h
DoubleVec.o: ${NIHCLINCDIR}/OIO.h ${NIHCLINCDIR}/OIOfd.h $I/string.h
DoubleVec.o: $I/osfcn.h $I/sys/types.h
DoubleVec.o: /usr/include/sys/sysmacros.h $I/sys/ptrace.h
DoubleVect.o: DoubleVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
DoubleVect.o: $I/stdio.h $I/errno.h
DoubleVect.o: $I/stream.h $I/iostream.h
DoubleVect.o: $I/memory.h $I/iomanip.h
DoubleVect.o: $I/generic.h $I/stdiostream.h
DoubleVect.o: $I/fstream.h $I/errors.h
DoubleVect.o: $I/math.h BitVec.h IntVec.h FloatVec.h
DoubleVect.o: ${NIHCLINCDIR}/nihclconfig.h $I/signal.h
DoubleVect.o: $I/sys/signal.h $I/setjmp.h
DoubleVect.o: ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h ${NIHCLINCDIR}/OIOfd.h
DoubleVect.o: $I/string.h $I/osfcn.h
DoubleVect.o: $I/sys/types.h /usr/include/sys/sysmacros.h
DoubleVect.o: $I/sys/ptrace.h $I/libc.h
DoubleVect.o: $I/pwd.h $I/rand48.h
DoubleVect.o: $I/regcmp.h
FloatVec.o: FloatVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
FloatVec.o: $I/stdio.h $I/errno.h
FloatVec.o: $I/stream.h $I/iostream.h
FloatVec.o: $I/memory.h $I/iomanip.h
FloatVec.o: $I/generic.h $I/stdiostream.h
FloatVec.o: $I/fstream.h $I/errors.h
FloatVec.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclIO.h
FloatVec.o: ${NIHCLINCDIR}/OIO.h ${NIHCLINCDIR}/OIOfd.h $I/string.h
FloatVec.o: $I/osfcn.h $I/sys/types.h
FloatVec.o: /usr/include/sys/sysmacros.h $I/sys/ptrace.h
FloatVect.o: FloatVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
FloatVect.o: $I/stdio.h $I/errno.h
FloatVect.o: $I/stream.h $I/iostream.h
FloatVect.o: $I/memory.h $I/iomanip.h
FloatVect.o: $I/generic.h $I/stdiostream.h
FloatVect.o: $I/fstream.h $I/errors.h
FloatVect.o: $I/math.h BitVec.h IntVec.h DoubleVec.h
FloatVect.o: ${NIHCLINCDIR}/nihclconfig.h $I/signal.h
FloatVect.o: $I/sys/signal.h $I/setjmp.h
FloatVect.o: $I/libc.h $I/pwd.h
FloatVect.o: $I/rand48.h $I/regcmp.h
IntVec.o: IntVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
IntVec.o: $I/stdio.h $I/errno.h
IntVec.o: $I/stream.h $I/iostream.h
IntVec.o: $I/memory.h $I/iomanip.h
IntVec.o: $I/generic.h $I/stdiostream.h
IntVec.o: $I/fstream.h $I/errors.h
IntVec.o: $I/math.h BitVec.h ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h
IntVec.o: ${NIHCLINCDIR}/OIOfd.h $I/string.h $I/osfcn.h
IntVec.o: $I/sys/types.h /usr/include/sys/sysmacros.h
IntVec.o: $I/sys/ptrace.h
IntVect.o: IntVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
IntVect.o: $I/stdio.h $I/errno.h
IntVect.o: $I/stream.h $I/iostream.h
IntVect.o: $I/memory.h $I/iomanip.h
IntVect.o: $I/generic.h $I/stdiostream.h
IntVect.o: $I/fstream.h $I/errors.h
IntVect.o: $I/math.h BitVec.h ${NIHCLINCDIR}/nihclconfig.h
IntVect.o: $I/signal.h $I/sys/signal.h
IntVect.o: $I/setjmp.h ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h
IntVect.o: ${NIHCLINCDIR}/OIOfd.h $I/string.h $I/osfcn.h
IntVect.o: $I/sys/types.h /usr/include/sys/sysmacros.h
IntVect.o: $I/sys/ptrace.h $I/libc.h
IntVect.o: $I/pwd.h $I/rand48.h
IntVect.o: $I/regcmp.h
LongVec.o: LongVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
LongVec.o: $I/stdio.h $I/errno.h
LongVec.o: $I/stream.h $I/iostream.h
LongVec.o: $I/memory.h $I/iomanip.h
LongVec.o: $I/generic.h $I/stdiostream.h
LongVec.o: $I/fstream.h $I/errors.h
LongVec.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclIO.h
LongVec.o: ${NIHCLINCDIR}/OIO.h ${NIHCLINCDIR}/OIOfd.h $I/string.h
LongVec.o: $I/osfcn.h $I/sys/types.h
LongVec.o: /usr/include/sys/sysmacros.h $I/sys/ptrace.h
LongVect.o: LongVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
LongVect.o: $I/stdio.h $I/errno.h
LongVect.o: $I/stream.h $I/iostream.h
LongVect.o: $I/memory.h $I/iomanip.h
LongVect.o: $I/generic.h $I/stdiostream.h
LongVect.o: $I/fstream.h $I/errors.h
LongVect.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclconfig.h
LongVect.o: $I/signal.h $I/sys/signal.h
LongVect.o: $I/setjmp.h ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h
LongVect.o: ${NIHCLINCDIR}/OIOfd.h $I/string.h $I/osfcn.h
LongVect.o: $I/sys/types.h /usr/include/sys/sysmacros.h
LongVect.o: $I/sys/ptrace.h $I/libc.h
LongVect.o: $I/pwd.h $I/rand48.h
LongVect.o: $I/regcmp.h
ShortVec.o: ShortVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
ShortVec.o: $I/stdio.h $I/errno.h
ShortVec.o: $I/stream.h $I/iostream.h
ShortVec.o: $I/memory.h $I/iomanip.h
ShortVec.o: $I/generic.h $I/stdiostream.h
ShortVec.o: $I/fstream.h $I/errors.h
ShortVec.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclIO.h
ShortVec.o: ${NIHCLINCDIR}/OIO.h ${NIHCLINCDIR}/OIOfd.h $I/string.h
ShortVec.o: $I/osfcn.h $I/sys/types.h
ShortVec.o: /usr/include/sys/sysmacros.h $I/sys/ptrace.h
ShortVect.o: ShortVec.h Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
ShortVect.o: $I/stdio.h $I/errno.h
ShortVect.o: $I/stream.h $I/iostream.h
ShortVect.o: $I/memory.h $I/iomanip.h
ShortVect.o: $I/generic.h $I/stdiostream.h
ShortVect.o: $I/fstream.h $I/errors.h
ShortVect.o: $I/math.h BitVec.h IntVec.h ${NIHCLINCDIR}/nihclconfig.h
ShortVect.o: $I/signal.h $I/sys/signal.h
ShortVect.o: $I/setjmp.h ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h
ShortVect.o: ${NIHCLINCDIR}/OIOfd.h $I/string.h
ShortVect.o: $I/osfcn.h $I/sys/types.h
ShortVect.o: /usr/include/sys/sysmacros.h $I/sys/ptrace.h
ShortVect.o: $I/libc.h $I/pwd.h
ShortVect.o: $I/rand48.h $I/regcmp.h
Vector.o: Vector.h ${NIHCLINCDIR}/Object.h $I/stddef.h
Vector.o: $I/stdio.h $I/errno.h
Vector.o: $I/stream.h $I/iostream.h
Vector.o: $I/memory.h $I/iomanip.h
Vector.o: $I/generic.h $I/stdiostream.h
Vector.o: $I/fstream.h $I/errors.h
Vector.o: $I/math.h ${NIHCLINCDIR}/nihclIO.h ${NIHCLINCDIR}/OIO.h
Vector.o: ${NIHCLINCDIR}/OIOfd.h $I/string.h $I/osfcn.h
Vector.o: $I/sys/types.h /usr/include/sys/sysmacros.h
Vector.o: $I/sys/ptrace.h

