summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/regress/dh/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/isakmpd/regress/dh/Makefile b/sbin/isakmpd/regress/dh/Makefile
index 8e6a38c818a..54f1d92b819 100644
--- a/sbin/isakmpd/regress/dh/Makefile
+++ b/sbin/isakmpd/regress/dh/Makefile
@@ -1,17 +1,19 @@
-# $OpenBSD: Makefile,v 1.3 1998/12/21 01:02:29 niklas Exp $
-# $EOM: Makefile,v 1.4 1998/12/21 00:41:51 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 1999/02/26 03:27:14 niklas Exp $
+# $EOM: Makefile,v 1.6 1999/02/25 15:10:06 niklas Exp $
# Test DH:
PROG= dhtest
SRCS= math_2n.c math_ec2n.c math_group.c dh.c dhtest.c util.c \
log.c sysdep.c gmp_util.c
-.PATH: ${.CURDIR}/../../
+TOPSRC= ${.CURDIR}/../..
+TOPOBJ!= cd ${TOPSRC}; printf "all:\n\t@pwd\n" |${MAKE} -f-
+OS!= awk '/^OS=/ { print $$2 }' ${.CURDIR}/../../Makefile
+.PATH: ${TOPSRC} ${TOPSRC}/sysdep/${OS} ${TOPOBJ}
+CFLAGS+= -I${TOPSRC} -I${TOPSRC}/sysdep/${OS} -I${TOPOBJ} -Wall
NOMAN=
LDADD+= -lgmp
DPADD+= ${LIBGMP}
-TOPOBJ!= cd ${.CURDIR}/../..; printf "all:\n\t@pwd\n" |${MAKE} -f-
-CFLAGS+= -I${.CURDIR}/../../ -I${TOPOBJ} -Wall
DEBUG= -g
.include <bsd.prog.mk>