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>
26 lines
674 B
Makefile
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 $@
|