#
# this is a GNUmakefile.  It must be processed with GNU make.
#

TARGET_ARCH=
TOP=../..

# you should define the make variables LOBJS and HEADERS before the
# include directive.  LOBJS is a list of Library OBJects that belong
# in libiac++.a.  HEADERS is a list of public header files that belong
# in iac++/include.

LOBJS=  IntPointSet.o HashTable.o \
	BoxyIPS.o YoderIPS.o \
	BoxyIPSIter.o YoderIPSIter.o \
	SetStructure.o \
	FloatPointSet.o
HEADERS= IntPointSet.h FloatPointSet.h \
	BasePS.h ClosurePS.h PSIter.h BaseIPSIter.h \
	SetStructure.h Set.h


# OTHERLIBS=/usr/lib/debug/malloc.o /usr/lib/debug/mallocmap.o
EXTRAINCLUDES = -I../ia # for the Array

CLOSUREOBJS = closure.o
BLASTABLE_PTFILES = ___ls__FR7ostreamRC11IA_IntPoint \
	*IA_ValueSet* empty_ps* IA_Point*

include ${TOP}/src/gnumake.templ

XTRACCFLAGS=

lib: closure

closure: BasePS.h BasePS.c MondoPS.c MondoPS.h \
	ClosurePS.h ClosurePS.c LazyPS.h LazyPS.c \
	BaseIPSIter.h BaseIPSIter.c PSIter.h PSIter.c \
	ListFPS.h ListFPS.c

clean::
	rm -f ptrepository/*.o


# dependencies
BaseIPSIter.o : BaseIPSIter.c BaseIPSIter.h BasePS.h ../../include/ia.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h 
BasePS.o : BasePS.c BasePS.h ../../include/ia.h ../../include/Point.h ../../include/IntPoint.h \
  ../../include/FloatPoint.h 
BoxyIPS.o : BoxyIPS.c ../../include/ia.h BoxyIPS.h BasePS.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h BoxyIPSIter.h BaseIPSIter.h \
  IntPointSet.h Set.h SetStructure.h ../../include/Array.h 
BoxyIPSIter.o : BoxyIPSIter.c BoxyIPSIter.h BaseIPSIter.h BasePS.h ../../include/ia.h \
  ../../include/Point.h ../../include/IntPoint.h ../../include/FloatPoint.h BoxyIPS.h 
ClosurePS.o : ClosurePS.c 
FloatPointSet.o : FloatPointSet.c FloatPointSet.h Set.h ../../include/FloatPoint.h \
  ../../include/ia.h ../../include/Point.h ../../include/IntPoint.h BasePS.h SetStructure.h \
  ../../include/Array.h IntPointSet.h MondoPS.h ClosurePS.h LazyPS.h ListFPS.h \
  ../../include/ValueSet.h 
HashTable.o : HashTable.c HashTable.h BasePS.h ../../include/ia.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h 
IntPointSet.o : IntPointSet.c IntPointSet.h Set.h ../../include/IntPoint.h ../../include/ia.h \
  ../../include/Point.h BasePS.h SetStructure.h ../../include/Array.h HashTable.h \
  PSIter.h BaseIPSIter.h FloatPointSet.h ../../include/FloatPoint.h BoxyIPS.h \
  YoderIPS.h LazyPS.h MondoPS.h ClosurePS.h 
LazyPS.o : LazyPS.c LazyPS.h BasePS.h ../../include/ia.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h 
ListFPS.o : ListFPS.c BaseIPSIter.h BasePS.h ../../include/ia.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h 
MondoPS.o : MondoPS.c MondoPS.h BasePS.h ../../include/ia.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h BaseIPSIter.h 
PSIter.o : PSIter.c PSIter.h BaseIPSIter.h BasePS.h ../../include/ia.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h IntPointSet.h Set.h SetStructure.h \
  ../../include/Array.h FloatPointSet.h 
SetStructure.o : SetStructure.c SetStructure.h ../../include/Array.h 
YoderIPS.o : YoderIPS.c ../../include/ia.h YoderIPS.h ../../include/IntPoint.h \
  ../../include/Point.h IntPointSet.h Set.h BasePS.h SetStructure.h ../../include/Array.h \
  BoxyIPS.h MondoPS.h YoderIPSIter.h BaseIPSIter.h PSIter.h FloatPointSet.h ../../include/FloatPoint.h 
YoderIPSIter.o : YoderIPSIter.c PSIter.h BaseIPSIter.h BasePS.h ../../include/ia.h \
  ../../include/Point.h ../../include/IntPoint.h ../../include/FloatPoint.h IntPointSet.h \
  Set.h SetStructure.h ../../include/Array.h FloatPointSet.h YoderIPSIter.h YoderIPS.h \
  BoxyIPS.h 
closure.o : closure.c ClosurePS.h BasePS.h ../../include/ia.h ../../include/Point.h \
  ../../include/IntPoint.h ../../include/FloatPoint.h ../../include/ValueSet.h \
  IntPointSet.h Set.h SetStructure.h ../../include/Array.h PSIter.h BaseIPSIter.h \
  FloatPointSet.h 
