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

Modified to use LocalRes$Path and Link 5.08.

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