Files
mcde/programs/dtinfo/tools/misc/Makefile.am
T
lotherkandClaude Sonnet 5.5 455f5c2327 MCDE: build tools run on the build host; docs and appbuilder are options (cross build)
mkcatdefs/merge, dfiles/pmaker, the dthelp parsers' context/fclndir are
compiled with CC_FOR_BUILD; sym2num runs with KSH_FOR_BUILD; documentation
and dtappbuilder/ttsnoop (dtcodegen) are options the cross build turns off.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 11:29:16 +00:00

26 lines
674 B
Makefile

MAINTAINERCLEANFILES = Makefile.in
# dfiles and pmaker are build tools (dtinfo/src/Makefile.am runs them), so they
# are compiled for the build host, not the target: the same as util/tradcpp.
# msgsets (a C++ program nothing runs) is no longer built; its source stays.
noinst_PROGRAMS = dfiles pmaker
EXTRA_DIST = msgsets.C msgsets.l reverse.c treecomp
CC = $(CC_FOR_BUILD)
CPPFLAGS = $(CPPFLAGS_FOR_BUILD)
CFLAGS = $(CFLAGS_FOR_BUILD)
LDFLAGS = $(LDFLAGS_FOR_BUILD)
noinst_SCRIPTS = treeres
LOCAL_SED_DEFINES = -e 's|PERL|$(PERL)|g'
dfiles_SOURCES = dfiles.c
pmaker_SOURCES = pmaker.c
treeres: treeres.src
$(RM) $@
$(SED) $(LOCAL_SED_DEFINES) $< > $@
chmod +x $@