Commit bbebc94d authored by Andrew Strong's avatar Andrew Strong
Browse files

configure.ac acinclude.m4 ./Makefile.am ./Makefile.am.common...

configure.ac acinclude.m4 ./Makefile.am ./Makefile.am.common ./Makefile.am.common-tail  ./source/Makefile.am
parent 96912910
###########################################################################
# Global header
###########################################################################
include $(top_srcdir)/Makefile.am.common
SUBDIRS = source
install-data-local:
test -d @bindir@ || mkdir @bindir@
# cp -rp @abs_top_builddir@/source/*.dat @bindir@/
export LDFLAGS
###########################################################################
# common Makefile ending
###########################################################################
include $(top_srcdir)/Makefile.am.common-tail
#
# Common head for all Makefile.am s
#
AM_CPPFLAGS = -I$(top_builddir)
LIBS +=
nobase_nodist_include_HEADERS =
EXTRA_DIST =
# test(s)
TESTS =
XFAIL_TESTS =
check_PROGRAMS =
# cleanup
MOSTLYCLEANFILES =
DISTCLEANFILES =
###########################################################################
# ROOT
###########################################################################
ROOT_Dictionary_Sources =
ROOT_Dictionary_CPPFLAGS=
root-dictionary-clean:
rm -f $(ROOT_Dictionary) $(ROOT_Dictionary:%.cc=%.h)
#
# Common tail for all Makefile.am s
#
# PAO_WITH_GSL
# If GSL found, provide substitution variable
# GSL_HOME
# GSL_CFLAGS
# GSL_LIBS
#
AC_DEFUN([PAO_WITH_GSL],
[_PAO_WITH_PACKAGE([gsl],
[AC_HELP_STRING([--with-gsl],
[use gsl (default: ARG or GSL_HOME or search)])],
[/usr /usr/local $GSL_HOME],
[include/gsl/gsl_types.h])
if test x$pao_cv_root_gsl != xno
then
GSL_HOME=$pao_cv_root_gsl
AC_SUBST(GSL_HOME)
GSL_CPPFLAGS=-I$GSL_HOME/include
AC_SUBST(GSL_CPPFLAGS)
GSL_LIBS="-L$GSL_HOME/lib -lgsl -lgslcblas -lm"
AC_SUBST(GSL_LIBS)
AC_DEFINE([HAVE_GSL], 1)
else
PAO_MISSING([GSL])
fi
AH_TEMPLATE([HAVE_GSL], [Define to 1 if gsl is available on the system])
])
# PAO_REQUIRE_CFITSIO
# Require that CFITSIO is installed, if not, configuration fails
# (No version checking, could test features...)
#
AC_DEFUN([PAO_REQUIRE_GSL],
[AC_REQUIRE([PAO_WITH_GSL])
if test x$pao_cv_root_gsl = xno
then
PAO_MISSING_REQUIRED([GSL])
fi])
# PAO_WITH_CFITSIO
# If CFITSIO found, provide substitution variable
# CFITSIO_HOME
# CFITSIO_CPPFLAGS
# CFITSIO_LIBS
#
AC_DEFUN([PAO_WITH_CFITSIO],
[_PAO_WITH_PACKAGE([cfitsio],
[AC_HELP_STRING([--with-cfitsio],
[use cfitsio (default: ARG or CFITSIO_HOME or search)])],
[/usr /usr/local $CFITSIO_HOME],
[include/fitsio.h])
if test x$pao_cv_root_cfitsio != xno
then
CFITSIO_HOME=$pao_cv_root_cfitsio
AC_SUBST(CFITSIO_HOME)
CFITSIO_CPPFLAGS=-I$CFITSIO_HOME/include
AC_SUBST(CFITSIO_CPPFLAGS)
CFITSIO_LIBS="-L$CFITSIO_HOME/lib -lcfitsio"
AC_SUBST(CFITSIO_LIBS)
AC_DEFINE([HAVE_CFITSIO], 1)
else
PAO_MISSING([CFITSIO])
fi
AH_TEMPLATE([HAVE_CFITSIO], [Define to 1 if cfitsio is available on the system])
])
# PAO_REQUIRE_CFITSIO
# Require that CFITSIO is installed, if not, configuration fails
# (No version checking, could test features...)
#
AC_DEFUN([PAO_REQUIRE_CFITSIO],
[AC_REQUIRE([PAO_WITH_CFITSIO])
if test x$pao_cv_root_cfitsio = xno
then
PAO_MISSING_REQUIRED([CFITSIO])
fi])
# PAO_WITH_CCFITS
# If CCFITS found, provide substitution variable
# CCFITS_HOME
# CCFITS_CPPFLAGS
# CCFITS_LIBS
#
AC_DEFUN([PAO_WITH_CCFITS],
[_PAO_WITH_PACKAGE([ccfits],
[AC_HELP_STRING([--with-ccfits],
[use ccfits (default: ARG or CCFITS_HOME or search)])],
[/usr /usr/local $CCFITS_HOME],
[include/CCfits/CCfits])
if test x$pao_cv_root_ccfits != xno
then
CCFITS_HOME=$pao_cv_root_ccfits
AC_SUBST(CCFITS_HOME)
CCFITS_CPPFLAGS=-I$CCFITS_HOME/include
AC_SUBST(CCFITS_CPPFLAGS)
CCFITS_LIBS="-L$CCFITS_HOME/lib -lCCfits"
AC_SUBST(CCFITS_LIBS)
AC_DEFINE([HAVE_CCFITS], 1)
else
PAO_MISSING([CCFITS])
fi
AH_TEMPLATE([HAVE_CCFITS], [Define to 1 if ccfits is available on the system])
])
# PAO_REQUIRE_CCFITS
# Require that CCFITS is installed, if not, configuration fails
# (No version checking, could test features...)
#
AC_DEFUN([PAO_REQUIRE_CCFITS],
[AC_REQUIRE([PAO_WITH_CCFITS])
if test x$pao_cv_root_ccfits = xno
then
PAO_MISSING_REQUIRED([CCFITS])
fi])
# PAO_WITH_HEALPIX
# If HEALPIX found, provide substitution variable
# HEALPIX_HOME
# HEALPIX_CPPFLAGS
# HEALPIX_LIBS
#
AC_DEFUN([PAO_WITH_HEALPIX],
[_PAO_WITH_PACKAGE([healpix],
[AC_HELP_STRING([--with-healpix],
[use healpix (default: ARG or HEALPIX_HOME or search)])],
[/usr /usr/local $HEALPIX_HOME],
[include/healpix_base.h])
if test x$pao_cv_root_healpix != xno
then
HEALPIX_HOME=$pao_cv_root_healpix
AC_SUBST(HEALPIX_HOME)
HEALPIX_CPPFLAGS=-I$HEALPIX_HOME/include
AC_SUBST(HEALPIX_CPPFLAGS)
# healpix 2.01:
# HEALPIX_LIBS="-L$HEALPIX_HOME/lib -lcxxsupport -lhealpix_cxx -lfftpack" AWS20110414: this did not link, hence the reordering
# HEALPIX_LIBS="-L$HEALPIX_HOME/lib -lhealpix_cxx -lcxxsupport -lfftpack"
# healpix 2.20a:
# HEALPIX_LIBS="-L$HEALPIX_HOME/lib -lhealpix_cxx -lcxxsupport -lpsht -lfftpack -lc_utils"
# healpix 3.11:
HEALPIX_LIBS="-L$HEALPIX_HOME/lib -lhealpix_cxx -lcxxsupport -lsharp -lfftpack -lc_utils"
AC_SUBST(HEALPIX_LIBS)
AC_DEFINE([HAVE_HEALPIX], 1)
else
PAO_MISSING([HEALPIX])
fi
AH_TEMPLATE([HAVE_HEALPIX], [Define to 1 if healpix is available on the system])
])
# PAO_REQUIRE_HEALPIX
# Require that HEALPIX is installed, if not, configuration fails
# (No version checking, could test features...)
#
AC_DEFUN([PAO_REQUIRE_HEALPIX],
[AC_REQUIRE([PAO_WITH_HEALPIX])
if test x$pao_cv_root_healpix = xno
then
PAO_MISSING_REQUIRED([HEALPIX])
fi])
# PAO_WITH_ROOTMINUIT2
# If ROOTMINUIT2 found, provide substitution variable
# ROOTMINUIT2_HOME
# ROOTMINUIT2_CPPFLAGS
# ROOTMINUIT2_LIBS
#
AC_DEFUN([PAO_WITH_ROOTMINUIT2],
[_PAO_WITH_PACKAGE([rootminuit2],
[AC_HELP_STRING([--with-rootminuit2],
[use rootminuit2 (default: ARG or ROOTSYS or search)])],
[/usr /usr/local $ROOTSYS],
[include/Minuit2/MnMigrad.h])
if test x$pao_cv_root_rootminuit2 != xno
then
ROOTMINUIT2_HOME=$pao_cv_root_rootminuit2
AC_SUBST(ROOTMINUIT2_HOME)
ROOTMINUIT2_CPPFLAGS=-I$ROOTMINUIT2_HOME/include
AC_SUBST(ROOTMINUIT2_CPPFLAGS)
ROOTMINUIT2_LIBS="-L$ROOTMINUIT2_HOME/lib -ldl -lCore -lCint -lHist -lMatrix -lGraf -lGpad -lHistPainter -lNew -lGX11 -lPostscript -lMatrix -lHist -lMinuit -lMinuit2 -lRIO -lMathCore -lThread"
AC_SUBST(ROOTMINUIT2_LIBS)
AC_DEFINE([HAVE_ROOTMINUIT2], 1)
else
PAO_MISSING([ROOTMINUIT2])
fi
AH_TEMPLATE([HAVE_ROOTMINUIT2], [Define to 1 if Minuit2 is available on the system])
])
# PAO_REQUIRE_ROOTMINUIT2
# Require that ROOTMINUIT2 is installed, if not, configuration fails
# (No version checking, could test features...)
#
AC_DEFUN([PAO_REQUIRE_ROOTMINUIT2],
[AC_REQUIRE([PAO_WITH_ROOTMINUIT2])
if test x$pao_cv_root_rootminuit2 = xno
then
PAO_MISSING_REQUIRED([ROOTMINUIT2])
fi])
# PAO_WITH_SLALIB
# If SLALIB found, provide substitution variable
# SLALIB_HOME
# SLALIB_CPPFLAGS
# SLALIB_LIBS
#
AC_DEFUN([PAO_WITH_SLALIB],
[_PAO_WITH_PACKAGE([slalib],
[AC_HELP_STRING([--with-slalib],
[use slalib (default: ARG or ROOTSYS or search)])],
[/usr /usr/local $ROOTSYS],
[include/slalib.h])
if test x$pao_cv_root_slalib != xno
then
SLALIB_HOME=$pao_cv_root_slalib
AC_SUBST(SLALIB_HOME)
SLALIB_CPPFLAGS=-I$SLALIB_HOME/include
AC_SUBST(SLALIB_CPPFLAGS)
SLALIB_LIBS="-L$SLALIB_HOME/lib -lsla_c"
AC_SUBST(SLALIB_LIBS)
AC_DEFINE([HAVE_SLALIB], 1)
else
PAO_MISSING([SLALIB])
fi
AH_TEMPLATE([HAVE_SLALIB], [Define to 1 if slalib is available on the system])
])
# PAO_REQUIRE_SLALIB
# Require that SLALIB is installed, if not, configuration fails
# (No version checking, could test features...)
#
AC_DEFUN([PAO_REQUIRE_SLALIB],
[AC_REQUIRE([PAO_WITH_SLALIB])
if test x$pao_cv_slalib = xno
then
PAO_MISSING_REQUIRED([SLALIB])
fi])
# PAO_WITH_CLHEP
# If CLHEP found, provide substitution variable
# CLHEPHOME
# CLHEP_CPPFLAGS
# CLHEP_LDFLAGS
#
AC_DEFUN([PAO_WITH_CLHEP],
[_PAO_WITH_PACKAGE([clhep],
[AC_HELP_STRING([--with-clhep],
[use clhep (default: ARG or CLHEPHOME or search)])],
[/usr /usr/local /opt/local /usr/local/CLHEP $CLHEPHOME],
[include/CLHEP/Evaluator/Evaluator.h])
if test x$pao_cv_root_clhep != xno
then
CLHEPHOME=$pao_cv_root_clhep
AC_SUBST(CLHEPHOME)
CLHEP_CPPFLAGS=-I$CLHEPHOME/include
AC_SUBST(CLHEP_CPPFLAGS)
CLHEP_LDFLAGS="-L$CLHEPHOME/lib -lCLHEP"
AC_SUBST(CLHEP_LDFLAGS)
AC_DEFINE([HAVE_CLHEP], 1)
else
PAO_MISSING([CLHEP])
fi
AH_TEMPLATE([HAVE_CLHEP], [Define to 1 if CLHEP is available on the system])
])
# PAO_REQUIRE_CLHEP
# Require that CLHEP is installed, if not, configuration fails
#
# Attempt to distinguish between 1.8, 1.9 and 2.0 series of CLHEP :
# 1.9 : only 1.9 has $CLHEPHOME/include/CLHEP/config/defs.h.
# Geant4.8.1 is tested against 1.9.2.3.
# 2.0 : no $CLHEPHOME/include/CLHEP/config/defs.h file, BUT there is
# a $CLHEPHOME/include/CLHEP/Evaluator/defs.h file.
# 1.8 : has no defs.h files at all
#
AC_DEFUN([PAO_REQUIRE_CLHEP],
[AC_REQUIRE([PAO_WITH_CLHEP])
if test x$gal_cv_root_clhep = xno
then
PAO_MISSING_REQUIRED([CLHEP])
fi
AC_CHECK_FILE([$CLHEPHOME/include/CLHEP/config/defs.h],
[AC_MSG_NOTICE([CLHEP 1.9.x series found as default. This version does not work with Offline. Please install CLHEP 1.8.x or 2.x series.])]
[PAO_MISSING_REQUIRED([CLHEP])],
[AC_CHECK_FILE([$CLHEPHOME/include/CLHEP/Evaluator/defs.h],
[AC_MSG_NOTICE([Using CLHEP 2.0 series])]
[AC_DEFINE([CLHEP_V2_0], 1)],
[AC_MSG_NOTICE([Using CLHEP 1.8 series])]
[AC_DEFINE([CLHEP_V1_8], 1)] )])
AH_TEMPLATE([CLHEP_V1_8], [Define to 1 if CLHEP version = 1.8])
AH_TEMPLATE([CLHEP_V2_0], [Define to 1 if CLHEP version >= 2])
])
dnl Check whether the target supports __sync_fetch_and_add.
AC_DEFUN([LIBGFOR_CHECK_SYNC_FETCH_AND_ADD], [
AC_CACHE_CHECK([whether the target supports __sync_fetch_and_add],
have_sync_fetch_and_add, [
AC_TRY_LINK([int foovar = 0;], [
if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);],
have_sync_fetch_and_add=yes, have_sync_fetch_and_add=no)])
if test $have_sync_fetch_and_add = yes; then
AC_DEFINE(HAVE_SYNC_FETCH_AND_ADD, 1,
[Define to 1 if the target supports __sync_fetch_and_add])
fi])
# PAO_INIT
# Initial code for extra scripts to generate
#
AC_DEFUN([PAO_INIT],
[pao_missing=
pao_missing_required=
])
# PAO_MISSING
# Deal with missing pacakges
#
AC_DEFUN([PAO_MISSING],
[pao_missing="$pao_missing $1"
])
# PAO_MISSING_REQUIRED
# Deal with missing pacakges
#
AC_DEFUN([PAO_MISSING_REQUIRED],
[pao_missing_required="$pao_missing_required $1"
])
# PAO_CHECK_MISSING_REQUIRED_PACKAGES
# Code to test if we are missing any required packages.
# Calls PAO_FINISH if this is the case.
#
AC_DEFUN([PAO_CHECK_MISSING_REQUIRED_PACKAGES],
[
if test "x$pao_missing_required" != x
then
PAO_FINISH
fi
])
# PAO_FINISH
# Final code after all tests for external packages
# Aborts execution if we are missing any required packages.
#
AC_DEFUN([PAO_FINISH],
[cat >galprop-missing-packages <<EOF
#! /bin/sh
if test x\$[]1 = x--required
then
echo $pao_missing_required
else
echo $pao_missing
fi
EOF
chmod a+x galprop-missing-packages
if test "x$pao_missing" != x
then
AC_MSG_NOTICE([Packages not found or deactivated on this system:])
AC_MSG_NOTICE([ $pao_missing])
fi
if test "x$pao_missing_required" != x
then
AC_MSG_NOTICE([Missing required packages: $pao_missing_required])
AC_MSG_ERROR([Aborting configuration])
fi
])
# _PAO_WITH_PACKAGE(name, help, path, file)
# Wrapper for AC_ARG_WITH and AC_CACHE_CHECK
# Provides a --with-name option with help.
# If package location not given, try to find `file' in `path' and
# keep the *last* match
#
AC_DEFUN([_PAO_WITH_PACKAGE],
[AC_ARG_WITH([$1], [$2],
[_pao_with_$1=$withval])
AC_CACHE_CHECK([for $1],
[pao_cv_root_$1],
[if test x$_pao_with_$1 = xno
then
pao_cv_root_$1=no
fi
if test x$_pao_with_$1 = x || test x$_pao_with_$1 = xyes
then
for p in $3
do
test -f $p/$4 && pao_cv_root_$1=$p
done
test x$pao_cv_root_$1 = x && pao_cv_root_$1=no
else
pao_cv_root_$1=$_pao_with_$1
fi
])
])
# _PAO_BASENAME
# M4 analogue to the basename shell utility
#
m4_define([_PAO_BASENAME], [m4_bregexp($1, [\(.*/\|\)\(.+\)], [\2])])
# _PAO_NORMALISE_VERSION_3
# Convert dot-separated version number into a
# comma-separated list for individual processing
# Up to 3 components accepted, missing componented
# replaced by 0.
#
m4_define([_PAO_NORMALISE_VERSION_3],
[_PAO_NORMALISE_VERSION_AUX_3(m4_bpatsubst($1, [\.], [,]))])
m4_define([_PAO_NORMALISE_VERSION_AUX_3],
[ifelse($#, 3, [$1, $2, $3], $#, 2, [$1, $2, 0], $#, 1, [$1, 0, 0], [AC_FATAL([Maximal 3 components in version expected - got $*])])])
# _PAO_SAVE_COMPILE_FLAGS
# Save flags for compilation so we can modify them for test compilation
# NB: This macro cannot be nested
#
m4_define([_PAO_SAVE_COMPILE_FLAGS],
[_pao_save_CXXFLAGS="$CXXFLAGS"
_pao_save_CPPFLAGS="$CPPFLAGS"
_pao_save_LDFLAGS="$LDFLAGS"
_pao_save_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
])
# _PAO_SAVE_RESTORE_FLAGS
# Restore flags after compilation. so we can modify them for test compilation
#
m4_define([_PAO_RESTORE_COMPILE_FLAGS],
[CXXFLAGS="$_pao_save_CXXFLAGS"
CPPFLAGS="$_pao_save_CPPFLAGS"
LDFLAGS="$_pao_save_LDFLAGS"
LD_LIBRARY_PATH="$_pao_save_LD_LIBRARY_PATH"
])
AC_INIT([GalProp], [v53], [])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_LANG([C++])
AC_PROG_CXX
AC_PROG_CC
AC_PROG_F77
AC_PROG_INSTALL
# Use libraries in tools
AC_PROG_LIBTOOL
AC_F77_LIBRARY_LDFLAGS
AC_F77_WRAPPERS
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h malloc.h netinet/in.h stdlib.h string.h unistd.h assert.h ctype.h])
AC_CHECK_HEADERS([iostream fstream sstream string vector queue cfloat functional])
AC_CHECK_HEADERS([iostream fstream sstream string vector valarray exception cmath algorithm ostream map stdexcept time.h exception pair])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
# AC_FUNC_MALLOC
AC_FUNC_STAT
AC_CHECK_FUNCS([log exp pow sqrt floor pow sqrt strchr strtoul])
PAO_INIT
PAO_REQUIRE_CFITSIO
PAO_REQUIRE_CCFITS
PAO_REQUIRE_HEALPIX
PAO_REQUIRE_GSL
PAO_REQUIRE_ROOTMINUIT2
PAO_REQUIRE_SLALIB
PAO_REQUIRE_CLHEP
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile source/Makefile])
AC_OUTPUT
PAO_FINISH
\ No newline at end of file
###########################################################################
# Global part
###########################################################################
include $(top_srcdir)/Makefile.am.common
# the order here is important if slalib.h is in two places; want the one without if defined(__cplusplus)
AM_CPPFLAGS += -I$(top_builddir)/include @SLALIB_CPPFLAGS@ @CFITSIO_CPPFLAGS@ @CCFITS_CPPFLAGS@ @HEALPIX_CPPFLAGS@ @ROOTMINUIT2_CPPFLAGS@ @GSL_CPPFLAGS@ @CLHEP_CPPFLAGS@
# also note order here; use the same slalib version as above
LIBS += @SLALIB_LIBS@ @CFITSIO_LIBS@ @CCFITS_LIBS@ @HEALPIX_LIBS@ @FLIBS@ @GSL_LIBS@ @ROOTMINUIT2_LIBS@ @CLHEP_LDFLAGS@
bin_PROGRAMS = galplot
galplot_SOURCES = CAT.cc kinematic.cc read_COMPTEL_data.cc \
Configure.cc modulate.cc read_COR.cc \
convolve.cc Particle.cc plot_model_ridge.cc read_EGRET_data.cc \
convolve_EGRET.cc plot_Chandra_spectrum.cc plot_OSSE_spectrum.cc read_EGRET_psf.cc \
convolve_EGRET_HI_H2.cc plot_COMPTEL_model_profile.cc plot_RXTE_spectrum.cc read_gcr.cc \
create_galaxy.cc plot_COMPTEL_profile.cc plot_source_population_NS.cc read_HIR.cc \
create_gcr.cc plot_COMPTEL_spectrum.cc plot_source_population_profile.cc read_IC_skymap.cc \
Distribution.cc plot_convolved_EGRET_profile.cc plot_spectrum.cc read_isrf.cc \
EGRET_catalogue.cc plot_EGRET_profile.cc plot_SPI_bouchet_profile.cc read_pi0_decay_H2R_skymap.cc \
energy_integral.cc plot_EGRET_skymaps.cc plot_SPI_model_profile.cc read_pi0_decay_HIR_skymap.cc \
fit_EGRET.cc plot_EGRET_spectrum.cc plot_SPI_spectrum_bouchet.cc read_pi0_decay_skymap.cc \
fit_EGRET_Xco.cc plot_gcr_spectra.cc plot_SPI_spectrum.cc read_synchrotron_data.cc \
FITS.cc plot_gcr_spectra_data.cc read_synchrotron_skymap.cc \
Galaxy.cc plot_gcr_spectra_data_legend.cc plot_SPI_spectrum_spimodfit.cc RMF.cc \
Galdef.cc plot_gcr_spectra_ratios.cc plot_SPI_spiskymax_profile.cc sabin.cc \
galplot.cc plot_gcr_spectra_ratios_data.cc plot_synchrotron_profile.cc set_output.cc \
Galplot.cc plot_GINGA_spectrum.cc plot_synchrotron_skymap.cc SourcePopulation.cc \
Galplotdef.cc poisson.cc SPIERSP.cc \
GCR_data.cc plot_IBIS_spectrum.cc power_law_sampler.cc write_convolved_EGRET.cc \
gen_isrf_energy_density.cc plot_IBIS_spectrum_krivonos.cc read_bremss_H2R_skymap.cc \
gen_source_population.cc plot_isotropic_EGRET_spectrum.cc read_bremss_HIR_skymap.cc \
IRF.cc plot_isotropic_sreekumar_spectrum.cc read_bremss_skymap.cc \
read_GLAST_data.cc read_GLAST_psf.cc plot_GLAST_spectrum.cc plot_GLAST_profile.cc plot_convolved_GLAST_profile.cc convolve_GLAST.cc convolve_GLAST_HI_H2.cc \
test_Skymap.cc plot_GLAST_spectrum_healpix.cc plot_GLAST_profile_healpix.cc \
GalacticRadiationField.cc RadiationField.cc gen_GLAST_models.cc plot_convolved_GLAST_profile_healpix.cc plot_spectrum_healpix.cc plot_mw_isrf.cc \
Isotropic.cc Fermi_systematic_errors.cc \
EBV_convert.cc \
read_bremss_emiss.cc read_pi0_decay_emiss.cc read_IC_emiss.cc read_synchrotron_emiss.cc plot_luminosity.cc nH.cc read_solar_skymap.cc \
read_gcr_source_functions.cc plot_luminosity_multiple_galdef.cc ErrorLogger.cc \
plot_synchrotron_profile_planck.cc plot_synchrotron_clouds_profile.cc\
EnergyDispersionFermiLAT.cc Skymap_Energy_Dispersion.cc Fermi_Aeff.cc
# for gardian routines
galplot_SOURCES += Counts.cc Exposure.cc Psf.cc Utils.cc BaseModel.cc ArrayModel.cc Sources.cc Variables.cc HIH2IC.cc Coordinate.cc SourceModel2.cc Sun.cc
galplot_SOURCES += CAT.h Convolved.h EGRET_catalogue.h Galaxy.h galplot.h galprop.h Particle.h Spectrum.h \
Configure.h Data.h FITS.h Galdef.h Galplot.h GCR_data.h RMF.h SPIERSP.h \
constants.h Distribution.h fort_interface.h Galplotdef.h galprop_classes.h IRF.h SourcePopulation.h UnConvolved.h \
GalacticRadiationField.h RadiationField.h\
Isotropic.h Fermi_systematic_errors.h
# for gardian routines
galplot_SOURCES += Skymap.h Exposure.h Psf.h Units.h PhysicalConstants.h Counts.h Parameters.h Utils.h Model.h Sources.h Goodness.h Variables.h SparseSkymap.h HIH2IC.h Coordinate.h SourceModel2.h Sun.h
## a temporary solution before putting sla_c in autotools, not required here but illustrates LDADD
## galplot_LDADD = sla_c_g++/lib/libsla_c.a
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment