diff options
Diffstat (limited to 'ACE/bin/DependencyGenerator/MakeDependencyWriter.pm')
-rw-r--r-- | ACE/bin/DependencyGenerator/MakeDependencyWriter.pm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ACE/bin/DependencyGenerator/MakeDependencyWriter.pm b/ACE/bin/DependencyGenerator/MakeDependencyWriter.pm new file mode 100644 index 00000000000..ee9d0db4a89 --- /dev/null +++ b/ACE/bin/DependencyGenerator/MakeDependencyWriter.pm @@ -0,0 +1,32 @@ +package MakeDependencyWriter; + +# ************************************************************ +# Description : Generates generic Makefile dependencies. +# Author : Chad Elliott +# Create Date : 2/10/2002 +# ************************************************************ + +# ************************************************************ +# Pragmas +# ************************************************************ + +use strict; +use DependencyWriter; + +use vars qw(@ISA); +@ISA = qw(DependencyWriter); + +# ************************************************************ +# Subroutine Section +# ************************************************************ + +sub process { + my($objects) = $_[1]; + my($files) = $_[2]; + + ## Sort the dependencies to make them reproducible + return "@$objects: \\\n " . join(" \\\n ", sort @$files) . "\n"; +} + + +1; |