      srcdir = @srcdir@
       VPATH = @srcdir@
       SHELL = /bin/sh
          CC = @CC@
     INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
STD_INCLUDES = -I. -I$(srcdir)
          AR = ar cq
      RANLIB = @RANLIB@
     LIBOBJS = @LIBOBJS@
    PROGRAMS = libV.a
      TOPDIR = ../..
  MAKEDEPEND = makedepend

SRCS	= \
	  VOpenVp.c \
	  VResizeVp.c \
	  VExposeVp.c \
	  VCloseVp.c \
	  VGetEyeSpace.c \
	  VGetPlanes.c \
	  VCmpClipN.c \
	  VReadObject.c \
	  VWriteObject.c \
	  VCmpObjExt.c \
	  VCopyObj.c \
	  VOrder.c \
	  VAllocColor.c \
	  VBindColors.c \
	  VExpBuffer.c \
	  VCrPoly.c \
	  VCrPoints.c \
	  VCopyPoly.c \
	  VDrawArc.c \
	  VDrawPoly.c \
	  VDrawSeg.c \
	  VDrawStroke.c \
	  VFillPoly.c \
	  VDepthCue.c \
	  VDrawString.c \
	  VClipPoly.c \
	  VDotProd.c \
	  VCrossProd.c \
	  VRotate.c \
	  VTransPoly.c \
	  VWorldToScr.c \
	  VEyeToScr.c \
	  VTrans.c \
	  VIdentMat.c \
	  VMatMult.c \
	  VPrintPoly.c \
	  Vmalloc.c \
	  Vdefs.c \
	  frameBuff.c \
	  $(EXTRASRCS) \
	  strdup.c

OBJS	= \
	  VOpenVp.o \
	  VResizeVp.o \
	  VExposeVp.o \
	  VCloseVp.o \
	  VGetEyeSpace.o \
	  VGetPlanes.o \
	  VCmpClipN.o \
	  VReadObject.o \
	  VWriteObject.o \
	  VCmpObjExt.o\
	  VCopyObj.o \
	  VOrder.o \
	  VAllocColor.o \
	  VBindColors.o \
	  VExpBuffer.o \
	  VCrPoly.o \
	  VCrPoints.o \
	  VCopyPoly.o \
	  VDrawArc.o \
	  VDrawPoly.o \
	  VDrawSeg.o \
	  VDrawStroke.o \
	  VFillPoly.o \
	  VDepthCue.o \
	  VDrawString.o \
	  VClipPoly.o \
	  VDotProd.o \
	  VCrossProd.o \
	  VRotate.o \
	  VTransPoly.o \
	  VWorldToScr.o \
	  VEyeToScr.o \
	  VTrans.o \
	  VIdentMat.o \
	  VMatMult.o \
	  VPrintPoly.o \
	  Vmalloc.o \
	  InitAWin.o \
	  CloseAWin.o \
	  FillPoly.o \
	  FillRect.o \
	  DrawLine.o \
	  DrawPoint.o \
	  FWinRedraw.o \
	  FrameCmpl.o \
	  ClipLine.o \
	  ETToSL.o \
	  MakeET.o \
	  SLDiff.o \
	  DrawSL.o \
	  Vdefs.o \
	  frameBuff.o \
	  $(EXTRAOBJS) \
	  $(LIBOBJS)

     CFLAGS = -O $(DEFINES) @DEFS@ $(STD_INCLUDES)

all:	$(PROGRAMS)

libV.a:	$(OBJS)
	rm -f $@
	$(AR) $@ $(OBJS)
	$(RANLIB) $@

clean:
	rm -f $(PROGRAMS) *.o core *~

mostlyclean:
	rm -f *.o core *~

TAGS:	$(SRCS)
	etags $(SRCS)

distclean:
	rm -f Makefile

realclean:	distclean
	rm -f TAGS

install uninstall:

depend:
	$(MAKEDEPEND) $(DEFINES) @DEFS@ $(STD_INCLUDES) $(SRCS)

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