I've been carrying this patch around for a while. Remembered it was
still an issue when a student of mine tried to build vpath-style.
==rob
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
>From bd0cba58c1ddad2745828c7103f8982bfca2031e Mon Sep 17 00:00:00 2001
From: Rob Latham <r...@mcs.anl.gov>
Date: Thu, 6 Mar 2014 11:30:00 -0600
Subject: [PATCH] fix out-of-tree (VPATH) build issue
---
Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 39ec3efb..ac6fdf2c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -202,7 +202,7 @@ CC = @CC@ -std=gnu89
LD = @CC@
BUILD_CC = @BUILD_CC@
BUILD_LD = @BUILD_CC@
-BUILD_CFLAGS = -I$(srcdir)/src/common/misc -I$(srcdir) @BUILD_CFLAGS@
+BUILD_CFLAGS = -I$(srcdir)/src/common/misc -I$(srcdir) -I. @BUILD_CFLAGS@
BUILD_LDFLAGS = @BUILD_LDFLAGS@
# make sure the srcdir include gets included first
CFLAGS = -I$(srcdir)/include @CFLAGS@ @CPPFLAGS@
@@ -1378,7 +1378,7 @@ install:: all
else
install:: all install_doc
install -d $(includedir)
- install -m 644 $(builddir)/include/orange.h $(includedir)
+ install -m 644 $(srcdir)/include/orange.h $(includedir)
install -m 644 $(builddir)/include/pvfs2.h $(includedir)
install -m 644 $(srcdir)/include/pvfs2-request.h $(includedir)
install -m 644 $(srcdir)/include/pvfs2-debug.h $(includedir)
--
1.9.1
_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers