don't generate build rules if directory is excluded

This commit is contained in:
David Rose 2002-04-11 17:25:56 +00:00
parent bb0ccd2497
commit 51b8232d16
2 changed files with 120 additions and 116 deletions

View File

@ -44,6 +44,7 @@
// For a source directory, build a single Makefile with rules to build
// each target.
#if $[build_directory]
// This is the real set of lib_targets we'll be building. On Windows,
// we don't build the shared libraries which are included on metalibs.
#define real_lib_targets
@ -103,6 +104,7 @@
#set st_sources $[so_sources] $[st_sources]
#set so_sources
#endif
#endif // $[build_directory]
// And these are the various source files, extracted out by type.
#define cxx_so_sources $[filter_out %_src.cxx,$[filter %.cxx,$[so_sources]]]

View File

@ -51,6 +51,7 @@
// For a source directory, build a single Makefile with rules to build
// each target.
#if $[build_directory]
// This is the real set of lib_targets we'll be building. On Windows,
// we don't build the shared libraries which are included on metalibs.
#define real_lib_targets
@ -110,6 +111,7 @@
#set st_sources $[so_sources] $[st_sources]
#set so_sources
#endif
#endif // $[build_directory]
// And these are the various source files, extracted out by type.
#define cxx_so_sources $[filter_out %_src.cxx,$[filter %.cxx,$[so_sources]]]