8299b37f85
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.
23 lines
330 B
Makefile
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>
|