-include $(XEN_ROOT)/config/Paths.mk

CONFIG_WERROR       := @werror@
CONFIG_RUMP         := @CONFIG_RUMP@
ifeq ($(CONFIG_RUMP),y)
XEN_OS              := NetBSDRump
endif

# Tools path
BISON               := @BISON@
FLEX                := @FLEX@
PYTHON              := @PYTHON@
PYTHON_PATH         := @PYTHONPATH@
PY_NOOPT_CFLAGS     := @PY_NOOPT_CFLAGS@
PERL                := @PERL@
AS86                := @AS86@
LD86                := @LD86@
BCC                 := @BCC@
IASL                := @IASL@
AWK                 := @AWK@
FETCHER             := @FETCHER@
ABI_DUMPER          := @ABI_DUMPER@

# Extra folder for libs/includes
PREPEND_INCLUDES    := @PREPEND_INCLUDES@
PREPEND_LIB         := @PREPEND_LIB@
APPEND_INCLUDES     := @APPEND_INCLUDES@
APPEND_LIB          := @APPEND_LIB@

PTHREAD_CFLAGS      := @PTHREAD_CFLAGS@
PTHREAD_LDFLAGS     := @PTHREAD_LDFLAGS@
PTHREAD_LIBS        := @PTHREAD_LIBS@

LIBNL3_LIBS         := @LIBNL3_LIBS@
LIBNL3_CFLAGS       := @LIBNL3_CFLAGS@
XEN_TOOLS_RPATH     := @rpath@

# Optional components
XENSTAT_XENTOP      := @monitors@
OCAML_TOOLS         := @ocamltools@
FLASK_POLICY        := @xsmpolicy@
CONFIG_OVMF         := @ovmf@
CONFIG_ROMBIOS      := @rombios@
CONFIG_SEABIOS      := @seabios@
CONFIG_IPXE         := @ipxe@
CONFIG_QEMU_XEN     := @qemu_xen@
CONFIG_QEMUU_EXTRA_ARGS:= @EXTRA_QEMUU_CONFIGURE_ARGS@
CONFIG_LIBNL        := @libnl@
CONFIG_GOLANG       := @golang@
CONFIG_PYGRUB       := @pygrub@
CONFIG_LIBFSIMAGE   := @libfsimage@

CONFIG_SYSTEMD      := @systemd@
XEN_SYSTEMD_DIR     := @SYSTEMD_DIR@
XEN_SYSTEMD_MODULES_LOAD := @SYSTEMD_MODULES_LOAD@
XEN_SYSTEMD_SLEEP_DIR := @SYSTEMD_SLEEP_DIR@
CONFIG_9PFS         := @ninepfs@

LINUX_BACKEND_MODULES := @LINUX_BACKEND_MODULES@

#System options
ZLIB_CFLAGS         := @ZLIB_CFLAGS@
ZLIB_LIBS           := @ZLIB_LIBS@
EXTFS_LIBS          := @EXTFS_LIBS@
CURSES_LIBS         := @CURSES_LIBS@
TINFO_LIBS          := @TINFO_LIBS@
ARGP_LDFLAGS        := @argp_ldflags@
XEN_JSON_LIBS       := @YAJL_LIBS@ @libjsonc_LIBS@

FILE_OFFSET_BITS    := @FILE_OFFSET_BITS@

CONFIG_PV_SHIM      := @pvshim@
