fix probs with new ppremake

This commit is contained in:
David Rose 2002-05-23 23:35:44 +00:00
parent 6a358681ed
commit add4e82238
3 changed files with 16 additions and 14 deletions

View File

@ -267,7 +267,7 @@
#defer HAVE_CHROMIUM $[libtest $[CHROMIUM_LPATH],$[CHROMIUM_LIBS]]
// Should we try to build the WCR interface?
#define HAVE_WCR $[eq $[PLATFORM],Win32]
#define HAVE_WCR $[WINDOWS_PLATFORM]
// How about GLX?
#define GLX_IPATH
@ -283,7 +283,7 @@
#define HAVE_GLUT
// Should we try to build the WGL interface?
#define HAVE_WGL $[eq $[PLATFORM],Win32]
#define HAVE_WGL $[WINDOWS_PLATFORM]
// Should we try to build the SGI-specific glxdisplay?
#define HAVE_SGIGL $[eq $[PLATFORM],Irix]
@ -313,7 +313,7 @@
// are required? Currently, this requires NSPR.
#define NET_IPATH
#define NET_LPATH
#if $[eq $[PLATFORM],Win32]
#if $[WINDOWS_PLATFORM]
#define NET_LIBS wsock32.lib
#else
#define NET_LIBS
@ -403,7 +403,7 @@
// BOUNDS (BoundsChecker)
// INTEL (Intel C/C++ compiler)
#if $[eq $[PLATFORM], Win32]
#if $[WINDOWS_PLATFORM]
#if $[eq $[USE_COMPILER],]
#define USE_COMPILER MSVC7
#endif

View File

@ -47,6 +47,18 @@
#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]]
// Pull in the package-level Config file. This contains a lot of
// configuration variables that the user might want to fine-tune.
#include $[THISDIRPREFIX]Config.pp

View File

@ -36,13 +36,3 @@
#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]]