Commit 48f095c6 authored by ROOL's avatar ROOL :robot:
Browse files

Clean up pass

Detail:
  * Makefile created
  * Get version details from automatically maintained VersionNum
  * Use RMInfo from AsmUtils
  * References to $.SparkFS.h.common moved to Interface exports
  * Use POSIX style "thing.h" naming
  * Enable CI job

Version 1.50. Tagged as 'SparkTar-1_50-1'
|
| Copyright (c) 2013, RISC OS Open Ltd
| All rights reserved.
|
| Redistribution and use in source and binary forms, with or without
| modification, are permitted provided that the following conditions are met:
| * Redistributions of source code must retain the above copyright
| notice, this list of conditions and the following disclaimer.
| * Redistributions in binary form must reproduce the above copyright
| notice, this list of conditions and the following disclaimer in the
| documentation and/or other materials provided with the distribution.
| * Neither the name of RISC OS Open Ltd nor the names of its contributors
| may be used to endorse or promote products derived from this software
| without specific prior written permission.
|
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
| AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
| LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
| CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
| SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
| INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
| CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
| ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
| POSSIBILITY OF SUCH DAMAGE.
|
Dir <Obey$Dir>
amu_machine clean
stripdepnd
|
| Copyright (c) 2013, RISC OS Open Ltd
| All rights reserved.
|
| Redistribution and use in source and binary forms, with or without
| modification, are permitted provided that the following conditions are met:
| * Redistributions of source code must retain the above copyright
| notice, this list of conditions and the following disclaimer.
| * Redistributions in binary form must reproduce the above copyright
| notice, this list of conditions and the following disclaimer in the
| documentation and/or other materials provided with the distribution.
| * Neither the name of RISC OS Open Ltd nor the names of its contributors
| may be used to endorse or promote products derived from this software
| without specific prior written permission.
|
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
| AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
| LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
| CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
| SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
| INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
| CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
| ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
| POSSIBILITY OF SUCH DAMAGE.
|
Dir <Obey$Dir>
amu_machine standalone THROWBACK=-throwback
/aif/
/aof/
/gpa/
/h/TarHdr
/i/
/linked/
/Makefile.d
/o/
/objs/
/od/
/rm/
include:
- project: 'Support/CI'
file: '/SparkTar.yml'
#
# Copyright (c) 2023, RISC OS Open Ltd
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of RISC OS Open Ltd nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# Makefile for Tar (SparkFS module)
#
COMPONENT = SparkTar
TARGET = Tar
OBJS = arcs cat convert info \
main zfile
LIBS = ${ASMUTILS} ${SPARKLIB}
HDRS =
CUSTOMRES = no
include CModule
# Dynamic dependencies:
......@@ -30,24 +30,24 @@
#include <ctype.h>
#include <time.h>
#include "h.kernel"
#include "h.swis"
#include "kernel.h"
#include "swis.h"
#include "$.SparkFS.Shared.h.zflex"
#include "SparkLib/zflex.h"
#include "$.SparkFS.h.common"
#include "Interface/SparkFS.h"
#include "$.SparkFS.Shared.h.sfs"
#include "$.SparkFS.Shared.h.zbuffer"
#include "$.SparkFS.Shared.h.zxxstr"
#include "$.SparkFS.Shared.h.sarcfs"
#include "$.SparkFS.Shared.h.err"
#include "SparkLib/sfs.h"
#include "SparkLib/zbuffer.h"
#include "SparkLib/zxxstr.h"
#include "SparkLib/sarcfs.h"
#include "SparkLib/err.h"
#include "h.convert"
#include "h.tar"
#include "h.cat"
#include "h.zfile"
#include "h.arcs"
#include "convert.h"
#include "tar.h"
#include "cat.h"
#include "zfile.h"
#include "arcs.h"
/****************************************************************************/
......
......@@ -30,26 +30,26 @@
#include <ctype.h>
#include <time.h>
#include "h.kernel"
#include "h.swis"
#include "$.SparkFS.Shared.h.zflex"
#include "$.SparkFS.h.common"
#include "$.SparkFS.Shared.h.sfs"
#include "$.SparkFS.Shared.h.sarcfs"
#include "$.SparkFS.Shared.h.zbuffer"
#include "$.SparkFS.Shared.h.zchunk"
#include "$.SparkFS.Shared.h.zxxstr"
#include "$.SparkFS.Shared.h.sinterface"
#include "$.SparkFS.Shared.h.err"
#include "h.arcs"
#include "h.convert"
#include "h.zfile"
#include "h.tar"
#include "h.cat"
#include "kernel.h"
#include "swis.h"
#include "SparkLib/zflex.h"
#include "Interface/SparkFS.h"
#include "SparkLib/sfs.h"
#include "SparkLib/sarcfs.h"
#include "SparkLib/zbuffer.h"
#include "SparkLib/zchunk.h"
#include "SparkLib/zxxstr.h"
#include "SparkLib/sinterface.h"
#include "SparkLib/err.h"
#include "arcs.h"
#include "convert.h"
#include "zfile.h"
#include "tar.h"
#include "cat.h"
#define TARWRITECD 0x1
......
......@@ -28,23 +28,24 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include "h.kernel"
#include "h.swis"
#include "kernel.h"
#include "swis.h"
#include "$.SparkFS.Shared.h.zflex"
#include "SparkLib/zflex.h"
#include "$.SparkFS.h.common"
#include "$.SparkFS.FS.h.RMInfo"
#include "Interface/SparkFS.h"
#include "AsmUtils/rminfo.h"
#include "$.SparkFS.Shared.h.sfs"
#include "$.SparkFS.Shared.h.zbuffer"
#include "$.SparkFS.Shared.h.sinterface"
#include "$.SparkFS.Shared.h.err"
#include "SparkLib/sfs.h"
#include "SparkLib/zbuffer.h"
#include "SparkLib/sinterface.h"
#include "SparkLib/err.h"
#include "h.arcs"
#include "h.cat"
#include "h.convert"
#include "arcs.h"
#include "cat.h"
#include "convert.h"
/*****************************************************************************/
......
......@@ -31,22 +31,22 @@
#include <time.h>
#include <locale.h>
#include "h.kernel"
#include "h.swis"
#include "kernel.h"
#include "swis.h"
#include "$.SparkFS.Shared.h.zflex"
#include "SparkLib/zflex.h"
#include "$.SparkFS.h.common"
#include "Interface/SparkFS.h"
#include "$.SparkFS.Shared.h.sfs"
#include "$.SparkFS.Shared.h.zbuffer"
#include "$.SparkFS.Shared.h.sinterface"
#include "$.SparkFS.Shared.h.err"
#include "SparkLib/sfs.h"
#include "SparkLib/zbuffer.h"
#include "SparkLib/sinterface.h"
#include "SparkLib/err.h"
#include "h.arcs"
#include "h.cat"
#include "h.convert"
#include "h.main"
#include "arcs.h"
#include "cat.h"
#include "convert.h"
#include "main.h"
/****************************************************************************/
......
......@@ -31,23 +31,23 @@
#include <ctype.h>
#include <time.h>
#include "h.kernel"
#include "h.swis"
#include "kernel.h"
#include "swis.h"
#include "$.SparkFS.Shared.h.zflex"
#include "SparkLib/zflex.h"
#include "$.SparkFS.h.common"
#include "Interface/SparkFS.h"
#include "$.SparkFS.Shared.h.sfs"
#include "$.SparkFS.Shared.h.zbuffer"
#include "$.SparkFS.Shared.h.zxxstr"
#include "$.SparkFS.Shared.h.err"
#include "SparkLib/sfs.h"
#include "SparkLib/zbuffer.h"
#include "SparkLib/zxxstr.h"
#include "SparkLib/err.h"
#include "h.arcs"
#include "h.convert"
#include "h.cat"
#include "h.tar"
#include "h.zfile"
#include "arcs.h"
#include "convert.h"
#include "cat.h"
#include "tar.h"
#include "zfile.h"
/*****************************************************************************/
......
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