#
# Makefile rules for the NormalizInterface package
#
KEXT_NAME = NormalizInterface
KEXT_SOURCES = src/normaliz.cc

# Normaliz requires C++11; but some of its dependencies (well at least
# e-Antic) requires C++14. Since that's been in compilers for a decade
# now, just always request C++14 support. Note: we use gnu++14 instead
# of std++14 only for compatibility with GAP versions before 4.12 on
# Cygwin, see <https://github.com/gap-packages/NormalizInterface/pull/91>.
KEXT_CXXFLAGS =  -I/usr/include   -std=gnu++14
KEXT_LDFLAGS =  -flto=auto  -lgmp  -L/usr/lib -lnormaliz -lstdc++

KEXT_USE_AUTOCONF = 1

# include shared GAP package build system
GAPPATH = /usr/lib64/gap
include Makefile.gappkg
