[MOAB-dev] commit/MOAB: danwu: Add macro LOCDIR to AM_CPPFLAGS in the makefile under src/io (we have already done so for some other makefiles before). Note, some existing makefiles (e.g. the one under src/parallel) have defined SRCDIR=$(srcdir). However, if the build directory and the source directory are the same and we run ./configure, $(srcdir) will always be set to "." in the generated makefiles. For this reason, we will not use existing SRCDIR or $(srcdir) in printing error messages (use LOCDIR instead).
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Feb 4 15:58:36 CST 2014
1 new commit in MOAB:
https://bitbucket.org/fathomteam/moab/commits/80fd189ff722/
Changeset: 80fd189ff722
Branch: error_handling_enhancement
User: danwu
Date: 2014-02-04 22:57:46
Summary: Add macro LOCDIR to AM_CPPFLAGS in the makefile under src/io (we have already done so for some other makefiles before). Note, some existing makefiles (e.g. the one under src/parallel) have defined SRCDIR=$(srcdir). However, if the build directory and the source directory are the same and we run ./configure, $(srcdir) will always be set to "." in the generated makefiles. For this reason, we will not use existing SRCDIR or $(srcdir) in printing error messages (use LOCDIR instead).
Affected #: 1 file
diff --git a/src/io/Makefile.am b/src/io/Makefile.am
index 09fe3d3..f556335 100644
--- a/src/io/Makefile.am
+++ b/src/io/Makefile.am
@@ -9,7 +9,7 @@ endif
noinst_LTLIBRARIES = libmoabio.la
libmoabio_la_LIBADD = $(NETCDF_LIBS) $(PNETCDF_LIBS) $(CGNS_LIBS) $(HDF5_LIBS)
-AM_CPPFLAGS += -DIS_BUILDING_MB \
+AM_CPPFLAGS += -DIS_BUILDING_MB -DLOCDIR=src/io/ \
-I.. -I$(srcdir)/.. -I$(srcdir)/../parallel
if NETCDF_FILE
Repository URL: https://bitbucket.org/fathomteam/moab/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the moab-dev
mailing list