Subversion Repositories DevTools

Rev

Rev 5709 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5709 Rev 6177
Line 1... Line 1...
1
########################################################################
1
########################################################################
2
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
2
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
3
#
3
#
4
# Module name   : new_toolset_def.pl
4
# Module name   : new_toolset_def.pl
5
# Module type   : JATS Utility
5
# Module type   : JATS Utility
6
# Compiler(s)   : Perl
6
# Compiler(s)   : Perl
7
# Environment(s): JATS
7
# Environment(s): JATS
Line 250... Line 250...
250
#   Create a recipe to test the vality of the toolsets directories
250
#   Create a recipe to test the vality of the toolsets directories
251
#
251
#
252
print ".PHONY: $ToolsetData{tag}\n";
252
print ".PHONY: $ToolsetData{tag}\n";
253
print "$ToolsetData{tag}:\n";
253
print "$ToolsetData{tag}:\n";
254
print "  ifndef GBE_NOTOOLSTEST\n";
254
print "  ifndef GBE_NOTOOLSTEST\n";
255
print "\@\$(echo) [Toolset $ToolsetData{name} - $ToolsetData{long}];";
255
print "\@\$(echo) '[Toolset $ToolsetData{name} - $ToolsetData{long}]';";
256
foreach my $dir ( @{$ToolsetData{ENVORDER}} )
256
foreach my $dir ( @{$ToolsetData{ENVORDER}} )
257
{
257
{
258
    print " \\\n";
258
    print " \\\n";
259
    print "\t\tif [ -z \"\$\$$dir\" ]; then echo \"$dir env var not set\"; exit 2; fi;";
259
    print "\t\tif [ -z \"\$\$$dir\" ]; then echo \"$dir env var not set\"; exit 2; fi;";
260
    print " \\\n";
260
    print " \\\n";