Added autotool-support for building musrfit - some additional tests are needed, the old Makefiles are still around

This commit is contained in:
Bastian M. Wojek
2009-06-19 20:37:06 +00:00
parent 93e6e7d059
commit b5016637fd
28 changed files with 831 additions and 378 deletions

43
src/external/TLemRunHeader/Makefile.am vendored Normal file
View File

@@ -0,0 +1,43 @@
## 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
include_HEADERS = $(h_sources)
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)
INCLUDES = -I. $(ROOT_CFLAGS)
BUILT_SOURCES = $(dict_cpp_sources) $(dist_h_sources)
AM_CPPFLAGS = -I@ROOTINCDIR@
AM_LDFLAGS = -L@ROOTLIBDIR@
CLEANFILES = *Dict.cxx *Dict.h *~ core
%Dict.cxx %Dict.h: %.h %LinkDef.h
@ROOTCINT@ -v -f $*Dict.cxx -c -p $(INCLUDES) $(AM_CPPFLAGS) $^
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)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = TLemRunHeader.pc

View File

@@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: TLemRunHeader
Description: C++ shared library providing the LEM Run Header class
Version: @VERSION@
Libs: -L${libdir} -l@GENERIC_LIBRARY_NAME@
Cflags: -I${includedir}