lots of little changes for os x

This commit is contained in:
Dave Schuyler 2004-04-02 03:08:14 +00:00
parent e45fe3235f
commit 01d65fe28c
8 changed files with 23 additions and 9 deletions

View File

@ -19,11 +19,11 @@
switchnode pnmtext text tform tiff lerp loader putil \ switchnode pnmtext text tform tiff lerp loader putil \
audio pgui pandabase glstuff audio pgui pandabase glstuff
#define LOCAL_LIBS \
downloader event express pandabase
#define OTHER_LIBS \
#define LOCAL_LIBS downloader express pandabase interrogatedb:c dconfig:c dtoolconfig:m \
#define OTHER_LIBS dtoolconfig dtool dtoolutil:c dtoolbase:c dtool:m
#if $[LINK_IN_GL] #if $[LINK_IN_GL]
#define BUILDING_DLL $[BUILDING_DLL] BUILDING_PANDAGL #define BUILDING_DLL $[BUILDING_DLL] BUILDING_PANDAGL

View File

@ -11,7 +11,8 @@
egg2pg egg2sg egg builder egg2pg egg2sg egg builder
#define LOCAL_LIBS putil express #define LOCAL_LIBS putil express
#define OTHER_LIBS dtoolconfig dtool #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolbase:c dtoolutil:c dtool:m
#begin metalib_target #begin metalib_target
#define TARGET pandaegg #define TARGET pandaegg

View File

@ -10,7 +10,8 @@
#define COMPONENT_LIBS \ #define COMPONENT_LIBS \
distort effects distort effects
#define LOCAL_LIBS putil express #define LOCAL_LIBS putil express
#define OTHER_LIBS dtoolconfig dtool #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolbase:c dtoolutil:c dtool:m
#begin metalib_target #begin metalib_target
#define TARGET pandafx #define TARGET pandafx

View File

@ -15,7 +15,8 @@
#endif #endif
#define LOCAL_LIBS linmath putil express #define LOCAL_LIBS linmath putil express
#define OTHER_LIBS dtoolconfig dtool #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolbase:c dtoolutil:c dtool:m
#begin metalib_target #begin metalib_target
#define TARGET pandaphysics #define TARGET pandaphysics

View File

@ -1,4 +1,5 @@
#define OTHER_LIBS dtoolconfig dtool #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolutil:c dtoolbase:c dtool:m
#define BUILD_DIRECTORY $[HAVE_AUDIO] #define BUILD_DIRECTORY $[HAVE_AUDIO]
#begin lib_target #begin lib_target

View File

@ -1,5 +1,6 @@
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \ #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolutil:c dtoolbase:c dtool:m dtoolutil:c dtoolbase:c dtool:m
#define OSX_SYS_LIBS mx
#begin lib_target #begin lib_target
#define TARGET distort #define TARGET distort

View File

@ -1,5 +1,6 @@
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \ #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolutil:c dtoolbase:c dtool:m dtoolutil:c dtoolbase:c dtool:m
#define OSX_SYS_LIBS mx
#begin lib_target #begin lib_target
#define TARGET gobj #define TARGET gobj

View File

@ -22,6 +22,14 @@
#include <float.h> #include <float.h>
#endif #endif
#ifdef __APPLE__
#define isnan( x ) ( ( sizeof ( x ) == sizeof(double) ) ? \
__isnand ( x ) : \
( sizeof ( x ) == sizeof( float) ) ? \
__isnanf ( x ) : \
__isnan ( x ) )
#endif
INLINE_LINMATH float csqrt(float v) { INLINE_LINMATH float csqrt(float v) {
return sqrtf(v); return sqrtf(v);
} }