Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <389A2B15.C54FA158@WorkTechnologies.com> Date: Thu, 03 Feb 2000 18:27:49 -0700 From: Ben Groeneveld X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Jgreenfield AT RSA DOT com, cygwin AT sourceware DOT cygnus DOT com Subject: Timestamps in GNU make aren't checked when relying on VPATH Content-Type: multipart/mixed; boundary="------------3038FFC5504B62786E212C44" --------------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'" > Subject: Timestamps in GNU make aren't checked when relying on VPATH > From: Jason Greenfield > 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" Timestamps in GNU make aren't checked when relying on VPATH

This is the mail archive of the cygwin AT sourceware DOT cygnus DOT com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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
Release Engineer
RSA Data Security, Inc.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
--------------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--