freebsd-dev/stand/efi/fdt/Makefile
Warner Losh 8299b37f85 Centralize several variables.
MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always the
same, so set them in defs.mk. MAN= is common, so set it here too.
This removes a lot of boring repetition from the Makefiles that added
almost no value.
2018-02-02 06:32:26 +00:00

23 lines
330 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
.PATH: ${LDRSRC}
LIB= efi_fdt
WARNS?= 6
SRCS= efi_fdt.c
# EFI library headers
CFLAGS+= -I${EFISRC}/include
CFLAGS+= -I${EFISRC}/include/${MACHINE}
# libfdt headers
CFLAGS+= -I${FDTSRC}
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${LDRSRC}
.include <bsd.lib.mk>