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 \
audio pgui pandabase glstuff
#define LOCAL_LIBS downloader express pandabase
#define OTHER_LIBS dtoolconfig dtool
#define LOCAL_LIBS \
downloader event express pandabase
#define OTHER_LIBS \
interrogatedb:c dconfig:c dtoolconfig:m \
dtoolutil:c dtoolbase:c dtool:m
#if $[LINK_IN_GL]
#define BUILDING_DLL $[BUILDING_DLL] BUILDING_PANDAGL

View File

@ -11,7 +11,8 @@
egg2pg egg2sg egg builder
#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
#define TARGET pandaegg

View File

@ -10,7 +10,8 @@
#define COMPONENT_LIBS \
distort effects
#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
#define TARGET pandafx

View File

@ -15,7 +15,8 @@
#endif
#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
#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]
#begin lib_target

View File

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

View File

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

View File

@ -22,6 +22,14 @@
#include <float.h>
#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) {
return sqrtf(v);
}