TOPDIR = ../..
include $(TOPDIR)/Makefile.vars.config

LIBNAME = utils
include $(CONFIG)/Makefile.lib.vars

ifneq ($(findstring alpha_osf, $(SYS)),)
CXXFILES = utils
endif

GENCLASS = char.Vec void_ptr.Vec void_ptr.Set void_ptr.AVLSet void_ptr.Bag void_ptr.SplayNode void_ptr.SplayBag

EXTRAHDRS = char.defs.h void_ptr.defs.h

include $(CONFIG)/Makefile.targets.lib

char.Vec.cc char.Vec.h:
	genclass char val Vec

void_ptr.Vec.cc void_ptr.Vec.h:
	genclass void_ptr val Vec

void_ptr.Set.cc void_ptr.Set.h:
	genclass void_ptr val Set
void_ptr.AVLSet.cc void_ptr.AVLSet.h:
	genclass void_ptr val AVLSet

void_ptr.Bag.cc void_ptr.Bag.h:
	genclass void_ptr val Bag
void_ptr.SplayNode.cc void_ptr.SplayNode.h:
	genclass void_ptr val SplayNode
void_ptr.SplayBag.cc void_ptr.SplayBag.h:
	genclass void_ptr val SplayBag
