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:
Bård Skaflestad
2012-07-03 17:45:24 +02:00
parent 9005e4353c
commit 6672a94fb2

View File

@@ -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 += \