From ab7c5c65cc06b8beff3e25584399b92521ded4c6 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 19 Jan 2011 18:33:22 +0000 Subject: [PATCH] add ctobssim --- configure.ac | 1 + pyext/ctatools.i | 1 + pyext/setup.py.in | 2 +- src/Makefile.am | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5912a0d..bc3a867 100644 --- a/configure.ac +++ b/configure.ac @@ -160,6 +160,7 @@ AC_CONFIG_FILES([Makefile src/ctselect/Makefile src/ctbin/Makefile src/ctlike/Makefile + src/ctobssim/Makefile pyext/Makefile pyext/setup.py]) AC_OUTPUT diff --git a/pyext/ctatools.i b/pyext/ctatools.i index d0f3124..c3b7f93 100755 --- a/pyext/ctatools.i +++ b/pyext/ctatools.i @@ -18,6 +18,7 @@ /***********************************************************************//** * @brief Include all CTA tools ***************************************************************************/ +#include "ctobssim.i" #include "ctselect.i" #include "ctbin.i" #include "ctlike.i" diff --git a/pyext/setup.py.in b/pyext/setup.py.in index 1d870ce..d8c2566 100644 --- a/pyext/setup.py.in +++ b/pyext/setup.py.in @@ -7,7 +7,7 @@ setup(name='@PACKAGE_NAME@', url='http://gammalib.sourceforge.net/', py_modules=['ctatools'], ext_modules=[Extension('_ctatools', ['ctatools_wrap.cpp'], - include_dirs=['@prefix@/include/gammalib', '@top_srcdir@/src/ctselect', '@top_srcdir@/src/ctbin', '@top_srcdir@/src/ctlike'], + include_dirs=['@prefix@/include/gammalib', '@top_srcdir@/src/ctselect', '@top_srcdir@/src/ctbin', '@top_srcdir@/src/ctlike', '@top_srcdir@/src/ctobssim'], library_dirs=['../src/.libs','@prefix@/lib'], libraries=['ctatools','gamma','cfitsio'], runtime_library_dirs=['@prefix@/lib'])], diff --git a/src/Makefile.am b/src/Makefile.am index ee93fbf..15b3d83 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in # Set sub directories -SUBDIRS = ctselect ctbin ctlike +SUBDIRS = ctselect ctbin ctlike ctobssim # Build libtool library for CTA tools. This is needed to provide # a shared library that can be loaded for python bindings. We do @@ -10,4 +10,5 @@ lib_LTLIBRARIES = libctatools.la libctatools_la_SOURCES = libctatools_la_LIBADD = ctbin/libctbin.la \ ctselect/libctselect.la \ - ctlike/libctlike.la + ctlike/libctlike.la \ + ctobssim/libctobssim.la -- libgit2 0.21.4