summaryrefslogtreecommitdiff
path: root/bin/pippen.pl
diff options
context:
space:
mode:
authorucibuilds <ucibuilds@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-31 01:39:40 +0000
committerucibuilds <ucibuilds@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-31 01:39:40 +0000
commit7ea28d9218fa900426aaca14e32c80fb46800e08 (patch)
tree20251c736d0d4871b952308310510682760a9030 /bin/pippen.pl
parent7a4dfa5bb2f3541af9478bf6dd488720c16c099b (diff)
downloadATCD-7ea28d9218fa900426aaca14e32c80fb46800e08.tar.gz
*** empty log message ***
Diffstat (limited to 'bin/pippen.pl')
-rwxr-xr-xbin/pippen.pl27
1 files changed, 19 insertions, 8 deletions
diff --git a/bin/pippen.pl b/bin/pippen.pl
index 8ac49b14eeb..41986158682 100755
--- a/bin/pippen.pl
+++ b/bin/pippen.pl
@@ -100,27 +100,38 @@ while ( $#ARGV >= 0)
}
if ($#configs < 0) {
- if (!defined $ENV{PIPPEN_CONFIGS}) {
+ if (defined $ENV{WINMAKE_CONFIGS}) {
+ @configs = split /:/, $ENV{WINMAKE_CONFIGS};
+ }
+ elsif (defined $ENV{PIPPEN_CONFIGS}) {
+ @configs = split /:/, $ENV{PIPPEN_CONFIGS};
+ }
+ else {
print STDERR "Error: No config specified\n";
exit 1;
}
-
- @configs = split /:/, $ENV{PIPPEN_CONFIGS};
}
if (!defined $extension) {
- if (!defined $ENV{PIPPEN_COMPILER}) {
+ my $compiler = '';
+ if (defined $ENV{WINMAKE_COMPILER}) {
+ $compiler = $ENV{WINMAKE_COMPILER};
+ }
+ elsif (defined $ENV{PIPPEN_COMPILER}) {
+ $compiler = $ENV{PIPPEN_COMPILER};
+ }
+ else {
print STDERR "Error: No compiler specified\n";
exit 1;
}
-
- if ($ENV{PIPPEN_COMPILER} eq "evc3") {
+
+ if ($compiler eq "evc3") {
$extension = "vcp";
}
- elsif ($ENV{PIPPEN_COMPILER} eq "msvc6") {
+ elsif ($compiler eq "msvc6") {
$extension = "dsp";
}
- elsif ($ENV{PIPPEN_COMPILER} eq "msvc7") {
+ elsif ($compiler eq "msvc7") {
$extension = "vcproj";
}
}