#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
#
#
# Copyright 2015 Toomas Soome <tsoome@me.com>
# Copyright 2016 RackTop Systems.
#
# Enable PXE TFTP or NFS support, not both.
# Make the disk code more talkative
# CFLAGS+= -DDISK_DEBUG
# Export serial numbers, UUID, and asset tag from loader.
# Use little-endian UUID format as defined in SMBIOS 2.6.
# Use network-endian UUID format for backward compatibility.
#CFLAGS += -DSMBIOS_NETWORK_ENDIAN_UUID
# Include simple terminal emulation (cons25-compatible)
# XXX: make alloca() useable
-I../../.. -I.
# the location of libstand
# Handle FreeBSD specific %b and %D printf format specifiers
#FORMAT_EXTENSIONS=-D__printf__=__freebsd_kprintf__
#CFLAGS += ${FORMAT_EXTENSIONS}
# XXX: clang integrated-as doesn't grok .codeNN directives yet
# CFLAGS.amd64_tramp.S= ${CLANG_NO_IAS}
# CFLAGS.multiboot_tramp.S= ${CLANG_NO_IAS}
# CFLAGS += ${CFLAGS.${.IMPSRC:T}}
x86:
%.o: $(LIBZFS)/%.c
$(COMPILE.c) -o $@ $<