4ed00d96e7
Add i386 support for LLVM sanitizers. Add new build phases do-sanitizer-* for building LLVM sanitizers after libs and before other programs. This phase is important as sanitizers need to link with libs and sanitized programs must link with sanitizer runtimes.
50 lines
964 B
Makefile
50 lines
964 B
Makefile
# $NetBSD: Makefile,v 1.65 2019/08/23 06:38:27 kamil Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= acpica am-utils bc byacc cron dhcpcd ekermit elftosb \
|
|
fetch file flex jemalloc less \
|
|
libarchive libevent liblzf libpcap mdocml \
|
|
ntp openresolv tcpdump tmux top tre wpa
|
|
|
|
.if (${MKATF} != "no")
|
|
SUBDIR+= atf
|
|
.endif
|
|
SUBDIR+= pkg_install
|
|
# IP Filter
|
|
.if (${MKIPFILTER} != "no")
|
|
SUBDIR+=ipf
|
|
.endif
|
|
.if (${MKISCSI} != "no")
|
|
SUBDIR+= iscsi
|
|
.endif
|
|
.if (${MKKYUA} != "no")
|
|
SUBDIR+= lutok kyua-testers kyua-cli kyua-atf-compat
|
|
.endif
|
|
.if (${MKLDAP} != "no")
|
|
SUBDIR+= openldap
|
|
.endif
|
|
.if (${MKLIBCXX} != "no")
|
|
SUBDIR+= libc++
|
|
.endif
|
|
.if (${MKLLVM} != "no" || ${MKLLVMRT} != "no")
|
|
SUBDIR+= llvm
|
|
.endif
|
|
.if (${MKNSD} != "no")
|
|
SUBDIR+= nsd
|
|
.endif
|
|
.if (${MKPCC} != "no")
|
|
SUBDIR+= pcc
|
|
.endif
|
|
.if (${MKDTRACE} != "no")
|
|
SUBDIR+= libproc
|
|
SUBDIR+= librtld_db
|
|
.endif
|
|
.if ${MKUNBOUND} != "no"
|
|
SUBDIR+= unbound
|
|
.endif
|
|
|
|
SUBDIR+= blacklist pdisk nvi ppp smbfs libnv
|
|
|
|
.include <bsd.subdir.mk>
|