Mail Archives: cygwin/2000/02/03/20:14:49
--------------3038FFC5504B62786E212C44
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Jason, did you ever get a response to this? I am using this nearly
exactly the way you described, i.e., java compiles with -d $(CODEBASE).
Timestamps do not seem to be checked. If I change VPATH to GPATH, then
recompiles *always* occur. Not what I expected.
--
> Timestamps in GNU make aren't checked when relying
> on VPATH
>
> To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
> Subject: Timestamps in GNU make aren't checked when relying on VPATH
> From: Jason Greenfield <Jgreenfield AT RSA DOT com>
> Date: Wed, 19 May 1999 16:13:38 -0700
>
>
>
> Hi,
>
> I hope someone can help me with this problem because I'm stumped at this
> point.
>
> I have an automated build system for a java product that makes use of
> VPATH heavily. The reason for this is that I need to keep 4 separate
> builds of the .class files -- release full version, release partial
> version, debug full version, and debug partial version. In other words,
> when I build I deposit the .class files in four separate directories.
> I set VPATH for each different version to ensure that make can find the
> proper .class files for a given build.
>
> At this point, if a .class file is not found in the current directory or
> VPATH, make correctly rebuilds the needed .class files. However, the problem
> comes when I update the .java file (edit or touch the file changing the
> timestamp). Make never realizes this and says that everything is up-to-date.
> This problem takes much of make's usefulness away, as I have to remember
> which .class files to delete to have make re-build them.
>
> I'm not sure if this is a bug with make, with VPATH, or with my
> understanding of make (most likely), but I'm hoping someone out there
> might have some good advice to resolve this problem. I couldn't find
> anything
> close in the FAQ and the stuff about VPATH in the mailing list archives
> didn't
> help any either.
>
> Thanks in advance,
>
> -- Jason Greenfield
--
Ben Groeneveld
@Work Technologies, Inc., 775 Lindsay Blvd., Idaho Falls, ID 83402
Mailto:BenG AT WorkTechnologies DOT com, phone:208.529.2640, fax:208.522.4202
--------------3038FFC5504B62786E212C44
Content-Type: text/html; charset=us-ascii;
name="msg00478.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="msg00478.html"
Content-Base: "http://sourceware.cygnus.com/ml/cygwin
/1999-05/msg00478.html"
Content-Location: "http://sourceware.cygnus.com/ml/cygwin
/1999-05/msg00478.html"
<!-- MHonArc v2.3.3 -->
<!--X-Subject: Timestamps in GNU make aren't checked when relying on VPATH -->
<!--X-From: Jason Greenfield <Jgreenfield AT RSA DOT com> -->
<!--X-Date: 19 May 1999 23:08:09 -0000 -->
<!--X-Message-Id: 6236E58EC451D1119E80006097040ED90109B245 AT lobester DOT rsa DOT com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>Timestamps in GNU make aren't checked when relying on VPATH</TITLE>
<LINK REV="made" HREF="mailto:Jgreenfield AT RSA DOT com">
</HEAD>
<BODY>
<!--X-Body-Begin-->
<!--X-User-Header-->
<p>This is the mail archive of the
<tt>cygwin AT sourceware DOT cygnus DOT com</tt>
mailing list for the <a href="/cygwin/">Cygwin project</a>.
<!--X-User-Header-End-->
<!--X-TopPNI-->
<HR>
<table border="0">
<tr><th align="left">Index Nav:</th>
<td colspan="2">
[<A HREF="index.html#00478">Date Index</A>] [<a href="subjects.html#00478">Subject Index</a>] [<a href="authors.html#00478">Author Index</a>] [<A HREF="threads.html#00478">Thread Index</A>]
</td>
</tr>
<tr><th align="left">Message Nav:</th>
<td>[<A HREF="msg00477.html">Date Prev</A>] [<A HREF="msg00479.html">Date Next</A>]</td>
<td>[<A HREF="msg00479.html">Thread Prev</A>] [<A HREF="msg00476.html">Thread Next</A>]</td>
</tr>
</table>
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>Timestamps in GNU make aren't checked when relying on VPATH</h1>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com></LI>
<LI><em>Subject</em>: Timestamps in GNU make aren't checked when relying on VPATH</LI>
<LI><em>From</em>: Jason Greenfield <Jgreenfield AT RSA DOT com></LI>
<LI><em>Date</em>: Wed, 19 May 1999 16:13:38 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Hi,
I hope someone can help me with this problem because I'm stumped at this
point.
I have an automated build system for a java product that makes use of
VPATH heavily. The reason for this is that I need to keep 4 separate
builds of the .class files -- release full version, release partial
version, debug full version, and debug partial version. In other words,
when I build I deposit the .class files in four separate directories.
I set VPATH for each different version to ensure that make can find the
proper .class files for a given build.
At this point, if a .class file is not found in the current directory or
VPATH, make correctly rebuilds the needed .class files. However, the problem
comes when I update the .java file (edit or touch the file changing the
timestamp). Make never realizes this and says that everything is up-to-date.
This problem takes much of make's usefulness away, as I have to remember
which .class files to delete to have make re-build them.
I'm not sure if this is a bug with make, with VPATH, or with my
understanding of make (most likely), but I'm hoping someone out there
might have some good advice to resolve this problem. I couldn't find
anything
close in the FAQ and the stuff about VPATH in the mailing list archives
didn't
help any either.
Thanks in advance,
-- Jason Greenfield
Release Engineer
RSA Data Security, Inc.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<table border="0">
<tr><th align="left">Index Nav:</th>
<td colspan="2">
[<A HREF="index.html#00478">Date Index</A>] [<a href="subjects.html#00478">Subject Index</a>] [<a href="authors.html#00478">Author Index</a>] [<A HREF="threads.html#00478">Thread Index</A>]
</td>
</tr>
<tr><th align="left">Message Nav:</th>
<td>[<A HREF="msg00477.html">Date Prev</A>] [<A HREF="msg00479.html">Date Next</A>]</td>
<td>[<A HREF="msg00479.html">Thread Prev</A>] [<A HREF="msg00476.html">Thread Next</A>]</td>
</tr>
</table>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</BODY>
</HTML>
--------------3038FFC5504B62786E212C44
Content-Type: text/plain; charset=us-ascii
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--------------3038FFC5504B62786E212C44--
- Raw text -