Files
mcde/Makefile.am
T
lotherk b7e71a4fef mcde: AM_MAKEFLAGS forwards KSH_CC to the sub-makes
The recipe gives the top-level make KSH_CC (the compiler wrapper's path for
dtksh's ksh93), but programs/dtksh is a sub-make and did not see it: the rule ran
without the argument and bin/package stopped again at 'cc: not found -- set
CC=C-compiler' (build/logs/userland-2026-11-14-finish2.log:16461).  The other
host-tool variables are forwarded here for the same reason.
2026-11-14 07:42:52 +00:00

32 lines
936 B
Makefile

docsdir = $(CDE_INSTALLATION_TOP)
docs_DATA = CONTRIBUTORS COPYING copyright HISTORY README.md
MAINTAINERCLEANFILES = Makefile.in \
configure libtool \
config.guess \
config.sub \
config.log \
config.h.in \
install-sh
# motif/ first: its own configure made these Makefiles (configure.ac,
# AC_CONFIG_SUBDIRS); only the parts MCDE uses are built and installed
if PRIVATE_MOTIF
MOTIF_DIRS = motif/config motif/lib motif/tools motif/clients/uil
endif
SUBDIRS = util $(MOTIF_DIRS) lib programs include fonts
# Motif's programs for the build itself (configure.ac, CC_FOR_BUILD)
AM_MAKEFLAGS = CC_FOR_BUILD='$(CC_FOR_BUILD)' \
CFLAGS_FOR_BUILD='$(CFLAGS_FOR_BUILD)' \
CPPFLAGS_FOR_BUILD='$(CPPFLAGS_FOR_BUILD)' \
LDFLAGS_FOR_BUILD='$(LDFLAGS_FOR_BUILD)' \
LIBS_FOR_BUILD='$(LIBS_FOR_BUILD)' \
AR_FOR_BUILD='$(AR_FOR_BUILD)' RANLIB_FOR_BUILD='$(RANLIB_FOR_BUILD)' \
KSH_CC='$(KSH_CC)'
if BUILD_DOCS
SUBDIRS += doc
endif