mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Moved all the constructor code out of "stdlib_init_exit.c" and into the
files which initialize global data, such as the new "stdlib_program_name.c" and "stdlib_malloc.c". - Until I can find a way to invoke it from within the library, the __machine_test() function is no longer invoked. - Tagged global data with NOCOMMON attributes. - Added the __lib_init() and __lib_exit() functions, which are part of the thread-safe library and which can be used to hook up clib2 with standard Amiga shared library/device code. Some documentation on how to use them can be found in the <dos.h> header file. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14999 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: smakefile,v 1.47 2005-06-18 07:23:16 obarthel Exp $
|
||||
# $Id: smakefile,v 1.48 2005-07-03 10:36:47 obarthel Exp $
|
||||
#
|
||||
# :ts=8
|
||||
#
|
||||
@ -478,10 +478,11 @@ STDLIB_OBJ = \
|
||||
stdlib_getdefstacksize.o \
|
||||
stdlib_getenv.o \
|
||||
stdlib_getsp.o \
|
||||
stdlib_init_exit.o \
|
||||
stdlib_isresident.o \
|
||||
stdlib_labs.o \
|
||||
stdlib_ldiv.o \
|
||||
stdlib_lib_main.o \
|
||||
stdlib_lib_startup.o \
|
||||
stdlib_main.o \
|
||||
stdlib_malloc.o \
|
||||
stdlib_machine_test.o \
|
||||
@ -493,6 +494,7 @@ STDLIB_OBJ = \
|
||||
stdlib_oslibversion.o \
|
||||
stdlib_priority.o \
|
||||
stdlib_process_name.o \
|
||||
stdlib_program_name.o \
|
||||
stdlib_putenv.o \
|
||||
stdlib_qsort.o \
|
||||
stdlib_rand.o \
|
||||
@ -753,8 +755,6 @@ stdlib_calloc.o : stdlib_calloc.c stdlib_memory.h
|
||||
|
||||
stdlib_free.o : stdlib_free.c stdlib_memory.h
|
||||
|
||||
stdlib_init_exit.o : stdlib_init_exit.c stdlib_memory.h
|
||||
|
||||
stdlib_malloc.o : stdlib_malloc.c stdlib_memory.h
|
||||
|
||||
stdlib_realloc.o : stdlib_realloc.c stdlib_memory.h
|
||||
|
||||
Reference in New Issue
Block a user