summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-02-12 17:58:26 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-02-12 17:58:26 +0000
commit23c60c1184144fe607a06b4510e1d6b7d19b1b60 (patch)
tree9f53abaaa712c3424383aba49017e39c7fdda687
parent95fb79ccf47ff4034b0152645ebf0a3e50d47474 (diff)
downloadATCD-23c60c1184144fe607a06b4510e1d6b7d19b1b60.tar.gz
ChangeLogTag:Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r--ChangeLog15
-rw-r--r--ChangeLogs/ChangeLog-02a15
-rw-r--r--ChangeLogs/ChangeLog-03a15
-rwxr-xr-xbin/pippen.pl62
4 files changed, 64 insertions, 43 deletions
diff --git a/ChangeLog b/ChangeLog
index 44e9f0a1eb4..08696107d2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * bin/pippen.pl: Applied a patch from "the source" to fix a
+ problem in determining project dependencies.
+
Tue Feb 12 09:37:56 2002 Ossama Othman <ossama@uci.edu>
* ACE-INSTALL.html:
@@ -21,7 +26,7 @@ Mon Feb 11 13:49:35 2002 Ossama Othman <ossama@uci.edu>
New test that verifies the number of #pragma warning(push)
pragmas matches the number of #pragma warning(pop) pragmas.
- * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
+ * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
* examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
(shared_client_test):
@@ -38,12 +43,12 @@ Mon Feb 11 05:42:02 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Connector.h: Fixed a typo in the coments. Thanks to Miljenko
Norsic (ETK) <Miljenko.Norsic@etk.ericsson.se> for reporting
- this.
+ this.
Sun Feb 10 16:28:30 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
- * ace/config-macosx.h
- * ace/config-freebsd.h
+ * ace/config-macosx.h
+ * ace/config-freebsd.h
* ace/config-freebsd-pthread.h
* ace/TTY_IO.cpp:
* TODO: Removed the ACE_USES_HIGH_BAUD_RATES macro since it no longer
@@ -68,7 +73,7 @@ Fri Feb 8 22:56:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Fri Feb 8 14:54:21 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
- * apps/JAWS2/Makefile (LDFLAGS):
+ * apps/JAWS2/Makefile (LDFLAGS):
* apps/JAWS2/HTTPU/Makefile (LDFLAGS): Fixed some makefile bugs so
that this stuff compiles on AIX. Thanks to Steve Ige
<steve.ige@reuters.com> for reporting this.
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 44e9f0a1eb4..08696107d2a 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,8 @@
+Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * bin/pippen.pl: Applied a patch from "the source" to fix a
+ problem in determining project dependencies.
+
Tue Feb 12 09:37:56 2002 Ossama Othman <ossama@uci.edu>
* ACE-INSTALL.html:
@@ -21,7 +26,7 @@ Mon Feb 11 13:49:35 2002 Ossama Othman <ossama@uci.edu>
New test that verifies the number of #pragma warning(push)
pragmas matches the number of #pragma warning(pop) pragmas.
- * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
+ * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
* examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
(shared_client_test):
@@ -38,12 +43,12 @@ Mon Feb 11 05:42:02 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Connector.h: Fixed a typo in the coments. Thanks to Miljenko
Norsic (ETK) <Miljenko.Norsic@etk.ericsson.se> for reporting
- this.
+ this.
Sun Feb 10 16:28:30 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
- * ace/config-macosx.h
- * ace/config-freebsd.h
+ * ace/config-macosx.h
+ * ace/config-freebsd.h
* ace/config-freebsd-pthread.h
* ace/TTY_IO.cpp:
* TODO: Removed the ACE_USES_HIGH_BAUD_RATES macro since it no longer
@@ -68,7 +73,7 @@ Fri Feb 8 22:56:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Fri Feb 8 14:54:21 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
- * apps/JAWS2/Makefile (LDFLAGS):
+ * apps/JAWS2/Makefile (LDFLAGS):
* apps/JAWS2/HTTPU/Makefile (LDFLAGS): Fixed some makefile bugs so
that this stuff compiles on AIX. Thanks to Steve Ige
<steve.ige@reuters.com> for reporting this.
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 44e9f0a1eb4..08696107d2a 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,8 @@
+Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * bin/pippen.pl: Applied a patch from "the source" to fix a
+ problem in determining project dependencies.
+
Tue Feb 12 09:37:56 2002 Ossama Othman <ossama@uci.edu>
* ACE-INSTALL.html:
@@ -21,7 +26,7 @@ Mon Feb 11 13:49:35 2002 Ossama Othman <ossama@uci.edu>
New test that verifies the number of #pragma warning(push)
pragmas matches the number of #pragma warning(pop) pragmas.
- * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
+ * examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
* examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
(shared_client_test):
@@ -38,12 +43,12 @@ Mon Feb 11 05:42:02 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Connector.h: Fixed a typo in the coments. Thanks to Miljenko
Norsic (ETK) <Miljenko.Norsic@etk.ericsson.se> for reporting
- this.
+ this.
Sun Feb 10 16:28:30 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
- * ace/config-macosx.h
- * ace/config-freebsd.h
+ * ace/config-macosx.h
+ * ace/config-freebsd.h
* ace/config-freebsd-pthread.h
* ace/TTY_IO.cpp:
* TODO: Removed the ACE_USES_HIGH_BAUD_RATES macro since it no longer
@@ -68,7 +73,7 @@ Fri Feb 8 22:56:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Fri Feb 8 14:54:21 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
- * apps/JAWS2/Makefile (LDFLAGS):
+ * apps/JAWS2/Makefile (LDFLAGS):
* apps/JAWS2/HTTPU/Makefile (LDFLAGS): Fixed some makefile bugs so
that this stuff compiles on AIX. Thanks to Steve Ige
<steve.ige@reuters.com> for reporting this.
diff --git a/bin/pippen.pl b/bin/pippen.pl
index 41986158682..8c8c55b8a04 100755
--- a/bin/pippen.pl
+++ b/bin/pippen.pl
@@ -44,20 +44,20 @@ while ( $#ARGV >= 0)
}
elsif ($ARGV[0] =~ m/^-evc3/i) {
$extension = "vcp";
- }
+ }
elsif ($ARGV[0] =~ m/^-msvc6/i) {
$extension = "dsp";
- }
+ }
elsif ($ARGV[0] =~ m/^-msvc7/i) {
$extension = "vcproj";
- }
+ }
elsif ($ARGV[0] =~ m/^-config/i) {
push @configs, $ARGV[1];
- shift;
- }
+ shift;
+ }
elsif ($ARGV[0] =~ m/^-r/i) {
$recurse = 1;
- }
+ }
elsif ($ARGV[0] =~ m/^-v/i) {
$verbose = 1;
}
@@ -69,7 +69,7 @@ while ( $#ARGV >= 0)
}
elsif ($ARGV[0] =~ m/^-useroot/i) {
push @roots, $ARGV[1];
- shift;
+ shift;
}
elsif ($ARGV[0] =~ m/^-aceroot/i) {
$aceroot = 1;
@@ -98,7 +98,7 @@ while ( $#ARGV >= 0)
}
shift;
}
-
+
if ($#configs < 0) {
if (defined $ENV{WINMAKE_CONFIGS}) {
@configs = split /:/, $ENV{WINMAKE_CONFIGS};
@@ -160,13 +160,13 @@ sub ProjectSearch ($@)
my $build = shift;
my @targets = @_;
- while ($#targets >= 0) {
+ while ($#targets >= 0) {
my $target = $targets[0];
if (-d $target) {
print " Reading Directory $target\n" if ($verbose);
if ($recurse) {
my $dh = new DirHandle ($target);
-
+
if (defined $dh) {
foreach my $entry ($dh->read ()) {
if (-d "$target/$entry" && $entry ne "." && $entry ne "..") {
@@ -179,7 +179,7 @@ sub ProjectSearch ($@)
print STDERR "Error: Cannot read $target: $!\n";
}
}
-
+
foreach my $t (glob ($target . "\\*." . $extension)) {
print " Adding project $t\n" if ($verbose);
%projects->{$t}->{BUILD} = $build;
@@ -228,7 +228,7 @@ print "=== Reading Project Files\n" if ($verbose);
foreach my $project (keys %projects) {
my $proj;
-
+
if ($project =~ m/\.dsp$/i) {
$proj = new PerlACE::MSProject::DSP ($project);
}
@@ -243,25 +243,29 @@ foreach my $project (keys %projects) {
}
print " Loading $project:" if ($verbose);
-
+
$proj->Load ();
-
+
foreach my $config (@configs) {
foreach my $proj_config ($proj->Configs ()) {
if ($proj_config =~ m/\Q$config\E/i) {
print " \"$proj_config\"" if ($verbose);
my $name = $proj->DepOutputFile ($proj_config);
-
+
%names->{lc $name} = $project;
- @{%projects->{$project}->{CONFIGS}->{$proj_config}->{DEPS}} = split / /, $proj->Libs ($proj_config);
-
+ my @deps = split / /, $proj->Libs ($proj_config);
+
+ foreach my $dep (@deps) {
+# $dep =~ s/.*[\/\\]//g;
+ push (@{%projects->{$project}->{CONFIGS}->{$proj_config}->{DEPS}}, $dep);
+ }
if ($proj->UsesTAOIDL () == 1) {
push @{%projects->{$project}->{CONFIGS}->{$proj_config}->{DEPS}}, ("gperf.exe", "tao_idl.exe");
}
}
}
}
-
+
print "\n" if ($verbose);
%projects->{$project}->{PROJ} = $proj;
@@ -280,6 +284,8 @@ foreach my $project (keys %projects) {
print " Before:", join (" ", @{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}), "\n" if ($verbose);
my @newdeps;
foreach my $dep (@{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}) {
+ $dep =~ s/.*[\/\\]//g;
+
if (defined %names->{lc $dep}) {
push @newdeps, $dep;
}
@@ -311,7 +317,7 @@ do {
}
}
}
-
+
} while (!$finished);
@@ -329,11 +335,11 @@ if ($debug) {
print " Depends: ", join (" ", @{%projects->{$project}->{CONFIGS}->{$config}->{DEPS}}), "\n";
}
}
-
+
print "\n";
print "List of Outputs\n";
print "---------------\n";
-
+
foreach my $name (keys %names) {
print "$name\n";
}
@@ -341,7 +347,7 @@ if ($debug) {
################################################################################
-# Loop through and
+# Loop through and
print "=== Compiling\n" if ($verbose);
@@ -352,7 +358,7 @@ my $loop = 1;
do {
$compilations = 0;
$unfinished = 0;
-
+
foreach my $project (keys %projects) {
if (%projects->{$project}->{BUILD} == 1) {
foreach my $config (keys %{%projects->{$project}->{CONFIGS}}) {
@@ -363,15 +369,15 @@ do {
++$depsleft;
}
}
-
+
if ($depsleft == 0) {
++$compilations;
print "Auto_compiling $project : $config\n" if ($auto_compile);
-
+
if ($list == 1) {
if ($clean == 1) {
print "Cleaning ";
- }
+ }
else {
print "Compiling ";
}
@@ -394,7 +400,7 @@ do {
}
}
}
-
+
print " === Loop $loop: $compilations compiles, $unfinished left\n" if ($verbose);
++$loop;
} while ($compilations != 0);
@@ -409,5 +415,5 @@ foreach my $project (keys %projects) {
print STDERR "Error: Project not compiled: $project - $config\n",
}
}
- }
+ }
}