#!/bin/sh
# DF-2797 build -- standalone (production-kernel emulation) + KLD
set -e
cd "$(dirname "$0")"
SRCDIR=${SRCDIR:-/usr/src}
cc -O2 -g -DNDEBUG -I "$SRCDIR/sys" -o trigger_domain trigger_domain.c
echo "trigger_domain built"
cd kld_adomain && make