summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2004-12-29 05:09:03 +0000
committerDavid Krause <david@cvs.openbsd.org>2004-12-29 05:09:03 +0000
commit184ed496410be47035546f3e57a67a6f38def511 (patch)
tree4a2dac621eb9c55f83d28da967dad987cc8ed715 /regress/lib
parent183d99ab1d18db993d17d6166e0f07407fbd7d10 (diff)
define REGRESS_ROOT_TARGETS for tests that require root privileges
rename the target so it shows up nicer in the log file and whitespace cleaning
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libpthread/pcap/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/regress/lib/libpthread/pcap/Makefile b/regress/lib/libpthread/pcap/Makefile
index 8e28bd914da..676d68ded0e 100644
--- a/regress/lib/libpthread/pcap/Makefile
+++ b/regress/lib/libpthread/pcap/Makefile
@@ -1,14 +1,13 @@
-# $OpenBSD: Makefile,v 1.8 2002/09/02 20:01:43 avsm Exp $
+# $OpenBSD: Makefile,v 1.9 2004/12/29 05:09:02 david Exp $
PROG= pcap
-DPADD+= ${LIBPCAP}
-LDADD+= -lpcap
+DPADD+= ${LIBPCAP}
+LDADD+= -lpcap
-REGRESS_TARGETS= sudo-regress-${PROG}
-REGRESS_ROOT_TARGETS= ${REGRESS_TARGETS}
+REGRESS_ROOT_TARGETS= run-regress-${PROG}
-sudo-regress-${PROG}: ${PROG}
+run-regress-${PROG}: ${PROG}
${SUDO} ./${PROG}
.include <bsd.regress.mk>