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
#ifndef CXXLAPACK_NETLIB_NETLIB_H
#define CXXLAPACK_NETLIB_NETLIB_H 1

#ifdef LAPACK_IMPL
#   undef   LAPACK_IMPL
#endif

#ifndef CXXLAPACK_NO_UNDERSCORE
#   define     LAPACK_IMPL(x)           x##_
#else
#   define     LAPACK_IMPL(x)           x
#endif

#ifdef  DEBUG_CXXLAPACK
#define CXXLAPACK_DEBUG_OUT(msg) std::cerr << "CXXLAPACK: " << msg << std::endl;
#endif

#ifndef CXXLAPACK_DEBUG_OUT
#   define  CXXLAPACK_DEBUG_OUT(msg)
#endif

namespace cxxlapack {

extern "C" {
#   include <cxxlapack/netlib/interface/lapack.in.h>
// extern "C"

}

#endif //  CXXLAPACK_NETLIB_NETLIB_H