Makefile.am
7.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
#############################################################################
# Makefile.am for cta module #
# ------------------------------------------------------------------------- #
# Copyright (C) 2016 Juergen Knoedlseder #
# ------------------------------------------------------------------------- #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# 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, see <http://www.gnu.org/licenses/>. #
# #
#############################################################################
# Set sub directories
SUBDIRS = test
# Darwin support
MACOSX_DEPLOYMENT_TARGET=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@
@EXPORT_MACOSX_DEPLOYMENT_TARGET@export MACOSX_DEPLOYMENT_TARGET
# Set include directories
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/support \
-I$(top_srcdir)/inst/cta/include \
-I$(top_srcdir)/inst/cta/src
# Define sources for this directory
sources = src/GCTASupport.cpp \
src/GCTAException.cpp \
src/GCTAObservation.cpp \
src/GCTAOnOffObservation.cpp \
src/GCTAEventList.cpp \
src/GCTAEventAtom.cpp \
src/GCTAEventCube.cpp \
src/GCTAEventBin.cpp \
src/GCTAResponse.cpp \
src/GCTAResponseIrf.cpp \
src/GCTAResponseCube.cpp \
src/GCTAResponse_helpers.cpp \
src/GCTAResponseTable.cpp \
src/GCTAAeff.cpp \
src/GCTAAeffPerfTable.cpp \
src/GCTAAeffArf.cpp \
src/GCTAAeff2D.cpp \
src/GCTAPsf.cpp \
src/GCTAPsfPerfTable.cpp \
src/GCTAPsfVector.cpp \
src/GCTAPsf2D.cpp \
src/GCTAPsfKing.cpp \
src/GCTAPsfTable.cpp \
src/GCTAEdisp.cpp \
src/GCTAEdispPerfTable.cpp \
src/GCTAEdispRmf.cpp \
src/GCTAEdisp2D.cpp \
src/GCTABackground.cpp \
src/GCTABackgroundPerfTable.cpp \
src/GCTABackground3D.cpp \
src/GCTACubeExposure.cpp \
src/GCTACubeBackground.cpp \
src/GCTACubePsf.cpp \
src/GCTACubeEdisp.cpp \
src/GCTACubeSource.cpp \
src/GCTACubeSourcePoint.cpp \
src/GCTACubeSourceDiffuse.cpp \
src/GCTAInstDir.cpp \
src/GCTARoi.cpp \
src/GCTAPointing.cpp \
src/GCTAModelCubeBackground.cpp \
src/GCTAModelIrfBackground.cpp \
src/GCTAModelAeffBackground.cpp \
src/GCTAModelRadialRegistry.cpp \
src/GCTAModelRadial.cpp \
src/GCTAModelRadialGauss.cpp \
src/GCTAModelRadialPolynom.cpp \
src/GCTAModelRadialProfile.cpp \
src/GCTAModelRadialAcceptance.cpp
# Define headers to be installed
pkginclude_HEADERS = include/GCTATypemaps.hpp \
include/GCTAException.hpp \
include/GCTAObservation.hpp \
include/GCTAOnOffObservation.hpp \
include/GCTAEventList.hpp \
include/GCTAEventAtom.hpp \
include/GCTAEventCube.hpp \
include/GCTAEventBin.hpp \
include/GCTAPointing.hpp \
include/GCTAInstDir.hpp \
include/GCTARoi.hpp \
include/GCTAResponse.hpp \
include/GCTAResponseIrf.hpp \
include/GCTAResponseCube.hpp \
include/GCTAResponseTable.hpp \
include/GCTAAeff.hpp \
include/GCTAAeffPerfTable.hpp \
include/GCTAAeffArf.hpp \
include/GCTAAeff2D.hpp \
include/GCTAPsf.hpp \
include/GCTAPsfPerfTable.hpp \
include/GCTAPsfVector.hpp \
include/GCTAPsf2D.hpp \
include/GCTAPsfKing.hpp \
include/GCTAPsfTable.hpp \
include/GCTAEdisp.hpp \
include/GCTAEdispPerfTable.hpp \
include/GCTAEdispRmf.hpp \
include/GCTAEdisp2D.hpp \
include/GCTABackground.hpp \
include/GCTABackgroundPerfTable.hpp \
include/GCTABackground3D.hpp \
include/GCTACubeExposure.hpp \
include/GCTACubePsf.hpp \
include/GCTACubeEdisp.hpp \
include/GCTACubeBackground.hpp \
include/GCTACubeSource.hpp \
include/GCTACubeSourcePoint.hpp \
include/GCTACubeSourceDiffuse.hpp \
include/GCTAModelCubeBackground.hpp \
include/GCTAModelIrfBackground.hpp \
include/GCTAModelAeffBackground.hpp \
include/GCTAModelRadialRegistry.hpp \
include/GCTAModelRadial.hpp \
include/GCTAModelRadialGauss.hpp \
include/GCTAModelRadialPolynom.hpp \
include/GCTAModelRadialProfile.hpp \
include/GCTAModelRadialAcceptance.hpp \
include/GCTALib.hpp
# Build libtool library
noinst_LTLIBRARIES = libcta.la
libcta_la_SOURCES = $(sources)
libcta_la_LDFLAGS =
# Distribute calibration database files
caldb_prod2_indxdir = $(datadir)/caldb/data/cta/prod2
caldb_prod2_indx_DATA = caldb/data/cta/prod2/caldb.indx
caldb_prod2_north1dir = $(datadir)/caldb/data/cta/prod2/bcf/North_0.5h
caldb_prod2_north1_DATA = caldb/data/cta/prod2/bcf/North_0.5h/irf_file.fits.gz
caldb_prod2_north2dir = $(datadir)/caldb/data/cta/prod2/bcf/North_5h
caldb_prod2_north2_DATA = caldb/data/cta/prod2/bcf/North_5h/irf_file.fits.gz
caldb_prod2_north3dir = $(datadir)/caldb/data/cta/prod2/bcf/North_50h
caldb_prod2_north3_DATA = caldb/data/cta/prod2/bcf/North_50h/irf_file.fits.gz
#
caldb_prod2_south1dir = $(datadir)/caldb/data/cta/prod2/bcf/South_0.5h
caldb_prod2_south1_DATA = caldb/data/cta/prod2/bcf/South_0.5h/irf_file.fits.gz
caldb_prod2_south2dir = $(datadir)/caldb/data/cta/prod2/bcf/South_5h
caldb_prod2_south2_DATA = caldb/data/cta/prod2/bcf/South_5h/irf_file.fits.gz
caldb_prod2_south3dir = $(datadir)/caldb/data/cta/prod2/bcf/South_50h
caldb_prod2_south3_DATA = caldb/data/cta/prod2/bcf/South_50h/irf_file.fits.gz
# Extra files to be distributed in the tar file
EXTRA_DIST = README.md caldb pyext \
include/GCTALib.hpp \
src/GCTAResponse_helpers.hpp src/GCTASupport.hpp \
test/test_CTA.hpp test/test_CTA.py test/caldb test/data