Integrated a few external musrfit plug-ins into the standard build process.
In order to enable building of the additional libraries supply the following options to the configure script: --enable-BMWlibs (for libTFitPofB libLFRelaxation libGapIntegrals libCalcMeanFieldsLEM) --enable-ASlibs (for libPNL_PippardFitter) By default, both options are disabled. At the moment I have tested it only in an SL5 32-bit environment. Further tests are going to follow. For a clean installation I suggest to remove any musrfit and plug-in installations before newly building musrfit.
This commit is contained in:
65
src/external/TFitPofB-lib/classes/Makefile.am
vendored
Normal file
65
src/external/TFitPofB-lib/classes/Makefile.am
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
../include/TBofZCalc.h \
|
||||
../include/TBulkTriVortexFieldCalc.h \
|
||||
../include/TFitPofBStartupHandler.h \
|
||||
../include/TLondon1D.h \
|
||||
../include/TPofBCalc.h \
|
||||
../include/TPofTCalc.h \
|
||||
../include/TSkewedGss.h \
|
||||
../include/TTrimSPDataHandler.h \
|
||||
../include/TVortex.h
|
||||
|
||||
h_linkdef = \
|
||||
../include/TFitPofBStartupHandlerLinkDef.h \
|
||||
../include/TLondon1DLinkDef.h \
|
||||
../include/TVortexLinkDef.h \
|
||||
../include/TSkewedGssLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TFitPofBStartupHandlerDict.h \
|
||||
TLondon1DDict.h \
|
||||
TSkewedGssDict.h \
|
||||
TVortexDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TBulkTriVortexFieldCalc.cpp \
|
||||
TBofZCalc.cpp \
|
||||
TFitPofBStartupHandler.cpp \
|
||||
TLondon1D.cpp \
|
||||
TPofBCalc.cpp \
|
||||
TPofTCalc.cpp \
|
||||
TSkewedGss.cpp \
|
||||
TTrimSPDataHandler.cpp \
|
||||
TVortex.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
TFitPofBStartupHandlerDict.cpp \
|
||||
TLondon1DDict.cpp \
|
||||
TSkewedGssDict.cpp \
|
||||
TVortexDict.cpp
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/include -I../include $(LEM_CFLAGS) $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) $(ROOT_CFLAGS)
|
||||
AM_CXXFLAGS = $(LOCAL_LIB_CXXFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(dict_cpp_sources) $(dict_h_sources)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
||||
CLEANFILES = *Dict.cpp *Dict.h *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
||||
|
||||
lib_LTLIBRARIES = libTFitPofB.la
|
||||
|
||||
libTFitPofB_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libTFitPofB_la_LIBADD = $(LEM_LIBS) $(PMUSR_LIBS) $(FFTW3_LIBS) $(ROOT_LIBS)
|
||||
libTFitPofB_la_LDFLAGS = -version-info $(PLUGIN_LIBRARY_VERSION) -release $(PLUGIN_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
## For the moment do not build pkgconfig files for musrfit plug-ins...
|
||||
## pkgconfigdir = $(libdir)/pkgconfig
|
||||
## pkgconfig_DATA = PTFitPofB.pc
|
||||
|
||||
Reference in New Issue
Block a user