Commit 6de1e14c authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Merge of trunk BuildSys-6_34 to branch RPiFreeze

Version 6.00, 1.142.2.4. Tagged as 'BuildSys-6_00-1_142_2_4'
parent 773ab6e8
......@@ -43,7 +43,7 @@ Common -type EXP
DDTLib -type EXP
DeskLib -type EXP
inetlib -type EXP
libgnu -type EXP
libgnu4 -type EXP
ModMallocLib -type EXP
NBLib -type EXP
PDebug -type EXP
......
......@@ -22,7 +22,7 @@ Kernel -type EXP
MessageTrans -type EXP
PDriver -type EXP
ResourceFS -type EXP
SquashClosed -type EXP
Squash -type EXP
TaskManager -type EXP
TerritoryManager -type EXP
WindowManager -type EXP
......
......@@ -22,6 +22,7 @@ FileCore -type EXP # FileSys.FileCore
ADFS -type EXP # FileSys.ADFS.ADFS
ATAPI -type EXP # HWSupport.CD.ATAPI
BASICTrans -type EXP # Programmer.BASICTrans
BlendTable -type EXP # Video.Render.BlendTable
BufferManager -type EXP # HWSupport.Buffers
CDFS -type EXP # FileSys.CDFS.CDFS
CDFSDriver -type EXP # HWSupport.CD.CDFSDriver
......@@ -48,6 +49,7 @@ FSLock -type EXP # FileSys.FSLock
HostFS -type EXP # Programmer.HostFS
Hourglass -type EXP # Video.Render.Hourglass
IIC -type EXP # HWSupport.IIC
ITable -type EXP # Video.Render.Fonts.ITable
PortManager -type EXP # HWSupport.PortMan
Joystick -type EXP # HWSupport.Joystick
MakePSFont -type EXP # Printing.Modules.MakePSFont <- also included as installed component
......@@ -134,6 +136,7 @@ KeyWatch -type EXP # Programmer.KeyWatch
MemLib -type EXP # Lib.MemLib
RMVersion -type EXP # Programmer.RMVersion
SCInterface -type EXP # HWSupport.SmartCard.SCInter
SoundControl -type EXP # Audio.SoundCtrl
SpriteExtend -type EXP # Video.Render.SprExtend <- also included as installed component
USBDriver -type EXP # HWSupport.USB.NetBSD
......@@ -159,6 +162,11 @@ Fonts -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources
ThemeDefs -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources
Paint -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Iyonix
Draw -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Iyonix
ADFSFiler -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Iyonix
ADFSFiler -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Sovereign
ADFSFiler -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Morris4
ADFSFiler -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Ursula
ADFSFiler -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Raspberry
Desktop -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Iyonix
Desktop -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Sovereign
Desktop -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.!ThemeDefs.Themes TARGET=ThemeDefs USERIF=Morris4
......@@ -224,7 +232,7 @@ Config2PluginMousSetup -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook
Config2PluginPinSetup -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure
Config2PluginScrnSetup -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure
Config2PluginSndSetup -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure
Config2PluginSndSetupVIDC -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure.!SndSetup.VIDC
Config2PluginThemeSetup -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure
Config2PluginTimeSetup -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure
Config2PluginWindSetup -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure
Config2PluginxxxxMerge -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO500Hook.Res.Configure.!BootSetup COMPONENT=BootMerge
......@@ -246,6 +254,7 @@ SCSIFiler -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO510Hook
# AutoSense files for InetSetup
EtherK -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.Configure.!InetSetup.AutoSense TARGET=AutoSense
EtherUSB -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.Configure.!InetSetup.AutoSense TARGET=AutoSense
EtherY -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.Resources.Configure.!InetSetup.AutoSense TARGET=AutoSense
# Apps
Alarm -options INSTDIR=<Install$Dir>.HardDisc4.!Boot.RO350Hook.Apps
......
......@@ -93,7 +93,7 @@ PipeFS
RAMFSFiler
ResourceFiler
ROMFonts
RTCAdjust
RTC
ScreenBlanker
ScrSaver -options SCRSAVERAPP=No
SerialDeviceDriver
......@@ -170,6 +170,7 @@ CDFS
CDFSFiler
UnSqzAIF
BlendTable
InetRes -options TYPE=EmergencyUtils
HeroNames
......
......@@ -96,7 +96,7 @@ PipeFS
RAMFSFiler
ResourceFiler
ROMFonts
#RTCAdjust
RTC
ScreenBlanker
ScrSaver -options SCRSAVERAPP=No
DualSerial
......@@ -185,6 +185,7 @@ CDFSFiler
UnSqzAIF
PandoraKey
BatMgrHAL
BlendTable
InetRes -options TYPE=EmergencyUtils
# some libraries and bits
......
......@@ -95,7 +95,7 @@ PipeFS
RAMFSFiler
ResourceFiler
ROMFonts
#RTCAdjust
RTC
ScreenBlanker
ScrSaver -options SCRSAVERAPP=No
DualSerial
......@@ -182,6 +182,7 @@ CDFS
CDFSFiler
UnSqzAIF
BlendTable
InetRes -options TYPE=EmergencyUtils
# some libraries and bits
......
......@@ -35,7 +35,8 @@ DOSFS -type EXP
DragAnObj -type EXP
DragASprite -type EXP
DrawMod -type EXP
FileCore -type EXP
Econet -type EXP
FileCore -type EXP
Filer_Action -type EXP
FileSwitch -type EXP
FilterManager -type EXP
......@@ -112,7 +113,8 @@ TinyStubs -options INSTDIR=<Install$Dir>.System.!System.310.Module
FilterManager -options INSTDIR=<Install$Dir>.System.!System.310.Modules CMDHELP=None
FrontEnd -options INSTDIR=<Install$Dir>.System.!System.310.Modules
ColourPicker -options INSTDIR=<Install$Dir>.System.!System.310.Modules OPTIONS="-DNO_INTERNATIONAL_HELP"
DrawFile -options INSTDIR=<Install$Dir>.System.!System.310.Modules INTERNATIONAL_HELP=NO
DrawFile -options INSTDIR=<Install$Dir>.System.!System.310.Modules CMDHELP=None
Internet -options INSTDIR=<Install$Dir>.System.!System.310.Modules.Network CMDHELP=None
ITable -options INSTDIR=<Install$Dir>.System.!System.350.Modules
UnSqzAIF -options INSTDIR=<Install$Dir>.System.!System.370.Modules
PatchApp -options INSTDIR=<Install$Dir>.System.!System.370.Modules
......
......@@ -92,7 +92,7 @@ PipeFS
RAMFSFiler
ResourceFiler
ROMFonts
#RTCAdjust
#RTC
ScreenBlanker
ScrSaver -options SCRSAVERAPP=No
#DualSerial
......@@ -174,6 +174,7 @@ Gadgets
#CDFSFiler
UnSqzAIF
BlendTable
#InetRes -options TYPE=EmergencyUtils
# some libraries and bits
......
......@@ -92,7 +92,7 @@ PipeFS
RAMFSFiler
ResourceFiler
ROMFonts
#RTCAdjust
#RTC
ScreenBlanker
ScrSaver -options SCRSAVERAPP=No
#DualSerial
......@@ -174,6 +174,7 @@ Gadgets
#CDFSFiler
UnSqzAIF
BlendTable
#InetRes -options TYPE=EmergencyUtils
# some libraries and bits
......
......@@ -95,7 +95,7 @@ PipeFS
RAMFSFiler
ResourceFiler
ROMFonts
RTCAdjust
RTC
ScreenBlanker
ScrSaver -options SCRSAVERAPP=No
DualSerial
......@@ -180,6 +180,7 @@ CDFS
CDFSFiler
UnSqzAIF
BlendTable
InetRes -options TYPE=EmergencyUtils
# some libraries and bits
......
......@@ -45,6 +45,7 @@ NET5LIBS = ${UNIXLIB} ${INETLIB} ${SOCK5LIB}
ABCLIB = ${LIBDIR}/ABCLib/ABCLib.a
CALLXLIB = ${LIBDIR}/callx/callx.a
CONLIB = ${LIBDIR}/ConfigLib/ConfigLib.a
DDTLIB = ${LIBDIR}/DDTLib/DDTLib.a
DESKLIB = ${LIBDIR}/Desk/Desk.a
FETCHLIB = ${LIBDIR}/Fetchers/FetchLibZM.a
......@@ -54,6 +55,8 @@ MODMALLOCLIB = ${LIBDIR}/ModMalloc/Lib.a
NCMALIB = ${LIBDIR}/NCMALib/NCMALib.a
NSPRLIB = ${LIBDIR}/NSPRLib/NSPRLib.a
OSLIB = ${LIBDIR}/OSLib/OSLib.a
RMVSN = ${LIBDIR}/RMVersion/RMVersion.a
SYNCLIB = ${LIBDIR}/SyncLib/SyncLib.a
TGRLIB = ${LIBDIR}/TGRLib/tgrlib.a
WILDLIB = ${LIBDIR}/Wild/Wild.a
......
......@@ -11,24 +11,23 @@ INCLUDED_CAPP = YES
# This fragment uses the following macros set by the master makefile.
#
#
# COMPONENT (the name of the component)
# TARGET (opt) (the leafname of the application - otherwise ${COMPONENT})
# DBG_TARGET (opt) (debug application leafname - otherwise ${TARGET}-D)
# INSTDIR (opt) (the target directory - otherwise ${INSTALLDIR}/${TARGET})
# DIRS (opt) (stamp object for directory creation - otherwise _dirs)
# OBJS (opt) (object files, no o. prefixes - otherwise ${TARGET})
# DBG_OBJS (opt) (debug build object files, no prefixes - otherwise ${OBJS})
# LIBS (opt) (extra libraries; CLib is always used)
# DBG_LIBS (opt) (extra debug libraries - otherwsie ${LIBS};
# CLib and DEBUGLIBS always used)
# APP_OBJS (opt) (object files for application version - otherwise derived
# from ${OBJS})
# APP_DBG_OBJS (opt) (object files for debug app version - otherwise derived
# from ${DBG_OBJS})
# LINK_TYPE (opt) (variant of linking command, eg C++ - defaults to C)
# INSTTYPE (opt) (use "tool" or "app" to install executable vs application - defaults to "tool")
# INSTALLAPPFILES (opt) (list of files to be installed in application directory - use InstRes specification rules)
# INSTALLAPP_DEPEND (opt) (list of dependencies to be satisfied before doing application install - ${TARGET} assumed if in INSTALLAPPFILES)
# COMPONENT (the name of the component)
# TARGET (opt) (the leafname of the application - otherwise ${COMPONENT})
# DBG_TARGET (opt) (debug application leafname - otherwise ${TARGET}-D)
# INSTAPP (opt) (the application target directory - otherwise ${INSTDIR}/!${COMPONENT})
# INSTDIR (opt) (the target directory - otherwise ${INSTALLDIR}/${TARGET})
# DIRS (opt) (stamp object for directory creation - otherwise _dirs)
# OBJS (opt) (object files, no o. prefixes - otherwise ${TARGET})
# APP_OBJS (opt) (release build object files, no prefixes - otherwise ${OBJS})
# DBG_OBJS (opt) (debug build object files, no prefixes - otherwise ${OBJS})
# LIBS (opt) (extra libraries; ${CLIB} is always used)
# APP_LIBS (opt) (extra release libraries - otherwise ${LIBS}; ${CLIB} is always used)
# DBG_LIBS (opt) (extra debug libraries - otherwise ${LIBS}; ${CLIB} and ${DEBUGLIBS} always used)
# LINK_TYPE (opt) (variant of linking command, eg C++ - defaults to C)
# INSTTYPE (opt) (use "tool" or "app" to install executable vs application - defaults to "tool")
# INSTAPP_FILES (opt) (list of files to be installed in application directory - use InstRes specification rules)
# INSTAPP_DEPENDS (opt) (list of dependencies to be satisfied before doing application install - ${TARGET} assumed if in INSTAPP_FILES)
# INSTAPP_VERSION (opt) (list of Messages/!Run/Desc files to insert app version from VersionNum - include in INSTAPP_FILES as well)
# CUSTOMLINK (opt) (set to "custom" to override the link rule)
# CUSTOMINSTALLAPP (opt) (set to "custom" to override the install rule for resource files)
# CUSTOMINSTALLTOOL (opt) (set to "custom" to override the install rule for target binary)
......@@ -48,6 +47,7 @@ INCLUDED_CAPP = YES
# MKDIR (cdir/mkdir -p)
# ECHO
# TOUCH (create/touch)
# INSERTVERSION (awk script to substitute from VersionNum)
#
#
# It relies on the following from the StdRules makefile
......@@ -67,8 +67,10 @@ INCLUDED_CAPP = YES
TARGET ?= ${COMPONENT}
DBG_TARGET ?= ${TARGET}-D
INSTDIR ?= ${INSTALLDIR}/${TARGET}
INSTAPP ?= ${INSTDIR}/!${COMPONENT}
DIRS ?= _dirs
OBJS ?= ${TARGET}
APP_OBJS ?= ${OBJS}
DBG_OBJS ?= ${OBJS}
APP_LIBS ?= ${LIBS}
DBG_LIBS ?= ${LIBS}
......@@ -79,8 +81,9 @@ DBG_LIBS += ${C++LIB}
endif
APP_LIBS += ${CLIB}
DBG_LIBS += ${CLIB}
APP_OBJS ?= $(addsuffix .o,${OBJS})
APP_DBG_OBJS ?= $(addsuffix .od,${DBG_OBJS})
APP_OBJS_ = $(addsuffix .o,${APP_OBJS})
DBG_OBJS_ = $(addsuffix .od,${DBG_OBJS})
SOURCES_TO_SYMLINK += $(wildcard c/*) $(wildcard c++/*) $(wildcard h/*) $(wildcard s/*) VersionNum VersionASM
......@@ -89,8 +92,21 @@ ifneq (objs,$(notdir ${CURDIR}))
# Makefile invoked from same directory
# Create link farm, then execute the makefile from within it
all install debug clean links: ${SYMLINK_DEPEND}
ifneq (clean,${MAKECMDGOALS})
ifeq (clean,${MAKECMDGOALS})
# With a double-colon rule which can have additional actions assigned from the
# master makefile, we'd normally need the master makefile to include the
# ${CURDIR} check to ensure that it's performed on the same invocation as us.
# However, there's no real benefit to performing clean from within the objs
# directory, and it adds an ordering problem between the different double-colon
# rules (the one that deletes the objs directory has to be last otherwise the
# cwd is invalid for the others) so to simplify things, we only ever do cleans
# from the same directory as the Makefile.
clean::
@echo Cleaning...
@rm -rf objs
@echo ${COMPONENT}: cleaned
else
all install debug links: ${SYMLINK_DEPEND}
$(foreach linksource,${SOURCES_TO_SYMLINK}, \
$(shell \
linkdest=`echo ${linksource} | sed -e 's,\([^/]*\)/\([^/]*\)$$,\2.\1,' -e 's,^,objs/,'`; \
......@@ -101,11 +117,11 @@ ifneq (clean,${MAKECMDGOALS})
) \
)
@[ -L objs/Resources ] || ln -s ../Resources objs/Resources
endif
@mkdir -p objs
ifneq (links,${MAKECMDGOALS})
@${MAKE} -C objs -f ../$(firstword ${MAKEFILE_LIST}) ${MAKECMDGOALS}
endif
endif
else
......@@ -130,27 +146,26 @@ endif
all: ${TARGET}${SUFFIX_ABSOLUTE}
@${ECHO} ${COMPONENT}: application built
${DIRS} ::
${DIRS}::
${TOUCH} $@
clean ::
@${ECHO} Cleaning...
@cd .. && ${WIPE} objs ${WFLAGS}
@${ECHO} ${COMPONENT}: cleaned
install: install_${INSTTYPE}
install_: install_tool
INSTALLAPP_DEPEND += $(addsuffix ${SUFFIX_ABSOLUTE},$(filter ${TARGET},${INSTALLAPPFILES}))
INSTAPP_DEPENDS += $(addsuffix ${SUFFIX_ABSOLUTE},$(filter ${TARGET},${INSTAPP_FILES}))
install_app${CUSTOMINSTALLAPP}: ${INSTALLAPP_DEPEND}
install_app${CUSTOMINSTALLAPP}: ${INSTAPP_DEPENDS}
${MKDIR} ${INSTAPP}
${INSTRES} -I Resources.${USERIF}.${LOCALE},Resources.${USERIF}.UK,Resources.${LOCALE},Resources.UK,Resources ${INSTAPP} ${INSTALLAPPFILES}
ifneq (,$(filter Desc,${INSTALLAPPFILES}))
${CPREPRO} -I. ${INSTAPP}/Desc > ${INSTAPP}/DescTmp
${TIDYDESC} ${INSTAPP}/Desc ${INSTAPP}/DescTmp
${RM} ${INSTAPP}/DescTmp
${INSTRES} -I Resources.${USERIF}.${LOCALE},Resources.${USERIF}.UK,Resources.${LOCALE},Resources.UK,Resources ${INSTAPP} ${INSTAPP_FILES}
ifneq (,$(filter Messages,${INSTAPP_VERSION}))
TMP=`mktemp`; ${INSERTVERSION} ${INSTAPP}/Messages > $$TMP; mv $$TMP ${INSTAPP}/Messages
endif
ifneq (,$(filter Desc,${INSTAPP_VERSION}))
TMP=`mktemp`; ${INSERTVERSION} descmode=1 ${INSTAPP}/Desc ${INSTAPP}/Desc > $$TMP; mv $$TMP ${INSTAPP}/Desc
endif
ifneq (,$(filter !Run,${INSTAPP_VERSION}))
TMP=`mktemp`; ${INSERTVERSION} obeymode=1 ${INSTAPP}/!Run${SUFFIX_OBEY} > $$TMP; mv $$TMP ${INSTAPP}/!Run${SUFFIX_OBEY}
endif
@${ECHO} ${COMPONENT}: application installation complete
......@@ -162,13 +177,13 @@ install_tool${CUSTOMINSTALLTOOL}: ${TARGET}${SUFFIX_ABSOLUTE}
debug: ${DBG_TARGET}${SUFFIX_DEBIMAGE}
@${ECHO} ${COMPONENT}: debug application built
${TARGET}${SUFFIX_ABSOLUTE}${CUSTOMLINK}: ${DIRS} ${APP_OBJS} ${APP_LIBS}
${LD} ${LDFLAGS} -o $@ ${APP_OBJS} ${APP_LIBS}
${TARGET}${SUFFIX_ABSOLUTE}${CUSTOMLINK}: ${DIRS} ${APP_OBJS_} ${APP_LIBS}
${LD} ${LDFLAGS} -o $@ ${APP_OBJS_} ${APP_LIBS}
${STRIP} $@
${SQZ} ${SQZFLAGS} $@
${DBG_TARGET}${SUFFIX_DEBIMAGE}${CUSTOMLINK}: ${DIRS} ${APP_DBG_OBJS} ${DBG_LIBS}
${LD} ${LDFLAGS} ${LDDFLAGS} -o $@ ${APP_DBG_OBJS} ${DBG_LIBS}
${DBG_TARGET}${SUFFIX_DEBIMAGE}${CUSTOMLINK}: ${DIRS} ${DBG_OBJS_} ${DBG_LIBS}
${LD} ${LDFLAGS} ${LDDFLAGS} -o $@ ${DBG_OBJS_} ${DBG_LIBS}
include $(wildcard *.d)
include $(wildcard *.dd)
......
......@@ -25,10 +25,10 @@ INCLUDED_CLIBRARY = YES
# ASMHDRS (opt) (assembly header files to export, no Hdr. prefix - otherwise none)
# OBJS (object files, no o. or oz. prefixes)
# DBG_OBJS (opt) (debug build object files, no o. or oz. prefixes - otherwise ${OBJS})
# APP_OBJS (opt) (object files for application version - otherwise derived from ${OBJS})
# APP_DBG_OBJS (opt) (object files for debug app version - otherwise derived from ${DBG_OBJS})
# MOD_OBJS (opt) (object files for module version - otherwise derived from ${OBJS})
# MOD_DBG_OBJS (opt) (object files for debug module version - otherwise derived from ${DBG_OBJS})
# APP_OBJS (opt) (release application object files, no o. or oz. prefixes - otherwise ${OBJS})
# APP_DBG_OBJS (opt) (debug application object files, no o. or oz. prefixes - otherwise ${DBG_OBJS})
# MOD_OBJS (opt) (release module object files, no o. or oz. prefixes - otherwise ${OBJS})
# MOD_DBG_OBJS (opt) (debug module object files, no o. or oz. prefixes - otherwise ${DBG_OBJS})
# CUSTOMLIB (opt) (set to "custom" to override the application library rule)
# CUSTOMLIBZM (opt) (set to "custom" to override the module library rule)
# CUSTOMLIBD (opt) (set to "custom" to override the debug application library rule)
......@@ -84,10 +84,14 @@ DIRS ?= _dirs
HDRS ?= ${TARGET}
ASMHDRS ?=
DBG_OBJS ?= ${OBJS}
APP_OBJS ?= $(addsuffix .o,${OBJS})
APP_DBG_OBJS ?= $(addsuffix .od,${DBG_OBJS})
MOD_OBJS ?= $(addsuffix .oz,${OBJS})
MOD_DBG_OBJS ?= $(addsuffix .odz,${DBG_OBJS})
APP_OBJS ?= ${OBJS}
APP_DBG_OBJS ?= ${DBG_OBJS}
MOD_OBJS ?= ${OBJS}
MOD_DBG_OBJS ?= ${DBG_OBJS}
APP_OBJS_ = $(addsuffix .o,${APP_OBJS})
APP_DBG_OBJS_ = $(addsuffix .od,${APP_DBG_OBJS})
MOD_OBJS_ = $(addsuffix .oz,${MOD_OBJS})
MOD_DBG_OBJS_ = $(addsuffix .odz,${MOD_DBG_OBJS})
EXPORTING_HDRS = $(addsuffix .exphdr,${HDRS})
EXPORTING_ASMHDRS = $(addsuffix .expasm,${ASMHDRS})
......@@ -101,8 +105,21 @@ ifneq (objs,$(notdir ${CURDIR}))
# Makefile invoked from same directory
# Create link farm, then execute the makefile from within it
all_libs export_hdrs export_libs clean links: ${SYMLINK_DEPEND}
ifneq (clean,${MAKECMDGOALS})
ifeq (clean,${MAKECMDGOALS})
# With a double-colon rule which can have additional actions assigned from the
# master makefile, we'd normally need the master makefile to include the
# ${CURDIR} check to ensure that it's performed on the same invocation as us.
# However, there's no real benefit to performing clean from within the objs
# directory, and it adds an ordering problem between the different double-colon
# rules (the one that deletes the objs directory has to be last otherwise the
# cwd is invalid for the others) so to simplify things, we only ever do cleans
# from the same directory as the Makefile.
clean::
@echo Cleaning...
@rm -rf objs
@echo ${COMPONENT}: cleaned
else
all_libs export_hdrs export_libs links: ${SYMLINK_DEPEND}
$(foreach linksource,${SOURCES_TO_SYMLINK}, \
$(shell \
linkdest=`echo ${linksource} | sed -e 's,\([^/]*\)/\([^/]*\)$$,\2.\1,' -e 's,^,objs/,'`; \
......@@ -112,11 +129,11 @@ ifneq (clean,${MAKECMDGOALS})
[ -d ${linksource} ] || [ -L $$linkdest ] || ln -s $$linkbackpath/${linksource} $$linkdest; \
) \
)
endif
@mkdir -p objs
ifneq (links,${MAKECMDGOALS})
@${MAKE} -C objs -f ../$(firstword ${MAKEFILE_LIST}) ${MAKECMDGOALS}
endif
endif
else
......@@ -139,11 +156,6 @@ all_libs: ${TARGET_LIBS}
${DIRS} ::
${TOUCH} $@
clean ::
@${ECHO} Cleaning...
@cd .. && ${WIPE} objs ${WFLAGS}
@${ECHO} ${COMPONENT}: cleaned
export: export_${PHASE}
${NOP}
......@@ -169,17 +181,17 @@ export_libs: create_exp_lib_dir ${DIRS} ${EXPORTING_LIBS} ${TARGET_LIBS}
[ ! -f ../VersionNum ] || ${CP} ../VersionNum ${EXPDIR}/LibVersion ${CPFLAGS}
@${ECHO} ${COMPONENT}: library export complete
${LIBRARY}${CUSTOMLIB}.${LIBEXT}: ${DIRS} ${APP_OBJS}
${AR} ${ARFLAGS} ${LIBRARY}.${LIBEXT} ${APP_OBJS}
${LIBRARY}${CUSTOMLIB}.${LIBEXT}: ${DIRS} ${APP_OBJS_}
${AR} ${ARFLAGS} ${LIBRARY}.${LIBEXT} ${APP_OBJS_}
${LIBRARYZM}${CUSTOMLIBZM}.${LIBEXT}: ${DIRS} ${MOD_OBJS}
${AR} ${ARFLAGS} ${LIBRARYZM}.${LIBEXT} ${MOD_OBJS}
${LIBRARYZM}${CUSTOMLIBZM}.${LIBEXT}: ${DIRS} ${MOD_OBJS_}
${AR} ${ARFLAGS} ${LIBRARYZM}.${LIBEXT} ${MOD_OBJS_}
${LIBRARYD}${CUSTOMLIBD}.${LIBEXT}: ${DIRS} ${APP_DBG_OBJS}
${AR} ${ARFLAGS} ${LIBRARYD}.${LIBEXT} ${APP_DBG_OBJS}
${LIBRARYD}${CUSTOMLIBD}.${LIBEXT}: ${DIRS} ${APP_DBG_OBJS_}
${AR} ${ARFLAGS} ${LIBRARYD}.${LIBEXT} ${APP_DBG_OBJS_}
${LIBRARYDZM}${CUSTOMLIBDZM}.${LIBEXT}: ${DIRS} ${MOD_DBG_OBJS}
${AR} ${ARFLAGS} ${LIBRARYDZM}.${LIBEXT} ${MOD_DBG_OBJS}
${LIBRARYDZM}${CUSTOMLIBDZM}.${LIBEXT}: ${DIRS} ${MOD_DBG_OBJS_}
${AR} ${ARFLAGS} ${LIBRARYDZM}.${LIBEXT} ${MOD_DBG_OBJS_}
include $(wildcard *.d)
include $(wildcard *.dz)
......
......@@ -9,6 +9,7 @@ INCLUDED_STDTOOLS = YES
ifneq (Host,${APCS})
GNUTOOLPREFIX = arm-unknown-riscos-
SUFFIX_ABSOLUTE = ,ff8
SUFFIX_OBEY = ,feb
SUFFIX_DEBIMAGE = ,fd3
endif
......@@ -57,11 +58,12 @@ CAT = cat
#DEFMOD = defmod
DO =
ECHO = echo
FILTERCOMP = FilterComp,102
FILTERCOMP2 = FilterComp2,102
GETVERSION = GetVersion,102
HDR2H = Hdr2H,102
INSTRES = InstRes,102
FILTERCOMP = perl ${TOOLSDIR}/Misc/FilterComp,102
FILTERCOMP2 = perl ${TOOLSDIR}/Misc/FilterComp2,102
GETVERSION = perl ${TOOLSDIR}/Misc/GetVersion,102
HDR2H = perl ${TOOLSDIR}/Build/Hdr2H,102
INSERTVERSION = awk -f ${TOOLSDIR}/Build/AwkVers
INSTRES = perl ${TOOLSDIR}/Build/InstRes,102
MAKE = make
MODGEN = modgen
MODSQZ = modsqz
......@@ -77,7 +79,6 @@ else
SQZ = @echo > /dev/null
endif
#STRIPDEPEND = stripdepnd
TIDYDESC = TidyDesc,102
#TLINK = tlink
#TOGPA = ToGPA
#TOKENCHECK = tokencheck
......@@ -113,6 +114,8 @@ UNZIP = unzip
STDTOOLOPTIONS = ${THROWBACK}
ASFLAGS += ${STDTOOLOPTIONS} ${ASMDEFINES} ${ASMINCLUDES}
ASFLAGS += -I${GLOBALHDRDIR} -I${EXPORTDIR}
ASFLAGS += -PD "APCS SETS \"${APCS}\"" -PD "Machine SETS \"${MACHINE}\"" -PD "UserIF SETS \"${USERIF}\""
ifeq (GNU,${TOOLCHAIN})
ifeq (Host,${APCS})
CINCLUDES += -I${LIBDIR}/CLib
......
......@@ -30,16 +30,19 @@ INCLUDED_AASMMODULE = YES
# This fragment uses the following macros set by the master makefile.
#
#
# COMPONENT (the name of the component)
#
# RESFSDIR (opt) (actual directory to export resources to)
# ROM_MODULE(opt) (output filename - otherwise rm.${TARGET})
# ROM_OBJS (opt) (component's object files for romming)
# ROM_LIBS (opt) (libraries to link again ROM_OBJS to generate ROM_MODULE)
# DIRS (opt) (magic target to ensure object directories are present)
# HEADER1 (opt) (leafname of file in hdr to copy to <export$dir> on export_hdrs)
# HEADER2 (opt) (leafname of file in hdr to copy to <export$dir> on export_hdrs)
# EXP_HDR (opt) (directory for exported assembler interface headers)
# COMPONENT (the name of the component)
# TARGET (opt) (the leafname of the module - otherwise ${COMPONENT})
# RESFSDIR (opt) (actual directory to export resources to)
# ROM_MODULE (opt) (output filename - otherwise rm.${TARGET})
# ROM_OBJS (opt) (component's object files for romming)
# ROM_LIBS (opt) (libraries to link again ROM_OBJS to generate ROM_MODULE)
# DIRS (opt) (magic target to ensure object directories are present)
# HEADER[1-3] (opt) (leafname of file in hdr to copy to <export$dir> on export_hdrs)
# ASMCHEADER[1-3] (opt) (C-from-assembly auto-generated header files to export, no Hdr. prefix - otherwise none)
# C_EXP_HDR (opt) (C header target directory - otherwise <cexport$dir>.Interface.h)
# EXP_HDR (opt) (directory for exported assembler interface headers)
# ROM_DEPEND (opt) (any extra dependency to assert on ROM_TARGET)
# SA_DEPEND (opt) (any extra dependency to assert on SA_TARGET and DBG_TARGET)
#
#
# It relies on the following from the build system:
......@@ -125,13 +128,12 @@ install_rom${CUSTOMROM}: ${ROM_MODULE}
#
# Actually make the linked ROM target
#
${ROM_MODULE}: ${ROM_OBJECT} ${ROM_LIBS} ${DIRS}
${ROM_MODULE}: ${ROM_OBJECT} ${ROM_LIBS} ${DIRS} ${ROM_DEPEND}
${MKDIR} rm.${MACHINE}
${LD} -rmf -o $@ ${ROM_OBJECT} ${ROM_LIBS}
${LD} -aif -bin -d -Entry 0 -o ${ROM_MODULE}_aif ${ROM_OBJECT} ${ROM_LIBS}
${TOGPA} -s ${ROM_MODULE}_aif ${ROM_MODULE}_gpa
${ROM_OBJECT}: ${ROM_SOURCE} ${TOKHELPSRC} ${DIRS}
${MKDIR} o.${MACHINE}
${AS} ${ASFLAGS} -g -o $@ ${ROM_SOURCE}
......@@ -142,13 +144,12 @@ ${ROM_OBJECT}: ${ROM_SOURCE} ${TOKHELPSRC} ${DIRS}
standalone${CUSTOMSA}: ${SA_MODULE}
@${ECHO} ${COMPONENT}: standalone module built
${SA_MODULE}: ${SA_OBJECT} ${SA_LIBS} ${DIRS}
${SA_MODULE}: ${SA_OBJECT} ${SA_LIBS} ${DIRS} ${SA_DEPEND}
${MKDIR} rm.${MACHINE}
${LD} -rmf -o $@ ${SA_OBJECT} ${SA_LIBS}
${MODSQZ} -f ${MODSQZFLAGS} $@
${CHMOD} -R a+rx rm
${SA_OBJECT}: ${ROM_SOURCE} ${MERGEDMSGS} ${TOKHELPSRC} ${DIRS}
${MKDIR} o.${MACHINE}
${AS} ${ASFLAGS} -o $@ ${ROM_SOURCE} ${SA_FLAGS}
......@@ -169,7 +170,7 @@ install${CUSTOMSA}: ${SA_MODULE}
debug${CUSTOMDBG}: ${DBG_MODULE}
@${ECHO} ${COMPONENT}: standalone debug module built
${DBG_MODULE}: ${DBG_OBJECT} ${DBG_LIBS} ${DIRS}
${DBG_MODULE}: ${DBG_OBJECT} ${DBG_LIBS} ${DIRS} ${SA_DEPEND}
${MKDIR} rm.${MACHINE}
${LD} -rmf -o $@ ${DBG_OBJECT} ${DBG_LIBS}
......
......@@ -63,6 +63,7 @@ MODMALLOCLIB = C:ModMalloc.o.Lib
NCMALIB = C:NCMALib.o.NCMALib
NSPRLIB = C:NSPRLib.o.NSPRLib
OSLIB = C:OSLib.o.OSLib
RMVSN = C:RMVersion.o.RMVersion
SYNCLIB = C:SyncLib.o.SyncLib
TGRLIB = C:TGRLib.o.tgrlib
WILDLIB = C:Wild.o.Wild
......
......@@ -27,24 +27,23 @@ INCLUDED_CAPP = YES
# This fragment uses the following macros set by the master makefile.
#
#
# COMPONENT (the name of the component)
# TARGET (opt) (the leafname of the application - otherwise ${COMPONENT})
# DBG_TARGET (opt) (debug application leafname - otherwise ${TARGET}-D)
# INSTDIR (opt) (the target directory - otherwise <Install$Dir>.${TARGET})
# DIRS (opt) (stamp object for directory creation - otherwise o._dirs)
# OBJS (opt) (object files, no o. prefixes - otherwise ${TARGET})
# DBG_OBJS (opt) (debug build object files, no prefixes - otherwise ${OBJS})
# LIBS (opt) (extra libraries; CLib is always used)
# DBG_LIBS (opt) (extra debug libraries - otherwsie ${LIBS};
# CLib and DEBUGLIBS always used)
# APP_OBJS (opt) (object files for application version - otherwise derived
# from ${OBJS})
# APP_DBG_OBJS (opt) (object files for debug app version - otherwise derived
# from ${DBG_OBJS})
# LINK_TYPE (opt) (variant of linking command, eg C++ - defaults to C)
# INSTTYPE (opt) (use "tool" or "app" to install executable vs application - defaults to "tool")
# INSTALLAPPFILES (opt) (list of files to be installed in application directory - use InstRes specification rules)
# INSTALLAPP_DEPEND (opt) (list of dependencies to be satisfied before doing application install - ${TARGET} assumed if in INSTALLAPPFILES)
# COMPONENT (the name of the component)
# TARGET (opt) (the leafname of the application - otherwise ${COMPONENT})
# DBG_TARGET (opt) (debug application leafname - otherwise ${TARGET}-D)
# INSTAPP (opt) (the application target directory - otherwise ${INSTDIR}.!${COMPONENT})
# INSTDIR (opt) (the target directory - otherwise <Install$Dir>.${TARGET})
# DIRS (opt) (stamp object for directory creation - otherwise o._dirs)
# OBJS (opt) (object files, no o. prefixes - otherwise ${TARGET})
# APP_OBJS (opt) (release build object files, no prefixes - otherwise ${OBJS})
# DBG_OBJS (opt) (debug build object files, no prefixes - otherwise ${OBJS})
# LIBS (opt) (extra libraries; ${CLIB} is always used)
# APP_LIBS (opt) (extra release libraries - otherwise ${LIBS}; ${CLIB} is always used)
# DBG_LIBS (opt) (extra debug libraries - otherwise ${LIBS}; ${CLIB} and ${DEBUGLIBS} always used)
# LINK_TYPE (opt) (variant of linking command, eg C++ - defaults to C)
# INSTTYPE (opt) (use "tool" or "app" to install executable vs application - defaults to "tool")
# INSTAPP_FILES (opt) (list of files to be installed in application directory - use InstRes specification rules)
# INSTAPP_DEPENDS (opt) (list of dependencies to be satisfied before doing application install - ${TARGET} assumed if in INSTAPP_FILES)
# INSTAPP_VERSION (opt) (list of Messages/!Run/Desc files to insert app version from VersionNum - include in INSTAPP_FILES as well)
# CUSTOMLINK (opt) (set to "custom" to override the link rule)
# CUSTOMINSTALLAPP (opt) (set to "custom" to override the install rule for resource files)
# CUSTOMINSTALLTOOL (opt) (set to "custom" to override the install rule for target binary)
......@@ -63,6 +62,7 @@ INCLUDED_CAPP = YES
# MKDIR (cdir/mkdir -p)
# ECHO
# TOUCH (create/touch)
# INSERTVERSION (awk script to substitute from VersionNum)
#
#
# It relies on the following from the StdRules makefile
......@@ -84,8 +84,10 @@ INSTALLDIR = <Install$Dir>
TARGET ?= ${COMPONENT}
DBG_TARGET ?= ${TARGET}-D
INSTDIR ?= ${INSTALLDIR}.${TARGET}
INSTAPP ?= ${INSTDIR}.!${COMPONENT}
DIRS ?= o._dirs
OBJS ?= ${TARGET}
APP_OBJS ?= ${OBJS}
DBG_OBJS ?= ${OBJS}
APP_LIBS ?= ${LIBS}
DBG_LIBS ?= ${LIBS}
......@@ -95,8 +97,9 @@ DBG_LIBS += ${C++LIB}
endif
APP_LIBS += ${CLIB}
DBG_LIBS += ${DEBUGLIBS} ${CLIB}
APP_OBJS ?= $(addprefix o.,${OBJS})
APP_DBG_OBJS ?= $(addprefix od.,${DBG_OBJS})
APP_OBJS_ = $(addprefix o.,${APP_OBJS})
DBG_OBJS_ = $(addprefix od.,${DBG_OBJS})
ifeq ("${INCLUDED_STDTOOLS}","")
ifeq ("${INCLUDED_HOSTTOOLS}","")
......@@ -134,18 +137,23 @@ clean ::
install: install_${INSTTYPE}
install_: install_tool
${NOP}
${NOP}
INSTALLAPP_DEPEND += $(filter ${TARGET},${INSTALLAPPFILES})
INSTAPP_DEPENDS += $(filter ${TARGET},${INSTAPP_FILES})
install_app${CUSTOMINSTALLAPP}: ${INSTALLAPP_DEPEND}
install_app${CUSTOMINSTALLAPP}: ${INSTAPP_DEPENDS}
${MKDIR} ${INSTAPP}
${INSTRES} -I Resources.${USERIF}.${LOCALE},Resources.${USERIF}.UK,Resources.${LOCALE},Resources.UK,Resources ${INSTAPP} ${INSTALLAPPFILES}
ifneq (,$(filter Desc,${INSTALLAPPFILES}))
${CPREPRO} -I. ${INSTAPP}.Desc > ${INSTAPP}.DescTmp
${TIDYDESC} ${INSTAPP}.Desc ${INSTAPP}.DescTmp
${RM} ${INSTAPP}.DescTmp
endif
${INSTRES} -I Resources.${USERIF}.${LOCALE},Resources.${USERIF}.UK,Resources.${LOCALE},Resources.UK,Resources ${INSTAPP} ${INSTAPP_FILES}
ifneq (,$(filter Messages,${INSTAPP_VERSION}))
${INSERTVERSION} LocalRes:Messages > ${INSTAPP}.Messages
endif
ifneq (,$(filter Desc,${INSTAPP_VERSION}))
${INSERTVERSION} descmode=1 LocalRes:Desc > ${INSTAPP}.Desc
endif
ifneq (,$(filter !Run,${INSTAPP_VERSION}))
${INSERTVERSION} obeymode=1 LocalRes:!Run > ${INSTAPP}.!Run
${SETTYPE} ${INSTAPP}.!Run Obey
endif
@${ECHO} ${COMPONENT}: application installation complete
install_tool${CUSTOMINSTALLTOOL}: ${TARGET}
......@@ -156,11 +164,11 @@ install_tool${CUSTOMINSTALLTOOL}: ${TARGET}
debug: ${DBG_TARGET}
@${ECHO} ${COMPONENT}: debug application built
${TARGET}${CUSTOMLINK}: ${APP_OBJS} ${APP_LIBS} ${DIRS}
${LD} ${LDFLAGS} -o ${TARGET} ${APP_OBJS} ${APP_LIBS}
${TARGET}${CUSTOMLINK}: ${APP_OBJS_} ${APP_LIBS} ${DIRS}
${LD} ${LDFLAGS} -o ${TARGET} ${APP_OBJS_} ${APP_LIBS}
${SQZ} ${SQZFLAGS} $@
${DBG_TARGET}${CUSTOMLINK}: ${APP_DBG_OBJS} ${DBG_LIBS} ${DIRS}
${LD} ${LDFLAGS} ${LDDFLAGS} -o ${DBG_TARGET} ${APP_DBG_OBJS} ${DBG_LIBS}
${DBG_TARGET}${CUSTOMLINK}: ${DBG_OBJS_} ${DBG_LIBS} ${DIRS}
${LD} ${LDFLAGS} ${LDDFLAGS} -o ${DBG_TARGET} ${DBG_OBJS_} ${DBG_LIBS}
# EOF
......@@ -41,10 +41,10 @@ INCLUDED_CLIBRARY = YES
# ASMHDRS (opt) (assembly header files to export, no Hdr. prefix - otherwise none)
# OBJS (object files, no o. or oz. prefixes)
# DBG_OBJS (opt) (debug build object files, no o. or oz. prefixes - otherwise ${OBJS})
# APP_OBJS (opt) (object files for application version - otherwise derived from ${OBJS})
# APP_DBG_OBJS (opt) (object files for debug app version - otherwise derived from ${DBG_OBJS})
# MOD_OBJS (opt) (object files for module version - otherwise derived from ${OBJS})
# MOD_DBG_OBJS (opt) (object files for debug module version - otherwise derived from ${DBG_OBJS})
# APP_OBJS (opt) (release application object files, no o. or oz. prefixes - otherwise ${OBJS})
# APP_DBG_OBJS (opt) (debug application object files, no o. or oz. prefixes - otherwise ${DBG_OBJS})
# MOD_OBJS (opt) (release module object files, no o. or oz. prefixes - otherwise ${OBJS})
# MOD_DBG_OBJS (opt) (debug module object files, no o. or oz. prefixes - otherwise ${DBG_OBJS})
# CUSTOMLIB (opt) (set to "custom" to override the application library rule)
# CUSTOMLIBZM (opt) (set to "custom" to override the module library rule)
# CUSTOMLIBD (opt) (set to "custom" to override the debug application library rule)
......@@ -99,10 +99,14 @@ DIRS ?= o._dirs
HDRS ?= ${TARGET}
ASMHDRS ?=
DBG_OBJS ?= ${OBJS}
APP_OBJS ?= $(addprefix o.,${OBJS})
APP_DBG_OBJS ?= $(addprefix od.,${DBG_OBJS})
MOD_OBJS ?= $(addprefix oz.,${OBJS})
MOD_DBG_OBJS ?= $(addprefix odz.,${DBG_OBJS})
APP_OBJS ?= ${OBJS}
APP_DBG_OBJS ?= ${DBG_OBJS}
MOD_OBJS ?= ${OBJS}
MOD_DBG_OBJS ?= ${DBG_OBJS}
APP_OBJS_ = $(addprefix o.,${APP_OBJS})
APP_DBG_OBJS_ = $(addprefix od.,${APP_DBG_OBJS})
MOD_OBJS_ = $(addprefix oz.,${MOD_OBJS})
MOD_DBG_OBJS_ = $(addprefix odz.,${MOD_DBG_OBJS})
EXPORTING_HDRS = $(addprefix exphdr.,${HDRS})
EXPORTING_ASMHDRS = $(addprefix expasm.,${ASMHDRS})
......@@ -175,16 +179,16 @@ export_libs: ${EXPORTING_LIBS} ${TARGET_LIBS} ${DIRS} create_exp_lib_dir
@IfThere ${EXPDIR}.${LIBEXT}.* then else ${RM} ${EXPDIR}.${LIBEXT}
@${ECHO} ${COMPONENT}: library export complete
${LIBEXT}.${LIBRARY}${CUSTOMLIB}: ${APP_OBJS} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARY} ${APP_OBJS}
${LIBEXT}.${LIBRARY}${CUSTOMLIB}: ${APP_OBJS_} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARY} ${APP_OBJS_}
${LIBEXT}.${LIBRARYZM}${CUSTOMLIBZM}: ${MOD_OBJS} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARYZM} ${MOD_OBJS}
${LIBEXT}.${LIBRARYZM}${CUSTOMLIBZM}: ${MOD_OBJS_} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARYZM} ${MOD_OBJS_}
${LIBEXT}.${LIBRARYD}${CUSTOMLIBD}: ${APP_DBG_OBJS} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARYD} ${APP_DBG_OBJS}
${LIBEXT}.${LIBRARYD}${CUSTOMLIBD}: ${APP_DBG_OBJS_} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARYD} ${APP_DBG_OBJS_}
${LIBEXT}.${LIBRARYDZM}${CUSTOMLIBDZM}: ${MOD_DBG_OBJS} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARYDZM} ${MOD_DBG_OBJS}
${LIBEXT}.${LIBRARYDZM}${CUSTOMLIBDZM}: ${MOD_DBG_OBJS_} ${DIRS}
${AR} ${ARFLAGS} ${LIBEXT}.${LIBRARYDZM} ${MOD_DBG_OBJS_}
# EOF
......@@ -171,7 +171,6 @@ ROM_LIBS ?= ${LIBS}
SA_LIBS ?= ${LIBS}
DBG_LIBS += ${DEBUGLIBS}
OBJS_ = $(addprefix o.,${OBJS})
ROM_OBJS_ = $(addprefix o.,${ROM_OBJS})
SA_OBJS_ = $(addprefix o.,${SA_OBJS})
DBG_OBJS_ = $(addprefix od.,${DBG_OBJS})
......
......@@ -16,8 +16,8 @@ UTIL_LIBS := $(filter-out ${CLIB},${APP_LIBS}) ${ANSILIB}
CFLAGS += ${C_NO_ZI} ${C_NO_STKCHK}
LDFLAGS += -bin
${TARGET}: ${APP_OBJS} ${UTIL_LIBS} ${DIRS}
${LD} ${LDFLAGS} -o ${TARGET} ${APP_OBJS} ${UTIL_LIBS}
${TARGET}: ${APP_OBJS_} ${UTIL_LIBS} ${DIRS}
${LD} ${LDFLAGS} -o ${TARGET} ${APP_OBJS_} ${UTIL_LIBS}
${SETTYPE} ${TARGET} Utility
# EOF
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment