summaryrefslogtreecommitdiffstats
path: root/regress/libexec
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-09-27 18:14:22 +0000
committerkettenis <kettenis@openbsd.org>2016-09-27 18:14:22 +0000
commit8cfeef2acd20fc98ef443f85ed38a80e92e479c6 (patch)
tree9c7bbf10ad7143ba53aad47a1526d83d76e7bd15 /regress/libexec
parentAdd a clang-local(1) man page, similar to gcc-local(1). This documents (diff)
downloadwireguard-openbsd-8cfeef2acd20fc98ef443f85ed38a80e92e479c6.tar.xz
wireguard-openbsd-8cfeef2acd20fc98ef443f85ed38a80e92e479c6.zip
Make sure that the regress target builds the libraries. Stop building a
profile library and add $OpenBSD$ markers. Similar to what we do in other regress tests that build libraries such as regress/lib/libc/cxa-exit. ok bluhm@
Diffstat (limited to 'regress/libexec')
-rw-r--r--regress/libexec/ld.so/constructor/libaa/Makefile6
-rw-r--r--regress/libexec/ld.so/constructor/libab/Makefile6
2 files changed, 12 insertions, 0 deletions
diff --git a/regress/libexec/ld.so/constructor/libaa/Makefile b/regress/libexec/ld.so/constructor/libaa/Makefile
index c4432ee7f17..d28764d3275 100644
--- a/regress/libexec/ld.so/constructor/libaa/Makefile
+++ b/regress/libexec/ld.so/constructor/libaa/Makefile
@@ -1,3 +1,9 @@
+# $OpenBSD: Makefile,v 1.2 2016/09/27 18:14:22 kettenis Exp $
+
LIB=aa
SRCS= aa.C
+NOPROFILE=yes
+
+regress: all
+
.include <bsd.lib.mk>
diff --git a/regress/libexec/ld.so/constructor/libab/Makefile b/regress/libexec/ld.so/constructor/libab/Makefile
index 25ba75dc380..5d70c990518 100644
--- a/regress/libexec/ld.so/constructor/libab/Makefile
+++ b/regress/libexec/ld.so/constructor/libab/Makefile
@@ -1,6 +1,12 @@
+# $OpenBSD: Makefile,v 1.3 2016/09/27 18:14:22 kettenis Exp $
+
LIB=ab
SRCS= ab.C
+NOPROFILE=yes
CPPFLAGS=-I${.CURDIR}/../libaa
LDADD=-L../libaa
LDADD+=-laa
+
+regress: all
+
.include <bsd.lib.mk>