|
|
@@ -203,20 +203,10 @@
|
|
|
#define net_libs $[NET_LIBS]
|
|
|
#endif
|
|
|
|
|
|
-#if $[and $[eq $[PLATFORM],Win32], $[ne $[USE_RAD_MSS],]]
|
|
|
- // Info for the RAD game tools, Miles Sound System
|
|
|
- #define AUDIO_IPATH $[RAD_MSS_IPATH]
|
|
|
- #define AUDIO_LPATH $[RAD_MSS_LPATH]
|
|
|
- #define AUDIO_LIBS $[RAD_MSS_LIBS]
|
|
|
-
|
|
|
- // Miles will play mp3, so we dont need the mpg123 lib
|
|
|
- #define USE_MPG123
|
|
|
-#endif
|
|
|
-
|
|
|
-#if $[HAVE_AUDIO]
|
|
|
- #define audio_ipath $[wildcard $[AUDIO_IPATH]]
|
|
|
- #define audio_lpath $[wildcard $[AUDIO_LPATH]]
|
|
|
- #define audio_libs $[AUDIO_LIBS]
|
|
|
+#if $[HAVE_RAD_MSS]
|
|
|
+ #define rad_mss_ipath $[wildcard $[RAD_MSS_IPATH]]
|
|
|
+ #define rad_mss_lpath $[wildcard $[RAD_MSS_LPATH]]
|
|
|
+ #define rad_mss_libs $[RAD_MSS_LIBS]
|
|
|
#endif
|
|
|
|
|
|
// This variable, when evaluated in the scope of a particular directory,
|
|
|
@@ -246,7 +236,6 @@
|
|
|
$[or $[not $[DIRECTORY_IF_IPC]],$[HAVE_IPC]], \
|
|
|
$[or $[not $[DIRECTORY_IF_NET]],$[HAVE_NET]], \
|
|
|
$[or $[not $[DIRECTORY_IF_AUDIO]],$[HAVE_AUDIO]], \
|
|
|
- $[or $[not $[DIRECTORY_IF_MPG123]],$[USE_MPG123]], \
|
|
|
$[or $[not $[DIRECTORY_IF_INTERROGATE]],$[HAVE_INTERROGATE]], \
|
|
|
1 ]
|
|
|
|
|
|
@@ -277,7 +266,6 @@
|
|
|
$[or $[not $[TARGET_IF_IPC]],$[HAVE_IPC]], \
|
|
|
$[or $[not $[TARGET_IF_NET]],$[HAVE_NET]], \
|
|
|
$[or $[not $[TARGET_IF_AUDIO]],$[HAVE_AUDIO]], \
|
|
|
- $[or $[not $[TARGET_IF_MPG123]],$[USE_MPG123]], \
|
|
|
1 ]
|
|
|
|
|
|
// This takes advantage of the above two variables to get the actual
|
|
|
@@ -419,8 +407,8 @@
|
|
|
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
|
|
|
#set alt_cflags $[alt_cflags] $[vrpn_cflags]
|
|
|
#endif
|
|
|
- #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
|
|
|
- #set alt_cflags $[alt_cflags] $[audio_cflags]
|
|
|
+ #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs]],]
|
|
|
+ #set alt_cflags $[alt_cflags] $[rad_mss_cflags]
|
|
|
#endif
|
|
|
#if $[ne $[USE_MIKMOD] $[components $[USE_MIKMOD],$[active_component_libs]],]
|
|
|
#set alt_cflags $[alt_cflags] $[mikmod_cflags]
|
|
|
@@ -484,8 +472,8 @@
|
|
|
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
|
|
|
#set alt_ipath $[alt_ipath] $[vrpn_ipath]
|
|
|
#endif
|
|
|
- #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
|
|
|
- #set alt_ipath $[alt_ipath] $[audio_ipath]
|
|
|
+ #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs]],]
|
|
|
+ #set alt_ipath $[alt_ipath] $[rad_mss_ipath]
|
|
|
#endif
|
|
|
#if $[ne $[USE_MIKMOD] $[components $[USE_MIKMOD],$[active_component_libs]],]
|
|
|
#set alt_ipath $[alt_ipath] $[mikmod_ipath]
|
|
|
@@ -549,8 +537,8 @@
|
|
|
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],]
|
|
|
#set alt_lpath $[alt_lpath] $[vrpn_lpath]
|
|
|
#endif
|
|
|
- #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs] $[transitive_link]],]
|
|
|
- #set alt_lpath $[alt_lpath] $[audio_lpath]
|
|
|
+ #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs] $[transitive_link]],]
|
|
|
+ #set alt_lpath $[alt_lpath] $[rad_mss_lpath]
|
|
|
#endif
|
|
|
#if $[ne $[USE_MIKMOD] $[components $[USE_MIKMOD],$[active_component_libs] $[transitive_link]],]
|
|
|
#set alt_lpath $[alt_lpath] $[mikmod_lpath]
|
|
|
@@ -615,8 +603,8 @@
|
|
|
#if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],]
|
|
|
#set alt_libs $[alt_libs] $[vrpn_libs]
|
|
|
#endif
|
|
|
- #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs] $[transitive_link]],]
|
|
|
- #set alt_libs $[alt_libs] $[audio_libs]
|
|
|
+ #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs] $[transitive_link]],]
|
|
|
+ #set alt_libs $[alt_libs] $[rad_mss_libs]
|
|
|
#endif
|
|
|
#if $[ne $[USE_MIKMOD] $[components $[USE_MIKMOD],$[active_component_libs] $[transitive_link]],]
|
|
|
#set alt_libs $[alt_libs] $[mikmod_libs]
|