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.
19 lines
291 B
Makefile
19 lines
291 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
LIB= firewire
|
|
|
|
.PATH: ${SYSDIR}/dev/dcons ${SYSDIR}/dev/firewire
|
|
SRCS+= firewire.c fwohci.c dconsole.c
|
|
SRCS+= dcons.c fwcrom.c
|
|
|
|
CFLAGS+= -D_BOOT
|
|
|
|
CFLAGS+= -I${LDRSRC}
|
|
CFLAGS+= -I${BOOTSRC}/i386/libi386
|
|
|
|
CFLAGS+= -Wformat -Wall
|
|
|
|
.include <bsd.lib.mk>
|