include platform sdk dirs in all win32 builds

This commit is contained in:
cxgeorge 2001-10-10 03:09:25 +00:00
parent 860758dc67
commit 846980feaa
2 changed files with 12 additions and 2 deletions

View File

@ -254,10 +254,13 @@
// Should we try to build the SGI-specific glxdisplay? // Should we try to build the SGI-specific glxdisplay?
#define HAVE_SGIGL $[eq $[PLATFORM],Irix] #define HAVE_SGIGL $[eq $[PLATFORM],Irix]
#define WIN32_PLATFORMSDK_INCPATH /mspsdk/Include
#define WIN32_PLATFORMSDK_LIBPATH /mspsdk/Lib
// Should we try to build the DirectX interface? What additional // Should we try to build the DirectX interface? What additional
// libraries do we need? // libraries do we need?
#define DX_IPATH /mspsdk/Include #define DX_IPATH $[WIN32_PLATFORMSDK_INCPATH]
#define DX_LPATH /mspsdk/Lib #define DX_LPATH $[WIN32_PLATFORMSDK_LIBPATH]
#define DX_LIBS \ #define DX_LIBS \
dxguid.lib winmm.lib kernel32.lib gdi32.lib comdlg32.lib winspool.lib \ dxguid.lib winmm.lib kernel32.lib gdi32.lib comdlg32.lib winspool.lib \
user32.lib advapi32.lib ddraw.lib d3dim.lib user32.lib advapi32.lib ddraw.lib d3dim.lib

View File

@ -437,6 +437,10 @@
#defun get_ipath #defun get_ipath
#define alt_ipath $[stl_ipath] $[nspr_ipath] $[python_ipath] #define alt_ipath $[stl_ipath] $[nspr_ipath] $[python_ipath]
#if $[eq $[PLATFORM],Win32]
// all win32 files need path to latest windows.h and libs, which are in plat-sdk dirs, not the deflt vc ones
#set alt_ipath $[WIN32_PLATFORMSDK_INCPATH] $[alt_ipath]
#endif
#if $[ne $[USE_CRYPTO] $[components $[USE_CRYPTO],$[active_component_libs]],] #if $[ne $[USE_CRYPTO] $[components $[USE_CRYPTO],$[active_component_libs]],]
#set alt_ipath $[alt_ipath] $[crypto_ipath] #set alt_ipath $[alt_ipath] $[crypto_ipath]
#endif #endif
@ -502,6 +506,9 @@
#defun get_lpath #defun get_lpath
#define alt_lpath $[stl_lpath] $[nspr_lpath] $[python_lpath] #define alt_lpath $[stl_lpath] $[nspr_lpath] $[python_lpath]
#if $[eq $[PLATFORM],Win32]
#set alt_lpath $[WIN32_PLATFORMSDK_LIBPATH] $[alt_lpath]
#endif
#if $[ne $[USE_CRYPTO] $[components $[USE_CRYPTO],$[active_component_libs] $[transitive_link]],] #if $[ne $[USE_CRYPTO] $[components $[USE_CRYPTO],$[active_component_libs] $[transitive_link]],]
#set alt_lpath $[alt_lpath] $[crypto_lpath] #set alt_lpath $[alt_lpath] $[crypto_lpath]
#endif #endif