Merge from vendor branch GCC:
[dragonfly.git] / share / mk / bsd.init.mk
1 # $FreeBSD: src/share/mk/bsd.init.mk,v 1.1.2.1 2002/07/17 19:08:23 ru Exp $
2 # $DragonFly: src/share/mk/bsd.init.mk,v 1.7 2005/04/12 23:35:37 okumoto Exp $
3
4 # The include file <bsd.init.mk> includes ../Makefile.inc and
5 # <bsd.own.mk>; this is used at the top of all <bsd.*.mk> files
6 # that actually "build something".
7
8 .if !target(__<bsd.init.mk>__)
9 __<bsd.init.mk>__:
10 .if exists(${.CURDIR}/../Makefile.inc)
11 .include "${.CURDIR}/../Makefile.inc"
12 .endif
13 .if ${CCVER} != ${_CCVER}
14 .include <bsd.cpu.mk>
15 .endif
16 .include <bsd.own.mk>
17 .MAIN: all
18
19 .endif # !target(__<bsd.init.mk>__)