switch from stabs to segments.

use getter functions in baserel modes.
This commit is contained in:
bebbo 2022-04-09 16:11:18 +02:00
parent 03cecf5fb5
commit 5067886af7
88 changed files with 738 additions and 110 deletions

View File

@ -29,7 +29,7 @@
<option id="cdt.managedbuild.option.gnu.cross.prefix.399326393" name="Prefix" superClass="cdt.managedbuild.option.gnu.cross.prefix" value="m68k-amigaos-" valueType="string"/>
<option id="cdt.managedbuild.option.gnu.cross.path.587129650" name="Path" superClass="cdt.managedbuild.option.gnu.cross.path" value="/opt/amiga/bin" valueType="string"/>
<targetPlatform archList="all" binaryParser="de.bb.eclipse.cdt-amiga.Amiga" id="cdt.managedbuild.targetPlatform.gnu.cross.696677269" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
<builder arguments="-f Makefile.gcc6" autoBuildTarget="all" buildPath="${workspace_loc:/libnix}" cleanBuildTarget="clean" command="make" enableAutoBuild="true" enableCleanBuild="true" enabledIncrementalBuild="true" id="cdt.managedbuild.builder.gnu.cross.1062458588" incrementalBuildTarget="all" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="unlimited" superClass="cdt.managedbuild.builder.gnu.cross"/>
<builder arguments="-f Makefile.gcc6" autoBuildTarget="all" buildPath="${workspace_loc:/libnix}" cleanBuildTarget="clean" command="make" enableAutoBuild="false" enableCleanBuild="true" enabledIncrementalBuild="false" id="cdt.managedbuild.builder.gnu.cross.1062458588" incrementalBuildTarget="all" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="unlimited" superClass="cdt.managedbuild.builder.gnu.cross"/>
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.403026519" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1063600622" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="gnu.c.optimization.level.size" valueType="enumerated"/>
<option defaultValue="gnu.c.debugging.level.max" id="gnu.c.compiler.option.debugging.level.292667248" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" valueType="enumerated"/>
@ -42,7 +42,7 @@
<option id="gnu.c.compiler.option.misc.other.1050859272" name="Other flags" superClass="gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="-c " valueType="string"/>
<option id="gnu.c.compiler.option.warnings.pedantic.2111355381" name="Pedantic (-pedantic)" superClass="gnu.c.compiler.option.warnings.pedantic" useByScannerDiscovery="false" value="false" valueType="boolean"/>
<option id="gnu.c.compiler.option.warnings.extrawarn.766747688" name="Extra warnings (-Wextra)" superClass="gnu.c.compiler.option.warnings.extrawarn" useByScannerDiscovery="false" value="true" valueType="boolean"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.1136146349" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.1136146349" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="__posix_threads__"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1188803423" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
@ -88,7 +88,6 @@
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sources/socket/netdb"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sources/socket/socket"/>
<entry excluding="math" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sources/socket/stdio"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sources/socket/stdio/math"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sources/socket/unistd"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sources/stack"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="sources/startup"/>

View File

@ -7,6 +7,7 @@
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,</triggers>
<arguments>
</arguments>
</buildCommand>

View File

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="-1676338356780701696" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.internal.build.crossgcc.CrossGCCBuiltinSpecsDetector" console="false" env-hash="-1006576229626883657" id="org.eclipse.cdt.build.crossgcc.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT Cross GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

View File

@ -33,8 +33,8 @@ AR = m68k-amigaos-ar
AS = m68k-amigaos-as
VARIANTS_TO_BUILD = info lib libb libm020 libm020bb libm020bb32 libm881 libm020bb881 libm020bb32881 libm060 libm060bb libm060bb32
LIBS_TO_BUILD = libnix libnix13 libnix20 libnixmain libnix_main libm libsocket libstack
STARTUPS ?= lib/devinit.o lib/libinit.o lib/libinitr.o lib/ncrt0.o lib/nbcrt0.o lib/nlbcrt0.o lib/nrcrt0.o lib/nlrcrt0.o
LIBS_TO_BUILD = libnix libnix13 libnix20 libnixmain libnix_main libm libsocket libstack libstub
STARTUPS ?= lib/devinit.o lib/libinit.o lib/libinitr.o lib/ncrt0.o lib/nbcrt0.o lib/nlbcrt0.o lib/nrcrt0.o lib/nlrcrt0.o lib/xcrt0.o
ifneq (,$(lib))
ifeq (nix13,$(lib))
@ -76,7 +76,6 @@ lib: $(STARTUPS)
$(MAKE) one kind=$@
if [ -e $(PREFIX)/m68k-amigaos/lib/libstubs.a ]; then cp $(PREFIX)/m68k-amigaos/lib/libstubs.a lib/libstubs.a; touch -t 0001010000 lib/libstubs.a; fi
if [ -e lib/libstubs.a ] && [ "$$(m68k-amigaos-ar t lib/libstubs.a | grep __initlib)" != "" ]; then rm -f lib/libstubs.a; fi
$(MAKE) -C $@ kind=lib libstubs.a lib=stubs
libb:
@mkdir -p $@
@ -154,7 +153,6 @@ install_one:
mkdir -p $(PREFIX)/m68k-amigaos/libnix/lib/$(to)
cp $(kind)/*.a $(PREFIX)/m68k-amigaos/libnix/lib/$(to)
cp $(kind)/*.o $(PREFIX)/m68k-amigaos/libnix/lib/$(to)
rm -f /m68k-amigaos/libnix/lib/$(to)/libstubs.a
# startup stuff
@ -205,6 +203,9 @@ libsocket:
libstack:
$(MAKE) -C $(kind) rest libstack.a lib=stack
libstub:
$(MAKE) -C $(kind) libstubs.a lib=stubs
libc: $(STARTUPS)
$(MAKE) -C lib kind=lib libstubs.a lib=stubs
$(MAKE) -C $(lc) kind=$(lc) rest libnix.a lib=nix

View File

@ -19,8 +19,6 @@ void __inittimer()
timer(initclock);
}
ADD2INIT(__inittimer,1);
int getrusage(int who, struct rusage *rusage)
{
static struct rusage r0 =
@ -50,3 +48,5 @@ int getrusage(int who, struct rusage *rusage)
}
return status;
}
ADD2INIT(__inittimer,1);

View File

@ -2,8 +2,8 @@
typedef void (*func_ptr) (void);
extern func_ptr __CTOR_LIST__[];
extern func_ptr __DTOR_LIST__[];
extern __far func_ptr __CTOR_LIST__[];
extern __far func_ptr __DTOR_LIST__[];
void __initcpp() {
func_ptr *p0 = __CTOR_LIST__ + 1;

View File

@ -3,11 +3,19 @@
#include "stabs.h"
#include <string.h>
extern struct lib /* These are the elements pointed to by __LIB_LIST__ */
extern __far struct lib /* These are the elements pointed to by __LIB_LIST__ */
{
#ifdef __baserel__
struct Library ** (*get)();
#define BASE *(*l->get)()
#else
struct Library *base;
char *name;
}*__LIB_LIST__[];
#define BASE l->base
#endif
char const *name;
}
*__LIB_LIST__[];
extern __attribute__((noreturn)) void exit(int returncode);
@ -18,7 +26,7 @@ static __attribute__((noreturn)) void __openliberror() {
struct lib **list = __LIB_LIST__ + 1;
struct lib * l;
while ((l = *list++)) {
if (l->base)
if (BASE)
continue;
strcpy(buf, l->name);
strcat(buf, " failed to load\n");
@ -32,7 +40,7 @@ void __initlibraries(void) {
struct lib * l;
short err = 0;
while ((l = *list++)) {
if ((l->base = strstr(l->name, ".resource") ? OpenResource(l->name) : OldOpenLibrary(l->name)))
if ((BASE = strstr(l->name, ".resource") ? OpenResource(l->name) : OldOpenLibrary(l->name)))
continue;
err = 1;
}
@ -44,7 +52,7 @@ void __exitlibraries(void) {
struct lib **list = __LIB_LIST__ + 1;
struct lib * l;
while ((l = *list++)) {
struct Library *lb = l->base;
struct Library *lb = BASE;
if (lb != NULL) {
if (!strstr(l->name, ".resource"))
CloseLibrary(lb);

View File

@ -18,10 +18,12 @@ int system(const char *string) {
#endif
return (int) ~Execute((STRPTR )string, Input(), Output());
}
#if 0
int execvp(const char *file, char *const argv[]) {
return execv(file, argv);
}
#endif
asm("_execvp: .globl _execvp\n");
int execv(const char *path, char *const argv[]) {
char *const*p;
char *cmd;

View File

@ -1,6 +1,6 @@
#include <stdlib.h>
static const char *sys_errlist[] = {
const char * __sys_errlist[] = {
"Undefined error",
"Operation not permitted", // 1: EPERM
@ -159,7 +159,7 @@ static const char *sys_errlist[] = {
"State not recoverable", // 131: ENOTRECOVERABLE
};
static const int sys_nerr=sizeof(sys_errlist)/sizeof(sys_errlist[0]);
#define sys_nerr (sizeof(__sys_errlist)/sizeof(__sys_errlist[0]))
extern int
#ifdef __posix_threads__
__thread
@ -173,7 +173,7 @@ char *strerror(int eno)
__seterrno();
eno = errno;
errno=saved_errno; }
return(char *)sys_errlist[eno];
return(char *)__sys_errlist[eno];
}
char *strerror_r(int errnum, char *buffer, size_t buflen)

View File

@ -61,7 +61,7 @@ fromWB: lea a3@(pr_MsgPort:W),a0
| execute all init functions then call main
fromCLI: lea a4@(___INIT_LIST__:W),a2
fromCLI: lea ___INIT_LIST__,a2
addqw #4,a2
moveql #-1,d2
jbsr callfuncs
@ -74,7 +74,7 @@ fromCLI: lea a4@(___INIT_LIST__:W),a2
| exit() entry - execute all exit functions, reply wbmsg
_exit:
__exit: lea a4@(___EXIT_LIST__:W),a2
__exit: lea ___EXIT_LIST__,a2
addqw #4,a2
moveql #0,d2
jbsr callfuncs
@ -142,3 +142,29 @@ _geta4: lea ___a4_init,a4
.comm ___argv,4
.comm ___env,4
.lcomm cleanupflag,4
.globl ___LIB_LIST__
.globl ___INIT_LIST__
.globl ___EXIT_LIST__
.globl ___CTOR_LIST__
.globl ___DTOR_LIST__
.section .list___LIB_LIST__,"aw"
___LIB_LIST__:
.long ___initlibraries
.section .list___INIT_LIST__,"aw"
___INIT_LIST__:
.long 0
.section .list___EXIT_LIST__,"aw"
___EXIT_LIST__:
.long 0
.section .list___CTOR_LIST__,"aw"
___CTOR_LIST__:
.long ___initcpp
.section .list___DTOR_LIST__,"aw"
___DTOR_LIST__:
.long 0

View File

@ -122,7 +122,6 @@ ___main:
.comm ___env,4
.lcomm cleanupflag,4
.ifdef __elf__
.globl ___LIB_LIST__
.globl ___INIT_LIST__
.globl ___EXIT_LIST__
@ -148,5 +147,4 @@ ___CTOR_LIST__:
.section .list___DTOR_LIST__,"aw"
___DTOR_LIST__:
.long 0
.endif

View File

@ -74,7 +74,7 @@ nobss:
movel d6,a4@(__WBenchMsg:L)
| execute all init functions then call main
lea a4@(___INIT_LIST__:L),a2
lea ___INIT_LIST__,a2
addqw #4,a2
moveql #-1,d2
jbsr callfuncs
@ -88,7 +88,7 @@ nobss:
_exit:
__exit:
lea a4@(___EXIT_LIST__:L),a2
lea ___EXIT_LIST__,a2
addqw #4,a2
moveql #0,d2
jbsr callfuncs
@ -160,3 +160,30 @@ _geta4: lea ___a4_init,a4
.comm ___argv,4
.comm ___env,4
.lcomm cleanupflag,4
.globl ___LIB_LIST__
.globl ___INIT_LIST__
.globl ___EXIT_LIST__
.globl ___CTOR_LIST__
.globl ___DTOR_LIST__
.section .list___LIB_LIST__,"aw"
___LIB_LIST__:
.long ___initlibraries
.section .list___INIT_LIST__,"aw"
___INIT_LIST__:
.long 0
.section .list___EXIT_LIST__,"aw"
___EXIT_LIST__:
.long 0
.section .list___CTOR_LIST__,"aw"
___CTOR_LIST__:
.long ___initcpp
.section .list___DTOR_LIST__,"aw"
___DTOR_LIST__:
.long 0

View File

@ -102,7 +102,7 @@ no_reloc: lea a4@(0x7ffe:L),a4
| call main() - push args onto stack
lea a4@(___INIT_LIST__:L),a2
lea ___INIT_LIST__,a2
addqw #4,a2
moveql #-1,d2
jbsr callfuncs
@ -116,7 +116,7 @@ no_reloc: lea a4@(0x7ffe:L),a4
_exit:
__exit:
lea a4@(___EXIT_LIST__:L),a2
lea ___EXIT_LIST__,a2
addqw #4,a2
moveql #0,d2
jbsr callfuncs
@ -190,3 +190,29 @@ oldpri: movel a3@+,d0
.comm ___argv,4
.comm ___env,4
.lcomm cleanupflag,4
.globl ___LIB_LIST__
.globl ___INIT_LIST__
.globl ___EXIT_LIST__
.globl ___CTOR_LIST___
.globl ___DTOR_LIST__
.section .list___LIB_LIST__,"aw"
___LIB_LIST__:
.long ___initlibraries
.section .list___INIT_LIST__,"aw"
___INIT_LIST__:
.long 0
.section .list___EXIT_LIST__,"aw"
___EXIT_LIST__:
.long 0
.section .list___CTOR_LIST__,"aw"
___CTOR_LIST__:
.long ___initcpp
.section .list___DTOR_LIST__,"aw"
___DTOR_LIST__:
.long 0

View File

@ -56,7 +56,7 @@ fromCLI: movql #ERROR_NO_FREE_STORE,d7
movel d2,d0
movql #1,d1
swap d1
jsr a6@(_LVOAllocMem:W)
jsr a6@(_LVOAllocM_em:W)
movel d0,a4
movel a4,d0
beq cleanup
@ -85,7 +85,7 @@ no_reloc: lea a4@(0x7ffe:W),a4
| call main() - push args onto stack
lea a4@(___INIT_LIST__:W),a2
lea ___INIT_LIST__,a2
addqw #4,a2
moveql #-1,d2
jbsr callfuncs
@ -98,7 +98,7 @@ no_reloc: lea a4@(0x7ffe:W),a4
| exit() entry - get return val, restore stackptr
_exit:
__exit: lea a4@(___EXIT_LIST__:W),a2
__exit: lea ___EXIT_LIST__,a2
addqw #4,a2
moveql #0,d2
jbsr callfuncs
@ -169,3 +169,29 @@ oldpri: movel a3@+,d0
.comm ___argv,4
.comm ___env,4
.lcomm cleanupflag,4
.globl ___LIB_LIST__
.globl ___INIT_LIST__
.globl ___EXIT_LIST__
.globl ___CTOR_LIST__
.globl ___DTOR_LIST__
.section .list___LIB_LIST__,"aw"
___LIB_LIST__:
.long ___initlibraries
.section .list___INIT_LIST__,"aw"
___INIT_LIST__:
.long 0
.section .list___EXIT_LIST__,"aw"
___EXIT_LIST__:
.long 0
.section .list___CTOR_LIST__,"aw"
___CTOR_LIST__:
.long ___initcpp
.section .list___DTOR_LIST__,"aw"
___DTOR_LIST__:
.long 0

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* AmigaGuideBase = 0;
void ** __getAmigaGuideBase() { return &AmigaGuideBase; }
static void * __init[2] = { __getAmigaGuideBase, "amigaguide.library"};
ADD2LIB(__init);
#else
void* AmigaGuideBase[2] = { 0, "amigaguide.library" };
ADD2LIB(AmigaGuideBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* AmlBase = 0;
void ** __getAmlBase() { return &AmlBase; }
static void * __init[2] = { __getAmlBase, "aml.library"};
ADD2LIB(__init);
#else
void* AmlBase[2] = { 0, "aml.library" };
ADD2LIB(AmlBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ARexxBase = 0;
void ** __getARexxBase() { return &ARexxBase; }
static void * __init[2] = { __getARexxBase, "arexx.library"};
ADD2LIB(__init);
#else
void* ARexxBase[2] = { 0, "arexx.library" };
ADD2LIB(ARexxBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* AslBase = 0;
void ** __getAslBase() { return &AslBase; }
static void * __init[2] = { __getAslBase, "asl.library"};
ADD2LIB(__init);
#else
void* AslBase[2] = { 0, "asl.library" };
ADD2LIB(AslBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* BattClockBase = 0;
void ** __getBattClockBase() { return &BattClockBase; }
static void * __init[2] = { __getBattClockBase, "battclock.resource"};
ADD2LIB(__init);
#else
void* BattClockBase[2] = { 0, "battclock.resource" };
ADD2LIB(BattClockBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* BattMemBase = 0;
void ** __getBattMemBase() { return &BattMemBase; }
static void * __init[2] = { __getBattMemBase, "battmem.resource"};
ADD2LIB(__init);
#else
void* BattMemBase[2] = { 0, "battmem.resource" };
ADD2LIB(BattMemBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* BevelBase = 0;
void ** __getBevelBase() { return &BevelBase; }
static void * __init[2] = { __getBevelBase, "bevel.library"};
ADD2LIB(__init);
#else
void* BevelBase[2] = { 0, "bevel.library" };
ADD2LIB(BevelBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* BitMapBase = 0;
void ** __getBitMapBase() { return &BitMapBase; }
static void * __init[2] = { __getBitMapBase, "bitmap.library"};
ADD2LIB(__init);
#else
void* BitMapBase[2] = { 0, "bitmap.library" };
ADD2LIB(BitMapBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* BulletBase = 0;
void ** __getBulletBase() { return &BulletBase; }
static void * __init[2] = { __getBulletBase, "bullet.library"};
ADD2LIB(__init);
#else
void* BulletBase[2] = { 0, "bullet.library" };
ADD2LIB(BulletBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ButtonBase = 0;
void ** __getButtonBase() { return &ButtonBase; }
static void * __init[2] = { __getButtonBase, "button.library"};
ADD2LIB(__init);
#else
void* ButtonBase[2] = { 0, "button.library" };
ADD2LIB(ButtonBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* CardResource = 0;
void ** __getCardResource() { return &CardResource; }
static void * __init[2] = { __getCardResource, "card.resource"};
ADD2LIB(__init);
#else
void* CardResource[2] = { 0, "card.resource" };
ADD2LIB(CardResource);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* CheckBoxBase = 0;
void ** __getCheckBoxBase() { return &CheckBoxBase; }
static void * __init[2] = { __getCheckBoxBase, "checkbox.library"};
ADD2LIB(__init);
#else
void* CheckBoxBase[2] = { 0, "checkbox.library" };
ADD2LIB(CheckBoxBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ChooserBase = 0;
void ** __getChooserBase() { return &ChooserBase; }
static void * __init[2] = { __getChooserBase, "chooser.library"};
ADD2LIB(__init);
#else
void* ChooserBase[2] = { 0, "chooser.library" };
ADD2LIB(ChooserBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ClickTabBase = 0;
void ** __getClickTabBase() { return &ClickTabBase; }
static void * __init[2] = { __getClickTabBase, "clicktab.library"};
ADD2LIB(__init);
#else
void* ClickTabBase[2] = { 0, "clicktab.library" };
ADD2LIB(ClickTabBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ColorWheelBase = 0;
void ** __getColorWheelBase() { return &ColorWheelBase; }
static void * __init[2] = { __getColorWheelBase, "colorwheel.library"};
ADD2LIB(__init);
#else
void* ColorWheelBase[2] = { 0, "colorwheel.library" };
ADD2LIB(ColorWheelBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* CxBase = 0;
void ** __getCxBase() { return &CxBase; }
static void * __init[2] = { __getCxBase, "commodities.library"};
ADD2LIB(__init);
#else
void* CxBase[2] = { 0, "commodities.library" };
ADD2LIB(CxBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,14 +1,21 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#if 0 && defined (__libnix__)
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ConsoleDevice = 0;
void ** __getConsoleDevice() { return &ConsoleDevice; }
static void * __init[2] = { __getConsoleDevice, "console.device"};
ADD2LIB(__init);
#else
void* ConsoleDevice[2] = { 0, "console.device" };
ADD2LIB(ConsoleDevice);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* DataTypesBase = 0;
void ** __getDataTypesBase() { return &DataTypesBase; }
static void * __init[2] = { __getDataTypesBase, "datatypes.library"};
ADD2LIB(__init);
#else
void* DataTypesBase[2] = { 0, "datatypes.library" };
ADD2LIB(DataTypesBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* DateBrowserBase = 0;
void ** __getDateBrowserBase() { return &DateBrowserBase; }
static void * __init[2] = { __getDateBrowserBase, "datebrowser.library"};
ADD2LIB(__init);
#else
void* DateBrowserBase[2] = { 0, "datebrowser.library" };
ADD2LIB(DateBrowserBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* DiskBase = 0;
void ** __getDiskBase() { return &DiskBase; }
static void * __init[2] = { __getDiskBase, "disk.resource"};
ADD2LIB(__init);
#else
void* DiskBase[2] = { 0, "disk.resource" };
ADD2LIB(DiskBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* DiskfontBase = 0;
void ** __getDiskfontBase() { return &DiskfontBase; }
static void * __init[2] = { __getDiskfontBase, "diskfont.library"};
ADD2LIB(__init);
#else
void* DiskfontBase[2] = { 0, "diskfont.library" };
ADD2LIB(DiskfontBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* DOSBase = 0;
void ** __getDOSBase() { return &DOSBase; }
static void * __init[2] = { __getDOSBase, "dos.library"};
ADD2LIB(__init);
#else
void* DOSBase[2] = { 0, "dos.library" };
ADD2LIB(DOSBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* DrawListBase = 0;
void ** __getDrawListBase() { return &DrawListBase; }
static void * __init[2] = { __getDrawListBase, "drawlist.library"};
ADD2LIB(__init);
#else
void* DrawListBase[2] = { 0, "drawlist.library" };
ADD2LIB(DrawListBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* DTClassBase = 0;
void ** __getDTClassBase() { return &DTClassBase; }
static void * __init[2] = { __getDTClassBase, "dtclass.library"};
ADD2LIB(__init);
#else
void* DTClassBase[2] = { 0, "dtclass.library" };
ADD2LIB(DTClassBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ExpansionBase = 0;
void ** __getExpansionBase() { return &ExpansionBase; }
static void * __init[2] = { __getExpansionBase, "expansion.library"};
ADD2LIB(__init);
#else
void* ExpansionBase[2] = { 0, "expansion.library" };
ADD2LIB(ExpansionBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* FuelGaugeBase = 0;
void ** __getFuelGaugeBase() { return &FuelGaugeBase; }
static void * __init[2] = { __getFuelGaugeBase, "fuelgauge.library"};
ADD2LIB(__init);
#else
void* FuelGaugeBase[2] = { 0, "fuelgauge.library" };
ADD2LIB(FuelGaugeBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* GadToolsBase = 0;
void ** __getGadToolsBase() { return &GadToolsBase; }
static void * __init[2] = { __getGadToolsBase, "gadtools.library"};
ADD2LIB(__init);
#else
void* GadToolsBase[2] = { 0, "gadtools.library" };
ADD2LIB(GadToolsBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* GetFileBase = 0;
void ** __getGetFileBase() { return &GetFileBase; }
static void * __init[2] = { __getGetFileBase, "getfile.library"};
ADD2LIB(__init);
#else
void* GetFileBase[2] = { 0, "getfile.library" };
ADD2LIB(GetFileBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* GetFontBase = 0;
void ** __getGetFontBase() { return &GetFontBase; }
static void * __init[2] = { __getGetFontBase, "getfont.library"};
ADD2LIB(__init);
#else
void* GetFontBase[2] = { 0, "getfont.library" };
ADD2LIB(GetFontBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* GetScreenModeBase = 0;
void ** __getGetScreenModeBase() { return &GetScreenModeBase; }
static void * __init[2] = { __getGetScreenModeBase, "getscreenmode.library"};
ADD2LIB(__init);
#else
void* GetScreenModeBase[2] = { 0, "getscreenmode.library" };
ADD2LIB(GetScreenModeBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* GlyphBase = 0;
void ** __getGlyphBase() { return &GlyphBase; }
static void * __init[2] = { __getGlyphBase, "glyph.library"};
ADD2LIB(__init);
#else
void* GlyphBase[2] = { 0, "glyph.library" };
ADD2LIB(GlyphBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* GfxBase = 0;
void ** __getGfxBase() { return &GfxBase; }
static void * __init[2] = { __getGfxBase, "graphics.library"};
ADD2LIB(__init);
#else
void* GfxBase[2] = { 0, "graphics.library" };
ADD2LIB(GfxBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* IconBase = 0;
void ** __getIconBase() { return &IconBase; }
static void * __init[2] = { __getIconBase, "icon.library"};
ADD2LIB(__init);
#else
void* IconBase[2] = { 0, "icon.library" };
ADD2LIB(IconBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* IFFParseBase = 0;
void ** __getIFFParseBase() { return &IFFParseBase; }
static void * __init[2] = { __getIFFParseBase, "iffparse.library"};
ADD2LIB(__init);
#else
void* IFFParseBase[2] = { 0, "iffparse.library" };
ADD2LIB(IFFParseBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,14 +1,21 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#if 0 && defined (__libnix__)
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* InputBase = 0;
void ** __getInputBase() { return &InputBase; }
static void * __init[2] = { __getInputBase, "input.device"};
ADD2LIB(__init);
#else
void* InputBase[2] = { 0, "input.device" };
ADD2LIB(InputBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* IntegerBase = 0;
void ** __getIntegerBase() { return &IntegerBase; }
static void * __init[2] = { __getIntegerBase, "integer.library"};
ADD2LIB(__init);
#else
void* IntegerBase[2] = { 0, "integer.library" };
ADD2LIB(IntegerBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* IntuitionBase = 0;
void ** __getIntuitionBase() { return &IntuitionBase; }
static void * __init[2] = { __getIntuitionBase, "intuition.library"};
ADD2LIB(__init);
#else
void* IntuitionBase[2] = { 0, "intuition.library" };
ADD2LIB(IntuitionBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* KeymapBase = 0;
void ** __getKeymapBase() { return &KeymapBase; }
static void * __init[2] = { __getKeymapBase, "keymap.library"};
ADD2LIB(__init);
#else
void* KeymapBase[2] = { 0, "keymap.library" };
ADD2LIB(KeymapBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* LabelBase = 0;
void ** __getLabelBase() { return &LabelBase; }
static void * __init[2] = { __getLabelBase, "label.library"};
ADD2LIB(__init);
#else
void* LabelBase[2] = { 0, "label.library" };
ADD2LIB(LabelBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* LayersBase = 0;
void ** __getLayersBase() { return &LayersBase; }
static void * __init[2] = { __getLayersBase, "layers.library"};
ADD2LIB(__init);
#else
void* LayersBase[2] = { 0, "layers.library" };
ADD2LIB(LayersBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ListBrowserBase = 0;
void ** __getListBrowserBase() { return &ListBrowserBase; }
static void * __init[2] = { __getListBrowserBase, "listbrowser.library"};
ADD2LIB(__init);
#else
void* ListBrowserBase[2] = { 0, "listbrowser.library" };
ADD2LIB(ListBrowserBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* LocaleBase = 0;
void ** __getLocaleBase() { return &LocaleBase; }
static void * __init[2] = { __getLocaleBase, "locale.library"};
ADD2LIB(__init);
#else
void* LocaleBase[2] = { 0, "locale.library" };
ADD2LIB(LocaleBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* LowLevelBase = 0;
void ** __getLowLevelBase() { return &LowLevelBase; }
static void * __init[2] = { __getLowLevelBase, "lowlevel.library"};
ADD2LIB(__init);
#else
void* LowLevelBase[2] = { 0, "lowlevel.library" };
ADD2LIB(LowLevelBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* MathBase = 0;
void ** __getMathBase() { return &MathBase; }
static void * __init[2] = { __getMathBase, "mathffp.library"};
ADD2LIB(__init);
#else
void* MathBase[2] = { 0, "mathffp.library" };
ADD2LIB(MathBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* MathIeeeDoubBasBase = 0;
void ** __getMathIeeeDoubBasBase() { return &MathIeeeDoubBasBase; }
static void * __init[2] = { __getMathIeeeDoubBasBase, "mathieeedoubbas.library"};
ADD2LIB(__init);
#else
void* MathIeeeDoubBasBase[2] = { 0, "mathieeedoubbas.library" };
ADD2LIB(MathIeeeDoubBasBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* MathIeeeDoubTransBase = 0;
void ** __getMathIeeeDoubTransBase() { return &MathIeeeDoubTransBase; }
static void * __init[2] = { __getMathIeeeDoubTransBase, "mathieeedoubtrans.library"};
ADD2LIB(__init);
#else
void* MathIeeeDoubTransBase[2] = { 0, "mathieeedoubtrans.library" };
ADD2LIB(MathIeeeDoubTransBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* MathIeeeSingBasBase = 0;
void ** __getMathIeeeSingBasBase() { return &MathIeeeSingBasBase; }
static void * __init[2] = { __getMathIeeeSingBasBase, "mathieeesingbas.library"};
ADD2LIB(__init);
#else
void* MathIeeeSingBasBase[2] = { 0, "mathieeesingbas.library" };
ADD2LIB(MathIeeeSingBasBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* MathIeeeSingTransBase = 0;
void ** __getMathIeeeSingTransBase() { return &MathIeeeSingTransBase; }
static void * __init[2] = { __getMathIeeeSingTransBase, "mathieeesingtrans.library"};
ADD2LIB(__init);
#else
void* MathIeeeSingTransBase[2] = { 0, "mathieeesingtrans.library" };
ADD2LIB(MathIeeeSingTransBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* MathTransBase = 0;
void ** __getMathTransBase() { return &MathTransBase; }
static void * __init[2] = { __getMathTransBase, "mathtrans.library"};
ADD2LIB(__init);
#else
void* MathTransBase[2] = { 0, "mathtrans.library" };
ADD2LIB(MathTransBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* MiscBase = 0;
void ** __getMiscBase() { return &MiscBase; }
static void * __init[2] = { __getMiscBase, "misc.resource"};
ADD2LIB(__init);
#else
void* MiscBase[2] = { 0, "misc.resource" };
ADD2LIB(MiscBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* NVBase = 0;
void ** __getNVBase() { return &NVBase; }
static void * __init[2] = { __getNVBase, "nonvolatile.library"};
ADD2LIB(__init);
#else
void* NVBase[2] = { 0, "nonvolatile.library" };
ADD2LIB(NVBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* PaletteBase = 0;
void ** __getPaletteBase() { return &PaletteBase; }
static void * __init[2] = { __getPaletteBase, "palette.library"};
ADD2LIB(__init);
#else
void* PaletteBase[2] = { 0, "palette.library" };
ADD2LIB(PaletteBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* PenMapBase = 0;
void ** __getPenMapBase() { return &PenMapBase; }
static void * __init[2] = { __getPenMapBase, "penmap.library"};
ADD2LIB(__init);
#else
void* PenMapBase[2] = { 0, "penmap.library" };
ADD2LIB(PenMapBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* PopCycleBase = 0;
void ** __getPopCycleBase() { return &PopCycleBase; }
static void * __init[2] = { __getPopCycleBase, "popcycle.library"};
ADD2LIB(__init);
#else
void* PopCycleBase[2] = { 0, "popcycle.library" };
ADD2LIB(PopCycleBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* PotgoBase = 0;
void ** __getPotgoBase() { return &PotgoBase; }
static void * __init[2] = { __getPotgoBase, "potgo.resource"};
ADD2LIB(__init);
#else
void* PotgoBase[2] = { 0, "potgo.resource" };
ADD2LIB(PotgoBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* RadioButtonBase = 0;
void ** __getRadioButtonBase() { return &RadioButtonBase; }
static void * __init[2] = { __getRadioButtonBase, "radiobutton.library"};
ADD2LIB(__init);
#else
void* RadioButtonBase[2] = { 0, "radiobutton.library" };
ADD2LIB(RadioButtonBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,14 +1,21 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#if 0 && defined (__libnix__)
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* RamdriveDevice = 0;
void ** __getRamdriveDevice() { return &RamdriveDevice; }
static void * __init[2] = { __getRamdriveDevice, "ramdrive.device"};
ADD2LIB(__init);
#else
void* RamdriveDevice[2] = { 0, "ramdrive.device" };
ADD2LIB(RamdriveDevice);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* RealTimeBase = 0;
void ** __getRealTimeBase() { return &RealTimeBase; }
static void * __init[2] = { __getRealTimeBase, "realtime.library"};
ADD2LIB(__init);
#else
void* RealTimeBase[2] = { 0, "realtime.library" };
ADD2LIB(RealTimeBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* RequesterBase = 0;
void ** __getRequesterBase() { return &RequesterBase; }
static void * __init[2] = { __getRequesterBase, "requester.library"};
ADD2LIB(__init);
#else
void* RequesterBase[2] = { 0, "requester.library" };
ADD2LIB(RequesterBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ResourceBase = 0;
void ** __getResourceBase() { return &ResourceBase; }
static void * __init[2] = { __getResourceBase, "resource.library"};
ADD2LIB(__init);
#else
void* ResourceBase[2] = { 0, "resource.library" };
ADD2LIB(ResourceBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* RexxSysBase = 0;
void ** __getRexxSysBase() { return &RexxSysBase; }
static void * __init[2] = { __getRexxSysBase, "rexxsyslib.library"};
ADD2LIB(__init);
#else
void* RexxSysBase[2] = { 0, "rexxsyslib.library" };
ADD2LIB(RexxSysBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* ScrollerBase = 0;
void ** __getScrollerBase() { return &ScrollerBase; }
static void * __init[2] = { __getScrollerBase, "scroller.library"};
ADD2LIB(__init);
#else
void* ScrollerBase[2] = { 0, "scroller.library" };
ADD2LIB(ScrollerBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* SliderBase = 0;
void ** __getSliderBase() { return &SliderBase; }
static void * __init[2] = { __getSliderBase, "slider.library"};
ADD2LIB(__init);
#else
void* SliderBase[2] = { 0, "slider.library" };
ADD2LIB(SliderBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* SpaceBase = 0;
void ** __getSpaceBase() { return &SpaceBase; }
static void * __init[2] = { __getSpaceBase, "space.library"};
ADD2LIB(__init);
#else
void* SpaceBase[2] = { 0, "space.library" };
ADD2LIB(SpaceBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* SpeedBarBase = 0;
void ** __getSpeedBarBase() { return &SpeedBarBase; }
static void * __init[2] = { __getSpeedBarBase, "speedbar.library"};
ADD2LIB(__init);
#else
void* SpeedBarBase[2] = { 0, "speedbar.library" };
ADD2LIB(SpeedBarBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* StringBase = 0;
void ** __getStringBase() { return &StringBase; }
static void * __init[2] = { __getStringBase, "string.library"};
ADD2LIB(__init);
#else
void* StringBase[2] = { 0, "string.library" };
ADD2LIB(StringBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* TextFieldBase = 0;
void ** __getTextFieldBase() { return &TextFieldBase; }
static void * __init[2] = { __getTextFieldBase, "texteditor.library"};
ADD2LIB(__init);
#else
void* TextFieldBase[2] = { 0, "texteditor.library" };
ADD2LIB(TextFieldBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,14 +1,21 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#if 0 && defined (__libnix__)
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* TimerBase = 0;
void ** __getTimerBase() { return &TimerBase; }
static void * __init[2] = { __getTimerBase, "timer.device"};
ADD2LIB(__init);
#else
void* TimerBase[2] = { 0, "timer.device" };
ADD2LIB(TimerBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* TranslatorBase = 0;
void ** __getTranslatorBase() { return &TranslatorBase; }
static void * __init[2] = { __getTranslatorBase, "translator.library"};
ADD2LIB(__init);
#else
void* TranslatorBase[2] = { 0, "translator.library" };
ADD2LIB(TranslatorBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* UtilityBase = 0;
void ** __getUtilityBase() { return &UtilityBase; }
static void * __init[2] = { __getUtilityBase, "utility.library"};
ADD2LIB(__init);
#else
void* UtilityBase[2] = { 0, "utility.library" };
ADD2LIB(UtilityBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* VirtualBase = 0;
void ** __getVirtualBase() { return &VirtualBase; }
static void * __init[2] = { __getVirtualBase, "virtual.library"};
ADD2LIB(__init);
#else
void* VirtualBase[2] = { 0, "virtual.library" };
ADD2LIB(VirtualBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* WorkbenchBase = 0;
void ** __getWorkbenchBase() { return &WorkbenchBase; }
static void * __init[2] = { __getWorkbenchBase, "workbench.library"};
ADD2LIB(__init);
#else
void* WorkbenchBase[2] = { 0, "workbench.library" };
ADD2LIB(WorkbenchBase);
#endif
#elif defined (__AMIGAOS4__)

View File

@ -1,4 +1,4 @@
/* Automatically generated header (sfdc 1.11)! Do not edit! */
/* Automatically generated header (sfdc 1.11d)! Do not edit! */
#ifdef __cplusplus
extern "C" {
@ -7,8 +7,15 @@ extern "C" {
#if defined (__libnix__)
#include <stabs.h>
#ifdef __baserel__
void* WindowBase = 0;
void ** __getWindowBase() { return &WindowBase; }
static void * __init[2] = { __getWindowBase, "window.library"};
ADD2LIB(__init);
#else
void* WindowBase[2] = { 0, "window.library" };
ADD2LIB(WindowBase);
#endif
#elif defined (__AMIGAOS4__)

3
updatebases Executable file
View File

@ -0,0 +1,3 @@
pushd sources/stubs/libbases/
for i in /opt/amiga/m68k-amigaos/ndk/lib/sfd/*; do ~/amiga-gcc/projects/sfdc/sfdc --mode autoopen $i > $(basename ${i%%_lib.sfd}).c; done
popd