84d9c625bf
- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
90 lines
1.3 KiB
Makefile
90 lines
1.3 KiB
Makefile
# $NetBSD: mkvars.mk,v 1.13 2013/10/14 16:00:16 joerg Exp $
|
|
|
|
MKEXTRAVARS= \
|
|
MACHINE \
|
|
MACHINE_ARCH \
|
|
MACHINE_CPU \
|
|
HAVE_GCC \
|
|
HAVE_GDB \
|
|
HAVE_LIBGCC \
|
|
HAVE_SSP \
|
|
OBJECT_FMT \
|
|
TOOLCHAIN_MISSING \
|
|
EXTSRCS \
|
|
MKMANZ \
|
|
MKBFD \
|
|
MKCOMPAT \
|
|
MKCOMPATMODULES \
|
|
MKDYNAMICROOT \
|
|
MKMANPAGES \
|
|
MKSLJIT \
|
|
MKSOFTFLOAT \
|
|
MKXORG \
|
|
MKXORG_SERVER \
|
|
X11FLAVOR \
|
|
USE_INET6 \
|
|
USE_KERBEROS \
|
|
USE_LDAP \
|
|
USE_YP \
|
|
NETBSDSRCDIR \
|
|
MAKEVERBOSE \
|
|
TARGET_ENDIANNESS \
|
|
EABI \
|
|
ARCH64
|
|
|
|
#####
|
|
|
|
.include <bsd.own.mk>
|
|
.include <bsd.sys.mk>
|
|
.include <bsd.endian.mk>
|
|
|
|
.if (${MKMAN} == "no" || empty(MANINSTALL:Mmaninstall))
|
|
MKMANPAGES=no
|
|
.else
|
|
MKMANPAGES=yes
|
|
.endif
|
|
|
|
.if ${MKX11} != "no"
|
|
. if ${X11FLAVOUR} == "Xorg"
|
|
MKXORG:=yes
|
|
MKX11:=no
|
|
. else
|
|
MKXORG:=no
|
|
. endif
|
|
.endif
|
|
|
|
.if (!empty(MACHINE_ARCH:Mearm*))
|
|
EABI=yes
|
|
.else
|
|
EABI=no
|
|
.endif
|
|
|
|
.if (!empty(MACHINE_ARCH:M*64*) || ${MACHINE_ARCH} == alpha)
|
|
ARCH64=yes
|
|
.else
|
|
ARCH64=no
|
|
.endif
|
|
|
|
#####
|
|
|
|
mkvars: mkvarsyesno mkextravars mksolaris .PHONY
|
|
|
|
mkvarsyesno: .PHONY
|
|
.for i in ${_MKVARS.yes}
|
|
@echo $i="${$i}"
|
|
.endfor
|
|
.for i in ${_MKVARS.no}
|
|
@echo $i="${$i}"
|
|
.endfor
|
|
|
|
mkextravars: .PHONY
|
|
.for i in ${MKEXTRAVARS}
|
|
@echo $i="${$i}"
|
|
.endfor
|
|
|
|
mksolaris: .PHONY
|
|
.if (${MKDTRACE} != "no" || ${MKZFS} != "no")
|
|
@echo MKSOLARIS="yes"
|
|
.else
|
|
@echo MKSOLARIS="no"
|
|
.endif
|