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
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2013/09/10 16:45:33 matt Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${USE_COMPILERCRTSTUFF} != "yes"
|
|
|
|
CSU_MACHINE_ARCH?= ${MACHINE_ARCH}
|
|
|
|
.if !empty(CSU_MACHINE_ARCH:Mearm*)
|
|
ARCHDIR:= ${.CURDIR}/arch/earm
|
|
.elif exists(${.CURDIR}/arch/${CSU_MACHINE_ARCH}/Makefile.inc)
|
|
ARCHDIR:= ${.CURDIR}/arch/${CSU_MACHINE_ARCH}
|
|
.elif exists(${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc)
|
|
ARCHDIR:= ${.CURDIR}/arch/${MACHINE_CPU}
|
|
.else
|
|
.error Architecture (${CSU_MACHINE_ARCH} or ${MACHINE_CPU}) unsupported
|
|
.endif
|
|
|
|
|
|
.PATH: ${ARCHDIR}
|
|
. include "${ARCHDIR}/Makefile.inc"
|
|
|
|
. include "${.CURDIR}/common/Makefile.inc"
|
|
|
|
.else
|
|
|
|
CSU_MACHINE_ARCH?= ${MACHINE_ARCH}
|
|
|
|
. if exists(${CSU_MACHINE_ARCH}_elf/Makefile)
|
|
SUBDIR= ${CSU_MACHINE_ARCH}_elf
|
|
. elif exists(${CSU_MACHINE_ARCH}/Makefile)
|
|
SUBDIR= ${CSU_MACHINE_ARCH}
|
|
. elif exists(${MACHINE_CPU}_elf/Makefile)
|
|
SUBDIR= ${MACHINE_CPU}_elf
|
|
. elif exists(${MACHINE_CPU}/Makefile)
|
|
SUBDIR= ${MACHINE_CPU}
|
|
. else
|
|
.BEGIN:
|
|
@echo no SUBDIR for ${MACHINE_ARCH}_elf, ${MACHINE_ARCH} nor \
|
|
${MACHINE_CPU}
|
|
@false
|
|
. endif
|
|
|
|
. include <bsd.subdir.mk>
|
|
.endif
|