mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
f2caef690b
Fix Irix pmake bugs Description: Build fails on Irix when builddir != srcdir Solution: * acconfig.h * src/H5config.h.in [REGENERATED] Added definition for HAVE_STREAM * config/conclude.in * config/depend1.in * config/depend2.in * config/depend3.in * config/depend4.in The `Dependencies' file is located in the source tree. This fixes bugs for Irix pmake when compiling outside the source tree. Hopefully it still preserves Albert's changes which allow concurrent compilations to not stomp on each other's Dependencies files. * examples/Dependencies [REGENERATED] * src/Dependencies [REGENERATED] * test/Dependencies [REGENERATED] * tools/Dependencies [REGENERATED] Regenerated for testing purposes. Platforms: i686-pc-linux mips-sgi-irix6.5 sparc-sun-solaris2.6
12 lines
410 B
Perl
12 lines
410 B
Perl
#!/usr/bin/perl -p
|
|
# Usage: $0 [<].depend
|
|
|
|
# Takes dependency info and generates on stdout dependencies suitable for
|
|
# distribution by removing all the system include files from the list and
|
|
# removing all but the base name of other include files (since the Makefiles
|
|
# contain the logic for searching).
|
|
|
|
($h,$_)=/\s*\\/?$h.$`:("",$h.$_);
|
|
s|( +/\S*)*( *)|$2?" \\\n ":""|eg;
|
|
#s|(([-\w\.]+)/)+([-\w\.]+)|\3|g;
|