Commit ab7c5c65cc06b8beff3e25584399b92521ded4c6

Authored by knodlseder
1 parent 8140e337

add ctobssim

configure.ac
... ... @@ -160,6 +160,7 @@ AC_CONFIG_FILES([Makefile
160 160 src/ctselect/Makefile
161 161 src/ctbin/Makefile
162 162 src/ctlike/Makefile
  163 + src/ctobssim/Makefile
163 164 pyext/Makefile
164 165 pyext/setup.py])
165 166 AC_OUTPUT
... ...
pyext/ctatools.i
... ... @@ -18,6 +18,7 @@
18 18 /***********************************************************************//**
19 19 * @brief Include all CTA tools
20 20 ***************************************************************************/
  21 +#include "ctobssim.i"
21 22 #include "ctselect.i"
22 23 #include "ctbin.i"
23 24 #include "ctlike.i"
... ...
pyext/setup.py.in
... ... @@ -7,7 +7,7 @@ setup(name='@PACKAGE_NAME@',
7 7 url='http://gammalib.sourceforge.net/',
8 8 py_modules=['ctatools'],
9 9 ext_modules=[Extension('_ctatools', ['ctatools_wrap.cpp'],
10   - include_dirs=['@prefix@/include/gammalib', '@top_srcdir@/src/ctselect', '@top_srcdir@/src/ctbin', '@top_srcdir@/src/ctlike'],
  10 + include_dirs=['@prefix@/include/gammalib', '@top_srcdir@/src/ctselect', '@top_srcdir@/src/ctbin', '@top_srcdir@/src/ctlike', '@top_srcdir@/src/ctobssim'],
11 11 library_dirs=['../src/.libs','@prefix@/lib'],
12 12 libraries=['ctatools','gamma','cfitsio'],
13 13 runtime_library_dirs=['@prefix@/lib'])],
... ...
src/Makefile.am
1 1 ## Process this file with automake to produce Makefile.in
2 2  
3 3 # Set sub directories
4   -SUBDIRS = ctselect ctbin ctlike
  4 +SUBDIRS = ctselect ctbin ctlike ctobssim
5 5  
6 6 # Build libtool library for CTA tools. This is needed to provide
7 7 # a shared library that can be loaded for python bindings. We do
... ... @@ -10,4 +10,5 @@ lib_LTLIBRARIES = libctatools.la
10 10 libctatools_la_SOURCES =
11 11 libctatools_la_LIBADD = ctbin/libctbin.la \
12 12 ctselect/libctselect.la \
13   - ctlike/libctlike.la
  13 + ctlike/libctlike.la \
  14 + ctobssim/libctobssim.la
... ...