Commits (3)
/aif/
/aof/
/FilerAct,ff8
/gpa/
/i/
/linked/
/o/
/objs/
/od/
/rm/
/s/modulewrap
......@@ -13,169 +13,21 @@
# limitations under the License.
#
# Makefile for Filer Action
#
# ***********************************
# *** C h a n g e L i s t ***
# ***********************************
# Date Name Description
# ---- ---- -----------
# 25-May-94 AMcC Created.
# 30-Aug-94 AMcC Added rom_link rule.
#
# Paths
#
EXP_HDR = <export$dir>
#
# Generic options:
#
include StdTools
#DFLAGS = -Ddebugfile="\"RAM::0.$.out\""
AFLAGS = -depend !Depend -Stamp -quit
CFLAGS = -c -throwback -depend !Depend -ffah ${INCLUDES} ${DFLAGS}
CPFLAGS = ~cfr~v
WFLAGS = ~c~v
#
# Libraries
#
CLIB = CLIB:o.stubs
RLIB = RISC_OSLIB:o.risc_oslib
RSTUBS = RISC_OSLIB:o.rstubs
ROMSTUBS = RISC_OSLIB:o.romstubs
ABSSYM = RISC_OSLib:o.AbsSym
#
# Include files
#
INCLUDES = -IC:
# Note: the wrapper contains filer action specific code!
WRAPPER = RISCOSLIB:s.ModuleWrap
#
# Program specific options:
#
COMPONENT = FilerAct
TARGET = aof.FilerAct
EXPORTS = ${EXP_HDR}.FilerAct
OBJS =\
o.actionwind\
o.Initialise\
o.Buttons\
o.allerrs\
o.memmanage\
o.listfiles\
o.Chains\
o.dboxlong\
o.debug
APP_OBJS =\
oa.actionwind\
oa.Initialise\
oa.Buttons\
o.allerrs\
oa.memmanage\
oa.listfiles\
oa.Chains\
oa.dboxlong\
oa.debug
#
# Rule patterns
#
.SUFFIXES: .oa
.c.o:; ${CC} ${CFLAGS} -zM -o $@ $<
.c.oa:; ${CC} ${CFLAGS} -o $@ $<
.s.o:; ${AS} ${AFLAGS} $< $@
#
# Test/development rules:
#
all: rm.FilerAct
@echo ${COMPONENT}: relocatable module built
app: app.FilerAct
@echo ${COMPONENT}: application built
test: app.FilerAct
Set FilerAct$Path <Obey$Dir>.Resources.UK.
Set Alias$Filer_Action <Obey$Dir>.app.FilerAct %%*0
reset:
Set FilerAct$Path Resources:$.Resources.FilerAct.
UnSet Alias$Filer_Action
#
# RISC OS ROM build rules:
#
rom: ${TARGET}
@echo ${COMPONENT}: rom module built
export: ${EXPORTS}
@echo ${COMPONENT}: export complete
install_rom: ${TARGET}
${CP} ${TARGET} ${INSTDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom module installed
clean:
${XWIPE} o.* ${WFLAGS}
${XWIPE} oa.* ${WFLAGS}
${XWIPE} app.* ${WFLAGS}
${XWIPE} rm.* ${WFLAGS}
${XWIPE} linked.* ${WFLAGS}
${XWIPE} map.* ${WFLAGS}
${RM} ${TARGET}
${RM} s.ModuleWrap
@echo ${COMPONENT}: cleaned
resources: resources-${CMDHELP}
@echo ${COMPONENT}: resource files copied
resources_common:
${MKDIR} ${RESDIR}.${COMPONENT}
${CP} LocalRes:Messages ${RESDIR}.${COMPONENT}.Messages ${CPFLAGS}
${CP} LocalRes:Templates ${RESDIR}.${COMPONENT}.Templates ${CPFLAGS}
resources-None: resources_common
@
resources-: resources_common
print LocalRes:CmdHelp { >> ${RESDIR}.${COMPONENT}.Messages }
${EXP_HDR}.FilerAct: hdr.FilerAct
${CP} hdr.FilerAct $@ ${CPFLAGS}
#
# ROM target (re-linked at ROM Image build time)
#
${TARGET}: ${OBJS} o.ModuleWrap ${ROMSTUBS}
${LD} -o $@ -aof ${OBJS} o.ModuleWrap ${ROMSTUBS}
#
# Final link for the ROM Image (using given base address)
#
rom_link:
${LD} -o linked.${COMPONENT} -rmf -base ${ADDRESS} ${TARGET} ${ABSSYM}
${CP} linked.${COMPONENT} ${LINKDIR}.${COMPONENT} ${CPFLAGS}
@echo ${COMPONENT}: rom_link complete
rm.FilerAct: ${OBJS} o.ModuleWrap ${RSTUBS}
${LD} -o $@ -module ${OBJS} o.ModuleWrap ${RSTUBS}
# Application
#
app.FilerAct: ${APP_OBJS} ${CLIB} ${RLIB}
${LD} -o $@ ${APP_OBJS} ${CLIB} ${RLIB}
o.ModuleWrap: s.ModuleWrap
${AS} ${AFLAGS} s.ModuleWrap $@
s.ModuleWrap: ${WRAPPER}
${CP} ${WRAPPER} $@ ${CPFLAGS}
COMPONENT ?= Filer_Action
TARGET ?= FilerAct
HDRS =
ASMHDRS = FilerAct
INSTRES_FILES = Templates
CMHGFILE =
OBJS = actionwind Initialise Buttons allerrs memmanage listfiles Chains dboxlong debug
RES_OBJ =
SA_LIBS = ${RSTUBS}
ROM_LIBS = ${ROMSTUBS}
ROM_SYMS = ${ABSSYM}
CFLAGS = ${C_STKCHK}
MODULEWRAP = yes
include CModule
# Dynamic dependencies:
......@@ -13,4 +13,4 @@
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine app
amu_machine -f app/mk
......@@ -15,3 +15,5 @@
Dir <Obey$Dir>
amu_machine clean
stripdepnd
amu_machine -f app/mk clean
stripdepnd app/mk
;
; This file is automatically maintained by srccommit, do not edit manually.
; Last processed by srccommit version: 1.1.
;
GBLS Module_MajorVersion
GBLA Module_Version
......@@ -10,14 +9,12 @@
GBLS Module_ApplicationDate
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.62"
Module_Version SETA 62
Module_MinorVersion SETS ""
Module_Date SETS "13 Aug 2016"
Module_ApplicationDate SETS "13-Aug-16"
Module_Date SETS "27 Jun 2020"
Module_ApplicationDate SETS "27-Jun-20"
Module_ComponentName SETS "FilerAct"
Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/FilerAct"
Module_FullVersion SETS "0.62"
Module_HelpVersion SETS "0.62 (13 Aug 2016)"
Module_HelpVersion SETS "0.62 (27 Jun 2020)"
END
/* (0.62)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.62
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 13 Aug 2016
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 27 Jun 2020
#define Module_MajorVersion "0.62"
#define Module_Version 62
#define Module_MinorVersion ""
#define Module_Date "13 Aug 2016"
#define Module_Date "27 Jun 2020"
#define Module_ApplicationDate "13-Aug-16"
#define Module_ApplicationDate "27-Jun-20"
#define Module_ComponentName "FilerAct"
#define Module_ComponentPath "castle/RiscOS/Sources/Desktop/FilerAct"
#define Module_FullVersion "0.62"
#define Module_HelpVersion "0.62 (13 Aug 2016)"
#define Module_HelpVersion "0.62 (27 Jun 2020)"
#define Module_LibraryVersionInfo "0:62"
# 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 Filer Action
COMPONENT ?= Filer_Action
TARGET ?= FilerAct
OBJS = actionwind Initialise Buttons allerrs memmanage listfiles Chains dboxlong debug
LIBS = ${RLIB}
include CApp
test: app.FilerAct
Set FilerAct$Path <Obey$Dir>.Resources.UK.
Set Alias$Filer_Action <Obey$Dir>.app.FilerAct %%*0
reset:
Set FilerAct$Path Resources:$.Resources.FilerAct.
UnSet Alias$Filer_Action
# Dynamic dependencies:
......@@ -19,7 +19,7 @@
#include <stdio.h>
#include "debug.h"
#include "chains.h"
#include "Chains.h"
void chain_remove_link( chain_link *link )
{
......
......@@ -206,7 +206,7 @@ extern os_error *i_am_now_active( void );
*/
action_environment env;
const char *last_top_info_field;
static clock_t doings_time = (10*CLK_TCK)/100;
static clock_t doings_time = (10*CLOCKS_PER_SEC)/100;
static int UpdatePath = 0, UpdateTop = 0, UpdateBottom = 0;
#define Number_Of_Actions 10
......@@ -299,7 +299,7 @@ static void hide_faster_stuff( action_environment *env );
*/
void switch_dbox_on_off( action_environment *env, int direction, int delay )
{
env->time_to_boxchange = clock() + (delay * CLK_TCK)/100;
env->time_to_boxchange = clock() + (delay * CLOCKS_PER_SEC)/100;
env->boxchange_direction = direction;
}
......@@ -717,7 +717,7 @@ static os_error *start_operation( action_environment *env, actions_possible oper
if (options & Option_FilerAction_Faster)
{
env->faster = Yes;
doings_time = CLK_TCK; /* 1 second */
doings_time = CLOCKS_PER_SEC; /* 1 second */
hide_faster_stuff( env );
}
......@@ -890,12 +890,12 @@ void toggle_faster( action_environment *env )
copy_go_faster( env->faster );
if ( env->faster )
{
doings_time = CLK_TCK; /* 1 second */
doings_time = CLOCKS_PER_SEC; /* 1 second */
hide_faster_stuff( env );
}
else
{
doings_time = (10*CLK_TCK)/100; /* 1/10 second */
doings_time = (10*CLOCKS_PER_SEC)/100; /* 1/10 second */
show_faster_stuff( env );
}
menu_setflags( env->option_menu, 1, env->faster, menus_greyed[ start_up_details[ env->operation ].men ][ 0 ] );
......
......@@ -82,7 +82,7 @@ Notes:
#include "wimp.h"
#include "Options.h"
#include "chains.h"
#include "Chains.h"
#include "allerrs.h"
#include "malloc+.h"
#include "memmanage.h"
......