automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Freebsd vs built sources


From: John Darrington
Subject: Re: Freebsd vs built sources
Date: Wed, 12 Jul 2006 20:52:54 +0800
User-agent: Mutt/1.5.4i

On Wed, Jul 12, 2006 at 02:33:21PM +0200, Stepan Kasal wrote:
     Hello,
     
     On Wed, Jul 12, 2006 at 08:13:06PM +0800, John Darrington wrote:
     > $(top_builddir)/subdir/mystuff.c: $(top_srcdir)/subdir/mystuff.x
     >         cp $(top_srcdir)/subdir/mystuff.x 
$(top_builddir)/subdir/mystuff.c
     > 
     > CLEANFILES= $(top_builddir)/subdir/mystuff.c
     ... 
     > mystuff_libstuff_a_SOURCES = subdir/mystuff.c
     
     the problem is that BSD make does not understand that
     ./subdir/mystuff.c is the same file as subdir/mystuff.c .
     
     The solution is to use of of these two names consistently.
     
     Just omit "$(top_builddir)/" from all occurences.

I can't do that.  If I do, then it will fail to  build from outside
of the source tree. 
     
     And if subdir/mystuff.x is not generated in any way, you can omit the
     "$(top_srcdir)/" prefix from it, too.
     
     If the actual situation is more complex, please post a bigger
     example, or a pointer to your real tarball.
     
OK.  There's a tarball at
http://darrington.wattle.id.au/pspp-0.4.2.tar.gz if you feel like
ploughing through it.

Thanks,

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: pgpeuhAA7wJJ7.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]