mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
d510ecb42b
to avoid polluting sys.mk. This directive controls the addition of compiler warning flags to CFLAGS in a relatively compiler-neutral manner. The idea is that WARNS can be set in Makefile.inc or in individual Makefiles as they become clean, to prevent the introduction of new warnings in the code. -Werror is added by default
18 lines
570 B
Makefile
18 lines
570 B
Makefile
# $FreeBSD$
|
|
# @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
|
|
FILES= bsd.README
|
|
FILES+= bsd.cpu.mk bsd.dep.mk bsd.doc.mk bsd.docb.mk bsd.info.mk bsd.kern.mk bsd.kmod.mk
|
|
FILES+= bsd.lib.mk bsd.libnames.mk bsd.man.mk bsd.obj.mk bsd.own.mk
|
|
FILES+= bsd.port.mk bsd.port.post.mk bsd.port.pre.mk bsd.port.subdir.mk
|
|
FILES+= bsd.prog.mk bsd.sgml.mk bsd.subdir.mk bsd.sys.mk
|
|
FILES+= sys.mk
|
|
NOOBJ= noobj
|
|
|
|
beforeinstall:
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} ${FILES} \
|
|
${DESTDIR}${BINDIR}/mk
|
|
date '+%Y%m%d' > ${DESTDIR}/var/db/port.mkversion
|
|
|
|
.include <bsd.prog.mk>
|