gtsam/spqr_mini/Makefile.am

26 lines
863 B
Makefile
Raw Normal View History

# Only install if LAPACK enabled
2010-07-05 07:50:21 +08:00
if USE_LAPACK
2010-07-05 07:50:21 +08:00
sources = cholmod_error.c cholmod_common.c cholmod_memory.c spqr_front.cpp spqr_larftb.cpp
headers = UFconfig.h cholmod_common.h cholmod_internal.h cholmod_blas.h cholmod_core.h
headers += SuiteSparseQR_definitions.h SuiteSparseQR_subset.hpp spqr_subset.hpp spqr_larftb.h spqr_front.h
2010-07-05 07:50:21 +08:00
# Create a libtool library that is not installed
# It will be packaged in the toplevel libgtsam.la as specfied in ../Makefile.am
# The headers are not installed either
noinst_LTLIBRARIES = libspqr_mini.la
libspqr_mini_la_SOURCES = $(sources)
noinst_HEADERS = $(headers)
2010-07-05 07:50:21 +08:00
AM_CPPFLAGS = -DDLONG # Compiles cholmod in double/long mode
2010-07-05 07:50:21 +08:00
# On Mac, we compile using the BLAS/LAPACK headers in the Accelerate framework
if USE_ACCELERATE_MACOS
AM_CPPFLAGS += -I/System/Library/Frameworks/Accelerate.framework/Headers
endif
2010-07-05 07:50:21 +08:00
endif