summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/isakmpd/regress/group/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/isakmpd/regress/group/Makefile b/sbin/isakmpd/regress/group/Makefile
index 9c5c385ec26..b2fd5aa5b3c 100644
--- a/sbin/isakmpd/regress/group/Makefile
+++ b/sbin/isakmpd/regress/group/Makefile
@@ -1,15 +1,17 @@
-# $OpenBSD: Makefile,v 1.3 1998/12/21 01:02:33 niklas Exp $
-# $EOM: Makefile,v 1.6 1998/12/21 00:41:53 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 1999/02/26 03:28:18 niklas Exp $
+# $EOM: Makefile,v 1.8 1999/02/25 15:10:10 niklas Exp $
# Test Group:
PROG= grouptest
SRCS= math_2n.c math_ec2n.c math_group.c grouptest.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=
-TOPOBJ!= cd ${.CURDIR}/../..; printf "all:\n\t@pwd\n" |${MAKE} -f-
-CFLAGS+= -I${TOPOBJ} -I${.CURDIR}/../../ -Wall
LDADD+= -lgmp
DPADD+= ${LIBGMP}
DEBUG= -g