Commit bbebc94d authored by Andrew Strong's avatar Andrew Strong

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
#
This diff is collapsed.
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