# Emacs should use -*- Makefile -*- mode. # this is usually overridden TARGET_TO_MAKE = $(shell basename `pwd`) ifndef SRCDIR SRCDIR = . endif SRCTOPDIR = $(SRCDIR)/$(TO_TOPDIR) top_builddir = $(TO_TOPDIR) host = @host@ host_cpu = @host_cpu@ host_vendor = @host_vendor@ host_os = @host_os@ target = @target@ target_cpu = @target_cpu@ target_vendor = @target_vendor@ target_os = @target_os@ LIBINT_VERSION = @LIBINT_VERSION@ LIBINT_SO_VERSION = @LIBINT_SO_VERSION@ BUILDID = @BUILDID@ # The scratch directory SCRATCHDIR = @SCRATCHDIR@ LIBSRCDIR = $(SCRATCHDIR)/$(NAME) LIBSRCLINK = src # The object code suffix OBJSUF = @OBJSUF@ # The library suffix LIBSUF = @LIBSUF@ ENABLESHARED = @ENABLESHARED@ ifeq ($(ENABLESHARED),yes) SHELL = @SHELL@ # LIBTOOL will provide the appropriate shell here LIBTOOL = $(SHELL) $(TOPDIR)/libtool --quiet LTLINK = $(LIBTOOL) --mode=link --tag=CXX # LIBTOOL needs clues in some settings ifneq ($(BUILDID),) LTLINKLIBOPTS = -L/usr/local/lib -rpath $(libdir) -release $(BUILDID) -version-info $(LIBINT_SO_VERSION) else LTLINKLIBOPTS = -L/usr/local/lib -rpath $(libdir) -version-info $(LIBINT_SO_VERSION) endif LTLINKBINOPTS = LTCOMP = $(LIBTOOL) --mode=compile --tag=CXX LTINST = $(LIBTOOL) --mode=install --tag=CXX else LIBTOOL= LTLINK = LTLINKLIBOPTS = LTLINKBINOPTS = LTCOMP = LTINST = endif # The suffix generated by the -M compiler option CXXDEPENDSUF = @CXXDEPENDSUF@ CXXDEPENDFLAGS = @CXXDEPENDFLAGS@ CXX = @CXX@ CXXCOMP = @CXX@ CXXGEN = @CXXGEN@ CXXGEN_SUPPORTS_CPP11 = @CXXGEN_SUPPORTS_CPP11@ CXXDEPEND = @CXX@ AR = @AR@ ARFLAGS = @ARFLAGS@ LD = @LD@ LDFLAGS = @LDFLAGS@ INSTALL = @INSTALL@ INSTALLDIROPT = -d -m 0755 INSTALLLIBOPT = -m 0644 INSTALLBINOPT = -m 0755 INSTALLSCRIPTOPT = -m 0755 EXPORTDIR = @EXPORTDIR@ prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ libdir=@libdir@ includedir=@libintincludedir@ pkgconfigdir=@PKGCONFIGDIR@ datadir=@datarootdir@/libint/$(LIBINT_VERSION) RANLIB = @RANLIB@ COMPRESS = gzip UNCOMPRESS = gzip -d LN_S = @LN_S@ # first check for generated include files in the machine dependent directories # and then for include files in the src directory INCLUDE = -I$(TOPDIR)/src/bin -I$(TOPDIR)/src/bin/libint -I$(TOPDIR)/include -I$(SRCTOPDIR)/include -I$(SRCTOPDIR)/src/bin \ @CPPFLAGS@ -I$(SRCTOPDIR)/src/lib/libint -I$(SRCTOPDIR)/src/bin/libint DEFINES = @DEFS@ @EXTRADEFINES@ -D__COMPILING_LIBINT2=1 CPPFLAGS = $(DEFINES) $(INCLUDE) CXXFLAGS = @CXXFLAGS@ CXXGENFLAGS = @CXXGENFLAGS@ SYSLIBS = @LIBS@ TARGET_HEADERS = $(HEADERS:%=$(top_objdir)/include/libint/%) LIBINT_HAS_EIGEN = @LIBINT_HAS_EIGEN@