summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:27:15 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:27:15 +0000
commit78e7a73cff63dd6a05572f1a92466acf86a396f8 (patch)
tree573ca973fe2e6707680aea64aa1aa1c78a393a7f /sbin
parentf7b5b195abfb88deb4eb95df46fdfde8a74262ec (diff)
Merge from the Ericsson repository
| revision 1.6 | date: 1999/02/25 15:10:06; author: niklas; state: Exp; lines: +2 -2 | Whoops | ---------------------------- | revision 1.5 | date: 1999/02/25 15:07:31; author: niklas; state: Exp; lines: +6 -4 | Mesing with the new sysdep paths | ----------------------------
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>