Commit 38ca41a7 authored by Kevin Bracey's avatar Kevin Bracey
Browse files

Modified to use LocalRes$Path and Link 5.08.

parent bf2fbf9d
......@@ -31,7 +31,7 @@ APP = !Edit
MODULE = rm.Edit
ROM_MODULE = aof.Edit
RDIR = Resources
LDIR = ${RDIR}.${LOCALE}
LDIR = LocalRes:
#
# Export Paths for Messages module
......@@ -78,9 +78,9 @@ FILES =\
${RDIR}.!Run\
abs.!RunImage\
${RDIR}.Export\
${LDIR}.!Help\
${LDIR}.Messages\
${LDIR}.Templates
${LDIR}!Help\
${LDIR}Messages\
${LDIR}Templates
# Include these in the ROM module
RESFILES =\
......@@ -110,12 +110,12 @@ rom: ${ROM_MODULE}
install: ${FILES}
${CP} ${RDIR}.!Boot ${INSTDIR}.!Boot ${CPFLAGS}
${CP} ${LDIR}.!Help ${INSTDIR}.!Help ${CPFLAGS}
${CP} ${LDIR}!Help ${INSTDIR}.!Help ${CPFLAGS}
${CP} ${RDIR}.!Run ${INSTDIR}.!Run ${CPFLAGS}
${CP} abs.!RunImage ${INSTDIR}.!RunImage ${CPFLAGS}
${CP} ${RDIR}.Export ${INSTDIR}.Export ${CPFLAGS}
${CP} ${LDIR}.Messages ${INSTDIR}.Messages ${CPFLAGS}
${CP} ${LDIR}.Templates ${INSTDIR}.Templates ${CPFLAGS}
${CP} ${LDIR}Messages ${INSTDIR}.Messages ${CPFLAGS}
${CP} ${LDIR}Templates ${INSTDIR}.Templates ${CPFLAGS}
Access ${INSTDIR}.!Boot lr/r
Access ${INSTDIR}.!Help lr/r
Access ${INSTDIR}.!Run lr/r
......@@ -133,17 +133,16 @@ resources:
${MKDIR} ${RESDIR}
${MKDIR} ${RESAPP}
${CP} ${RDIR}.!Boot ${RESAPP}.!Boot ${CPFLAGS}
${CP} ${LDIR}.!Help ${RESAPP}.!Help ${CPFLAGS}
${CP} ${LDIR}!Help ${RESAPP}.!Help ${CPFLAGS}
${CP} ${RDIR}.ROM.!Run ${RESAPP}.!Run ${CPFLAGS}
${CP} ${LDIR}.Messages ${RESDIR}.Messages ${CPFLAGS}
${CP} ${LDIR}.Templates ${RESDIR}.Templates ${CPFLAGS}
${CP} ${LDIR}Messages ${RESDIR}.Messages ${CPFLAGS}
${CP} ${LDIR}Templates ${RESDIR}.Templates ${CPFLAGS}
@echo ${COMPONENT}: resource files copied to Messages module
clean:
${WIPE} o.* ${WFLAGS}
${WIPE} oz.* ${WFLAGS}
${WIPE} od.* ${WFLAGS}
${WIPE} map.* ${WFLAGS}
${WIPE} linked.* ${WFLAGS}
${RM} abs.!RunImage
${RM} ${ROM_MODULE}
......@@ -172,9 +171,7 @@ ${ROM_MODULE}: oz.ModuleWrap ${OBJSZ} ${ROMSTUBS}
# final link for ROM Image (using given base address)
rom_link:
${LD} -o linked.${COMPONENT} -bin -base ${ADDRESS} ${ROM_MODULE} ${ABSSYM} \
-map > map.${COMPONENT}
truncate map.${COMPONENT} linked.${COMPONENT}
${LD} -o linked.${COMPONENT} -rmf -base ${ADDRESS} ${ROM_MODULE} ${ABSSYM}
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete
......@@ -184,8 +181,8 @@ oz.ModuleWrap: s.ModuleWrap s.AppName ${RESFILES}
s.ModuleWrap: ${WRAPPER}
${CP} ${WRAPPER} $@ ${CPFLAGS}
s.AppName: ${LDIR}.Messages
awk -f awk.AppName ${LDIR}.Messages > $@
s.AppName: ${LDIR}Messages
awk -f awk.AppName ${LDIR}Messages > $@
#---------------------------------------------------------------------------
# Debugging version:
......
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