1## 2# Toplevel Makefile wrapper for Tcl extensions 3## 4# Daniel A. Steffen <das@users.sourceforge.net> 5## 6 7CoreOSMakefiles = $(MAKEFILEPATH)/CoreOS 8include $(CoreOSMakefiles)/Standard/Standard.make 9 10tcl_ext_compiled = thread tclx tclvfs expect incrtcl xotcl \ 11 tbcload memchan mk4tcl tls tdom tclxml ffidl \ 12 tktable tkimg trf tclae $(tcl_ext_compiled_84) 13ifneq ($(Tcl84Ext),NO) 14tcl_ext_compiled_84 = tktreectrl quicktimetcl snack tclresource tclapplescript 15endif 16tcl_ext_puretcl = tcllib tklib bwidget tkcon tclsoap sdx 17 18ifndef PureTclExt 19SubProjects = $(tcl_ext_compiled) $(tcl_ext_puretcl) 20else 21ifeq ($(PureTclExt),YES) 22SubProjects = incrtcl $(tcl_ext_puretcl) 23else 24SubProjects = $(tcl_ext_compiled) 25endif 26endif 27 28# use mpexpand/doctools in tcllib sources to avoid depending on tcllib being installed 29MAKE_ARGS = MPEXPAND='$(Tclsh) $(SRCROOT)/tcllib/tcllib/modules/doctools/mpexpand' \ 30 TCLLIBPATH='$(SRCROOT)/tcllib/tcllib/modules/doctools \ 31 $(SRCROOT)/tcllib/tcllib/modules/textutil' \ 32 DOCTOOLS_NROFF_INCLUDE='$(SRCROOT)/tcllib/tcllib/support/installation' 33 34unexport LD_SPLITSEGS_NEW_LIBRARIES 35 36build install:: 37 $(_v) $(RM) "$(TCL_CONFIG_DIR)/config.cache" 38 39Actions := build install clean almostclean fetch extract wipe install-license 40include SubprojActions.make 41