newly added: a library related to spin valve physics
This commit is contained in:
61
src/external/libSpinValve/classes/Makefile.am
vendored
Normal file
61
src/external/libSpinValve/classes/Makefile.am
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
## 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
|
||||
|
||||
include_HEADERS = $(h_sources)
|
||||
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/include -I../include $(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 = ../include/*Dict.cpp ../include/*Dict.h *~ core
|
||||
|
||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user