# @configure_input@

      srcdir = @srcdir@
       VPATH = @srcdir@
       SHELL = /bin/sh
          CC = @CC@
     INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
STD_INCLUDES = -I. -I$(srcdir) -I../..
          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 \
	  VReadDXF.c \
	  VScalePoly.c \
	  VWriteObject.c \
	  VCmpObjExt.c \
	  VCopyObj.c \
	  VDestObj.c \
	  VOrder.c \
	  VAllocColor.c \
	  VBindColors.c \
	  VConColor.c \
	  VExpBuffer.c \
	  VCrPoly.c \
	  VCrPoints.c \
	  VCopyPoly.c \
	  VDrawArc.c \
	  VDrawPoly.c \
	  VDrawSeg.c \
	  VDrawStroke.c \
	  VFillPoly.c \
	  VFillRect.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 \
	  VQuat.c \
	  VPrintPoly.c \
	  VSetClip.c \
	  Vmalloc.c \
	  InitAWin.c \
	  CloseAWin.c \
	  AAllocColor.c \
	  FillPoly.c \
	  FillRect.c \
	  DrawLine.c \
	  DrawPoint.c \
	  FWinRedraw.c \
	  FrameCmpl.c \
	  ClipLine.c \
	  ETToSL.c \
	  MakeET.c \
	  SLDiff.c \
	  DrawSL.c \
	  Vdefs.c \
	  @VLIB_EXTRA_C_FILES@ \
	  Alib.c \
	  frameBuff.c \
	  $(EXTRASRCS) \
	  strdup.c

OBJS	= \
	  VOpenVp.o \
	  VResizeVp.o \
	  VExposeVp.o \
	  VCloseVp.o \
	  VGetEyeSpace.o \
	  VGetPlanes.o \
	  VCmpClipN.o \
	  VReadObject.o \
	  VReadDXF.o \
	  VScalePoly.o \
	  VWriteObject.o \
	  VCmpObjExt.o\
	  VDestObj.o \
	  VCopyObj.o \
	  VOrder.o \
	  VAllocColor.o \
	  VBindColors.o \
	  VConColor.o \
	  VExpBuffer.o \
	  VCrPoly.o \
	  VCrPoints.o \
	  VCopyPoly.o \
	  VDrawArc.o \
	  VDrawPoly.o \
	  VDrawSeg.o \
	  VDrawStroke.o \
	  VFillPoly.o \
	  VFillRect.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 \
	  VQuat.o \
	  VPrintPoly.o \
	  VSetClip.o \
	  Vmalloc.o \
	  InitAWin.o \
	  CloseAWin.o \
	  AAllocColor.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 \
	  @VLIB_EXTRA_O_FILES@ \
	  Alib.o \
	  $(EXTRAOBJS) \
	  $(LIBOBJS)

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

# Programs to make tags files.
  ETAGS = etags -tw
  CTAGS = ctags -tw
tagsrcs = $(SRCS)

all:	$(PROGRAMS)

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

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

mostlyclean:
	rm -f *.o core *~

TAGS:	$(tagsrcs)
	$(ETAGS) $(tagsrcs)

tags:   $(tagsrcs)
	$(CTAGS) $(tagsrcs)

distclean: clean
	rm -f Makefile

realclean:	distclean
	rm -f TAGS

install uninstall:

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

test check:

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