Remove automake support
Since the cmake tool chain is now stable, the automake tool chain is removed from musrfit. This makes documentation and code less cluttered.
This commit is contained in:
parent
64f73ffb11
commit
dbfeeddf3f
2
AUTHORS
2
AUTHORS
@ -9,8 +9,6 @@ Andreas Suter <andreas.suter@psi.ch>
|
||||
|
||||
Bastian M. Wojek
|
||||
msr2data; initial testing; full initial documentation; BMWlibs;
|
||||
unified building process on Linux, MacOSX and Windows (Cygwin)
|
||||
through autotools
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# this is the end ...
|
||||
|
@ -1,7 +1,7 @@
|
||||
# - musrfit
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
project(musrfit VERSION 1.4.1 LANGUAGES C CXX)
|
||||
project(musrfit VERSION 1.4.2 LANGUAGES C CXX)
|
||||
|
||||
#--- musrfit specific options -------------------------------------------------
|
||||
option(nexus "build optional NeXus support. Needed for ISIS" OFF)
|
||||
|
@ -12,6 +12,12 @@ or
|
||||
|
||||
https://bitbucket.org/muonspin/musrfit/commits/all
|
||||
|
||||
Release of V1.4.2, 2019/03/08
|
||||
=============================
|
||||
|
||||
The tool chain support for automake is removed. Only the cmake tool chain is
|
||||
supported from now one.
|
||||
|
||||
Release of V1.2.0, 2017/10/26
|
||||
=============================
|
||||
|
||||
|
34
INSTALL
34
INSTALL
@ -2,43 +2,9 @@
|
||||
# INSTALL
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
There are currently 2 wasy to build musrfit:
|
||||
|
||||
1) via the automake tool chain (this will phase out until 2019)
|
||||
2) via the cmake tool chain (this will be the default starting from now)
|
||||
|
||||
In the following it is assumed that the system variable ROOTSYS is already
|
||||
defined and pointing to the place where CERN/ROOT is installed.
|
||||
|
||||
#----------------------------------
|
||||
# Install via automake tool chain
|
||||
#----------------------------------
|
||||
|
||||
To get it build:
|
||||
|
||||
sh autogen.sh
|
||||
./configure --prefix=$ROOTSYS (or where ever musrfit should be installed)
|
||||
make
|
||||
make install (as superuser -- maybe)
|
||||
/sbin/ldconfig (as superuser)
|
||||
|
||||
configure comes with a couple of options. For details either execute
|
||||
|
||||
./configure --help
|
||||
|
||||
or check under http://lmu.web.psi.ch/musrfit/user/MUSR/MusrFitSetup.html
|
||||
for a more detailed description.
|
||||
|
||||
An example with NeXus support and BMWlibs needed would look like this
|
||||
|
||||
sh autogen.sh
|
||||
./configure --enable-NeXus --enable-BMWlibs --prefix=$ROOTSYS
|
||||
make
|
||||
make install (as superuser -- maybe)
|
||||
/sbin/ldconfig (as superuser)
|
||||
|
||||
In the optimal case, everything is set up ;-)
|
||||
|
||||
#----------------------------------
|
||||
# Install via cmake tool chain
|
||||
#----------------------------------
|
||||
|
32
Makefile.am
32
Makefile.am
@ -1,32 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
SUBDIRS = src
|
||||
|
||||
EXTRA_DIST = autogen.sh acinclude.m4
|
||||
|
||||
# The following is to install the documentation
|
||||
# It is a bit lengthy because one cannot simply install whole directories (except copying them recursively -- which also takes the .svn directories...)
|
||||
DOCDIRS = examples \
|
||||
examples/data \
|
||||
examples/ASlibs \
|
||||
examples/ASlibs/data \
|
||||
examples/ASlibs/profiles \
|
||||
examples/BMWlibs \
|
||||
examples/BMWlibs/data \
|
||||
examples/BMWlibs/profiles \
|
||||
html/ \
|
||||
html/_downloads \
|
||||
html/_images \
|
||||
html/_sources \
|
||||
html/_static
|
||||
#html/technical
|
||||
|
||||
install-data-hook:
|
||||
@$(NORMAL_INSTALL)
|
||||
for DIR in $(DOCDIRS); do $(MKDIR_P) $(DOCDIR)/$$DIR; $(INSTALL_DATA) doc/$$DIR/*.* $(DOCDIR)/$$DIR; done
|
||||
$(MKDIR_P) $(DOCDIR)/latex_images
|
||||
$(INSTALL_DATA) src/musredit/latex_images/*.png $(DOCDIR)/latex_images
|
||||
|
||||
uninstall-hook:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
rm -rf $(DOCDIR)
|
128
acinclude.m4
128
acinclude.m4
@ -1,128 +0,0 @@
|
||||
dnl -*- mode: autoconf -*-
|
||||
dnl
|
||||
dnl $Id: root.m4,v 1.3 2005/03/21 21:42:21 rdm Exp $
|
||||
dnl $Author: rdm $
|
||||
dnl $Date: 2005/03/21 21:42:21 $
|
||||
dnl
|
||||
dnl Autoconf macro to check for existence or ROOT on the system
|
||||
dnl Synopsis:
|
||||
dnl
|
||||
dnl ROOT_PATH([MINIMUM-VERSION, [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]])
|
||||
dnl
|
||||
dnl Some examples:
|
||||
dnl
|
||||
dnl ROOT_PATH(3.03/05, , AC_MSG_ERROR(Your ROOT version is too old))
|
||||
dnl ROOT_PATH(, AC_DEFINE([HAVE_ROOT]))
|
||||
dnl
|
||||
dnl The macro defines the following substitution variables
|
||||
dnl
|
||||
dnl ROOTCONF full path to root-config
|
||||
dnl ROOTEXEC full path to root
|
||||
dnl ROOTCLING full path to rootcling
|
||||
dnl ROOTLIBDIR Where the ROOT libraries are
|
||||
dnl ROOTINCDIR Where the ROOT headers are
|
||||
dnl ROOTETCDIR Where the ROOT configuration is
|
||||
dnl ROOTCFLAGS Extra compiler flags
|
||||
dnl ROOTLIBS ROOT basic libraries
|
||||
dnl ROOTGLIBS ROOT basic + GUI libraries
|
||||
dnl ROOTAUXLIBS Auxilary libraries and linker flags for ROOT
|
||||
dnl ROOTAUXCFLAGS Auxilary compiler flags
|
||||
dnl ROOTRPATH Same as ROOTLIBDIR
|
||||
dnl
|
||||
dnl The macro will fail if root-config and rootcling isn't found.
|
||||
dnl
|
||||
dnl Christian Holm Christensen <cholm@nbi.dk>
|
||||
dnl
|
||||
AC_DEFUN([ROOT_PATH],
|
||||
[
|
||||
AC_ARG_WITH([rootsys],
|
||||
[AC_HELP_STRING([--with-rootsys],
|
||||
[top of the ROOT installation directory])],
|
||||
[user_rootsys=$withval],
|
||||
[user_rootsys="none"])
|
||||
if test ! x"$user_rootsys" = xnone; then
|
||||
rootbin="$user_rootsys/bin"
|
||||
elif test ! x"$ROOTSYS" = x ; then
|
||||
rootbin="$ROOTSYS/bin"
|
||||
else
|
||||
rootbin=$PATH
|
||||
fi
|
||||
AC_PATH_PROG(ROOTCONF, root-config , no, $rootbin)
|
||||
AC_PATH_PROG(ROOTEXEC, root , no, $rootbin)
|
||||
AC_PATH_PROG(ROOTCLING, rootcling , no, $rootbin)
|
||||
|
||||
if test ! x"$ROOTCONF" = "xno" && \
|
||||
test ! x"$ROOTCLING" = "xno" ; then
|
||||
|
||||
# define some variables
|
||||
ROOTLIBDIR=`$ROOTCONF --libdir`
|
||||
ROOTINCDIR=`$ROOTCONF --incdir`
|
||||
ROOTETCDIR=`$ROOTCONF --etcdir`
|
||||
ROOTCFLAGS=`$ROOTCONF --noauxcflags --cflags`
|
||||
ROOTLIBS=`$ROOTCONF --noauxlibs --noldflags --libs`
|
||||
ROOTGLIBS=`$ROOTCONF --noauxlibs --noldflags --glibs`
|
||||
ROOTAUXCFLAGS=`$ROOTCONF --auxcflags`
|
||||
ROOTAUXLIBS=`$ROOTCONF --auxlibs`
|
||||
ROOTRPATH=$ROOTLIBDIR
|
||||
ROOTVERSION=`$ROOTCONF --version`
|
||||
ROOTSOVERSION=`dirname $ROOTVERSION`
|
||||
|
||||
if test $1 ; then
|
||||
AC_MSG_CHECKING(whether ROOT version >= [$1])
|
||||
vers=`$ROOTCONF --version | tr './' ' ' | awk 'BEGIN { FS = " "; } { printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
|
||||
requ=`echo $1 | tr './' ' ' | awk 'BEGIN { FS = " "; } { printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
|
||||
if test $vers -lt $requ ; then
|
||||
AC_MSG_RESULT(no)
|
||||
no_root="yes"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
fi
|
||||
else
|
||||
# otherwise, we say no_root
|
||||
no_root="yes"
|
||||
fi
|
||||
|
||||
AC_SUBST(ROOTLIBDIR)
|
||||
AC_SUBST(ROOTINCDIR)
|
||||
AC_SUBST(ROOTETCDIR)
|
||||
AC_SUBST(ROOTCFLAGS)
|
||||
AC_SUBST(ROOTLIBS)
|
||||
AC_SUBST(ROOTGLIBS)
|
||||
AC_SUBST(ROOTAUXLIBS)
|
||||
AC_SUBST(ROOTAUXCFLAGS)
|
||||
AC_SUBST(ROOTRPATH)
|
||||
AC_SUBST(ROOTVERSION)
|
||||
AC_SUBST(ROOTSOVERSION)
|
||||
|
||||
if test "x$no_root" = "x" ; then
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
])
|
||||
|
||||
#
|
||||
# Macro to check if ROOT has a specific feature:
|
||||
#
|
||||
# ROOT_FEATURE(FEATURE,[ACTION_IF_HAVE,[ACTION_IF_NOT]])
|
||||
#
|
||||
# For example
|
||||
#
|
||||
# ROOT_FEATURE([ldap],[AC_DEFINE([HAVE_ROOT_LDAP])])
|
||||
#
|
||||
AC_DEFUN([ROOT_FEATURE],
|
||||
[
|
||||
AC_REQUIRE([ROOT_PATH])
|
||||
feat=$1
|
||||
res=`$ROOTCONF --has-$feat`
|
||||
if test "x$res" = "xyes" ; then
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
])
|
||||
|
||||
#
|
||||
# EOF
|
||||
#
|
101
autogen.sh
101
autogen.sh
@ -1,101 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
# autogen.sh
|
||||
#
|
||||
# Copyright (c) 2009 BMW
|
||||
# Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License VERSION 2 as
|
||||
# published by the Free Software Foundation. You are not allowed to
|
||||
# use any other version of the license; unless you got the explicit
|
||||
# permission from the author to do so.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
PATHTOAUTOCONF=$(which autoconf)
|
||||
PATHTOAUTOMAKE=$(which automake)
|
||||
PATHTOLIBTOOL=$(which libtoolize)
|
||||
PATHTOGLIBTOOL=
|
||||
if [ "$PATHTOLIBTOOL" = "" ]; then
|
||||
PATHTOGLIBTOOL=$(which glibtoolize)
|
||||
fi
|
||||
|
||||
if [ "$PATHTOAUTOCONF" = "" ]; then
|
||||
echo
|
||||
echo ">> GNU autoconf has not been found!"
|
||||
echo ">> Please install it first and then re-run the script!"
|
||||
echo
|
||||
exit 1
|
||||
elif [ "$PATHTOAUTOMAKE" = "" ]; then
|
||||
echo
|
||||
echo ">> GNU automake has not been found!"
|
||||
echo ">> Please install it first and then re-run the script!"
|
||||
echo
|
||||
exit 1
|
||||
elif [ "$PATHTOLIBTOOL" = "" ] && [ "$PATHTOGLIBTOOL" = "" ]; then
|
||||
echo
|
||||
echo ">> GNU libtool has not been found!"
|
||||
echo ">> Please install it first and then re-run the script!"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$PATHTOLIBTOOL" = "" ]; then
|
||||
LIBTOOLIZE="glibtoolize"
|
||||
else
|
||||
LIBTOOLIZE="libtoolize"
|
||||
fi
|
||||
|
||||
dir=`echo "$0" | sed 's,[^/]*$,,'`
|
||||
test "x${dir}" = "x" && dir='.'
|
||||
|
||||
if test "x`cd "${dir}" 2>/dev/null && pwd`" != "x`pwd`"
|
||||
then
|
||||
echo "This script must be executed directly from the source directory!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if !(test -d admin); then
|
||||
mkdir admin
|
||||
fi
|
||||
|
||||
rm -f config.cache
|
||||
|
||||
if test -e admin/depcomp && \
|
||||
test -e admin/install-sh && \
|
||||
test -e admin/ltmain.sh && \
|
||||
test -e admin/missing && \
|
||||
test -e aclocal.m4
|
||||
then
|
||||
echo ">> autoreconf" && \
|
||||
autoreconf && exit 0
|
||||
else
|
||||
echo "" && \
|
||||
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" && \
|
||||
echo "+ This script prepares the building environment for the configuration of +" && \
|
||||
echo "+ musrfit. During this process some informative messages might appear which +" && \
|
||||
echo "+ can safely be ignored as long as they are not tagged as errors. +" && \
|
||||
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" && \
|
||||
echo "" && \
|
||||
echo ">> libtoolize" && \
|
||||
$LIBTOOLIZE --force && \
|
||||
echo ">> aclocal" && \
|
||||
aclocal && \
|
||||
echo ">> autoconf" && \
|
||||
autoconf && \
|
||||
echo ">> autoheader" && \
|
||||
autoheader && \
|
||||
echo ">> automake" && \
|
||||
automake --add-missing --gnu && exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
|
1475
configure.ac
1475
configure.ac
File diff suppressed because it is too large
Load Diff
@ -1,74 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
BUILT_SOURCES = git-revision.h
|
||||
git-revision.h : Makefile
|
||||
sh git_revision.sh ./include git-revision.h
|
||||
|
||||
if PNEXUS_ENABLED
|
||||
PNEXUSDIRS = external/nexus
|
||||
endif
|
||||
|
||||
if BUILD_MUSRGUI
|
||||
EDITORDIR = musrgui
|
||||
endif
|
||||
|
||||
if BUILD_MUSREDIT
|
||||
EDITORDIR = musredit
|
||||
endif
|
||||
|
||||
if BUILD_MUSREDIT_QT5
|
||||
EDITORDIR = musredit_qt5
|
||||
endif
|
||||
|
||||
SUBDIRS = external/MusrRoot \
|
||||
external/TLemRunHeader \
|
||||
external/MuSR_software \
|
||||
external/mud \
|
||||
$(PNEXUSDIRS) \
|
||||
classes \
|
||||
external \
|
||||
musredit_qt5 \
|
||||
musredit \
|
||||
musrgui
|
||||
|
||||
if BUILD_MUSRGUI
|
||||
#SUBDIRS += $(EDITORDIR)
|
||||
EXTRA_DIST = $(EDITORDIR)/Makefile
|
||||
endif
|
||||
|
||||
if BUILD_MUSREDIT
|
||||
#SUBDIRS += $(EDITORDIR)
|
||||
EXTRA_DIST = $(EDITORDIR)/Makefile
|
||||
endif
|
||||
|
||||
if BUILD_MUSREDIT_QT5
|
||||
EXTRA_DIST = $(EDITORDIR)/Makefile
|
||||
endif
|
||||
|
||||
bin_PROGRAMS = musrfit musrview musrt0 musrFT msr2msr msr2data any2many
|
||||
bin_PROGRAMS += write_musrRoot_runHeader musrRootValidation
|
||||
bin_PROGRAMS += dump_header
|
||||
|
||||
musrfit_SOURCES = musrfit.cpp
|
||||
musrview_SOURCES = musrview.cpp
|
||||
musrt0_SOURCES = musrt0.cpp
|
||||
musrFT_SOURCES = musrFT.cpp
|
||||
msr2msr_SOURCES = msr2msr.cpp
|
||||
msr2data_SOURCES = msr2data.cpp
|
||||
any2many_SOURCES = any2many.cpp
|
||||
write_musrRoot_runHeader_SOURCES = write_musrRoot_runHeader.cpp
|
||||
musrRootValidation_SOURCES = musrRootValidation.cpp
|
||||
dump_header_SOURCES = dump_header.cpp
|
||||
|
||||
LIBADD = $(PMUSR_LIBS) $(MUSR_ROOT_LIBS) $(LEM_LIBS) $(PSIBIN_LIBS) $(MUD_LIBS) $(PNEXUS_LIBS)
|
||||
|
||||
AM_CXXFLAGS = $(LOCAL_BIN_CXXFLAGS)
|
||||
AM_LDFLAGS = $(LOCAL_BIN_LDFLAGS)
|
||||
AM_CPPFLAGS = $(MUSR_ROOT_CFLAGS) $(LEM_CFLAGS) $(MUD_CFLAGS) $(PSIBIN_CFLAGS) $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) $(GSL_CFLAGS) $(BOOST_CFLAGS) $(ROOT_CFLAGS) \
|
||||
$(LIBXML2_CFLAGS)
|
||||
if PNEXUS_ENABLED
|
||||
AM_CPPFLAGS += $(HDF5_CFLAGS) $(NEXUS_CFLAGS) $(PNEXUS_CXXFLAGS)
|
||||
endif
|
||||
|
||||
LIBS = $(PMUSR_LIBS) $(USERFCN_LIBS) $(MUSR_ROOT_LIBS) $(LEM_LIBS) $(PSIBIN_LIBS) $(MUD_LIBS) $(PNEXUS_LIBS) \
|
||||
$(FFTW3_LIBS) $(GSL_LIBS) $(ROOT_LIBS) $(LIBXML2_LIBS)
|
@ -1,149 +0,0 @@
|
||||
#---------------------------------------------------
|
||||
# Makefile
|
||||
#
|
||||
# Author: Andreas Suter
|
||||
# e-mail: andreas.suter@psi.ch
|
||||
#
|
||||
# $Id$
|
||||
#---------------------------------------------------
|
||||
|
||||
#---------------------------------------------------
|
||||
# get compilation and library flags from root-config
|
||||
|
||||
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
|
||||
ROOTLIBS = $(shell $(ROOTSYS)/bin/root-config --libs)
|
||||
ROOTGLIBS = $(shell $(ROOTSYS)/bin/root-config --glibs)
|
||||
|
||||
#---------------------------------------------------
|
||||
# depending on the architecture, choose the compiler,
|
||||
# linker, and the flags to use
|
||||
#
|
||||
|
||||
ARCH = $(shell $(ROOTSYS)/bin/root-config --arch)
|
||||
|
||||
ifeq ($(ARCH),linux)
|
||||
OS = LINUX
|
||||
endif
|
||||
ifeq ($(ARCH),linuxx8664gcc)
|
||||
OS = LINUX
|
||||
endif
|
||||
ifeq ($(ARCH),win32gcc)
|
||||
OS = WIN32GCC
|
||||
endif
|
||||
ifeq ($(ARCH),macosx)
|
||||
OS = DARWIN
|
||||
endif
|
||||
|
||||
# -- Linux
|
||||
ifeq ($(OS),LINUX)
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -fPIC
|
||||
PMUSRPATH = ./include
|
||||
MNPATH = $(ROOTSYS)/include
|
||||
INCLUDES = -I$(PMUSRPATH) -I$(MNPATH)
|
||||
LD = g++
|
||||
LDFLAGS = -O
|
||||
INSTALLPATH = $(ROOTSYS)/bin
|
||||
EXEC = musrfit musrview musrparam musrt0 msr2msr
|
||||
SUFFIX =
|
||||
endif
|
||||
|
||||
# -- Windows/Cygwin
|
||||
ifeq ($(OS),WIN32GCC)
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall
|
||||
PMUSRPATH = ./include
|
||||
MNPATH = $(ROOTSYS)/include
|
||||
BOOSTPATH = /usr/include
|
||||
INCLUDES = -I$(PMUSRPATH) -I$(MNPATH) -I$(BOOSTPATH)
|
||||
LD = g++
|
||||
LDFLAGS = -O -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
|
||||
INSTALLPATH = $(ROOTSYS)/bin
|
||||
EXEC = musrfit.exe musrview.exe musrparam.exe musrt0.exe msr2msr.exe
|
||||
SUFFIX = .exe
|
||||
endif
|
||||
|
||||
# -- MacOSX/Darwin
|
||||
ifeq ($(OS),DARWIN)
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -fPIC
|
||||
PMUSRPATH = ./include
|
||||
MNPATH = $(ROOTSYS)/include
|
||||
BOOSTPATH = /sw/include
|
||||
INCLUDES = -I$(PMUSRPATH) -I$(MNPATH) -I$(BOOSTPATH)
|
||||
LD = g++
|
||||
LDFLAGS = -O
|
||||
INSTALLPATH = $(ROOTSYS)/bin
|
||||
EXEC = musrfit musrview musrparam musrt0 msr2msr
|
||||
SUFFIX =
|
||||
endif
|
||||
|
||||
# the output from the root-config script:
|
||||
CXXFLAGS += $(ROOTCFLAGS)
|
||||
LDFLAGS +=
|
||||
|
||||
# the ROOT libraries (G = graphic)
|
||||
LIBS = $(ROOTLIBS) -lXMLParser
|
||||
GLIBS = $(ROOTGLIBS) -lXMLParser
|
||||
|
||||
# PSI libs
|
||||
PSILIBS = -L$(ROOTSYS)/lib -lTLemRunHeader -lPMusr
|
||||
# Minuit2 lib
|
||||
MNLIB = -L$(ROOTSYS)/lib -lMinuit2
|
||||
# MathMore lib
|
||||
MMLIB = -L$(ROOTSYS)/lib -lMathMore
|
||||
|
||||
# some definitions: headers, sources, objects,...
|
||||
OBJS =
|
||||
OBJS += musrfit.o musrview.o musrparam.o musrt0.o msr2msr.o
|
||||
|
||||
# make the executable:
|
||||
#
|
||||
all: $(EXEC)
|
||||
|
||||
musrfit$(SUFFIX): musrfit.o
|
||||
@echo "---> Building $@ ..."
|
||||
/bin/rm -f $@
|
||||
$(LD) $< -o $@ $(LDFLAGS) $(GLIBS) $(PSILIBS) $(MNLIB) $(MMLIB)
|
||||
@echo "done"
|
||||
|
||||
musrview$(SUFFIX): musrview.o
|
||||
@echo "---> Building $@ ..."
|
||||
/bin/rm -f $@
|
||||
$(LD) $< -o $@ $(LDFLAGS) $(GLIBS) $(PSILIBS) $(MNLIB) $(MMLIB)
|
||||
@echo "done"
|
||||
|
||||
musrt0$(SUFFIX): musrt0.o
|
||||
@echo "---> Building $@ ..."
|
||||
/bin/rm -f $@
|
||||
$(LD) $< -o $@ $(LDFLAGS) $(GLIBS) $(PSILIBS) $(MNLIB) $(MMLIB)
|
||||
@echo "done"
|
||||
|
||||
musrparam$(SUFFIX): musrparam.o
|
||||
@echo "---> Building $@ ..."
|
||||
/bin/rm -f $@
|
||||
$(LD) $< -o $@ $(LDFLAGS) $(GLIBS) $(PSILIBS) $(MNLIB) $(MMLIB)
|
||||
@echo "done"
|
||||
|
||||
msr2msr$(SUFFIX): msr2msr.o
|
||||
@echo "---> Building $@ ..."
|
||||
/bin/rm -f $@
|
||||
$(LD) $< -o $@ $(LDFLAGS) $(GLIBS) $(PSILIBS) $(MNLIB) $(MMLIB)
|
||||
@echo "done"
|
||||
|
||||
# clean up: remove all object file (and core files)
|
||||
# semicolon needed to tell make there is no source
|
||||
# for this target!
|
||||
#
|
||||
clean:; @rm -f $(OBJS)
|
||||
@echo "---> removing $(OBJS)"
|
||||
|
||||
#
|
||||
$(OBJS): %.o: %.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||
|
||||
install: all
|
||||
cp -fvp $(EXEC) $(INSTALLPATH)
|
||||
cp -fvp musrfit_startup.xml $(INSTALLPATH)
|
||||
cp -fvp external/scripts/msr2data $(INSTALLPATH)
|
||||
chmod 755 $(INSTALLPATH)/msr2data
|
@ -1,261 +0,0 @@
|
||||
#---------------------------------------------------
|
||||
# Makefile.PMusr
|
||||
#
|
||||
# Author: Andreas Suter
|
||||
# e-mail: andreas.suter@psi.ch
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Comment: If it doesn't work, try
|
||||
# make --warning-undefined-variables -f Makefile.PMusr
|
||||
# it might be that OSTYPE is not set properly, i.e.
|
||||
# OSTYPE being a variable (set), instead of a enviornment
|
||||
# variable (printenv). If so, try
|
||||
# export OSTYPE=linux-gnu
|
||||
# are whatever makes sense on your system.
|
||||
#---------------------------------------------------
|
||||
|
||||
#---------------------------------------------------
|
||||
# get compilation and library flags from root-config
|
||||
|
||||
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
|
||||
ROOTLIBS = $(shell $(ROOTSYS)/bin/root-config --libs)
|
||||
ROOTGLIBS = $(shell $(ROOTSYS)/bin/root-config --glibs)
|
||||
|
||||
#---------------------------------------------------
|
||||
# depending on the architecture, choose the compiler,
|
||||
# linker, and the flags to use
|
||||
#
|
||||
|
||||
ARCH = $(shell $(ROOTSYS)/bin/root-config --arch)
|
||||
|
||||
ifeq ($(ARCH),linux)
|
||||
OS = LINUX
|
||||
endif
|
||||
ifeq ($(ARCH),linuxx8664gcc)
|
||||
OS = LINUX
|
||||
endif
|
||||
ifeq ($(ARCH),win32gcc)
|
||||
OS = WIN32GCC
|
||||
endif
|
||||
ifeq ($(ARCH),macosx)
|
||||
OS = DARWIN
|
||||
endif
|
||||
|
||||
# -- Linux
|
||||
ifeq ($(OS),LINUX)
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -Wno-trigraphs -fPIC
|
||||
PMUSRPATH = ../include
|
||||
MNPATH = $(ROOTSYS)/include
|
||||
GSLPATH = /usr/include/gsl
|
||||
BOOSTPATH = /usr/include
|
||||
FFTW3PATH = /usr/include
|
||||
LEMPATH = ../external/TLemRunHeader
|
||||
PSIBINPATH = ../external/MuSR_software/Class_MuSR_PSI
|
||||
INCLUDES = -I$(PMUSRPATH) -I$(MNPATH) -I$(GSLPATH) -I$(BOOSTPATH) -I$(LEMPATH) -I$(PSIBINPATH) -I$(FFTW3PATH)
|
||||
LD = g++
|
||||
LDFLAGS = -O
|
||||
SOFLAGS = -shared
|
||||
LEMLIB = libTLemRunHeader.so
|
||||
SHLIB = libPMusr.so
|
||||
endif
|
||||
|
||||
# -- Windows/Cygwin
|
||||
ifeq ($(OS),WIN32GCC)
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -Wno-trigraphs -D_DLL
|
||||
PMUSRPATH = ../include
|
||||
MNPATH = $(ROOTSYS)/include
|
||||
GSLPATH = /usr/include/gsl
|
||||
BOOSTPATH = /usr/include
|
||||
FFTW3PATH = /usr/include
|
||||
LEMPATH = ../external/TLemRunHeader
|
||||
PSIBINPATH = ../external/MuSR_software/Class_MuSR_PSI
|
||||
INCLUDES = -I$(PMUSRPATH) -I$(MNPATH) -I$(GSLPATH) -I$(BOOSTPATH) -I$(LEMPATH) -I$(PSIBINPATH) -I$(FFTW3PATH)
|
||||
LD = g++
|
||||
LDFLAGS = -O -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
|
||||
SOFLAGS = -shared -Wl,--export-all-symbols
|
||||
LEMLIB = libTLemRunHeader.dll
|
||||
SHLIB = libPMusr.dll
|
||||
endif
|
||||
|
||||
# -- MacOSX/Darwin
|
||||
ifeq ($(OS),DARWIN)
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -Wno-trigraphs -fPIC
|
||||
PMUSRPATH = ../include
|
||||
MNPATH = $(ROOTSYS)/include
|
||||
FINKPATH = /sw/include
|
||||
GSLPATH = $(FINKPATH)/gsl
|
||||
BOOSTPATH = $(FINKPATH)
|
||||
FFTW3PATH = $(FINKPATH)
|
||||
LEMPATH = ../external/TLemRunHeader
|
||||
PSIBINPATH = ../external/MuSR_software/Class_MuSR_PSI
|
||||
INCLUDES = -I$(PMUSRPATH) -I$(MNPATH) -I$(GSLPATH) -I$(BOOSTPATH) -I$(LEMPATH) -I$(PSIBINPATH) -I$(FFTW3PATH)
|
||||
LD = g++
|
||||
LDFLAGS = -O -Xlinker -bind_at_load
|
||||
SOFLAGS = -dynamiclib -flat_namespace -undefined suppress -Wl,-x
|
||||
LEMLIB = libTLemRunHeader.dylib
|
||||
SHLIB = libPMusr.dylib
|
||||
endif
|
||||
|
||||
# the output from the root-config script:
|
||||
CXXFLAGS += $(ROOTCFLAGS)
|
||||
LDFLAGS +=
|
||||
|
||||
# the ROOT libraries (G = graphic)
|
||||
LIBS = $(ROOTLIBS) -lXMLParser
|
||||
GLIBS = $(ROOTGLIBS) -lXMLParser
|
||||
|
||||
# LEM run header
|
||||
PSILIB = -L. -lTLemRunHeader
|
||||
# Minuit2 lib
|
||||
MNLIB = -L$(ROOTSYS)/lib -lMinuit2
|
||||
# GSL lib
|
||||
GSLLIB = -lgslcblas -lgsl
|
||||
# FFTW lib
|
||||
FFTW3LIB = -lfftw3
|
||||
|
||||
ifeq ($(OS),WIN32GCC)
|
||||
# Minuit2 lib
|
||||
MNLIB = -L$(ROOTSYS)/lib -lMinuit2 -lMathMore
|
||||
# GSL lib
|
||||
GSLLIB = -L/usr/lib -lgslcblas -lgsl
|
||||
# FFTW lib
|
||||
FFTW3LIB = -L/usr/lib -lfftw3
|
||||
endif
|
||||
|
||||
ifeq ($(OS),DARWIN)
|
||||
# Minuit2 lib
|
||||
MNLIB = -L$(ROOTSYS)/lib -lMinuit2 -lMathMore
|
||||
# GSL lib
|
||||
GSLLIB = -L/sw/lib -lgslcblas -lgsl
|
||||
# FFTW lib
|
||||
FFTW3LIB = -L/sw/lib -lfftw3
|
||||
endif
|
||||
|
||||
# some definitions: headers (used to generate *Dict* stuff), sources, objects,...
|
||||
OBJS =
|
||||
OBJS += PStartupHandler.o PStartupHandlerDict.o
|
||||
OBJS += PMsrHandler.o
|
||||
OBJS += PRunDataHandler.o
|
||||
OBJS += PFunctionHandler.o
|
||||
OBJS += PFunction.o
|
||||
OBJS += PRunBase.o
|
||||
OBJS += PRunSingleHisto.o
|
||||
OBJS += PRunAsymmetry.o
|
||||
OBJS += PRunRRF.o
|
||||
OBJS += PRunNonMusr.o
|
||||
OBJS += PRunListCollection.o
|
||||
OBJS += PTheory.o
|
||||
OBJS += PFitterFcn.o
|
||||
OBJS += PFitter.o
|
||||
OBJS += PMusrCanvas.o PMusrCanvasDict.o
|
||||
OBJS += PUserFcnBase.o PUserFcnBaseDict.o
|
||||
OBJS += PFourier.o
|
||||
OBJS += PMusrT0.o PMusrT0Dict.o
|
||||
|
||||
LEMOBJS =
|
||||
LEMOBJS += TLemStats.o TLemStatsDict.o
|
||||
LEMOBJS += TLemRunHeader.o TLemRunHeaderDict.o
|
||||
|
||||
EXTOBJS =
|
||||
EXTOBJS += MuSR_td_PSI_bin.o
|
||||
|
||||
# make the shared libs:
|
||||
|
||||
all: lemlib musrlib
|
||||
|
||||
lemlib: $(LEMLIB)
|
||||
|
||||
musrlib: $(SHLIB)
|
||||
|
||||
$(LEMLIB): $(LEMOBJS)
|
||||
@echo "---> Building shared library $(LEMLIB) ..."
|
||||
/bin/rm -f $(LEMLIB)
|
||||
$(LD) $(SOFLAGS) $(LDFLAGS) $(LEMOBJS) -o $(LEMLIB) $(LIBS)
|
||||
@echo "done"
|
||||
|
||||
$(SHLIB): $(OBJS) $(EXTOBJS)
|
||||
@echo "---> Building shared library $(SHLIB) ..."
|
||||
/bin/rm -f $(SHLIB)
|
||||
$(LD) $(SOFLAGS) $(LDFLAGS) $(OBJS) $(EXTOBJS) -o $(SHLIB) $(FFTW3LIB) $(GLIBS) $(PSILIB) $(MNLIB) $(GSLLIB)
|
||||
@echo "done"
|
||||
|
||||
# clean up: remove all object file (and core files)
|
||||
# semicolon needed to tell make there is no source
|
||||
# for this target!
|
||||
#
|
||||
clean:; @rm -f $(OBJS) $(EXTOBJS) $(LEMOBJS) *Dict* core*
|
||||
@echo "---> removing $(OBJS) $(EXTOBJS) $(LEMOBJS)"
|
||||
|
||||
#
|
||||
$(OBJS): %.o: %.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||
|
||||
$(LEMOBJS): ../external/TLemRunHeader/TLemRunHeader.cxx TLemRunHeaderDict.cxx ../external/TLemRunHeader/TLemStats.cxx TLemStatsDict.cxx
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $^
|
||||
|
||||
$(EXTOBJS): ../external/MuSR_software/Class_MuSR_PSI/MuSR_td_PSI_bin.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $^
|
||||
|
||||
TLemRunHeaderDict.cxx: ../external/TLemRunHeader/TLemRunHeader.h ../external/TLemRunHeader/TLemRunHeaderLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
TLemStatsDict.cxx: ../external/TLemRunHeader/TLemStats.h ../external/TLemRunHeader/TLemStatsLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
PStartupHandlerDict.cpp: ../include/PStartupHandler.h ../include/PStartupHandlerLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
PMusrCanvasDict.cpp: ../include/PMusrCanvas.h ../include/PMusrCanvasLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -v -f $@ -c -p $^
|
||||
|
||||
PMusrT0Dict.cpp: ../include/PMusrT0.h ../include/PMusrT0LinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -v -f $@ -c -p $^
|
||||
|
||||
PUserFcnBaseDict.cpp: ../include/PUserFcnBase.h ../include/PUserFcnBaseLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -v -f $@ -c -p $^
|
||||
|
||||
install: leminstall musrinstall
|
||||
|
||||
leminstall: lemlib
|
||||
@echo "Installing shared lib: $(LEMLIB) ( you must be root ;-) )"
|
||||
ifeq ($(OS),LINUX)
|
||||
cp -pv $(LEMLIB) $(ROOTSYS)/lib
|
||||
cp -pv $(LEMPATH)/*.h $(ROOTSYS)/include
|
||||
endif
|
||||
ifeq ($(OS),WIN32GCC)
|
||||
cp -pv $(LEMLIB) $(ROOTSYS)/bin
|
||||
ln -sf $(ROOTSYS)/bin/$(LEMLIB) $(ROOTSYS)/lib/$(LEMLIB)
|
||||
cp -pv $(LEMPATH)/*.h $(ROOTSYS)/include
|
||||
endif
|
||||
ifeq ($(OS),DARWIN)
|
||||
cp -pv $(LEMLIB) $(ROOTSYS)/lib
|
||||
cp -pv $(LEMPATH)/*.h $(ROOTSYS)/include
|
||||
endif
|
||||
|
||||
musrinstall: musrlib
|
||||
@echo "Installing shared lib: $(SHLIB) ( you must be root ;-) )"
|
||||
ifeq ($(OS),LINUX)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
||||
cp -pv $(PMUSRPATH)/*.h $(ROOTSYS)/include
|
||||
endif
|
||||
ifeq ($(OS),WIN32GCC)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/bin
|
||||
ln -sf $(ROOTSYS)/bin/$(SHLIB) $(ROOTSYS)/lib/$(SHLIB)
|
||||
cp -pv $(PMUSRPATH)/*.h $(ROOTSYS)/include
|
||||
endif
|
||||
ifeq ($(OS),DARWIN)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
||||
cp -pv $(PMUSRPATH)/*.h $(ROOTSYS)/include
|
||||
endif
|
||||
|
||||
cleaninstall: clean install
|
@ -1,99 +0,0 @@
|
||||
#---------------------------------------------------
|
||||
# Makefile.PUserFcn
|
||||
#
|
||||
# Author: Andreas Suter
|
||||
# e-mail: andreas.suter@psi.ch
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
#---------------------------------------------------
|
||||
|
||||
#---------------------------------------------------
|
||||
# get compilation and library flags from root-config
|
||||
|
||||
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
|
||||
ROOTLIBS = $(shell $(ROOTSYS)/bin/root-config --libs)
|
||||
ROOTGLIBS = $(shell $(ROOTSYS)/bin/root-config --glibs)
|
||||
|
||||
#---------------------------------------------------
|
||||
# depending on the architecture, choose the compiler,
|
||||
# linker, and the flags to use
|
||||
#
|
||||
|
||||
OSTYPE = $(shell uname)
|
||||
|
||||
ifeq ($(OSTYPE),Linux)
|
||||
OS = LINUX
|
||||
endif
|
||||
ifeq ($(OSTYPE),Linux-gnu)
|
||||
OS = LINUX
|
||||
endif
|
||||
ifeq ($(OSTYPE),darwin)
|
||||
OS = DARWIN
|
||||
endif
|
||||
|
||||
# -- Linux
|
||||
ifeq ($(OS),LINUX)
|
||||
CXX = g++
|
||||
CXXFLAGS = -Wall -Wno-trigraphs -fPIC
|
||||
INCLUDES = -I../include
|
||||
LD = g++
|
||||
LDFLAGS = -g
|
||||
SOFLAGS = -O -shared
|
||||
endif
|
||||
|
||||
# -- Darwin
|
||||
ifeq ($(OS),DARWIN)
|
||||
CXX = g++
|
||||
CXXFLAGS = -Wall -Wno-trigraphs -fPIC
|
||||
INCLUDES = -I../include
|
||||
LD = g++
|
||||
LDFLAGS = -g
|
||||
SOFLAGS = -dynamic
|
||||
endif
|
||||
|
||||
# the output from the root-config script:
|
||||
CXXFLAGS += $(ROOTCFLAGS)
|
||||
LDFLAGS +=
|
||||
|
||||
# the ROOT libraries (G = graphic)
|
||||
LIBS = $(ROOTLIBS) -lXMLParser
|
||||
GLIBS = $(ROOTGLIBS) -lXMLParser
|
||||
|
||||
# some definitions: headers (used to generate *Dict* stuff), sources, objects,...
|
||||
OBJS =
|
||||
OBJS += PUserFcn.o PUserFcnDict.o
|
||||
|
||||
SHLIB = libPUserFcn.so
|
||||
|
||||
# make the shared lib:
|
||||
#
|
||||
all: $(SHLIB)
|
||||
|
||||
$(SHLIB): $(OBJS)
|
||||
@echo "---> Building shared library $(SHLIB) ..."
|
||||
/bin/rm -f $(SHLIB)
|
||||
$(LD) $(OBJS) $(SOFLAGS) -o $(SHLIB) $(LIBS)
|
||||
@echo "done"
|
||||
|
||||
# clean up: remove all object file (and core files)
|
||||
# semicolon needed to tell make there is no source
|
||||
# for this target!
|
||||
#
|
||||
clean:; @rm -f $(OBJS) *Dict* core*
|
||||
@echo "---> removing $(OBJS)"
|
||||
|
||||
#
|
||||
$(OBJS): %.o: %.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||
|
||||
PUserFcnDict.cpp: ../include/PUserFcn.h ../include/PUserFcnLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -f $@ -c -p $^
|
||||
|
||||
install: all
|
||||
@echo "Installing shared lib: libPUserFcn.so ( you must be root ;-) )"
|
||||
ifeq ($(OS),LINUX)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
||||
cp -pv ../include/PUserFcn.h $(ROOTSYS)/include
|
||||
endif
|
@ -1,120 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
../include/PFitterFcn.h \
|
||||
../include/PFitter.h \
|
||||
../include/PFourier.h \
|
||||
../include/PFourierCanvas.h \
|
||||
../include/PFunctionGrammar.h \
|
||||
../include/PFunction.h \
|
||||
../include/PFunctionHandler.h \
|
||||
../include/PMsr2Data.h \
|
||||
../include/PMsrHandler.h \
|
||||
../include/PMusrCanvas.h \
|
||||
../include/PMusr.h \
|
||||
../include/PMusrT0.h \
|
||||
../include/PPrepFourier.h \
|
||||
../include/PRunAsymmetry.h \
|
||||
../include/PRunAsymmetryRRF.h \
|
||||
../include/PRunBase.h \
|
||||
../include/PRunDataHandler.h \
|
||||
../include/PRunListCollection.h \
|
||||
../include/PRunNonMusr.h \
|
||||
../include/PRunMuMinus.h \
|
||||
../include/PRunSingleHisto.h \
|
||||
../include/PRunSingleHistoRRF.h \
|
||||
../include/PStartupHandler.h \
|
||||
../include/PTheory.h
|
||||
|
||||
h_sources_userFcn = \
|
||||
../include/PUserFcnBase.h
|
||||
|
||||
h_linkdef = \
|
||||
../include/PFourierCanvasLinkDef.h \
|
||||
../include/PMusrCanvasLinkDef.h \
|
||||
../include/PMusrT0LinkDef.h \
|
||||
../include/PStartupHandlerLinkDef.h
|
||||
|
||||
h_linkdef_userFcn = \
|
||||
../include/PUserFcnBaseLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
PFourierCanvasDict.h \
|
||||
PMusrCanvasDict.h \
|
||||
PMusrT0Dict.h \
|
||||
PStartupHandlerDict.h
|
||||
|
||||
dict_h_sources_userFcn = \
|
||||
PUserFcnBaseDict.h
|
||||
|
||||
cpp_sources = \
|
||||
PFitter.cpp \
|
||||
PFitterFcn.cpp \
|
||||
PFourier.cpp \
|
||||
PFourierCanvas.cpp \
|
||||
PFunction.cpp \
|
||||
PFunctionHandler.cpp \
|
||||
PMsr2Data.cpp \
|
||||
PMsrHandler.cpp \
|
||||
PMusrCanvas.cpp \
|
||||
PMusr.cpp \
|
||||
PMusrT0.cpp \
|
||||
PPrepFourier.cpp \
|
||||
PRunAsymmetry.cpp \
|
||||
PRunAsymmetryRRF.cpp \
|
||||
PRunBase.cpp \
|
||||
PRunDataHandler.cpp \
|
||||
PRunListCollection.cpp \
|
||||
PRunNonMusr.cpp \
|
||||
PRunMuMinus.cpp \
|
||||
PRunSingleHisto.cpp \
|
||||
PRunSingleHistoRRF.cpp \
|
||||
PStartupHandler.cpp \
|
||||
PTheory.cpp
|
||||
|
||||
cpp_sources_userFcn = \
|
||||
PUserFcnBase.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
PFourierCanvasDict.cpp \
|
||||
PMusrCanvasDict.cpp \
|
||||
PMusrT0Dict.cpp \
|
||||
PStartupHandlerDict.cpp
|
||||
|
||||
dict_cpp_sources_userFcn = \
|
||||
PUserFcnBaseDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
PFourierCanvasDict_rdict.pcm \
|
||||
PMusrCanvasDict_rdict.pcm \
|
||||
PMusrT0Dict_rdict.pcm \
|
||||
PStartupHandlerDict_rdict.pcm \
|
||||
PUserFcnBaseDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources) $(h_sources_userFcn)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources) $(h_linkdef_userFcn) $(dict_h_sources_userFcn)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(MUSR_ROOT_CFLAGS) $(PSIBIN_CFLAGS) $(MUD_CFLAGS) $(LEM_CFLAGS) $(FFTW3_CFLAGS) $(GSL_CFLAGS) $(BOOST_CFLAGS) -I$(ROOTINCDIR) $(PNEXUS_CXXFLAGS) $(NEXUS_CFLAGS)
|
||||
AM_CXXFLAGS = $(LOCAL_LIB_CXXFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(dict_cpp_sources) $(dict_h_sources) $(dict_cpp_sources_userFcn) $(dict_h_sources_userFcn)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libPUserFcnBase.la libPMusr.la
|
||||
|
||||
libPUserFcnBase_la_SOURCES = $(h_sources_userFcn) $(cpp_sources_userFcn) $(dict_h_sources_userFcn) $(dict_cpp_sources_userFcn)
|
||||
libPUserFcnBase_la_LIBADD = $(ROOT_LIBS)
|
||||
libPUserFcnBase_la_LDFLAGS = -version-info $(MUSR_LIBRARY_VERSION) -release $(MUSR_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
libPMusr_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libPMusr_la_LIBADD = libPUserFcnBase.la $(MUSR_ROOT_LIBS) $(LEM_LIBS) $(PSIBIN_LIBS) $(MUD_LIBS) $(PNEXUS_LIBS) $(FFTW3_LIBS) $(GSL_LIBS) $(ROOT_LIBS)
|
||||
libPMusr_la_LDFLAGS = -version-info $(MUSR_LIBRARY_VERSION) -release $(MUSR_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = PUserFcnBase.pc PMusr.pc
|
||||
|
63
src/external/BMWtools/Makefile.am
vendored
63
src/external/BMWtools/Makefile.am
vendored
@ -1,63 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
BMWStartupHandler.h \
|
||||
TTrimSPDataHandler.h \
|
||||
BMWIntegrator.h
|
||||
|
||||
h_linkdef = \
|
||||
BMWStartupHandlerLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
BMWStartupHandlerDict.h
|
||||
|
||||
cpp_sources = \
|
||||
BMWStartupHandler.cpp \
|
||||
TTrimSPDataHandler.cpp \
|
||||
BMWIntegrator.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
BMWStartupHandlerDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = BMWStartupHandlerDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LEM_CFLAGS) $(PMUSR_CFLAGS) $(CUBA_CFLAGS) -I$(ROOTINCDIR)
|
||||
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 *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
||||
|
||||
lib_LTLIBRARIES = libBMWtools.la
|
||||
|
||||
libBMWtools_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libBMWtools_la_LIBADD = $(CUBA_LIBS) $(ROOT_LIBS)
|
||||
libBMWtools_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
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libBMWtools.dylib $(libdir)/libBMWtools.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libBMWtools.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygBMWtools-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libBMWtools.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libBMWtools.so
|
||||
endif
|
1
src/external/CMakeLists.txt
vendored
1
src/external/CMakeLists.txt
vendored
@ -3,6 +3,7 @@ if (ASlibs)
|
||||
add_subdirectory(MagProximity)
|
||||
add_subdirectory(libPhotoMeissner)
|
||||
add_subdirectory(libSpinValve)
|
||||
add_subdirectory(libGbGLF)
|
||||
endif (ASlibs)
|
||||
|
||||
if (BMWlibs)
|
||||
|
69
src/external/MagProximity/Makefile.am
vendored
69
src/external/MagProximity/Makefile.am
vendored
@ -1,69 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
PMagProximityFitter.h \
|
||||
PMPRgeHandler.h \
|
||||
PMPStartupHandler.h \
|
||||
PMagProximity.h
|
||||
|
||||
h_linkdef = \
|
||||
PMagProximityFitterLinkDef.h \
|
||||
PMPStartupHandlerLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
PMagProximityFitterDict.h \
|
||||
PMPStartupHandlerDict.h
|
||||
|
||||
cpp_sources = \
|
||||
PMagProximityFitter.cpp \
|
||||
PMPRgeHandler.cpp \
|
||||
PMPStartupHandler.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
PMagProximityFitterDict.cpp \
|
||||
PMPStartupHandlerDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
PMagProximityFitterDict_rdict.pcm \
|
||||
PMPStartupHandlerDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I../include $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) -I$(ROOTINCDIR)
|
||||
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 *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libPMagProximityFitter.la
|
||||
|
||||
libPMagProximityFitter_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libPMagProximityFitter_la_LIBADD = $(USERFCN_LIBS) $(FFTW3_LIBS) $(ROOT_LIBS)
|
||||
libPMagProximityFitter_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 = PMagProximityFitter.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libPMagProximityFitter.dylib $(libdir)/libPMagProximityFitter.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPMagProximityFitter.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygPMagProximityFitter-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libPMagProximityFitter.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPMagProximityFitter.so
|
||||
endif
|
27
src/external/Makefile.am
vendored
27
src/external/Makefile.am
vendored
@ -1,27 +0,0 @@
|
||||
|
||||
if BUILD_ASLIBS
|
||||
ASDIRS = Nonlocal \
|
||||
MagProximity \
|
||||
libSpinValve \
|
||||
libPhotoMeissner \
|
||||
libGbGLF
|
||||
endif
|
||||
|
||||
if BUILD_CUBALIB
|
||||
CUBADIRS = libCuba
|
||||
endif
|
||||
|
||||
if BUILD_BMWLIBS
|
||||
BMWDIRS = BMWtools \
|
||||
libFitPofB \
|
||||
libLFRelaxation \
|
||||
libZFRelaxation \
|
||||
libGapIntegrals \
|
||||
libCalcMeanFieldsLEM
|
||||
endif
|
||||
|
||||
if BUILD_BNMRLIBS
|
||||
BNMRDIRS = libBNMR
|
||||
endif
|
||||
|
||||
SUBDIRS = $(ASDIRS) $(CUBADIRS) $(BMWDIRS) $(BNMRDIRS)
|
@ -1,21 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = MuSR_td_PSI_bin.h
|
||||
cpp_sources = MuSR_td_PSI_bin.cpp
|
||||
|
||||
include_HEADERS = MuSR_td_PSI_bin.h
|
||||
|
||||
AM_CPPFLAGS = -I.
|
||||
AM_CXXFLAGS = $(LOCAL_PSIBIN_LIB_CXXFLAGS)
|
||||
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
CLEANFILES = *~ core
|
||||
|
||||
lib_LTLIBRARIES = libClass_MuSR_PSI.la
|
||||
|
||||
libClass_MuSR_PSI_la_SOURCES = $(h_sources) $(cpp_sources)
|
||||
libClass_MuSR_PSI_la_LDFLAGS = $(AM_LDFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = Class_MuSR_PSI.pc
|
||||
|
3
src/external/MuSR_software/Makefile.am
vendored
3
src/external/MuSR_software/Makefile.am
vendored
@ -1,3 +0,0 @@
|
||||
## $Id$
|
||||
|
||||
SUBDIRS = Class_MuSR_PSI
|
42
src/external/MusrRoot/Makefile.am
vendored
42
src/external/MusrRoot/Makefile.am
vendored
@ -1,42 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
TMusrRunHeader.h
|
||||
|
||||
h_linkdef = \
|
||||
TMusrRunHeaderLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TMusrRunHeaderDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TMusrRunHeader.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
TMusrRunHeaderDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = TMusrRunHeaderDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I. -I$(ROOTINCDIR)
|
||||
AM_CXXFLAGS = $(LOCAL_LIB_CXXFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(dict_cpp_sources) $(dist_h_sources)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
||||
|
||||
lib_LTLIBRARIES = libTMusrRunHeader.la
|
||||
|
||||
libTMusrRunHeader_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libTMusrRunHeader_la_LIBADD = $(ROOT_LIBS)
|
||||
libTMusrRunHeader_la_LDFLAGS = -version-info $(MUSR_ROOT_LIBRARY_VERSION) -release $(MUSR_ROOT_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = TMusrRunHeader.pc
|
||||
|
70
src/external/Nonlocal/Makefile.am
vendored
70
src/external/Nonlocal/Makefile.am
vendored
@ -1,70 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
PNL_PippardFitter.h \
|
||||
PNL_RgeHandler.h \
|
||||
PNL_StartupHandler.h \
|
||||
PNonlocal.h
|
||||
|
||||
h_linkdef = \
|
||||
PNL_PippardFitterLinkDef.h \
|
||||
PNL_StartupHandlerLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
PNL_PippardFitterDict.h \
|
||||
PNL_StartupHandlerDict.h
|
||||
|
||||
cpp_sources = \
|
||||
PNL_PippardFitter.cpp \
|
||||
PNL_RgeHandler.cpp \
|
||||
PNL_StartupHandler.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
PNL_PippardFitterDict.cpp \
|
||||
PNL_StartupHandlerDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
PNL_PippardFitterDict_rdict.pcm \
|
||||
PNL_StartupHandlerDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I../include $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) -I$(ROOTINCDIR)
|
||||
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 *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libPNL_PippardFitter.la
|
||||
|
||||
libPNL_PippardFitter_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libPNL_PippardFitter_la_LIBADD = $(USERFCN_LIBS) $(FFTW3_LIBS) $(ROOT_LIBS)
|
||||
libPNL_PippardFitter_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 = PNL_PippardFitter.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libPNL_PippardFitter.dylib $(libdir)/libPNL_PippardFitter.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPNL_PippardFitter.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygPNL_PippardFitter-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libPNL_PippardFitter.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPNL_PippardFitter.so
|
||||
endif
|
||||
|
49
src/external/TLemRunHeader/Makefile.am
vendored
49
src/external/TLemRunHeader/Makefile.am
vendored
@ -1,49 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
TLemStats.h \
|
||||
TLemRunHeader.h
|
||||
|
||||
h_linkdef = \
|
||||
TLemStatsLinkDef.h \
|
||||
TLemRunHeaderLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TLemStatsDict.h \
|
||||
TLemRunHeaderDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TLemStats.cxx \
|
||||
TLemRunHeader.cxx
|
||||
|
||||
dict_cpp_sources = \
|
||||
TLemStatsDict.cxx \
|
||||
TLemRunHeaderDict.cxx
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
TLemStatsDict_rdict.pcm \
|
||||
TLemRunHeaderDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I. -I$(ROOTINCDIR)
|
||||
AM_CXXFLAGS = $(LOCAL_LIB_CXXFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(dict_cpp_sources) $(dist_h_sources)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
||||
CLEANFILES = *Dict.cxx *Dict.h *Dict* *~ core
|
||||
|
||||
%Dict.cxx %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cxx -c -p $(INCLUDES) $^
|
||||
|
||||
lib_LTLIBRARIES = libTLemRunHeader.la
|
||||
|
||||
libTLemRunHeader_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libTLemRunHeader_la_LIBADD = $(ROOT_LIBS)
|
||||
libTLemRunHeader_la_LDFLAGS = -version-info $(LEM_LIBRARY_VERSION) -release $(LEM_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = TLemRunHeader.pc
|
||||
|
53
src/external/libBNMR/Makefile.am
vendored
53
src/external/libBNMR/Makefile.am
vendored
@ -1,53 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
SUBDIRS = libLineProfile
|
||||
|
||||
h_sources = \
|
||||
TBNMR.h
|
||||
|
||||
h_linkdef = \
|
||||
TBNMRLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TBNMRDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TBNMR.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
TBNMRDict.cpp
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(PMUSR_CFLAGS) -I$(ROOTINCDIR)
|
||||
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: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libBNMR.la
|
||||
|
||||
libBNMR_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libBNMR_la_LIBADD = $(ROOT_LIBS)
|
||||
libBNMR_la_LDFLAGS = -version-info $(PLUGIN_LIBRARY_VERSION) -release $(PLUGIN_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libBNMR.dylib $(libdir)/libBNMR.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libBNMR.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygBNMR-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libBNMR.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libBNMR.so
|
||||
endif
|
60
src/external/libBNMR/Makefile.libBNMR
vendored
60
src/external/libBNMR/Makefile.libBNMR
vendored
@ -1,60 +0,0 @@
|
||||
#---------------------------------------------------
|
||||
# get compilation flags from root-config
|
||||
|
||||
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
|
||||
|
||||
#---------------------------------------------------
|
||||
|
||||
OS = LINUX
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -Wno-trigraphs -fPIC
|
||||
LOCALINCLUDE = .
|
||||
ROOTINCLUDE = $(ROOTSYS)/include
|
||||
INCLUDES = -I$(LOCALINCLUDE) -I$(ROOTINCLUDE)
|
||||
LD = g++
|
||||
LDFLAGS =
|
||||
SOFLAGS = -O -shared
|
||||
|
||||
# the output from the root-config script:
|
||||
CXXFLAGS += $(ROOTCFLAGS)
|
||||
LDFLAGS +=
|
||||
|
||||
# some definitions: headers (used to generate *Dict* stuff), sources, objects,...
|
||||
OBJS =
|
||||
OBJS += TBNMR.o TlibBNMRDict.o
|
||||
|
||||
SHLIB = libBNMR.so
|
||||
|
||||
# make the shared lib:
|
||||
#
|
||||
all: $(SHLIB)
|
||||
|
||||
$(SHLIB): $(OBJS)
|
||||
@echo "---> Building shared library $(SHLIB) ..."
|
||||
/bin/rm -f $(SHLIB)
|
||||
$(LD) $(OBJS) $(SOFLAGS) -o $(SHLIB)
|
||||
@echo "done"
|
||||
|
||||
# clean up: remove all object file (and core files)
|
||||
# semicolon needed to tell make there is no source
|
||||
# for this target!
|
||||
#
|
||||
clean:; @rm -f $(OBJS) *Dict* core*
|
||||
@echo "---> removing $(OBJS)"
|
||||
|
||||
#
|
||||
$(OBJS): %.o: %.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||
|
||||
# Generate the ROOT CLING dictionary
|
||||
|
||||
TlibBNMRDict.cpp: TBNMR.h TBNMRLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcling -f $@ -c -p -I$(ROOTINCLUDE) $^
|
||||
|
||||
install: all
|
||||
@echo "Installing shared lib: libTApproximation.so"
|
||||
ifeq ($(OS),LINUX)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
||||
cp -pv $(LOCALINCLUDE)/*.h $(ROOTSYS)/include
|
||||
endif
|
52
src/external/libBNMR/libLineProfile/Makefile.am
vendored
52
src/external/libBNMR/libLineProfile/Makefile.am
vendored
@ -1,52 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
LineProfile.h
|
||||
|
||||
h_linkdef = \
|
||||
LineProfile.h
|
||||
|
||||
dict_h_sources = \
|
||||
LineProfileDict.h
|
||||
|
||||
cpp_sources = \
|
||||
LineProfile.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
LineProfileDict.cpp
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(PMUSR_CFLAGS) -I$(ROOTINCDIR)
|
||||
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: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libLineProfile.la
|
||||
|
||||
libLineProfile_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libLineProfile_la_LIBADD = $(ROOT_LIBS)
|
||||
libLineProfile_la_LDFLAGS = -version-info $(PLUGIN_LIBRARY_VERSION) -release $(PLUGIN_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libLineProfile.dylib $(libdir)/libLineProfile.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libLineProfile.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygLineProfile-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libLineProfile.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libLineProfile.so
|
||||
endif
|
@ -1,66 +0,0 @@
|
||||
#---------------------------------------------------
|
||||
# get compilation flags from root-config
|
||||
|
||||
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
|
||||
|
||||
#---------------------------------------------------
|
||||
|
||||
OS = LINUX
|
||||
CXX = g++
|
||||
CXXFLAGS = -O3 -Wall -Wno-trigraphs -fPIC
|
||||
LOCALINCLUDE = .
|
||||
ROOTINCLUDE = $(ROOTSYS)/include
|
||||
INCLUDES = -I$(LOCALINCLUDE) -I$(ROOTINCLUDE)
|
||||
LD = g++
|
||||
LDFLAGS =
|
||||
SOFLAGS = -O -shared
|
||||
|
||||
# the output from the root-config script:
|
||||
CXXFLAGS += $(ROOTCFLAGS)
|
||||
LDFLAGS +=
|
||||
|
||||
# some definitions: headers (used to generate *Dict* stuff), sources, objects,...
|
||||
OBJS =
|
||||
OBJS += LineProfile.o LineProfileDict.o
|
||||
|
||||
SHLIB = libLineProfile.so
|
||||
|
||||
# make the shared lib:
|
||||
#
|
||||
all: $(SHLIB)
|
||||
|
||||
$(SHLIB): $(OBJS)
|
||||
@echo "---> Building shared library $(SHLIB) ..."
|
||||
/bin/rm -f $(SHLIB)
|
||||
$(LD) $(OBJS) $(SOFLAGS) -o $(SHLIB)
|
||||
@echo "done"
|
||||
|
||||
# clean up: remove all object file (and core files)
|
||||
# semicolon needed to tell make there is no source
|
||||
# for this target!
|
||||
#
|
||||
clean:; @rm -f $(OBJS) *Dict* core*
|
||||
@echo "---> removing $(OBJS)"
|
||||
|
||||
#
|
||||
$(OBJS): %.o: %.cpp
|
||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||
|
||||
# Generate the ROOT CINT dictionary
|
||||
|
||||
LineProfileDict.cpp: LineProfile.h LineProfileLinkDef.h
|
||||
@echo "Generating dictionary $@..."
|
||||
rootcint -f $@ -c -p -I$(ROOTINCLUDE) $^
|
||||
|
||||
install: all
|
||||
@echo "Installing shared lib: libLineProfile.so"
|
||||
ifeq ($(OS),LINUX)
|
||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
||||
endif
|
||||
|
||||
uninstall:;
|
||||
ifeq ($(OS),LINUX)
|
||||
rm $(ROOTSYS)/lib/$(SHLIB)
|
||||
endif
|
||||
@echo "Installing shared lib: libLineProfile.so"
|
||||
|
59
src/external/libCalcMeanFieldsLEM/Makefile.am
vendored
59
src/external/libCalcMeanFieldsLEM/Makefile.am
vendored
@ -1,59 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
TCalcMeanFieldsLEM.h
|
||||
|
||||
h_linkdef = \
|
||||
TCalcMeanFieldsLEMLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TCalcMeanFieldsLEMDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TCalcMeanFieldsLEM.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
TCalcMeanFieldsLEMDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = TCalcMeanFieldsLEMDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(BMWTOOLS_CFLAGS) $(FITPOFB_CFLAGS) $(PMUSR_CFLAGS) -I$(ROOTINCDIR) $(FFTW3_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 *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libCalcMeanFieldsLEM.la
|
||||
|
||||
libCalcMeanFieldsLEM_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libCalcMeanFieldsLEM_la_LIBADD = $(BMWTOOLS_LIBS) $(FITPOFB_LIBS) $(USERFCN_LIBS) $(ROOT_LIBS)
|
||||
libCalcMeanFieldsLEM_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 = CalcMeanFieldsLEM.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libCalcMeanFieldsLEM.dylib $(libdir)/libCalcMeanFieldsLEM.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libCalcMeanFieldsLEM.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygCalcMeanFieldsLEM-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libCalcMeanFieldsLEM.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libCalcMeanFieldsLEM.so
|
||||
endif
|
1
src/external/libCuba/Makefile.am
vendored
1
src/external/libCuba/Makefile.am
vendored
@ -1 +0,0 @@
|
||||
SUBDIRS = src
|
19
src/external/libCuba/src/Makefile.am
vendored
19
src/external/libCuba/src/Makefile.am
vendored
@ -1,19 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
SUBDIRS = cuhre divonne suave vegas common
|
||||
|
||||
include_HEADERS = cuba.h
|
||||
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
CLEANFILES = common/*~ cuhre/*~ divonne/*~ suave/*~ vegas/*~ *~ core
|
||||
|
||||
lib_LTLIBRARIES = libcuba.la
|
||||
|
||||
libcuba_la_SOURCES =
|
||||
|
||||
libcuba_la_LIBADD = common/libcommon.la cuhre/libcuhre.la divonne/libdivonne.la suave/libsuave.la vegas/libvegas.la -lm
|
||||
libcuba_la_LDFLAGS = -version-info $(CUBA_LIBRARY_VERSION) -release $(CUBA_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = cuba.pc
|
||||
|
14
src/external/libCuba/src/common/Makefile.am
vendored
14
src/external/libCuba/src/common/Makefile.am
vendored
@ -1,14 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
c_sources = \
|
||||
Global.c \
|
||||
Data.c
|
||||
|
||||
AM_CPPFLAGS = -I. -I.. -I../common -DNOUNDERSCORE
|
||||
AM_CFLAGS = $(LOCAL_CUBA_LIB_CFLAGS)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libcommon.la
|
||||
|
||||
libcommon_la_SOURCES = $(c_sources)
|
||||
libcommon_la_LDFLAGS = $(AM_LDFLAGS)
|
12
src/external/libCuba/src/cuhre/Makefile.am
vendored
12
src/external/libCuba/src/cuhre/Makefile.am
vendored
@ -1,12 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
c_sources = Cuhre.c
|
||||
|
||||
AM_CPPFLAGS = -I. -I.. -I../common -DNOUNDERSCORE
|
||||
AM_CFLAGS = $(LOCAL_CUBA_LIB_CFLAGS) "-Dcubafun_=libCuhrecubafun_"
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libcuhre.la
|
||||
|
||||
libcuhre_la_SOURCES = $(c_sources)
|
||||
libcuhre_la_LDFLAGS = $(AM_LDFLAGS)
|
12
src/external/libCuba/src/divonne/Makefile.am
vendored
12
src/external/libCuba/src/divonne/Makefile.am
vendored
@ -1,12 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
c_sources = Divonne.c
|
||||
|
||||
AM_CPPFLAGS = -I. -I.. -I../common -DNOUNDERSCORE
|
||||
AM_CFLAGS = $(LOCAL_CUBA_LIB_CFLAGS) "-Dcubafun_=libDivonnecubafun_"
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libdivonne.la
|
||||
|
||||
libdivonne_la_SOURCES = $(c_sources)
|
||||
libdivonne_la_LDFLAGS = $(AM_LDFLAGS)
|
12
src/external/libCuba/src/suave/Makefile.am
vendored
12
src/external/libCuba/src/suave/Makefile.am
vendored
@ -1,12 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
c_sources = Suave.c
|
||||
|
||||
AM_CPPFLAGS = -I. -I.. -I../common -DNOUNDERSCORE
|
||||
AM_CFLAGS = $(LOCAL_CUBA_LIB_CFLAGS) "-Dcubafun_=libSuavecubafun_"
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libsuave.la
|
||||
|
||||
libsuave_la_SOURCES = $(c_sources)
|
||||
libsuave_la_LDFLAGS = $(AM_LDFLAGS)
|
12
src/external/libCuba/src/vegas/Makefile.am
vendored
12
src/external/libCuba/src/vegas/Makefile.am
vendored
@ -1,12 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
c_sources = Vegas.c
|
||||
|
||||
AM_CPPFLAGS = -I. -I.. -I../common -DNOUNDERSCORE
|
||||
AM_CFLAGS = $(LOCAL_CUBA_LIB_CFLAGS) "-Dcubafun_=libVegascubafun_"
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libvegas.la
|
||||
|
||||
libvegas_la_SOURCES = $(c_sources)
|
||||
libvegas_la_LDFLAGS = $(AM_LDFLAGS)
|
1
src/external/libFitPofB/Makefile.am
vendored
1
src/external/libFitPofB/Makefile.am
vendored
@ -1 +0,0 @@
|
||||
SUBDIRS = classes
|
80
src/external/libFitPofB/classes/Makefile.am
vendored
80
src/external/libFitPofB/classes/Makefile.am
vendored
@ -1,80 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
../include/TBofZCalc.h \
|
||||
../include/TBulkTriVortexFieldCalc.h \
|
||||
../include/TLondon1D.h \
|
||||
../include/TPofBCalc.h \
|
||||
../include/TPofTCalc.h \
|
||||
../include/TSkewedGss.h \
|
||||
../include/TVortex.h
|
||||
|
||||
h_linkdef = \
|
||||
../include/TLondon1DLinkDef.h \
|
||||
../include/TVortexLinkDef.h \
|
||||
../include/TSkewedGssLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TLondon1DDict.h \
|
||||
TSkewedGssDict.h \
|
||||
TVortexDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TBulkTriVortexFieldCalc.cpp \
|
||||
TBofZCalc.cpp \
|
||||
TLondon1D.cpp \
|
||||
TPofBCalc.cpp \
|
||||
TPofTCalc.cpp \
|
||||
TSkewedGss.cpp \
|
||||
TVortex.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
TLondon1DDict.cpp \
|
||||
TSkewedGssDict.cpp \
|
||||
TVortexDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
TLondon1DDict_rdict.pcm \
|
||||
TSkewedGssDict_rdict.pcm \
|
||||
TVortexDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I../include $(BMWTOOLS_CFLAGS) $(LEM_CFLAGS) $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) -I$(ROOTINCDIR)
|
||||
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 *Dict* *~ ../include/*~ core
|
||||
|
||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libFitPofB.la
|
||||
|
||||
libFitPofB_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libFitPofB_la_LIBADD = $(BMWTOOLS_LIBS) $(LEM_LIBS) $(USERFCN_LIBS) $(FFTW3_LIBS) $(ROOT_LIBS)
|
||||
libFitPofB_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
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libFitPofB.dylib $(libdir)/libFitPofB.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libFitPofB.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygFitPofB-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libFitPofB.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libFitPofB.so
|
||||
endif
|
2
src/external/libGapIntegrals/INSTALL
vendored
2
src/external/libGapIntegrals/INSTALL
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
Installation of the musrfit-plugin "libGapIntegrals"
|
||||
|
||||
* Configure musrfit with the option --enable-BMWlibs and the plugin will be built.
|
||||
* Configure musrfit with the option -DBMWlibs=1 and the plugin will be built.
|
||||
|
||||
* The plugin classes can be accessed inside THEORY blocks of musrfit msr files via:
|
||||
|
||||
|
59
src/external/libGapIntegrals/Makefile.am
vendored
59
src/external/libGapIntegrals/Makefile.am
vendored
@ -1,59 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
TGapIntegrals.h
|
||||
|
||||
h_linkdef = \
|
||||
TGapIntegralsLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TGapIntegralsDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TGapIntegrals.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
TGapIntegralsDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = TGapIntegralsDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(BMWTOOLS_CFLAGS) $(PMUSR_CFLAGS) $(GSL_CFLAGS) -I$(ROOTINCDIR) $(CUBA_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 *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libGapIntegrals.la
|
||||
|
||||
libGapIntegrals_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libGapIntegrals_la_LIBADD = $(BMWTOOLS_LIBS) $(USERFCN_LIBS) $(GSL_LIBS) $(ROOT_LIBS) $(CUBA_LIBS)
|
||||
libGapIntegrals_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 = GapIntegrals.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libGapIntegrals.dylib $(libdir)/libGapIntegrals.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libGapIntegrals.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygGapIntegrals-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libGapIntegrals.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libGapIntegrals.so
|
||||
endif
|
64
src/external/libGbGLF/CMakeLists.txt
vendored
Normal file
64
src/external/libGbGLF/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,64 @@
|
||||
# GbGLF library ---------------------------------------------------------------
|
||||
|
||||
#--- generate necessary dictionaries ------------------------------------------
|
||||
set(MUSRFIT_INC ${CMAKE_SOURCE_DIR}/src/include)
|
||||
set(GBGLF_INC ${CMAKE_SOURCE_DIR}/src/external/libGbGLF)
|
||||
set(PREFIX_INC ${CMAKE_INSTALL_PREFIX}/include)
|
||||
|
||||
root_generate_dictionary(
|
||||
PGbGLFDict
|
||||
-I${GBGLF_INC}
|
||||
-I${CMAKE_CURRENT_SOURCE_DIR}
|
||||
-I${PREFIX_INC}
|
||||
PGbGLF.h
|
||||
LINKDEF PGbGLFLinkDef.h
|
||||
OPTIONS -inlineInputHeader
|
||||
MODULE PGbGLF
|
||||
)
|
||||
|
||||
#--- create pkg-config info ---------------------------------------------------
|
||||
set(PGBGLF_VERSION "1.0.0")
|
||||
# nothing more for now
|
||||
|
||||
#--- lib creation -------------------------------------------------------------
|
||||
add_library(PGbGLF SHARED
|
||||
PGbGLF.cpp
|
||||
PGbGLFDict.cxx
|
||||
)
|
||||
#--- make sure that the include directory is found ----------------------------
|
||||
target_include_directories(
|
||||
PGbGLF BEFORE PRIVATE
|
||||
$<BUILD_INTERFACE:${FFTW3_INCLUDE_DIR}>
|
||||
$<BUILD_INTERFACE:${MUSRFIT_INC}>
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}>
|
||||
)
|
||||
|
||||
#--- set target properties, e.g. version --------------------------------------
|
||||
set_target_properties(PGbGLF
|
||||
PROPERTIES
|
||||
VERSION ${PGBGLF_VERSION}
|
||||
)
|
||||
|
||||
#--- add library dependencies -------------------------------------------------
|
||||
target_link_libraries(PGbGLF ${FFTW3_LIBRARY} ${ROOT_LIBRARIES} PUserFcnBase)
|
||||
|
||||
#--- install PGbGLF solib -----------------------------------------------------
|
||||
install(TARGETS PGbGLF DESTINATION lib)
|
||||
|
||||
#--- install root pcm's and rootmaps ------------------------------------------
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/libPGbGLF_rdict.pcm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libPGbGLF.rootmap
|
||||
DESTINATION lib
|
||||
)
|
||||
|
||||
#--- install PGbGLF header ----------------------------------------------------
|
||||
install(
|
||||
FILES
|
||||
PGbGLF.h
|
||||
DESTINATION
|
||||
include
|
||||
)
|
||||
|
||||
#--- install pkg-config info --------------------------------------------------
|
||||
# nothing here for now
|
56
src/external/libGbGLF/Makefile.am
vendored
56
src/external/libGbGLF/Makefile.am
vendored
@ -1,56 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
PGbGLF.h
|
||||
|
||||
h_linkdef = \
|
||||
PGbGLFLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
PGbGLFDict.h
|
||||
|
||||
cpp_sources = \
|
||||
PGbGLF.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
PGbGLFDict.cpp
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) -I$(ROOTINCDIR)
|
||||
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: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libGbGLF.la
|
||||
|
||||
libGbGLF_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libGbGLF_la_LIBADD = $(USERFCN_LIBS)
|
||||
libGbGLF_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 = LFRelaxation.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libGbGLF.dylib $(libdir)/libGbGLF.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libGbGLF.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygGbGLF-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libGbGLF.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libGbGLF.so
|
||||
endif
|
BIN
src/external/libGbGLF/doc/GbG-LF.pdf
vendored
BIN
src/external/libGbGLF/doc/GbG-LF.pdf
vendored
Binary file not shown.
2
src/external/libGbGLF/doc/GbG-LF.tex
vendored
2
src/external/libGbGLF/doc/GbG-LF.tex
vendored
@ -89,7 +89,7 @@ The Gauss-Kubo-Toyabe LF polarization function is
|
||||
\noindent In Ref.\cite{yaouanc2011} a slightly different notation is used: $\sigma \to \Delta_{\rm G}$, $\sigma_0 \to \Delta_{0}$, and
|
||||
$\sigma_1 \to \Delta_{\rm GbG}$.
|
||||
|
||||
\noindent The GbG LF polarizatio function is given by
|
||||
\noindent The GbG LF polarization function is given by
|
||||
|
||||
\begin{equation}
|
||||
P_{Z,{\rm GbG}}^{\rm LF} = \int_0^\infty d\sigma \left\{ \varrho \cdot P_{Z,{\rm GKT}}^{\rm LF} \right\}.
|
||||
|
59
src/external/libLFRelaxation/Makefile.am
vendored
59
src/external/libLFRelaxation/Makefile.am
vendored
@ -1,59 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
TLFRelaxation.h
|
||||
|
||||
h_linkdef = \
|
||||
TLFRelaxationLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
TLFRelaxationDict.h
|
||||
|
||||
cpp_sources = \
|
||||
TLFRelaxation.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
TLFRelaxationDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = TLFRelaxationDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(BMWTOOLS_CFLAGS) $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) $(GSL_CFLAGS) -I$(ROOTINCDIR) $(CUBA_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 *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libLFRelaxation.la
|
||||
|
||||
libLFRelaxation_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libLFRelaxation_la_LIBADD = $(BMWTOOLS_LIBS) $(USERFCN_LIBS) $(FFTW3_LIBS) $(GSL_LIBS) $(ROOT_LIBS) $(CUBA_LIBS)
|
||||
libLFRelaxation_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 = LFRelaxation.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libLFRelaxation.dylib $(libdir)/libLFRelaxation.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libLFRelaxation.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygLFRelaxation-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libLFRelaxation.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libLFRelaxation.so
|
||||
endif
|
2
src/external/libLFRelaxation/README
vendored
2
src/external/libLFRelaxation/README
vendored
@ -8,7 +8,7 @@ Implementation of a userFcn-interface to Gaussian and Lorentzian static and dyna
|
||||
At the moment this is a simple alternative implementation to the functions provided by musrfit itself.
|
||||
Mostly, this effort should be regarded as a design study which is not really indended for production use.
|
||||
|
||||
If musrfit has been configured with --enable-BMWlibs the functions can be called as:
|
||||
If musrfit has been configured with -DBMWlibs=1 the functions can be called as:
|
||||
|
||||
userFcn libLFRelaxation TLFStatGssKT 1 2 (frequency rate)
|
||||
userFcn libLFRelaxation TLFStatExpKT 1 2 (frequency rate)
|
||||
|
1
src/external/libPhotoMeissner/Makefile.am
vendored
1
src/external/libPhotoMeissner/Makefile.am
vendored
@ -1 +0,0 @@
|
||||
SUBDIRS = classes
|
@ -1,67 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
../include/PStartupHandler_PM.h \
|
||||
../include/PPhotoMeissner.h
|
||||
|
||||
h_linkdef = \
|
||||
../include/PStartupHandler_PMLinkDef.h \
|
||||
../include/PPhotoMeissnerLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
../include/PStartupHandler_PMDict.h \
|
||||
../include/PPhotoMeissnerDict.h
|
||||
|
||||
cpp_sources = \
|
||||
PStartupHandler_PM.cpp \
|
||||
PPhotoMeissner.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
PStartupHandler_PMDict.cpp \
|
||||
PPhotoMeissnerDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
PPhotoMeissnerDict_rdict.pcm \
|
||||
PStartupHandler_PMDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I../include $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) -I$(ROOTINCDIR) $(GSL_CFLAGS)
|
||||
AM_CXXFLAGS = $(LOCAL_LIB_CXXFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(dict_cpp_sources) $(dict_h_sources)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
||||
CLEANFILES = ../classes/*Dict* ../include/*Dict.* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libPPhotoMeissner.la
|
||||
|
||||
libPPhotoMeissner_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libPPhotoMeissner_la_LIBADD = $(USERFCN_LIBS) $(FFTW3_LIBS) $(ROOT_LIBS) $(GSL_LIBS)
|
||||
libPPhotoMeissner_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 = PPhotoMeissner.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libPPhotoMeissner.dylib $(libdir)/libPPhotoMeissner.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPPhotoMeissner.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygPPhotoMeissner-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libPSpinValve.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPPhotoMeissner.so
|
||||
endif
|
||||
|
1
src/external/libSpinValve/Makefile.am
vendored
1
src/external/libSpinValve/Makefile.am
vendored
@ -1 +0,0 @@
|
||||
SUBDIRS = classes
|
67
src/external/libSpinValve/classes/Makefile.am
vendored
67
src/external/libSpinValve/classes/Makefile.am
vendored
@ -1,67 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
../include/PStartupHandler_SV.h \
|
||||
../include/PSkewedLorentzian.h
|
||||
|
||||
h_linkdef = \
|
||||
../include/PStartupHandler_SVLinkDef.h \
|
||||
../include/PSkewedLorentzianLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
../include/PStartupHandler_SVDict.h \
|
||||
../include/PSkewedLorentzianDict.h
|
||||
|
||||
cpp_sources = \
|
||||
PStartupHandler_SV.cpp \
|
||||
PSkewedLorentzian.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
PStartupHandler_SVDict.cpp \
|
||||
PSkewedLorentzianDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = \
|
||||
PStartupHandler_SVDict_rdict.pcm \
|
||||
PSkewedLorentzianDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I../include $(PMUSR_CFLAGS) $(FFTW3_CFLAGS) -I$(ROOTINCDIR)
|
||||
AM_CXXFLAGS = $(LOCAL_LIB_CXXFLAGS)
|
||||
|
||||
BUILT_SOURCES = $(dict_cpp_sources) $(dict_h_sources)
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
||||
CLEANFILES = ../classes/*Dict.* ../include/*Dict.* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libPSpinValve.la
|
||||
|
||||
libPSpinValve_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libPSpinValve_la_LIBADD = $(USERFCN_LIBS) $(FFTW3_LIBS) $(ROOT_LIBS)
|
||||
libPSpinValve_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 = PSpinValve.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libPSpinValve.dylib $(libdir)/libPSpinValve.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPSpinValve.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygPSpinValve-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libPSpinValve.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libPSpinValve.so
|
||||
endif
|
||||
|
59
src/external/libZFRelaxation/Makefile.am
vendored
59
src/external/libZFRelaxation/Makefile.am
vendored
@ -1,59 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
ZFRelaxation.h
|
||||
|
||||
h_linkdef = \
|
||||
ZFRelaxationLinkDef.h
|
||||
|
||||
dict_h_sources = \
|
||||
ZFRelaxationDict.h
|
||||
|
||||
cpp_sources = \
|
||||
ZFRelaxation.cpp
|
||||
|
||||
dict_cpp_sources = \
|
||||
ZFRelaxationDict.cpp
|
||||
|
||||
pcmdir = $(libdir)
|
||||
pcm_DATA = ZFRelaxationDict_rdict.pcm
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(BMWTOOLS_CFLAGS) $(PMUSR_CFLAGS) -I$(ROOTINCDIR)
|
||||
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 *Dict* *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||
|
||||
lib_LTLIBRARIES = libZFRelaxation.la
|
||||
|
||||
libZFRelaxation_la_SOURCES = $(h_sources) $(cpp_sources) $(dict_h_sources) $(dict_cpp_sources)
|
||||
libZFRelaxation_la_LIBADD = $(BMWTOOLS_LIBS) $(USERFCN_LIBS) $(GSL_LIBS) $(ROOT_LIBS)
|
||||
libZFRelaxation_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 = ZFRelaxation.pc
|
||||
|
||||
## However, create some symbolic links to the shared library
|
||||
## in order to unify the function call on different operating systems
|
||||
|
||||
if IS_DARWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(libdir)/libZFRelaxation.dylib $(libdir)/libZFRelaxation.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libZFRelaxation.so
|
||||
endif
|
||||
|
||||
if IS_CYGWIN
|
||||
install-exec-hook:
|
||||
$(LN_S) -f $(bindir)/cygZFRelaxation-$(PLUGIN_MAJOR_VERSION)-$(PLUGIN_MINOR_VERSION)-$(PLUGIN_MAJOR_VERSION).dll $(libdir)/libZFRelaxation.so
|
||||
uninstall-hook:
|
||||
rm -f $(libdir)/libZFRelaxation.so
|
||||
endif
|
2
src/external/mud/Makefile.am
vendored
2
src/external/mud/Makefile.am
vendored
@ -1,2 +0,0 @@
|
||||
|
||||
SUBDIRS = src
|
27
src/external/mud/src/Makefile.am
vendored
27
src/external/mud/src/Makefile.am
vendored
@ -1,27 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = mud.h
|
||||
cpp_sources = mud_all.c \
|
||||
mud.c \
|
||||
mud_encode.c \
|
||||
mud_friendly.c \
|
||||
mud_gen.c \
|
||||
mud_new.c \
|
||||
mud_tri_ti.c
|
||||
|
||||
include_HEADERS = mud.h
|
||||
|
||||
AM_CPPFLAGS = -I.
|
||||
AM_CFLAGS = $(LOCAL_MUD_LIB_CFLAGS)
|
||||
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
CLEANFILES = *~ core
|
||||
|
||||
lib_LTLIBRARIES = libmud.la
|
||||
|
||||
libmud_la_SOURCES = $(h_sources) $(cpp_sources)
|
||||
libmud_la_LDFLAGS = $(AM_LDFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = mud.pc
|
||||
|
25
src/external/nexus/Makefile.am
vendored
25
src/external/nexus/Makefile.am
vendored
@ -1,25 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
h_sources = \
|
||||
PNeXus.h
|
||||
|
||||
cpp_sources = \
|
||||
PNeXus.cpp
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
|
||||
AM_CPPFLAGS = $(HDF5_CFLAGS) $(NEXUS_CFLAGS)
|
||||
AM_CXXFLAGS = $(LOCAL_PNEXUS_LIB_CXXFLAGS)
|
||||
|
||||
AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS)
|
||||
CLEANFILES = *~ core
|
||||
|
||||
lib_LTLIBRARIES = libPNeXus.la
|
||||
|
||||
libPNeXus_la_SOURCES = $(h_sources) $(cpp_sources)
|
||||
libPNeXus_la_LIBADD = $(NEXUS_LIBS)
|
||||
libPNeXus_la_LDFLAGS = -version-info $(PNEXUS_LIBRARY_VERSION) -release $(PNEXUS_RELEASE) $(AM_LDFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = PNeXus.pc
|
||||
|
@ -1,5 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
CLEANFILES = *~ core moc_* ui_*
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
CLEANFILES = *~ core moc_* ui_*
|
||||
|
@ -1,5 +0,0 @@
|
||||
## Process this file with automake to create Makefile.in
|
||||
|
||||
CLEANFILES = *~ core
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user