export LIBRARY.heap = heap.a

export SOURCES.heap = \
	bind.cc \
	check.cc \
	collect.cc \
	copy_term.cc \
	delay.cc \
	dereference.cc \
	display_term.cc \
	distinction.cc \
	equal.cc \
	freeness.cc \
	heap.cc \
	heap_buffer.cc \
	objects.cc \
	occurs_check.cc \
	regalloc.cc \
	substitution.cc \
	timeout.cc \
	unify.cc \
	unravel.cc \
	user_hash_table.cc \
	yield.cc \
        WinXGetopt.cc

export BASES.heap	= $(basename $(SOURCES.heap))
export OBJECTS.heap = $(addsuffix .o,$(BASES.heap))

.PHONY: all.heap
all.heap: $(LIBRARY.heap)

$(LIBRARY.heap): $(OBJECTS.heap)
	$(AR) $(ARFLAGS) $@ $(OBJECTS.heap)
	@RANLIB@ $@

.PHONY: install.heap
install.heap: all.heap

.PHONY:	clean.heap
clean.heap:
	$(RM) Makefile.heap $(LIBRARY.heap) $(OBJECTS.heap)


