MANSUFFIX = 1

CPLUSPLUS_EXTRA_INCLUDES  = $(PROJECTLIBGENERICEXTRAINCLUDES)

SRCSTOPGM = gentopgm.cc
OBJSTOPGM = gentopgm.o

CPLUSPLUS_SRCS = $(SRCSTOPGM)
OBJS = $(OBJSTOPGM)

AllTarget(gentopgm)

NormalCCProgramTarget(gentopgm,$(OBJSTOPGM),NullParameter,NullParameter,NullParameter)

InstallProgram(gentopgm,$(INSTALLBINDIR))
InstallManPage(gentopgm,$(INSTALLMANDIR)/man1)

DependCCTarget()

test::
	@$(TOP)/support/testapp testlist ./gentopgm "" $(TOP)/images/genesis $(TOP)/test/$(CURRENT_DIR) compare filter

test.create::
	@$(TOP)/support/testapp testlist ./gentopgm "" $(TOP)/images/genesis $(TOP)/test/$(CURRENT_DIR) create filter
