bsd.own.mk (163861) | bsd.own.mk (164411) |
---|---|
1# $FreeBSD: head/share/mk/bsd.own.mk 163861 2006-11-01 09:02:11Z jb $ | 1# $FreeBSD: head/share/mk/bsd.own.mk 164411 2006-11-19 16:28:52Z ru $ |
2# 3# The include file <bsd.own.mk> set common variables for owner, 4# group, mode, and directories. Defaults are in brackets. 5# 6# 7# +++ variables +++ 8# 9# DESTDIR Change the tree where the file gets installed. [not set] --- 89 unchanged lines hidden (view full) --- 99# 100# NLSMODE National Language Support files mode. [${NOBINMODE}] 101# 102# INCLUDEDIR Base path for standard C include files [/usr/include] 103 104.if !target(__<bsd.own.mk>__) 105__<bsd.own.mk>__: 106 | 2# 3# The include file <bsd.own.mk> set common variables for owner, 4# group, mode, and directories. Defaults are in brackets. 5# 6# 7# +++ variables +++ 8# 9# DESTDIR Change the tree where the file gets installed. [not set] --- 89 unchanged lines hidden (view full) --- 99# 100# NLSMODE National Language Support files mode. [${NOBINMODE}] 101# 102# INCLUDEDIR Base path for standard C include files [/usr/include] 103 104.if !target(__<bsd.own.mk>__) 105__<bsd.own.mk>__: 106 |
107.if !defined(_WITHOUT_SRCCONF) |
|
107SRCCONF?= /etc/src.conf 108.if exists(${SRCCONF}) 109.include "${SRCCONF}" 110.endif | 108SRCCONF?= /etc/src.conf 109.if exists(${SRCCONF}) 110.include "${SRCCONF}" 111.endif |
112.endif |
|
111 112# Binaries 113BINOWN?= root 114BINGRP?= wheel 115BINMODE?= 555 116NOBINMODE?= 444 117 118.if defined(MODULES_WITH_WORLD) --- 46 unchanged lines hidden (view full) --- 165# Common variables 166.if !defined(DEBUG_FLAGS) 167STRIP?= -s 168.endif 169 170COMPRESS_CMD?= gzip -cn 171COMPRESS_EXT?= .gz 172 | 113 114# Binaries 115BINOWN?= root 116BINGRP?= wheel 117BINMODE?= 555 118NOBINMODE?= 444 119 120.if defined(MODULES_WITH_WORLD) --- 46 unchanged lines hidden (view full) --- 167# Common variables 168.if !defined(DEBUG_FLAGS) 169STRIP?= -s 170.endif 171 172COMPRESS_CMD?= gzip -cn 173COMPRESS_EXT?= .gz 174 |
175.if !defined(_WITHOUT_SRCCONF) |
|
173# 174# Define MK_* variables (which are either "yes" or "no") for users 175# to set via WITH_*/WITHOUT_* in /etc/src.conf and override in the 176# make(1) environment. 177# These should be tested with `== "no"' or `!= "no"' in makefiles. 178# The NO_* variables should only be set by makefiles. 179# 180 --- 262 unchanged lines hidden (view full) --- 443.error MK_${var}_SUPPORT can't be set by a user. 444.endif 445.if defined(WITHOUT_${var}_SUPPORT) || ${MK_${var}} == "no" 446MK_${var}_SUPPORT:= no 447.else 448MK_${var}_SUPPORT:= yes 449.endif 450.endfor | 176# 177# Define MK_* variables (which are either "yes" or "no") for users 178# to set via WITH_*/WITHOUT_* in /etc/src.conf and override in the 179# make(1) environment. 180# These should be tested with `== "no"' or `!= "no"' in makefiles. 181# The NO_* variables should only be set by makefiles. 182# 183 --- 262 unchanged lines hidden (view full) --- 446.error MK_${var}_SUPPORT can't be set by a user. 447.endif 448.if defined(WITHOUT_${var}_SUPPORT) || ${MK_${var}} == "no" 449MK_${var}_SUPPORT:= no 450.else 451MK_${var}_SUPPORT:= yes 452.endif 453.endfor |
454.endif # !_WITHOUT_SRCCONF |
|
451 452.endif # !target(__<bsd.own.mk>__) | 455 456.endif # !target(__<bsd.own.mk>__) |