Distinguish distributable from non-distributable sources.
We do not want to distribute the AGMG sources along with OPM-Core. These sources must be defined by the builder at configure time. This fixes "make distcheck".
This commit is contained in:
10
Makefile.am
10
Makefile.am
@@ -31,6 +31,10 @@ $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
|
||||
#
|
||||
# Please try to keep the list sorted.
|
||||
|
||||
# List of sources that should be built but not distributed. See AGMG
|
||||
# support below for additional details.
|
||||
nodist_lib_libopmcore_la_SOURCES =
|
||||
|
||||
lib_libopmcore_la_SOURCES = \
|
||||
opm/core/GridManager.cpp \
|
||||
opm/core/eclipse/EclipseGridInspector.cpp \
|
||||
@@ -276,9 +280,11 @@ endif
|
||||
|
||||
|
||||
if BUILD_AGMG
|
||||
lib_libopmcore_la_SOURCES += \
|
||||
nodist_lib_libopmcore_la_SOURCES += \
|
||||
$(AGMG_SRCDIR)/dagmg.f90 \
|
||||
$(AGMG_SRCDIR)/dagmg_mumps.f90 \
|
||||
$(AGMG_SRCDIR)/dagmg_mumps.f90
|
||||
|
||||
lib_libopmcore_la_SOURCES += \
|
||||
opm/core/linalg/LinearSolverAGMG.cpp
|
||||
|
||||
nobase_include_HEADERS += \
|
||||
|
||||
Reference in New Issue
Block a user