Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.prog.mk
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 | # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <bsd.init.mk> | .include <bsd.init.mk> | ||||
# .include <bsd.compat.mk> | |||||
.include <bsd.compiler.mk> | .include <bsd.compiler.mk> | ||||
brooks: We could chose to not include bsd.compat.mk here and require users to include it (after… | |||||
Done Inline ActionsMy lean is this way, since the need/want things are fairly specialized and of interest to only a few files. imp: My lean is this way, since the need/want things are fairly specialized and of interest to only… | |||||
.include <bsd.linker.mk> | .include <bsd.linker.mk> | ||||
.SUFFIXES: .out .o .bc .c .cc .cpp .cxx .C .m .y .l .ll .ln .s .S .asm | .SUFFIXES: .out .o .bc .c .cc .cpp .cxx .C .m .y .l .ll .ln .s .S .asm | ||||
# XXX The use of COPTS in modern makefiles is discouraged. | # XXX The use of COPTS in modern makefiles is discouraged. | ||||
.if defined(COPTS) | .if defined(COPTS) | ||||
.warning ${.CURDIR}: COPTS should be CFLAGS. | .warning ${.CURDIR}: COPTS should be CFLAGS. | ||||
CFLAGS+=${COPTS} | CFLAGS+=${COPTS} | ||||
▲ Show 20 Lines • Show All 334 Lines • Show Last 20 Lines |
We could chose to not include bsd.compat.mk here and require users to include it (after defining NEED_COMPAT/WANT_COMPAT). We'll probably need include it directly anyway to support more complicated programs like rtld.