[ expat-Bugs-230172 ] examples and xmlwf Makefile.in don't support builddir

noreply@sourceforge.net noreply@sourceforge.net
Mon Oct 1 14:25:02 2001


Bugs item #230172, was opened at 2001-01-26 07:32
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=230172&group_id=10127

Category: Build control
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Axel Hecht (axelhecht)
Assigned to: Greg Stein (gstein)
Summary: examples and xmlwf Makefile.in don't support builddir

Initial Comment:
The Makefile.in's for xmlwf and examples don't cope with a build dir != 
srcdir.

Please add 
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

and add -I$(srcdir)/../lib to CFLAGS.

Should LDFLAGS do -L../lib, or -L../lib/.libs?

Axel

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-10-01 14:24

Message:
Logged In: YES 
user_id=3066

Greg, isn't this done already?  Please review the open bugs
assigned to you.

----------------------------------------------------------------------

Comment By: Greg Stein (gstein)
Date: 2001-08-26 03:40

Message:
Logged In: YES 
user_id=6501

We should be linking using libtool, and link against 
libexpat.la. We won't have to know anything about the .libs 
directory in that case.

The vpath stuff has been handled, yes. It will be even 
simpler when we complete the move to a single makefile.

Leaving open until we make the final switch to libtool-
based linking.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-24 14:50

Message:
Logged In: YES 
user_id=3066

I'm not sure what the deal should be with the LDFLAGS setting; I'll leave that with Greg for a little longer, at least until I can read up some more on libtool.

The other changes appear to have already been made in CVS.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=230172&group_id=10127