#!/usr/bin/make -f
# -*- makefile -*-

# This has to be exported to make some magic below work.
export DH_OPTIONS

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -Wextra -Wno-comment -Wno-parentheses -Wno-unused-variable -D_FORTIFY_SOURCE=2

%:
	dh $@ --no-parallel

CONFOPTS += --with-x10port=/dev/firecracker

override_dh_auto_configure:
	dh_auto_configure -- $(CONFOPTS)
