ifdef WITH_INCLUDED_LIBSEMIGROUPS # FIXME(later) all the include paths should point into bin/include/ andnot to # the sources, or otherwise we should stop make installing into bin
ifdef LIBSEMIGROUPS_HPCOMBI_ENABLED
KEXT_CPPFLAGS += -Ilibsemigroups/extern/HPCombi/include
KEXT_CPPFLAGS += -Ilibsemigroups/extern/HPCombi/include/fallback
endif
KEXT_CPPFLAGS += -Ilibsemigroups/extern/fmt-8.0.1/include
KEXT_CPPFLAGS += -Ilibsemigroups/include
endif
KEXT_CPPFLAGS += -DFMT_HEADER_ONLY
KEXT_CXXFLAGS += $(KEXT_CPPFLAGS) # HACK: there is no KEXT_CPPFLAGS
# HACK: On cygwin, add this flag to work around issues where fork() sometimes # fails on Cygwin when semigroups.so is loaded into GAP. This will hopefully # become unnecessary with GAP 4.13, which will automatically add this to the # flags.
ifdef SYS_IS_CYGWIN
KEXT_LDFLAGS += -Wl,--enable-auto-image-base
endif
# include shared GAP package build system
KEXT_USE_AUTOCONF = 1
include Makefile.gappkg
# ensure pkgconfig.h is built
$(KEXT_OBJS): gen/pkgconfig.h
ifdef WITH_INCLUDED_LIBSEMIGROUPS # ensure libsemigroups is installed into bin before compiling
$(KEXT_OBJS): bin/include/libsemigroups/libsemigroups.hpp
# the following is only run if BUILT_SOURCES is wound up
bin/include/libsemigroups/libsemigroups.hpp:
$(MAKE) -C libsemigroups install # Cygwin only looks for DLLs in the same directory as the executable # resides in. The following achieves that assuming that the GAP # being used was self-compiled by the user. This supports # both older GAPs with libtool (first) and GAP without libtool (second) if test -f bin/bin/cygsemigroups*.dll ; then if test -d $(GAPPATH)/.libs; then cp bin/bin/cygsemigroups*.dll $(GAPPATH)/.libs/ ; fi ; fi if test -f bin/bin/cygsemigroups*.dll ; then cp bin/bin/cygsemigroups*.dll $(GAPPATH)/ ; fi
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.