kernel - Fix auto port assignment collision in network code
[dragonfly.git] / share / mk / bsd.init.mk
blobc37e58ed0b052cf67f41cdbe7b63d1b3d5338ebc
1 # $FreeBSD: src/share/mk/bsd.init.mk,v 1.1.2.1 2002/07/17 19:08:23 ru Exp $
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".
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
18 .endif # !target(__<bsd.init.mk>__)
20 # Establish compatibility with FreeBSD Makefiles
21 .if defined(NO_SHARED) && !defined(NOSHARED)
22 NOSHARED= ${NO_SHARED}
23 .endif
25 .if defined(NO_MAN) && !defined(NOMAN)
26 NOMAN= ${NO_MAN}
27 .endif
29 # Imply NOMAN for NO_SHARE case
30 .if defined(NO_SHARE) && !defined(NOMAN)
31 NOMAN= noman
32 .endif