bsd.own.mk revision 208964
150974Swpaul# $FreeBSD: head/share/mk/bsd.own.mk 208964 2010-06-09 19:57:20Z rdivacky $ 2139740Sphk# 350974Swpaul# The include file <bsd.own.mk> set common variables for owner, 450974Swpaul# group, mode, and directories. Defaults are in brackets. 550974Swpaul# 650974Swpaul# 750974Swpaul# +++ variables +++ 850974Swpaul# 950974Swpaul# DESTDIR Change the tree where the file gets installed. [not set] 1050974Swpaul# 1150974Swpaul# DISTDIR Change the tree where the file for a distribution 1250974Swpaul# gets installed (see /usr/src/release/Makefile). [not set] 1350974Swpaul# 1450974Swpaul# COMPRESS_CMD Program to compress documents. 1550974Swpaul# Output is to stdout. [gzip -cn] 1650974Swpaul# 1750974Swpaul# COMPRESS_EXT File name extension of ${COMPRESS_CMD} command. [.gz] 1850974Swpaul# 1950974Swpaul# BINOWN Binary owner. [root] 2050974Swpaul# 2150974Swpaul# BINGRP Binary group. [wheel] 2250974Swpaul# 2350974Swpaul# BINMODE Binary mode. [555] 2450974Swpaul# 2550974Swpaul# NOBINMODE Mode for non-executable files. [444] 2650974Swpaul# 2750974Swpaul# LIBDIR Base path for libraries. [/usr/lib] 2850974Swpaul# 2950974Swpaul# LIBCOMPATDIR Base path for compat libraries. [/usr/lib/compat] 3050974Swpaul# 3150974Swpaul# LIBDATADIR Base path for misc. utility data files. [/usr/libdata] 3250974Swpaul# 3350974Swpaul# LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint] 34122678Sobrien# 35122678Sobrien# SHLIBDIR Base path for shared libraries. [${LIBDIR}] 36122678Sobrien# 3750974Swpaul# LIBOWN Library owner. [${BINOWN}] 3850974Swpaul# 3950974Swpaul# LIBGRP Library group. [${BINGRP}] 4050974Swpaul# 4164963Swpaul# LIBMODE Library mode. [${NOBINMODE}] 4264963Swpaul# 4364963Swpaul# 4450974Swpaul# KMODDIR Base path for loadable kernel modules 4550974Swpaul# (see kld(4)). [/boot/kernel] 4650974Swpaul# 4750974Swpaul# KMODOWN Kernel and KLD owner. [${BINOWN}] 4850974Swpaul# 4950974Swpaul# KMODGRP Kernel and KLD group. [${BINGRP}] 5050974Swpaul# 5150974Swpaul# KMODMODE KLD mode. [${BINMODE}] 5250974Swpaul# 5350974Swpaul# 5450974Swpaul# SHAREDIR Base path for architecture-independent ascii 5550974Swpaul# text files. [/usr/share] 5650974Swpaul# 5750974Swpaul# SHAREOWN ASCII text file owner. [root] 5850974Swpaul# 5950974Swpaul# SHAREGRP ASCII text file group. [wheel] 6050974Swpaul# 6150974Swpaul# SHAREMODE ASCII text file mode. [${NOBINMODE}] 6250974Swpaul# 6350974Swpaul# 6450974Swpaul# DOCDIR Base path for system documentation (e.g. PSD, USD, 6550974Swpaul# handbook, FAQ etc.). [${SHAREDIR}/doc] 6650974Swpaul# 67129876Sphk# DOCOWN Documentation owner. [${SHAREOWN}] 6850974Swpaul# 6987059Sluigi# DOCGRP Documentation group. [${SHAREGRP}] 7050974Swpaul# 7150974Swpaul# DOCMODE Documentation mode. [${NOBINMODE}] 7250974Swpaul# 7350974Swpaul# 7450974Swpaul# INFODIR Base path for GNU's hypertext system 7550974Swpaul# called Info (see info(1)). [${SHAREDIR}/info] 7687390Sjhay# 7787390Sjhay# INFOOWN Info owner. [${SHAREOWN}] 7850974Swpaul# 7950974Swpaul# INFOGRP Info group. [${SHAREGRP}] 8050974Swpaul# 8150974Swpaul# INFOMODE Info mode. [${NOBINMODE}] 8250974Swpaul# 8350974Swpaul# 8450974Swpaul# MANDIR Base path for manual installation. [${SHAREDIR}/man/man] 8550974Swpaul# 8650974Swpaul# MANOWN Manual owner. [${SHAREOWN}] 8750974Swpaul# 8850974Swpaul# MANGRP Manual group. [${SHAREGRP}] 8950974Swpaul# 9050974Swpaul# MANMODE Manual mode. [${NOBINMODE}] 91119288Simp# 92119288Simp# 9350974Swpaul# NLSDIR Base path for National Language Support files 9450974Swpaul# installation. [${SHAREDIR}/nls] 9550974Swpaul# 9650974Swpaul# NLSOWN National Language Support files owner. [${SHAREOWN}] 9750974Swpaul# 98113506Smdodd# NLSGRP National Language Support files group. [${SHAREGRP}] 99113506Smdodd# 10059758Speter# NLSMODE National Language Support files mode. [${NOBINMODE}] 10159758Speter# 10251089Speter# INCLUDEDIR Base path for standard C include files [/usr/include] 10350974Swpaul 10450974Swpaul.if !target(__<bsd.own.mk>__) 10550974Swpaul__<bsd.own.mk>__: 10650974Swpaul 10750974Swpaul.if !defined(_WITHOUT_SRCCONF) 10850974SwpaulSRCCONF?= /etc/src.conf 10950974Swpaul.if exists(${SRCCONF}) 11050974Swpaul.include "${SRCCONF}" 111119712Sphk.endif 11250974Swpaul.endif 11350974Swpaul 11450974Swpaul# Binaries 115139801SphkBINOWN?= root 116139801SphkBINGRP?= wheel 117139801SphkBINMODE?= 555 118139801SphkNOBINMODE?= 444 119139801Sphk 120139801Sphk.if defined(MODULES_WITH_WORLD) 121139801SphkKMODDIR?= /boot/modules 122139801Sphk.else 123139801SphkKMODDIR?= /boot/kernel 124139801Sphk.endif 125139801SphkKMODOWN?= ${BINOWN} 126139801SphkKMODGRP?= ${BINGRP} 12750974SwpaulKMODMODE?= ${BINMODE} 12850974Swpaul 12950974SwpaulLIBDIR?= /usr/lib 13050974SwpaulLIBCOMPATDIR?= /usr/lib/compat 13150974SwpaulLIBDATADIR?= /usr/libdata 13251030SwpaulLINTLIBDIR?= /usr/libdata/lint 13351030SwpaulSHLIBDIR?= ${LIBDIR} 13450974SwpaulLIBOWN?= ${BINOWN} 13550974SwpaulLIBGRP?= ${BINGRP} 13650974SwpaulLIBMODE?= ${NOBINMODE} 13750974Swpaul 13850974Swpaul 13950974Swpaul# Share files 14050974SwpaulSHAREDIR?= /usr/share 14150974SwpaulSHAREOWN?= root 14250974SwpaulSHAREGRP?= wheel 14350974SwpaulSHAREMODE?= ${NOBINMODE} 14450974Swpaul 14550974SwpaulMANDIR?= ${SHAREDIR}/man/man 14650974SwpaulMANOWN?= ${SHAREOWN} 14750974SwpaulMANGRP?= ${SHAREGRP} 14850974SwpaulMANMODE?= ${NOBINMODE} 14950974Swpaul 15081713SwpaulDOCDIR?= ${SHAREDIR}/doc 151139740SphkDOCOWN?= ${SHAREOWN} 15281713SwpaulDOCGRP?= ${SHAREGRP} 15381713SwpaulDOCMODE?= ${NOBINMODE} 15481713Swpaul 15581713SwpaulINFODIR?= ${SHAREDIR}/info 15681713SwpaulINFOOWN?= ${SHAREOWN} 15781713SwpaulINFOGRP?= ${SHAREGRP} 15881713SwpaulINFOMODE?= ${NOBINMODE} 15981713Swpaul 160139740SphkNLSDIR?= ${SHAREDIR}/nls 16181713SwpaulNLSOWN?= ${SHAREOWN} 16281713SwpaulNLSGRP?= ${SHAREGRP} 16381713SwpaulNLSMODE?= ${NOBINMODE} 16481713Swpaul 16581713SwpaulINCLUDEDIR?= /usr/include 16681713Swpaul 16781713Swpaul# Common variables 16881713Swpaul.if !defined(DEBUG_FLAGS) 169139740SphkSTRIP?= -s 17081713Swpaul.endif 17181713Swpaul 17281713SwpaulCOMPRESS_CMD?= gzip -cn 17381713SwpaulCOMPRESS_EXT?= .gz 17481713Swpaul 17581713Swpaul.if !defined(_WITHOUT_SRCCONF) 17681713Swpaul# 17762672Swpaul# Define MK_* variables (which are either "yes" or "no") for users 17862672Swpaul# to set via WITH_*/WITHOUT_* in /etc/src.conf and override in the 17962672Swpaul# make(1) environment. 18062672Swpaul# These should be tested with `== "no"' or `!= "no"' in makefiles. 181139740Sphk# The NO_* variables should only be set by makefiles. 182139740Sphk# 18362672Swpaul 18462672Swpaul# 18562672Swpaul# Supported NO_* options (if defined, MK_* will be forced to "no", 18662672Swpaul# regardless of user's setting). 18762672Swpaul# 18862672Swpaul.for var in \ 18962672Swpaul INSTALLLIB \ 19062672Swpaul MAN \ 19162672Swpaul PROFILE 192102334Salfred.if defined(NO_${var}) 193139740SphkWITHOUT_${var}= 19450974Swpaul.endif 19550974Swpaul.endfor 19650974Swpaul 19750974Swpaul# 19850974Swpaul# Compat NO_* options (same as above, except their use is deprecated). 19950974Swpaul# 20050974Swpaul.if !defined(BURN_BRIDGES) 201102334Salfred.for var in \ 202139740Sphk ACPI \ 20350974Swpaul ATM \ 204139708Sphk AUDIT \ 20550974Swpaul AUTHPF \ 20650974Swpaul BIND \ 20750974Swpaul BIND_DNSSEC \ 20850974Swpaul BIND_ETC \ 20950974Swpaul BIND_LIBS_LWRES \ 21050974Swpaul BIND_MTREE \ 21150974Swpaul BIND_NAMED \ 21250974Swpaul BIND_UTILS \ 21350974Swpaul BLUETOOTH \ 21450974Swpaul BOOT \ 21550974Swpaul CALENDAR \ 21650974Swpaul CPP \ 21750974Swpaul CRYPT \ 21850974Swpaul CVS \ 21950974Swpaul CXX \ 22050974Swpaul DICT \ 22150974Swpaul DYNAMICROOT \ 22250974Swpaul EXAMPLES \ 22350974Swpaul FORTH \ 22450974Swpaul FP_LIBC \ 22550974Swpaul GAMES \ 22650974Swpaul GCOV \ 22750974Swpaul GDB \ 228102334Salfred GNU \ 229139740Sphk GPIB \ 23050974Swpaul GROFF \ 231139708Sphk HTML \ 23250974Swpaul INET6 \ 23350974Swpaul INFO \ 23450974Swpaul IPFILTER \ 23550974Swpaul IPX \ 23650974Swpaul KERBEROS \ 23750974Swpaul LIB32 \ 23850974Swpaul LIBPTHREAD \ 23950974Swpaul LIBTHR \ 24050974Swpaul LOCALES \ 24150974Swpaul LPR \ 24250974Swpaul MAILWRAPPER \ 24350974Swpaul NETCAT \ 24450974Swpaul NIS \ 24550974Swpaul NLS \ 24650974Swpaul NLS_CATALOGS \ 24750974Swpaul NS_CACHING \ 24850974Swpaul OBJC \ 24950974Swpaul OPENSSH \ 25050974Swpaul OPENSSL \ 25150974Swpaul PAM \ 25250974Swpaul PF \ 25350974Swpaul RCMDS \ 25450974Swpaul RCS \ 255102334Salfred RESCUE \ 256139740Sphk SENDMAIL \ 25750974Swpaul SETUID_LOGIN \ 258139708Sphk SHAREDOCS \ 25950974Swpaul SYSCONS \ 26050974Swpaul TCSH \ 26150974Swpaul TOOLCHAIN \ 26250974Swpaul USB \ 26350974Swpaul WPA_SUPPLICANT_EAPOL 26450974Swpaul.if defined(NO_${var}) 26550974Swpaul#.warning NO_${var} is deprecated in favour of WITHOUT_${var}= 26662672SwpaulWITHOUT_${var}= 26762672Swpaul.endif 26850974Swpaul.endfor 26950974Swpaul.endif # !defined(BURN_BRIDGES) 27050974Swpaul 27150974Swpaul# 27250974Swpaul# Older-style variables that enabled behaviour when set. 27350974Swpaul# 27450974Swpaul.if defined(YES_HESIOD) 27550974SwpaulWITH_HESIOD= 27650974Swpaul.endif 27750974Swpaul.if defined(MAKE_IDEA) 27850974SwpaulWITH_IDEA= 27950974Swpaul.endif 28050974Swpaul 28150974Swpaul# Enable FDT by default for selected platforms. 28250974Swpaul.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc" 28350974Swpaul# XXX this is temporarily disabled until all FDT support code is in place. 28450974Swpaul#_fdt= FDT 28550974Swpaul_no_fdt= FDT 28650974Swpaul.else 28750974Swpaul_no_fdt= FDT 28850974Swpaul.endif 28950974Swpaul 29050974Swpaul# 29150974Swpaul# Default behaviour of MK_CLANG depends on the architecture. 29250974Swpaul# 29350974Swpaul.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \ 29450974Swpaul ${MACHINE_ARCH} == "powerpc" 29550974Swpaul_clang_yes=CLANG 29650974Swpaul_clang_no= 29750974Swpaul.else 298102334Salfred_clang_yes= 299139740Sphk_clang_no=CLANG 30050974Swpaul.endif 30150974Swpaul 30250974Swpaul# 30350974Swpaul# MK_* options which default to "yes". 30450974Swpaul# 30550974Swpaul.for var in \ 30650974Swpaul ACCT \ 30750974Swpaul ACPI \ 30850974Swpaul AMD \ 30950974Swpaul APM \ 31050974Swpaul ASSERT_DEBUG \ 31150974Swpaul AT \ 31250974Swpaul ATM \ 31350974Swpaul AUDIT \ 31472197Swpaul AUTHPF \ 315102334Salfred BIND \ 316139740Sphk BIND_DNSSEC \ 31772197Swpaul BIND_ETC \ 31872197Swpaul BIND_LIBS_LWRES \ 31972197Swpaul BIND_MTREE \ 32072197Swpaul BIND_NAMED \ 32172197Swpaul BIND_UTILS \ 32272197Swpaul BLUETOOTH \ 32372197Swpaul BOOT \ 32487994Sarchie BSD_CPIO \ 32572197Swpaul BSNMP \ 32672197Swpaul BZIP2 \ 32772197Swpaul CALENDAR \ 32872197Swpaul CDDL \ 32972197Swpaul ${_clang_yes} \ 33072197Swpaul CPP \ 33172197Swpaul CRYPT \ 33272197Swpaul CTM \ 33372197Swpaul CVS \ 33472197Swpaul CXX \ 33572197Swpaul DICT \ 33672197Swpaul DYNAMICROOT \ 33772197Swpaul EXAMPLES \ 33872197Swpaul ${_fdt} \ 33987994Sarchie FLOPPY \ 34087994Sarchie FORTH \ 34172197Swpaul FP_LIBC \ 34272197Swpaul FREEBSD_UPDATE \ 34372197Swpaul GAMES \ 34472197Swpaul GCOV \ 34587994Sarchie GDB \ 34672197Swpaul GNU \ 34772197Swpaul GNU_GREP \ 34887994Sarchie GPIB \ 34972197Swpaul GROFF \ 35072197Swpaul HTML \ 351102334Salfred INET6 \ 352139740Sphk INFO \ 35372197Swpaul INSTALLLIB \ 35472197Swpaul IPFILTER \ 35572197Swpaul IPFW \ 35672197Swpaul IPX \ 35772197Swpaul JAIL \ 35872197Swpaul KERBEROS \ 35972197Swpaul KVM \ 36072197Swpaul LEGACY_CONSOLE \ 36172197Swpaul LIB32 \ 36272197Swpaul LIBPTHREAD \ 36372197Swpaul LIBTHR \ 36472197Swpaul LOCALES \ 36572197Swpaul LOCATE \ 36672197Swpaul LPR \ 36772197Swpaul MAIL \ 36872197Swpaul MAILWRAPPER \ 36972197Swpaul MAKE \ 37072197Swpaul MAN \ 37172197Swpaul NCP \ 37272197Swpaul NDIS \ 37372197Swpaul NETCAT \ 37472197Swpaul NETGRAPH \ 37572197Swpaul NIS \ 37689296Swpaul NLS \ 377102334Salfred NLS_CATALOGS \ 378139740Sphk NS_CACHING \ 37989296Swpaul NTP \ 38089296Swpaul OBJC \ 38189296Swpaul OPENSSH \ 38289296Swpaul OPENSSL \ 38389296Swpaul PAM \ 38489296Swpaul PF \ 38589296Swpaul PKGTOOLS \ 38689296Swpaul PMC \ 38789296Swpaul PORTSNAP \ 38889296Swpaul PPP \ 38989296Swpaul PROFILE \ 39089296Swpaul QUOTAS \ 39189296Swpaul RCMDS \ 39289296Swpaul RCS \ 39389296Swpaul RESCUE \ 39489296Swpaul ROUTED \ 39589296Swpaul SENDMAIL \ 39689296Swpaul SETUID_LOGIN \ 39789296Swpaul SHAREDOCS \ 39889296Swpaul SSP \ 39989296Swpaul SYSINSTALL \ 40089296Swpaul SYMVER \ 40172197Swpaul SYSCONS \ 40272197Swpaul TCSH \ 403109060Smbr TELNET \ 404109060Smbr TEXTPROC \ 405109060Smbr TOOLCHAIN \ 406139740Sphk USB \ 407139740Sphk WIRELESS \ 408109060Smbr WPA_SUPPLICANT_EAPOL \ 409139708Sphk ZFS \ 410109060Smbr ZONEINFO 411109060Smbr.if defined(WITH_${var}) && defined(WITHOUT_${var}) 412109060Smbr.error WITH_${var} and WITHOUT_${var} can't both be set. 413109060Smbr.endif 414109060Smbr.if defined(MK_${var}) 415109060Smbr.error MK_${var} can't be set by a user. 416109060Smbr.endif 417109060Smbr.if defined(WITHOUT_${var}) 418109060SmbrMK_${var}:= no 419109060Smbr.else 420109060SmbrMK_${var}:= yes 421109060Smbr.endif 422109060Smbr.endfor 423109060Smbr 424139740Sphk# 425139740Sphk# MK_* options which default to "no". 426109060Smbr# 427109060Smbr.for var in \ 428109060Smbr BIND_IDN \ 429109060Smbr BIND_LARGE_FILE \ 430109060Smbr BIND_LIBS \ 431109060Smbr BIND_SIGCHASE \ 432109060Smbr BIND_XML \ 433109060Smbr ${_clang_no} \ 434109060Smbr ${_no_fdt} \ 435109060Smbr HESIOD \ 436109060Smbr IDEA 437109060Smbr.if defined(WITH_${var}) && defined(WITHOUT_${var}) 438109060Smbr.error WITH_${var} and WITHOUT_${var} can't both be set. 439109060Smbr.endif 440109060Smbr.if defined(MK_${var}) 441109060Smbr.error MK_${var} can't be set by a user. 442109060Smbr.endif 443109060Smbr.if defined(WITH_${var}) 444109060SmbrMK_${var}:= yes 445109060Smbr.else 446109060SmbrMK_${var}:= no 447139740Sphk.endif 448139740Sphk.endfor 449109060Smbr 450109060Smbr# 451109060Smbr# Force some options off if their dependencies are off. 452109060Smbr# Order is somewhat important. 453109060Smbr# 454109060Smbr.if ${MK_LIBPTHREAD} == "no" 455109060SmbrMK_LIBTHR:= no 456109060Smbr.endif 457109060Smbr 458109060Smbr.if ${MK_LIBTHR} == "no" 459109060SmbrMK_BIND:= no 460109060Smbr.endif 461109060Smbr 462109060Smbr.if ${MK_BIND} == "no" 463109060SmbrMK_BIND_DNSSEC:= no 464109060SmbrMK_BIND_ETC:= no 465109060SmbrMK_BIND_LIBS:= no 466109060SmbrMK_BIND_LIBS_LWRES:= no 467109060SmbrMK_BIND_MTREE:= no 468109060SmbrMK_BIND_NAMED:= no 469109060SmbrMK_BIND_UTILS:= no 470109060Smbr.endif 471109060Smbr 472109060Smbr.if ${MK_BIND_MTREE} == "no" 473109060SmbrMK_BIND_ETC:= no 474109060Smbr.endif 475109060Smbr 476109060Smbr.if ${MK_CDDL} == "no" 477109060SmbrMK_ZFS:= no 478109060Smbr.endif 479109060Smbr 480109060Smbr.if ${MK_CRYPT} == "no" 481109060SmbrMK_OPENSSL:= no 482109060SmbrMK_OPENSSH:= no 483109060SmbrMK_KERBEROS:= no 484109060Smbr.endif 485109060Smbr 486109060Smbr.if ${MK_IPX} == "no" 487109060SmbrMK_NCP:= no 488109060Smbr.endif 489109060Smbr 490109060Smbr.if ${MK_MAIL} == "no" 491109060SmbrMK_MAILWRAPPER:= no 492109060SmbrMK_SENDMAIL:= no 493109060Smbr.endif 494109060Smbr 495109060Smbr.if ${MK_NETGRAPH} == "no" 496109060SmbrMK_ATM:= no 497109060SmbrMK_BLUETOOTH:= no 498109060Smbr.endif 499109060Smbr 500109060Smbr.if ${MK_OPENSSL} == "no" 501109060SmbrMK_OPENSSH:= no 502109060SmbrMK_KERBEROS:= no 503109060Smbr.endif 504109060Smbr 505109060Smbr.if ${MK_PF} == "no" 506109060SmbrMK_AUTHPF:= no 507109060Smbr.endif 508109060Smbr 509109060Smbr.if ${MK_TEXTPROC} == "no" 510109060SmbrMK_GROFF:= no 511109060Smbr.endif 512109060Smbr 513109060Smbr.if ${MK_TOOLCHAIN} == "no" 514109060SmbrMK_CLANG:= no 515109060SmbrMK_GDB:= no 516109060Smbr.endif 517109060Smbr 518109060Smbr# 519109060Smbr# Set defaults for the MK_*_SUPPORT variables. 520109060Smbr# 521109060Smbr 522109060Smbr# 523109060Smbr# MK_*_SUPPORT options which default to "yes" unless their corresponding 524109060Smbr# MK_* variable is set to "no". 525109060Smbr# 526109060Smbr.for var in \ 527109060Smbr BZIP2 \ 528109060Smbr GNU \ 529109060Smbr INET6 \ 530109060Smbr IPX \ 531109060Smbr KERBEROS \ 532109060Smbr KVM \ 533109060Smbr NETGRAPH \ 534109060Smbr PAM \ 535109060Smbr WIRELESS 536139740Sphk.if defined(WITH_${var}_SUPPORT) && defined(WITHOUT_${var}_SUPPORT) 537139740Sphk.error WITH_${var}_SUPPORT and WITHOUT_${var}_SUPPORT can't both be set. 538109060Smbr.endif 539109060Smbr.if defined(MK_${var}_SUPPORT) 540109060Smbr.error MK_${var}_SUPPORT can't be set by a user. 541109060Smbr.endif 542109060Smbr.if defined(WITHOUT_${var}_SUPPORT) || ${MK_${var}} == "no" 543109060SmbrMK_${var}_SUPPORT:= no 544109060Smbr.else 545109060SmbrMK_${var}_SUPPORT:= yes 546109060Smbr.endif 547109060Smbr.endfor 548109060Smbr 549109060Smbr# 550109060Smbr# MK_* options whose default value depends on another option. 551109060Smbr# 552109060Smbr.for vv in \ 553109060Smbr GSSAPI/KERBEROS \ 554109060Smbr MAN_UTILS/MAN 555109060Smbr.if defined(WITH_${vv:H}) && defined(WITHOUT_${vv:H}) 556109060Smbr.error WITH_${vv:H} and WITHOUT_${vv:H} can't both be set. 557109060Smbr.endif 558109060Smbr.if defined(MK_${vv:H}) 559109060Smbr.error MK_${vv:H} can't be set by a user. 560109060Smbr.endif 561109060Smbr.if defined(WITH_${vv:H}) 562109060SmbrMK_${vv:H}:= yes 563109060Smbr.elif defined(WITHOUT_${vv:H}) 564109060SmbrMK_${vv:H}:= no 565109060Smbr.else 566109060SmbrMK_${vv:H}:= ${MK_${vv:T}} 567109060Smbr.endif 568109060Smbr.endfor 569109060Smbr 570109060Smbr.endif # !_WITHOUT_SRCCONF 571109060Smbr 572109060Smbr.endif # !target(__<bsd.own.mk>__) 573109060Smbr