Commit 6c0acf7b authored by Neil Turton's avatar Neil Turton
Browse files

This commit was generated by cvs2git to track changes on a CVS vendor branch.

parents 784a5ca6 2722260b
# Project: DCS_Quit
# Toolflags:
CCflags = -c -depend !Depend -IC: -throwback -zM -fah -Ddebugging=1 -DDEBUG_MEMORY -zps1
C++flags = -c -depend !Depend -throwback -IC:
Pascalflags = -c -depend !Depend -throwback -IP:
Linkflags = -m -c++ -o $@
ObjAsmflags = -depend !Depend -ThrowBack -Stamp -quit -CloseExec
CMHGflags =
LibFileflags = -c -o $@
Squeezeflags = -o $@
AAsmflags = -depend !Depend -quit -CloseExec -To $@ -From
# Final targets:
@.DCS_Quit: @.o.create @.o.delete @.o.events @.o.hide @.o.miscop \
@.o.show @.o.task @.o.Modhdr c:o.stubs @.o.main @.^.common.debuglib \
@.o.getstate @.o.dcsres @.o.dcsmess @.o.quitres @.o.quitmess
link $(linkflags) @.o.create @.o.delete @.o.events @.o.hide \
@.o.miscop @.o.show @.o.task @.o.Modhdr c:o.stubs @.o.main \
@.^.common.debuglib @.o.getstate @.o.dcsres @.o.dcsmess @.o.quitres @.o.quitmess
# User-editable dependencies:
@.o.dcsmess: @.Messages.DCS
resgen dcsmess_file @.o.dcsmess @.Messages.DCS Resources.DCS.Messages
@.o.dcsres: @.Resources.DCS
resgen dcsres_file @.o.dcsres @.Resources.DCS Resources.DCS.Res
@.o.quitmess: @.Messages.quit
resgen quitmess_file @.o.quitmess @.Messages.quit Resources.Quit.Messages
@.o.quitres: @.Resources.quit
resgen quitres_file @.o.quitres @.Resources.quit Resources.Quit.Res
# Static dependencies:
@.o.copy: @.c.copy
cc $(ccflags) -o @.o.copy @.c.copy
@.o.create: @.c.create
cc $(ccflags) -o @.o.create @.c.create
@.o.delete: @.c.delete
cc $(ccflags) -o @.o.delete @.c.delete
@.o.events: @.c.events
cc $(ccflags) -o @.o.events @.c.events
@.o.hide: @.c.hide
cc $(ccflags) -o @.o.hide @.c.hide
@.o.miscop: @.c.miscop
cc $(ccflags) -o @.o.miscop @.c.miscop
@.o.show: @.c.show
cc $(ccflags) -o @.o.show @.c.show
@.o.task: @.c.task
cc $(ccflags) -o @.o.task @.c.task
@.o.Modhdr: @.cmhg.Modhdr
cmhg @.cmhg.Modhdr -o @.o.Modhdr
@.o.main: @.c.main
cc $(ccflags) -o @.o.main @.c.main
@.o.getstate: @.c.getstate
cc $(ccflags) -o @.o.getstate @.c.getstate
# Dynamic dependencies:
# Makefile for DCS
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 06-Jan-94 AMcC Created
#
#
# Component specific options:
#
COMPONENT = DCS
ROM_MODULE = aof.${COMPONENT}
#
# Export Paths for Messages module
#
RESDIR = <resource$dir>.Resources2
#
# Generic options:
#
MKDIR = cdir
CC = cc
CMHG = cmhg
CP = copy
LD = link
RM = remove
WIPE = -wipe
CPFLAGS = ~cfr~v
WFLAGS = ~c~v
CFLAGS = -c -depend !Depend ${INCLUDES} -zM -ffah -zps1 ${DFLAGS}
DFLAGS = -DROM
INCLUDES = -Itbox:,C:
#
# Libraries
#
ANSILIB = CLib:o.ansilib
CLIB = CLIB:o.stubs
RLIB = RISCOSLIB:o.risc_oslib
ROMCSTUBS = RISCOSLIB:o.romcstubs
ABSSYM = RISC_OSLib:o.abssym
TBOXLIB = tbox:tboxlib
OBJS =\
o.ModNoDebug\
o.create\
o.delete\
o.events\
o.getstate\
o.hide\
o.main\
o.miscop\
o.show\
o.task
#
# Rule patterns
#
.c.o:; ${CC} ${CFLAGS} -o $@ $<
.cmhg.o:; ${CMHG} -O $@ $<
#
# Main rules:
#
#
rom: ${ROM_MODULE}
@echo ${COMPONENT}: Module built (ROM)
install_rom: ${ROM_MODULE}
${CP} ${ROM_MODULE} ${INSTDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: Module installed (ROM)
resources: Messages.DCS Resources.DCS Messages.Quit Resources.Quit
${MKDIR} ${RESDIR}.DCS
${CP} Messages.DCS ${RESDIR}.DCS.Messages ${CPFLAGS}
${CP} Resources.DCS ${RESDIR}.DCS.Res ${CPFLAGS}
|
${MKDIR} ${RESDIR}.Quit
${CP} Messages.Quit ${RESDIR}.Quit.Messages ${CPFLAGS}
${CP} Resources.Quit ${RESDIR}.Quit.Res ${CPFLAGS}
|
@echo ${COMPONENT}: resource files copied to Messages module
clean:
${WIPE} o.* ${WFLAGS}
${WIPE} aof ${WFLAGS}
${WIPE} linked ${WFLAGS}
${WIPE} map ${WFLAGS}
@echo ${COMPONENT}: cleaned
${ROM_MODULE}: ${OBJS} ${TBOXLIB} ${ROMCSTUBS}
${MKDIR} aof
${LD} -o $@ -aof ${OBJS} ${TBOXLIB} ${ROMCSTUBS}
# final link for ROM Image (using given base address)
rom_link:
${MKDIR} linked
${MKDIR} map
${LD} -o linked.${COMPONENT} -bin -base ${ADDRESS} ${ROM_MODULE} ${ABSSYM} \
-map > map.${COMPONENT}
truncate map.${COMPONENT} linked.${COMPONENT}
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete
#---------------------------------------------------------------------------
# Dynamic dependencies:
# Project: DCSQuit
# Toolflags:
CCflags = -c -depend !Depend -IC: -throwback -zM -ffah -zps1
C++flags = -c -depend !Depend -throwback -IC:
Pascalflags = -c -depend !Depend -throwback -IP:
Linkflags = -m -c++ -o $@
ObjAsmflags = -depend !Depend -ThrowBack -Stamp -quit -CloseExec
CMHGflags =
LibFileflags = -c -o $@
Squeezeflags = -o $@
AAsmflags = -depend !Depend -quit -CloseExec -To $@ -From
# Final targets:
@.DCS_Quit: @.o.copy @.o.create @.o.delete @.o.events @.o.getstate @.o.hide \
@.o.main @.o.miscop @.o.show @.o.task c:o.stubs @.^.common.tboxlib @.o.modnodebug \
@.o.dcsmess @.o.dcsres @.o.quitmess @.o.quitres
link $(linkflags) @.o.copy @.o.create @.o.delete @.o.events \
@.o.getstate @.o.hide @.o.main @.o.miscop @.o.show @.o.task c:o.stubs @.^.common.tboxlib \
@.o.modnodebug @.o.dcsmess @.o.dcsres @.o.quitmess @.o.quitres
# User-editable dependencies:
@.o.dcsmess: @.Messages.DCS
resgen dcsmess_file @.o.dcsmess @.Messages.DCS Resources.DCS.Messages
@.o.dcsres: @.Resources.DCS
resgen dcsres_file @.o.dcsres @.Resources.DCS Resources.DCS.Res
@.o.quitmess: @.Messages.quit
resgen quitmess_file @.o.quitmess @.Messages.quit Resources.Quit.Messages
@.o.quitres: @.Resources.quit
resgen quitres_file @.o.quitres @.Resources.quit Resources.Quit.Res
# Static dependencies:
@.o.copy: @.c.copy
cc $(ccflags) -o @.o.copy @.c.copy
@.o.create: @.c.create
cc $(ccflags) -o @.o.create @.c.create
@.o.delete: @.c.delete
cc $(ccflags) -o @.o.delete @.c.delete
@.o.events: @.c.events
cc $(ccflags) -o @.o.events @.c.events
@.o.getstate: @.c.getstate
cc $(ccflags) -o @.o.getstate @.c.getstate
@.o.hide: @.c.hide
cc $(ccflags) -o @.o.hide @.c.hide
@.o.main: @.c.main
cc $(ccflags) -o @.o.main @.c.main
@.o.miscop: @.c.miscop
cc $(ccflags) -o @.o.miscop @.c.miscop
@.o.show: @.c.show
cc $(ccflags) -o @.o.show @.c.show
@.o.task: @.c.task
cc $(ccflags) -o @.o.task @.c.task
@.o.modnodebug: @.cmhg.modnodebug
cmhg @.cmhg.modnodebug -o @.o.modnodebug
# Dynamic dependencies:
# Copyright 1996 Acorn Computers Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile for DCS
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 06-Jan-94 AMcC Created
#
#
# Component specific options:
#
COMPONENT = DCS
ROM_MODULE = aof.${COMPONENT}
#
# Export Paths for Messages module
#
RESDIR = <resource$dir>.Resources2
#
# Generic options:
#
MKDIR = cdir
CC = cc
CMHG = cmhg
CP = copy
LD = link
RM = remove
WIPE = -wipe
CPFLAGS = ~cfr~v
WFLAGS = ~c~v
CFLAGS = -c -depend !Depend ${INCLUDES} -zM -ffah -zps1 ${DFLAGS}
DFLAGS = -DROM
INCLUDES = -Itbox:,C:
#
# Libraries
#
ANSILIB = CLib:o.ansilib
CLIB = CLIB:o.stubs
RLIB = RISCOSLIB:o.risc_oslib
ROMCSTUBS = RISCOSLIB:o.romcstubs
ABSSYM = RISC_OSLib:o.abssym
TBOXLIB = tbox:tboxlib
OBJS =\
o.ModNoDebug\
o.create\
o.delete\
o.events\
o.getstate\
o.hide\
o.main\
o.miscop\
o.show\
o.task
#
# Rule patterns
#
.c.o:; ${CC} ${CFLAGS} -o $@ $<
.cmhg.o:; ${CMHG} -O $@ $<
#
# Main rules:
#
#
rom: ${ROM_MODULE}
@echo ${COMPONENT}: Module built (ROM)
install_rom: ${ROM_MODULE}
${CP} ${ROM_MODULE} ${INSTDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: Module installed (ROM)
resources: Messages.DCS Resources.DCS Messages.Quit Resources.Quit
${MKDIR} ${RESDIR}.DCS
${CP} Messages.DCS ${RESDIR}.DCS.Messages ${CPFLAGS}
${CP} Resources.DCS ${RESDIR}.DCS.Res ${CPFLAGS}
|
${MKDIR} ${RESDIR}.Quit
${CP} Messages.Quit ${RESDIR}.Quit.Messages ${CPFLAGS}
${CP} Resources.Quit ${RESDIR}.Quit.Res ${CPFLAGS}
|
@echo ${COMPONENT}: resource files copied to Messages module
clean:
${WIPE} o.* ${WFLAGS}
${WIPE} aof ${WFLAGS}
${WIPE} linked ${WFLAGS}
${WIPE} map ${WFLAGS}
@echo ${COMPONENT}: cleaned
${ROM_MODULE}: ${OBJS} ${TBOXLIB} ${ROMCSTUBS}
${MKDIR} aof
${LD} -o $@ -aof ${OBJS} ${TBOXLIB} ${ROMCSTUBS}
# final link for ROM Image (using given base address)
rom_link:
${MKDIR} linked
${MKDIR} map
${LD} -o linked.${COMPONENT} -bin -base ${ADDRESS} ${ROM_MODULE} ${ABSSYM} \
-map > map.${COMPONENT}
truncate map.${COMPONENT} linked.${COMPONENT}
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete
#---------------------------------------------------------------------------
# Dynamic dependencies:
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