## Copyright 1992 OTC LIMITED

## Initialisation.

ifeq "$(SRCDIR)" ""
SRCDIR := .
endif

BLDROOT := ../..
SRCROOT := $(SRCDIR)/$(BLDROOT)

MODULES := install
NOMK := YES

include $(SRCROOT)/project/init.mk

## Local definitions.

MANDIR := $(OSE_HOME)/man
ifeq "$(HAVE_LONG_FILE_NAMES)" "YES"
SECTION3 := $(filter %.3,$(SRCFILES))
endif

## Makeit modules.

include $(SRCROOT)/project/modules.mk

## Local rules.

FILES := \
 $(wildcard $(SRCROOT)/include/*/*/*.hh)

dist ::
	class2man $(FILES)
	$(RM) OTC_ArenaBlock.3
	$(RM) OTC_Capacity.3
	$(RM) OTC_Chunk.3
	$(RM) OTC_ChunkRep.3
	$(RM) OTC_HeapFooter.3
	$(RM) OTC_HeapHeader.3
	$(RM) OTC_Length.3
	$(RM) OTC_LocalityUnion.3
	$(RM) OTC_OldBufferRef.3
	$(RM) OTC_RegexpStruct.3
	$(RM) OTC_StringBuffer.3
	$(RM) OTC_StringData.3
	$(RM) OTC_SymbolData.3
	$(RM) OTC_TableEntry.3

mostlyclean.always ::
	$(RM) *.ci
