Commit 7347eaed authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Makefile recreated from fragments

Version 0.17. Tagged as 'AsmUtils-0_17'
parent 817137da
......@@ -14,151 +14,13 @@
#
# Makefile for AsmUtils
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 20-Nov-1999 SNB Created.
# 10-Feb-2000 ADH Added modulefp and fpsr.
#
#
# Paths
#
LIBDIR = <Lib$Dir>.AsmUtils
#
# Generic options:
#
MKDIR = do mkdir -p
AS = objasm
CP = copy
CC = cc
CM = cmhg
RM = remove
LD = link
LB = libfile
TOUCH = create
WIPE = x wipe
# No specific preference
OBJASMCPU =
CCFLAGS = -c -depend !Depend -ffaho ${INCLUDES} ${DFLAGS}
ASFLAGS = -depend !Depend -Stamp -quit ${OBJASMCPU}
CPFLAGS = ~cfr~v
LBFLAGS = -c
WFLAGS = ~CFR~V
#
# Libraries
#
CLIB = CLIB:o.stubs
RLIB = RISCOSLIB:o.risc_oslib
RSTUBS = RISCOSLIB:o.rstubs
ROMSTUBS = RISCOSLIB:o.romstubs
ROMCSTUBS = RISCOSLIB:o.romcstubs
ABSSYM = RISC_OSLib:o.AbsSym
#
# Include files
#
INCLUDES = -IC:
DFLAGS =
#
# Program specific options:
#
COMPONENT = AsmUtils
COMPONENTZ = AsmUtilszm
TARGET = alf.${COMPONENT}
TARGETZ = alf.${COMPONENTZ}
SOURCE =
EXPORTS =
OBJS= o.callbacks o.sixtyfour o.heapswis o.rminfo o.irqs \
o.osvarlen o.muldiv o.modulefp o.fpsr o.escape o.clz
OBJSZ= oz.callbacks oz.sixtyfour oz.heapswis oz.rminfo oz.irqs \
oz.osvarlen oz.muldiv oz.modulefp oz.fpsr oz.escape oz.clz
HDRS= h.callbacks h.sixtyfour h.heapswis h.rminfo h.irqs \
h.osvarlen h.muldiv h.modulefp h.fpsr h.escape h.clz
LIBS = ${TARGET} ${TARGETZ}
LOCALDIRS = o._dirs
#
# Rule patterns
#
.SUFFIXES: .oz
.s.o:; ${AS} ${ASFLAGS} -o $@ $< -PreDefine "ROM SETL {FALSE}"
.s.oz:; ${AS} ${ASFLAGS} -o $@ $< -PreDefine "ROM SETL {TRUE}"
#
# build a the library:
#
all: ${LIBS}
#
# RISC OS ROM build rules:
#
rom: ${TARGET}
@echo ${COMPONENT}: rom module built
export: export_${PHASE}
install_rom: ${TARGET}
@echo ${COMPONENT}: rom module installed
install:
${MKDIR} ${INSTDIR}.${COMPONENT}
${CP} ${LIBDIR}.* ${INSTDIR}.${COMPONENT}.* ${CPFLAGS}
@echo ${COMPONENT}: installed
clean:
${WIPE} o ${WFLAGS}
${WIPE} oz ${WFLAGS}
${WIPE} alf ${WFLAGS}
@echo ${COMPONENT}: cleaned
export_hdrs: ${HDRS} export_dirs
${CP} h.callbacks ${LIBDIR}.h.callbacks ${CPFLAGS}
${CP} h.sixtyfour ${LIBDIR}.h.sixtyfour ${CPFLAGS}
${CP} h.rminfo ${LIBDIR}.h.rminfo ${CPFLAGS}
${CP} h.heapswis ${LIBDIR}.h.heapswis ${CPFLAGS}
${CP} h.irqs ${LIBDIR}.h.irqs ${CPFLAGS}
${CP} h.osvarlen ${LIBDIR}.h.osvarlen ${CPFLAGS}
${CP} h.muldiv ${LIBDIR}.h.muldiv ${CPFLAGS}
${CP} h.modulefp ${LIBDIR}.h.modulefp ${CPFLAGS}
${CP} h.fpsr ${LIBDIR}.h.fpsr ${CPFLAGS}
${CP} h.escape ${LIBDIR}.h.escape ${CPFLAGS}
${CP} h.clz ${LIBDIR}.h.clz ${CPFLAGS}
${CP} VersionNum ${LIBDIR}.LibVersion ${CPFLAGS}
@echo ${COMPONENT}: export complete (hdrs)
export_libs: ${LIBS} export_dirs
${CP} alf ${LIBDIR}.o ${CPFLAGS}
@echo ${COMPONENT}: export complete (libs)
${LOCALDIRS}:
${MKDIR} o
${MKDIR} oz
${MKDIR} alf
${TOUCH} $@
export_dirs:
${MKDIR} ${LIBDIR}.h
#
# Final link
#
${TARGET}: ${OBJS} ${LOCALDIRS}
${LB} ${LBFLAGS} -o $@ ${OBJS}
COMPONENT = AsmUtils
OBJS = callbacks clz escape fpsr heapswis irqs\
modulefp muldiv osvarlen rminfo sixtyfour
HDRS = callbacks clz escape fpsr heapswis irqs\
modulefp muldiv osvarlen rminfo sixtyfour
${TARGETZ}: ${OBJSZ} ${LOCALDIRS}
${LB} ${LBFLAGS} -o $@ ${OBJSZ}
include CLibrary
# Dynamic dependencies:
/* (0.16)
/* (0.17)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.16
#define Module_MajorVersion_CMHG 0.17
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 16 Sep 2012
#define Module_Date_CMHG 19 Sep 2014
#define Module_MajorVersion "0.16"
#define Module_Version 16
#define Module_MajorVersion "0.17"
#define Module_Version 17
#define Module_MinorVersion ""
#define Module_Date "16 Sep 2012"
#define Module_Date "19 Sep 2014"
#define Module_ApplicationDate "16-Sep-12"
#define Module_ApplicationDate "19-Sep-14"
#define Module_ComponentName "AsmUtils"
#define Module_ComponentPath "castle/RiscOS/Sources/Lib/AsmUtils"
#define Module_FullVersion "0.16"
#define Module_HelpVersion "0.16 (16 Sep 2012)"
#define Module_LibraryVersionInfo "0:16"
#define Module_FullVersion "0.17"
#define Module_HelpVersion "0.17 (19 Sep 2014)"
#define Module_LibraryVersionInfo "0:17"
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