#FIX
# Looks like we could probably use just Makevars.in now as we are linking against
# a libnimble in either case.

# lib=TRUE
# from=Makevars_lib.in

ifndef CPPAD_INC
CPPAD_INC=-I
endif

ifndef EIGEN_INC
EIGEN_INC=
endif

ifndef NIMBLE_INC_DIR
NIMBLE_INC_DIR=/include
endif

ifndef NIMBLE_DIR
NIMBLE_DIR=""
endif

ifndef RPATH
RPATH=-Wl,-rpath=/CppCode
endif

PKG_CPPFLAGS= -DR_NO_REMAP $(EIGEN_INC) $(CPPAD_INC) -DEIGEN_MPL2_ONLY=1 -I"$(NIMBLE_INC_DIR)" -Wno-misleading-indentation -Wno-ignored-attributes -Wno-deprecated-declarations
NIMBLE_LIB_DIR="$(NIMBLE_DIR)/CppCode"
PKG_LIBS=-L"$(NIMBLE_LIB_DIR)"  -lnimble $(RPATH) $(LAPACK_LIBS) $(BLAS_LIBS) 

