summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-09-27 18:14:23 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-09-27 18:14:23 +0000
commit8699d46055700f009a2a09cc300c0cfa63164dd5 (patch)
tree5f71dba5ee66eadeb6b2ca02cd2f5aa103c87479 /regress
parentc8962129b9b16db45e5dd8dd8416fd8aa46b54b6 (diff)
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')
-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>