Improve debug log for module building
It caught my eye that it would be easier to trace through debugging if we provided info for each separate stage.
This is obviously not urgent, but it seems like a nice improvement.
Before this change:
$ make debug
make[1]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess'
BUILD_EPICS_VERSIONS = 7.0.5
BUILDCLASSES = Linux
LIBVERSION = new_config2
VERSIONCHECKFILES =
ARCH_FILTER =
PRJ = require
make[2]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess'
MAKING EPICS VERSION 7.0.5
EPICS_BASE = /epics/base-7.0.5
EPICSVERSION = 7.0.5
CROSS_COMPILER_TARGET_ARCHS = linux-x86_64
EXCLUDE_ARCHS =
LIBVERSION = new_config2
MAKING ARCH linux-x86_64
make[3]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess'
make[4]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess/O.7.0.5_linux-x86_64'
BUILDCLASSES = Linux
OS_CLASS = Linux
T_A = linux-x86_64
MODULEDBD = require.dbd
RECORDS =
MENUS =
BPTS =
DBDINSTALLS =
HDRS = ./src/require.h
SOURCES = ./src/require.c ./src/version.c ./src/runScript.c ./src/expr.c ./src/dbLoadTemplate.y
SOURCES_Linux =
SRCS = ./src/require.c ./src/version.c ./src/runScript.c ./src/expr.c ./src/dbLoadTemplate.y
REQ =
LIBOBJS = dbLoadTemplate.o expr.o require.o runScript.o version.o require_registerRecordDeviceDriver.o require_exportAddress.o require_version_new_config2.o
DBDS = ./src/require.dbd ./src/runScript.dbd ./src/dbLoadTemplate.dbd
DBDS_Linux =
DBD_SRCS = ./src/require.dbd ./src/runScript.dbd ./src/dbLoadTemplate.dbd
DBDFILES = .././src/require.dbd .././src/runScript.dbd .././src/dbLoadTemplate.dbd
TEMPLS = ./Db/moduleversion.template O.7.0.5_Common/moduleversion.db
LIBVERSION = new_config2
MODULE_LOCATION = /epics/base-7.0.5/require/new_config2
INSTALL_LIB = /epics/base-7.0.5/require/new_config2/lib/linux-x86_64
INSTALL_LIBS = /epics/base-7.0.5/require/new_config2/lib/linux-x86_64/librequire.so
INSTALL_VLIBS =
INSTALL_DEPS = /epics/base-7.0.5/require/new_config2/lib/linux-x86_64/require.dep
INSTALL_META = /epics/base-7.0.5/require/new_config2/require_meta.yaml
INSTALL_DBD = /epics/base-7.0.5/require/new_config2/dbd
INSTALL_DBDS = /epics/base-7.0.5/require/new_config2/dbd/require.dbd
INSTALL_INCLUDE = /epics/base-7.0.5/require/new_config2/include
INSTALL_HDRS = /epics/base-7.0.5/require/new_config2/include/require.h
INSTALL_DB = /epics/base-7.0.5/require/new_config2/db
INSTALL_DBS = /epics/base-7.0.5/require/new_config2/db/moduleversion.template /epics/base-7.0.5/require/new_config2/db/moduleversion.db
INSTALL_SCR = /epics/base-7.0.5/require/new_config2
INSTALL_SCRS =
INSTALL_CFG = /epics/base-7.0.5/require/new_config2/cfg
INSTALL_CFGS =
INSTALL_BIN = /epics/base-7.0.5/require/new_config2/bin/linux-x86_64
INSTALL_BINS =
HDR_SUBDIRS =
make[4]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess/O.7.0.5_linux-x86_64'
make[3]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess'
make[2]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess'
make[1]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess'
After this is done, we have:
$ make debug
make[1]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess'
===================== Pass 1 =====================
BUILD_EPICS_VERSIONS = 7.0.5
BUILDCLASSES = Linux
LIBVERSION = new_config2
VERSIONCHECKFILES =
ARCH_FILTER =
PRJ = require
make[2]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess'
MAKING EPICS VERSION 7.0.5
===================== Pass 2: EPICSVERSION = 7.0.5 =====================
EPICS_BASE = /epics/base-7.0.5
CROSS_COMPILER_TARGET_ARCHS = linux-x86_64
EXCLUDE_ARCHS =
LIBVERSION = new_config2
MAKING ARCH linux-x86_64
make[3]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess'
===================== Pass 3: T_A = linux-x86_64 =====================
BINS =
REQ =
VLIBS =
make[4]: Entering directory `/home/simonrose/data/git/e3/e3-require/require-ess/O.7.0.5_linux-x86_64'
===================== Pass 4: Build directory =====================
BUILDCLASSES = Linux
OS_CLASS = Linux
MODULEDBD = require.dbd
RECORDS =
MENUS =
BPTS =
DBDINSTALLS =
HDRS = ./src/require.h
SOURCES = ./src/require.c ./src/version.c ./src/runScript.c ./src/expr.c ./src/dbLoadTemplate.y
SOURCES_Linux =
SRCS = ./src/require.c ./src/version.c ./src/runScript.c ./src/expr.c ./src/dbLoadTemplate.y
REQ =
LIBOBJS = dbLoadTemplate.o expr.o require.o runScript.o version.o require_registerRecordDeviceDriver.o require_exportAddress.o require_version_new_config2.o
DBDS = ./src/require.dbd ./src/runScript.dbd ./src/dbLoadTemplate.dbd
DBDS_Linux =
DBD_SRCS = ./src/require.dbd ./src/runScript.dbd ./src/dbLoadTemplate.dbd
DBDFILES = .././src/require.dbd .././src/runScript.dbd .././src/dbLoadTemplate.dbd
TEMPLS = ./Db/moduleversion.template O.7.0.5_Common/moduleversion.db
LIBVERSION = new_config2
MODULE_LOCATION = /epics/base-7.0.5/require/new_config2
INSTALL_LIB = /epics/base-7.0.5/require/new_config2/lib/linux-x86_64
INSTALL_LIBS = /epics/base-7.0.5/require/new_config2/lib/linux-x86_64/librequire.so
INSTALL_VLIBS =
INSTALL_DEPS = /epics/base-7.0.5/require/new_config2/lib/linux-x86_64/require.dep
INSTALL_META = /epics/base-7.0.5/require/new_config2/require_meta.yaml
INSTALL_DBD = /epics/base-7.0.5/require/new_config2/dbd
INSTALL_DBDS = /epics/base-7.0.5/require/new_config2/dbd/require.dbd
INSTALL_INCLUDE = /epics/base-7.0.5/require/new_config2/include
INSTALL_HDRS = /epics/base-7.0.5/require/new_config2/include/require.h
INSTALL_DB = /epics/base-7.0.5/require/new_config2/db
INSTALL_DBS = /epics/base-7.0.5/require/new_config2/db/moduleversion.template /epics/base-7.0.5/require/new_config2/db/moduleversion.db
INSTALL_SCR = /epics/base-7.0.5/require/new_config2
INSTALL_SCRS =
INSTALL_CFG = /epics/base-7.0.5/require/new_config2/cfg
INSTALL_CFGS =
INSTALL_BIN = /epics/base-7.0.5/require/new_config2/bin/linux-x86_64
INSTALL_BINS =
HDR_SUBDIRS =
make[4]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess/O.7.0.5_linux-x86_64'
make[3]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess'
make[2]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess'
make[1]: Leaving directory `/home/simonrose/data/git/e3/e3-require/require-ess'