         PROGRAMS = amkmf makedepend afmf mergelib mkdirhier

all:: $(PROGRAMS)

CppScriptTarget(amkmf, amkmf.cpp, -DCONFIGDIRSPEC='"'"-I$(CONFIGDIR)"'"', $(ICONFIGFILES))
CppScriptTarget(makedepend, mdepend.cpp, -DPREPROC='"'"$(PREPROCESSCMD)"'"', $(ICONFIGFILES))
CppScriptTarget(afmf, afmf.cpp, /**/, /**/)
CppScriptTarget(mergelib, mergelib.cpp, "-DARCMD=$(AR)" "-DRANLIB=$(RANLIB)", $(ICONFIGFILES))
CppScriptTarget(mkdirhier, mkdirh.cpp, /**/, /**/)

InstallProgram(amkmf,$(BINDIR))
InstallProgram(mkdirhier,$(BINDIR))
#if UseCCMakeDepend
InstallProgram(makedepend,$(BINDIR))
#endif

clean::
	$(RM) $(PROGRAMS)

depend::

install.man::

