# @configure_input@

# This file is the part of the GAP build system. It is the first file
# processed by GNU make when build GAP. If you want to understand the
# build system, you can begin tracing it from here.
#
# To learn more about the GAP build system, see README.buildsys.md


#
# Set lots of variables to values computed by the configure script
#

# GAP specific
ABI = @ABI@
ABI_CFLAGS = @ABI_CFLAGS@

# HPC-GAP specific
HPCGAP = @HPCGAP@

# garbage collector source files
GC_SOURCES = @GC_SOURCES@

# GAP architecture string
GAPARCH = @GAPARCH@

# maintainer mode
MAINTAINER_MODE = @MAINTAINER_MODE@

# GAP version and release date
GAP_VERSION = @GAP_VERSION@
GAP_RELEASEDAY = @GAP_RELEASEDAY@

# GAP kernel version
GAP_KERNEL_MINOR_VERSION = @gap_kernel_minor_version@
GAP_KERNEL_MAJOR_VERSION = @gap_kernel_major_version@

# autoconf host system information (= system *for* which we are compiling)
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@

# autoconf build system information (= system *on* which we are compiling)
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@

# compile and linker flags
CFLAGS = @CFLAGS@
CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
GAP_DEFINES = @GAP_DEFINES@

WARN_CFLAGS = @WARN_CFLAGS@
WARN_CXXFLAGS = @WARN_CXXFLAGS@

BUILD_GMP = @BUILD_GMP@
GMP_CPPFLAGS = @GMP_CPPFLAGS@
GMP_LDFLAGS = @GMP_LDFLAGS@
GMP_LIBS = @GMP_LIBS@
GMP_PREFIX = @GMP_PREFIX@

BUILD_ZLIB = @BUILD_ZLIB@
ZLIB_CPPFLAGS = @ZLIB_CPPFLAGS@
ZLIB_LDFLAGS = @ZLIB_LDFLAGS@
ZLIB_LIBS = @ZLIB_LIBS@

READLINE_CPPFLAGS = @READLINE_CPPFLAGS@
READLINE_LDFLAGS = @READLINE_LDFLAGS@
READLINE_LIBS = @READLINE_LIBS@

JULIA_VERSION = @JULIA_VERSION@
JULIA_CFLAGS = @JULIA_CFLAGS@
JULIA_LDFLAGS = @JULIA_LDFLAGS@
JULIA_LIBS = @JULIA_LIBS@

BUILD_BOEHM_GC = @BUILD_BOEHM_GC@
BOEHM_GC_CPPFLAGS = @BOEHM_GC_CPPFLAGS@
BOEHM_GC_LDFLAGS = @BOEHM_GC_LDFLAGS@
BOEHM_GC_LIBS = @BOEHM_GC_LIBS@

BUILD_LIBATOMIC_OPS = @BUILD_LIBATOMIC_OPS@
LIBATOMIC_OPS_CPPFLAGS = @LIBATOMIC_OPS_CPPFLAGS@
LIBATOMIC_OPS_LDFLAGS = @LIBATOMIC_OPS_LDFLAGS@
LIBATOMIC_OPS_LIBS = @LIBATOMIC_OPS_LIBS@

PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@

# build tools
CC = @CC@
CXX = @CXX@
INSTALL = @INSTALL@
MKDIR_P = @MKDIR_P@
SED = @SED@
SHELL = @SHELL@

# misc
EXEEXT = @EXEEXT@

# build paths
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
builddir = @builddir@
srcdir = @srcdir@

# for compatibility: top_builddir is used by libtool for LIBTOOL variable;
# keeping the others makes it easier to "git bisect" back and forth
top_builddir = @builddir@
top_srcdir = @srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@

# install paths
bindir = @bindir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
exec_prefix = @exec_prefix@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
pdfdir = @pdfdir@
prefix = @prefix@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@


#
# Set vpath values to make GNU make read source files from $(srcdir).
#
# The vpath directives below ensure that if we reference src/foo.c, then if it
# is not found in the build dir (e.g. because we are doing an out-of-tree
# build), GNU make automatically looks for $(srcdir)/src/foo.c
# #
# Note that `vpath' is a GNU make extension. Unlike VPATH, it can be
# restricted to certain file extensions. This way, we can mix in-tree and
# out-of-tree builds without accidentally picking up e.g. *.o files from the
# wrong tree. We still have to be careful about build/config.h, though.
#
vpath src/%.h $(srcdir)
vpath src/%.c $(srcdir)
vpath src/%.cc $(srcdir)
vpath src/%.s $(srcdir)

vpath src/hpc/%.h $(srcdir)
vpath src/hpc/%.c $(srcdir)
vpath src/hpc/%.cc $(srcdir)
vpath src/hpc/%.s $(srcdir)

vpath tst/testkernel/%.h $(srcdir)
vpath tst/testkernel/%.c $(srcdir)

vpath tst/testlibgap/%.h $(srcdir)
vpath tst/testlibgap/%.c $(srcdir)


#
# Finally, include the actual make rules.
#
include $(srcdir)/Makefile.rules
