Commit 2518d4ed authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Update to Makefile to tidy up the exported Desc file.

  Updated !Run file to ensure the latest modules.
Admin:
  Requires BuildSys 3.01 or later.
  Co-dependent with Library 0.67 or later

Version 5.04. Tagged as 'squeeze-5_04'
parent 20bf84a4
No related merge requests found
...@@ -12,123 +12,104 @@ ...@@ -12,123 +12,104 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
# Makefile for Squeeze # Makefile for squeeze & xpand
# #
# *********************************** # ***********************************
# *** C h a n g e L i s t *** # *** C h a n g e L i s t ***
# *********************************** # ***********************************
# Date Name Description # Date Name Description
# ---- ---- ----------- # ---- ---- -----------
# 10-Feb-99 SNB Created. # 01-Mar-01 SNB Created
# #
LIBDIR = ${INSTDIR}.Library.Acorn
INSTAPP = ${INSTDIR}.Apps.!Squeeze
# Generic options:
#
MKDIR = mkdir -p
AS = objasm
CP = copy
CC = cc
CM = cmhg
RM = remove
LD = link
LB = libfile
TOUCH = create
WIPE = -wipe
SQUEEZE = squeeze
CCFLAGS = -c -depend !Depend -ffah ${INCLUDES} ${DFLAGS} ${THROWBACK}
ASFLAGS = -depend !Depend -Stamp -quit ${THROWBACK}
CPFLAGS = ~cfr~v
LBFLAGS = -c
WFLAGS = ~CFR~V
# #
# Libraries # Paths
# #
CLIB = CLIB:o.stubs COMPONENT = squeeze
RLIB = RISCOSLIB:o.risc_oslib TARGET = squeeze
RSTUBS = RISCOSLIB:o.rstubs TARGET2 = xpand
ROMSTUBS = RISCOSLIB:o.romstubs
ROMCSTUBS = RISCOSLIB:o.romcstubs
ABSSYM = RISC_OSLib:o.AbsSym
CLXLIB = C:CLX.o.clxlib
ODIR = o._dirs CFLAGS = -Wpc -ffah -IC:CLX -DDDE -DDEBUGGING=0
DIRS = o._dirs
# INSTAPP = ${INSTDIR}.Apps.!Squeeze
# Include files LIBDIR = ${INSTDIR}.Library.Acorn
#
INCLUDES = -IC: -IC:CLX
DFLAGS = -DDDE -DDEBUGGING=0
# #
# Program specific options: # Program specific options:
# #
COMPONENT = squeeze/xpand OBJS = squeeze.o unsqueeze.o unsqrm.o
TARGET = ${COMPONENT} XPANDOBJS = xpand.o asmcall.o
SOURCE = LIBS = ${CLXLIB} ${CLIB}
EXPORTS =
SQZOBJS = squeeze.o unsqueeze.o unsqrm.o ${LIBS} include Makefiles:StdTools
XPANDOBJS = xpand.o asmcall.o ${LIBS} include Makefiles:AppLibs
include Makefiles:AppStdRule
LIBS= ${CLXLIB} ${CLIB}
# #
# Rule patterns # build a the library:
# #
.c.o:; ${CC} ${CCFLAGS} -o $@ $< all: ${TARGET} ${TARGET2}
.s.o:; ${AS} ${ASFLAGS} -o $@ $<
# #
# Main target # RISC OS ROM build rules:
# #
all: xpand squeeze rom: ${TARGET} ${TARGET2}
@echo ${COMPONENT}: all built @echo ${COMPONENT}: rom module built
squeeze: ${SQZOBJS} ${ODIR}
${LD} -o $@ ${SQZOBJS}
squeeze $@
xpand: ${XPANDOBJS} ${ODIR} export: export_${PHASE}
${LD} -o $@ ${XPANDOBJS}
squeeze $@
xpand.o: squeeze.h install_rom: ${TARGET} ${TARGET2}
@echo ${COMPONENT}: rom module installed
clean:
${RM} squeeze install_tool: ${TARGET} ${TARGET2}
${RM} xpand ${MKDIR} ${LIBDIR}.Docs
${WIPE} o ${WFLAGS} ${CP} ${TARGET} ${LIBDIR}.${TARGET} ${CPFLAGS}
@echo ${COMPONENT}: cleaned ${CP} ${TARGET2} ${LIBDIR}.${TARGET2} ${CPFLAGS}
@echo ${COMPONENT}: tool installed in library
${ODIR}:
${MKDIR} o
${TOUCH} $@
install_tool: all install: install_resources install_tool
${CP} squeeze ${LIBDIR}.squeeze ${CPFLAGS} @echo ${COMPONENT}: install complete
${CP} xpand ${LIBDIR}.xpand ${CPFLAGS}
@echo ${COMPONENT}: tool and docs installed in library
install: install_tool install_dirs install_resources:
${MKDIR} ${INSTAPP}
${CP} LocalRes:!Boot ${INSTAPP}.!Boot ${CPFLAGS} ${CP} LocalRes:!Boot ${INSTAPP}.!Boot ${CPFLAGS}
${CP} LocalRes:!Run ${INSTAPP}.!Run ${CPFLAGS} ${CP} LocalRes:!Run ${INSTAPP}.!Run ${CPFLAGS}
${CP} LocalRes:!Help ${INSTAPP}.!Help ${CPFLAGS} ${CP} LocalRes:!Help ${INSTAPP}.!Help ${CPFLAGS}
${CP} LocalRes:!Setup ${INSTAPP}.!Setup ${CPFLAGS}
${CP} LocalRes:!Sprites ${INSTAPP}.!Sprites ${CPFLAGS} ${CP} LocalRes:!Sprites ${INSTAPP}.!Sprites ${CPFLAGS}
${CP} LocalRes:!Sprites22 ${INSTAPP}.!Sprites22 ${CPFLAGS} ${CP} LocalRes:!Sprites22 ${INSTAPP}.!Sprites22 ${CPFLAGS}
${CP} LocalRes:Messages ${INSTAPP}.Messages ${CPFLAGS} ${CP} LocalRes:Messages ${INSTAPP}.Messages ${CPFLAGS}
${CP} LocalRes:Templates ${INSTAPP}.Templates ${CPFLAGS} ${CP} LocalRes:Templates ${INSTAPP}.Templates ${CPFLAGS}
${CC} -C++ -E >${INSTAPP}.Desc LocalRes:Desc ${CC} -C++ -E >${INSTAPP}.Desc LocalRes:Desc
${TIDYDESC} ${INSTAPP}.Desc ${INSTAPP}.Desc
@echo ${COMPONENT}: FrontEnd app install in '${INSTAPP}' @echo ${COMPONENT}: FrontEnd app install in '${INSTAPP}'
install_dirs: clean:
${MKDIR} ${INSTAPP} ${WIPE} o ${WFLAGS}
${MKDIR} ${INSTAPP} ${RM} ${COMPONENT}
${MKDIR} ${LIBDIR}.Docs @echo ${COMPONENT}: cleaned
export_hdrs:
@echo ${COMPONENT}: export complete (hdrs)
export_libs:
@echo ${COMPONENT}: export complete (libs)
${DIRS}:
${MKDIR} o
${TOUCH} $@
#
# Final link
#
${TARGET}: ${OBJS} ${LIBS} ${DIRS}
${LD} ${LDFLAGS} -o ${COMPONENT} ${OBJS} ${LIBS}
${SQZ} ${SQZFLAGS} $@
${CHMOD} a+rx $@
${TARGET2}: ${XPANDOBJS} ${LIBS} ${DIRS}
${LD} ${LDFLAGS} -o ${COMPONENT} ${OBJS} ${LIBS}
${SQZ} ${SQZFLAGS} $@
${CHMOD} a+rx $@
# Dynamic dependencies: # Dynamic dependencies:
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
*IconSprites <Obey$Dir>.!Sprites *IconSprites <Obey$Dir>.!Sprites
*Set Squeeze$Dir <Obey$Dir> *Set Squeeze$Dir <Obey$Dir>
*RMEnsure UtilityModule 3.10 Error This application only runs on RISC OS 3 (version 3.10) or later *RMEnsure UtilityModule 3.10 Error This application only runs on RISC OS 3 (version 3.10) or later
*RMEnsure SharedCLibrary 3.99 Error This application requires the Shared C Library module (is it unplugged?) *RMEnsure SharedCLibrary 5.28 Error This application requires CLib 5.28
*RMEnsure FPEmulator 2.87 Error This application requires the FP Emulator module (is it unplugged?) *RMEnsure FPEmulator 2.87 Error This application requires the FP Emulator module (is it unplugged?)
*RMEnsure TaskWindow 0.47 Error This application requires the Task Window module (is it unplugged?) *RMEnsure TaskWindow 0.47 Error This application requires the Task Window module (is it unplugged?)
*RMEnsure FrontEnd 0 System:modules.frontend *RMEnsure FrontEnd 0 System:modules.frontend
*RMEnsure Frontend 1.15 Error You need version 1.15 of the FrontEnd module to run !Squeeze *RMEnsure Frontend 1.21 Error You need version 1.21 of the FrontEnd module to run !Squeeze
*RMEnsure DDEUtils 0 System:modules.ddeutils *RMEnsure DDEUtils 0 System:modules.ddeutils
*RMEnsure DDEUtils 1.52 Error You need version 1.52 of the DDEUtils module to run !Squeeze *RMEnsure DDEUtils 1.52 Error You need version 1.52 of the DDEUtils module to run !Squeeze
*WimpSlot -Min 32k -Max 32k *WimpSlot -Min 32k -Max 32k
......
/* (5.03) /* (5.04)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 5.03 #define Module_MajorVersion_CMHG 5.04
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 10 Dec 1999 #define Module_Date_CMHG 02 Mar 2001
#define Module_MajorVersion "5.03" #define Module_MajorVersion "5.04"
#define Module_Version 503 #define Module_Version 504
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "10 Dec 1999" #define Module_Date "02 Mar 2001"
#define Module_FullVersion "5.03" #define Module_ApplicationDate2 "02-Mar-01"
#define Module_ApplicationDate4 "02-Mar-2001"
#define Module_ComponentName "squeeze"
#define Module_ComponentPath "RiscOS/Tools/Sources/squeeze"
#define Module_FullVersion "5.04"
#define Module_HelpVersion "5.04 (02 Mar 2001)"
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