HAVE_EGG
This commit is contained in:
parent
885b114766
commit
189dacff0d
|
|
@ -864,6 +864,7 @@ DTOOL_CONFIG=[
|
|||
("HAVE_FFTW", 'UNDEF', 'UNDEF'),
|
||||
("HAVE_OPENSSL", 'UNDEF', 'UNDEF'),
|
||||
("HAVE_NET", 'UNDEF', 'UNDEF'),
|
||||
("HAVE_EGG", '1', '1'),
|
||||
("HAVE_CG", 'UNDEF', 'UNDEF'),
|
||||
("HAVE_CGGL", 'UNDEF', 'UNDEF'),
|
||||
("HAVE_CGDX9", 'UNDEF', 'UNDEF'),
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
// under Windows).
|
||||
|
||||
#define DIR_TYPE metalib
|
||||
#define BUILD_DIRECTORY $[HAVE_EGG]
|
||||
#define BUILDING_DLL BUILDING_PANDAEGG
|
||||
|
||||
#define COMPONENT_LIBS \
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#define BUILD_DIRECTORY $[HAVE_EGG]
|
||||
|
||||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
dtoolutil:c dtoolbase:c dtool:m prc:c
|
||||
#define YACC_PREFIX eggyy
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#define BUILD_DIRECTORY $[HAVE_EGG]
|
||||
|
||||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
dtoolutil:c dtoolbase:c dtool:m prc:c
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#define BUILDING_DLL BUILDING_FRAMEWORK
|
||||
#define LOCAL_LIBS \
|
||||
recorder pgui pgraph putil collide chan text \
|
||||
pnmimage pnmimagetypes event
|
||||
pnmimage pnmimagetypes event char
|
||||
|
||||
#if $[LINK_ALL_STATIC]
|
||||
// If we're statically linking, we need to explicitly link with
|
||||
|
|
@ -22,7 +22,9 @@
|
|||
#endif
|
||||
|
||||
// And we might like to have the egg loader available.
|
||||
#define LOCAL_LIBS pandaegg $[LOCAL_LIBS]
|
||||
#if $[HAVE_EGG]
|
||||
#define LOCAL_LIBS pandaegg $[LOCAL_LIBS]
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -106,9 +106,15 @@ open_framework(int &argc, char **&argv) {
|
|||
extern EXPCL_PANDA_PNMIMAGETYPES void init_libpnmimagetypes();
|
||||
init_libpnmimagetypes();
|
||||
|
||||
// Ensure the animation subsystem is available.
|
||||
extern EXPCL_PANDA_CHAR void init_libchar();
|
||||
init_libchar();
|
||||
|
||||
// We also want the egg loader.
|
||||
#ifdef HAVE_EGG
|
||||
extern EXPCL_PANDAEGG void init_libpandaegg();
|
||||
init_libpandaegg();
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue