panda3d/dtool/pptempl/System.pp
2002-05-23 02:22:30 +00:00

49 lines
1.4 KiB
Puppet

//
// System.pp
//
// This is a system-wide configure file for ppremake. It's normally
// #included from a package-specific Config.pp in the root of the
// source tree. It makes variable declarations that are not normally
// user-editable, but are required to set up the normal processing of
// ppremake.
//
// Define DIR_TYPE as "src", since that's the most common kind of source
// file.
#if $[eq $[DIR_TYPE],]
#define DIR_TYPE src
#endif
// Define where to look for the various kinds of system files.
#if $[eq $[DEPENDS_FILE],]
#define DEPENDS_FILE $[THISDIRPREFIX]Depends.pp
#endif
#if $[eq $[GLOBAL_FILE],]
#define GLOBAL_FILE $[THISDIRPREFIX]Global.pp
#endif
#if $[eq $[GLOBAL_TYPE_FILE],]
#define GLOBAL_TYPE_FILE $[THISDIRPREFIX]Global.$[BUILD_TYPE].pp
#endif
#if $[eq $[TEMPLATE_FILE],]
#define TEMPLATE_FILE $[THISDIRPREFIX]Template.$[BUILD_TYPE].pp
#endif
#if $[eq $[DEPENDENCY_CACHE_FILENAME],]
#define DEPENDENCY_CACHE_FILENAME pp.dep
#endif
// These variables tell ppremake how to interpret the contents of the
// PLATFORM variable, and help it to control the effects of functions
// like $[os] and $[isfullpath].
// True if we are building on some flavor of Windows.
#define WINDOWS_PLATFORM $[or $[eq $[PLATFORM],Win32]$[eq $[PLATFORM],Cygwin]]
// True if we are building on some flavor of Unix.
#define UNIX_PLATFORM $[not $[WINDOWS_PLATFORM]]