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>
21 lines
573 B
Makefile
21 lines
573 B
Makefile
noinst_PROGRAMS = merge mkcatdefs
|
|
|
|
# merge and mkcatdefs are build tools (the catalogs are made with them while
|
|
# building): compiled for the build host, not the target (util/tradcpp).
|
|
CC = $(CC_FOR_BUILD)
|
|
CPPFLAGS = $(CPPFLAGS_FOR_BUILD)
|
|
CFLAGS = $(CFLAGS_FOR_BUILD)
|
|
LDFLAGS = $(LDFLAGS_FOR_BUILD)
|
|
|
|
BUILT_SOURCES = MsgCat.c
|
|
CLEANFILES = MsgCat.c
|
|
|
|
MsgCat.c: ${top_srcdir}/lib/DtSvc/DtUtil2/MsgCat.c
|
|
$(RM) MsgCat.c && ln -s ${top_srcdir}/lib/DtSvc/DtUtil2/MsgCat.c MsgCat.c
|
|
|
|
AM_CFLAGS = -DNO_XLIB
|
|
|
|
merge_SOURCES = merge.c MsgCat.c
|
|
|
|
mkcatdefs_SOURCES = mkcatdefs.c MsgCat.c
|