1# $FreeBSD: src/share/mk/bsd.init.mk,v 1.1.2.1 2002/07/17 19:08:23 ru Exp $ 2 3# The include file <bsd.init.mk> includes ../Makefile.inc and 4# <bsd.own.mk>; this is used at the top of all <bsd.*.mk> files 5# that actually "build something". 6 7.if !target(__<bsd.init.mk>__) 8__<bsd.init.mk>__: 9.if exists(${.CURDIR}/../Makefile.inc) 10.include "${.CURDIR}/../Makefile.inc" 11.endif 12.if ${CCVER} != ${_CCVER} || defined(FORCE_CPUTYPE) 13.include <bsd.cpu.mk> 14.endif 15.include <bsd.own.mk> 16.MAIN: all 17 18.endif # !target(__<bsd.init.mk>__) 19 20# Establish compatibility with FreeBSD Makefiles 21.if defined(NO_SHARED) && !defined(NOSHARED) 22NOSHARED= ${NO_SHARED} 23.endif 24 25.if defined(NO_MAN) && !defined(NOMAN) 26NOMAN= ${NO_MAN} 27.endif 28 29# Imply NOMAN for NO_SHARE case 30.if defined(NO_SHARE) && !defined(NOMAN) 31NOMAN= noman 32.endif 33