# -*-makefile-*- # # Copyright (C) 2016 by Juergen Borleis # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # HOST_PACKAGES-$(PTXCONF_HOST_MYSQL) += host-mysql # # Paths and names # HOST_MYSQL_BOOST = $(MYSQL_BOOST) HOST_MYSQL_BOOST_SOURCE = $(MYSQL_BOOST_SOURCE) $(HOST_MYSQL_BOOST_SOURCE) = MYSQL_BOOST HOST_MYSQL_BOOST_DIR = $(HOST_MYSQL_DIR) HOST_BOOST_LICENSE := BSL-1.0 # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- $(STATEDIR)/host-mysql.extract: @$(call targetinfo) @$(call clean, $(HOST_MYSQL_DIR)) @$(call extract, HOST_MYSQL) @$(call extract, HOST_MYSQL_BOOST) @$(call patchin, HOST_MYSQL) @$(call touch) # ---------------------------------------------------------------------------- # Prepare + Compile # ---------------------------------------------------------------------------- # # cmake # HOST_MYSQL_CONF_TOOL := cmake HOST_MYSQL_CONF_OPT := \ $(HOST_CMAKE_OPT) \ -DBUILD_CONFIG=mysql_release \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DSTACK_DIRECTION=1 \ -DBOOST_INCLUDE_DIR=$(HOST_MYSQL_BOOST_DIR) \ -DLOCAL_BOOST_DIR=$(HOST_MYSQL_BOOST_DIR) \ -DHAVE_LLVM_LIBCPP_EXITCODE=no \ -DHAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE_EXITCODE=no \ -DWITH_ZLIB="bundled" # vim: syntax=make