kern.pre.mk (189089) | kern.pre.mk (192901) |
---|---|
1# $FreeBSD: head/sys/conf/kern.pre.mk 189089 2009-02-26 20:54:43Z thompsa $ | 1# $FreeBSD: head/sys/conf/kern.pre.mk 192901 2009-05-27 16:16:56Z thompsa $ |
2 3# Part of a unified Makefile for building kernels. This part contains all 4# of the definitions that need to be before %BEFORE_DEPEND. 5 6.include <bsd.own.mk> 7 8# Can be overridden by makeoptions or /etc/make.conf 9KERNEL_KO?= kernel --- 38 unchanged lines hidden (view full) --- 48.if ${CC} == "icc" 49C_DIALECT= 50NOSTDINC= -X 51.else 52C_DIALECT= -std=c99 53NOSTDINC= -nostdinc 54.endif 55 | 2 3# Part of a unified Makefile for building kernels. This part contains all 4# of the definitions that need to be before %BEFORE_DEPEND. 5 6.include <bsd.own.mk> 7 8# Can be overridden by makeoptions or /etc/make.conf 9KERNEL_KO?= kernel --- 38 unchanged lines hidden (view full) --- 48.if ${CC} == "icc" 49C_DIALECT= 50NOSTDINC= -X 51.else 52C_DIALECT= -std=c99 53NOSTDINC= -nostdinc 54.endif 55 |
56.if defined(WITH_LEGACY) 57LEGACY_INC= -I$S/legacy 58.endif | 56INCLUDES= ${NOSTDINC} ${INCLMAGIC} -I. -I$S |
59 | 57 |
60INCLUDES= ${NOSTDINC} ${INCLMAGIC} -I. ${LEGACY_INC} -I$S 61 | |
62# This hack lets us use the OpenBSD altq code without spamming a new 63# include path into contrib'ed source files. 64INCLUDES+= -I$S/contrib/altq 65 66.if make(depend) || make(kernel-depend) 67 68# ... and the same for ipfilter 69INCLUDES+= -I$S/contrib/ipfilter --- 103 unchanged lines hidden --- | 58# This hack lets us use the OpenBSD altq code without spamming a new 59# include path into contrib'ed source files. 60INCLUDES+= -I$S/contrib/altq 61 62.if make(depend) || make(kernel-depend) 63 64# ... and the same for ipfilter 65INCLUDES+= -I$S/contrib/ipfilter --- 103 unchanged lines hidden --- |