add json-c directory to root of lha

This commit is contained in:
Cameron Armstrong (Nightfox) committed 2026-08-24 02:28:34 +08:00
1 parent 13778a9cb6
commit 6a273c567b
3 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -417,12 +417,12 @@ The clib2 failures are inside clib2 itself: its 68000 multilib provides no
DREL16* once json-c's data is added -- `-fbaserel32` has no 64 KB limit. Link DREL16* once json-c's data is added -- `-fbaserel32` has no 64 KB limit. Link
with `-ljson-c -lm` after your own objects, and add `-lunix` for clib2. with `-ljson-c -lm` after your own objects, and add `-lunix` for clib2.
The archive is laid out with the readme at the root and one directory per The archive is a single `json-c/` directory at the root, with the readme and
system, each following the compiler's own layout so it can be copied straight one directory per system, each following the compiler's own layout so it can
over an SDK: be copied straight over an SDK:
``` ```
json-c.readme json-c/json-c.readme
json-c/AmigaOS3/{include,lib,...}/ plus libnix/ and clib2/ subtrees json-c/AmigaOS3/{include,lib,...}/ plus libnix/ and clib2/ subtrees
json-c/AmigaOS4/{include,lib,lib/clib2,lib/clib4}/ json-c/AmigaOS4/{include,lib,lib/clib2,lib/clib4}/
json-c/MorphOS/{include,lib,lib/libb32,lib/libnix}/ json-c/MorphOS/{include,lib,lib/libb32,lib/libnix}/
+1 -1
View File
@@ -16,7 +16,7 @@ contains static libraries and public headers for Amiga development.
Contents Contents
json-c.readme this file json-c/json-c.readme this file
json-c/AmigaOS3/... m68k AmigaOS libraries and headers json-c/AmigaOS3/... m68k AmigaOS libraries and headers
json-c/AmigaOS4/... ppc-amigaos libraries and headers json-c/AmigaOS4/... ppc-amigaos libraries and headers
json-c/MorphOS/... ppc-morphos libraries and headers json-c/MorphOS/... ppc-morphos libraries and headers
+3 -3
View File
@@ -4,8 +4,8 @@
# #
# ./package-amiga.sh [OS ...] # default: all three # ./package-amiga.sh [OS ...] # default: all three
# #
# Archive layout: # Archive layout (single directory at the root):
# json-c.readme at the archive root # json-c/json-c.readme
# json-c/AmigaOS3/... per-OS libraries and headers # json-c/AmigaOS3/... per-OS libraries and headers
# json-c/AmigaOS4/... # json-c/AmigaOS4/...
# json-c/MorphOS/... # json-c/MorphOS/...
@@ -23,7 +23,7 @@ command -v lha >/dev/null || { echo "error: lha not found on PATH" >&2; exit 1;
# script's SDK layout ($SDK/<target>) is the same shape we want per OS, so each # script's SDK layout ($SDK/<target>) is the same shape we want per OS, so each
# OS gets staged under its own directory. # OS gets staged under its own directory.
rm -rf "$DIST"; mkdir -p "$STAGE/json-c" rm -rf "$DIST"; mkdir -p "$STAGE/json-c"
cp "$ROOT/json-c.readme" "$STAGE/json-c.readme" cp "$ROOT/json-c.readme" "$STAGE/json-c/json-c.readme"
built=() built=()
for os in "${OSES[@]}"; do for os in "${OSES[@]}"; do