summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/isakmpd/regress/ec2n/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/isakmpd/regress/ec2n/Makefile b/sbin/isakmpd/regress/ec2n/Makefile
index c1a1a28cc37..a8750d9581b 100644
--- a/sbin/isakmpd/regress/ec2n/Makefile
+++ b/sbin/isakmpd/regress/ec2n/Makefile
@@ -1,14 +1,16 @@
-# $OpenBSD: Makefile,v 1.3 1998/12/21 01:02:30 niklas Exp $
-# $EOM: Makefile,v 1.4 1998/12/21 00:41:52 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 1999/02/26 03:27:31 niklas Exp $
+# $EOM: Makefile,v 1.6 1999/02/25 15:10:08 niklas Exp $
# Test EC2N:
PROG= ec2ntest
SRCS= math_2n.c math_ec2n.c ec2ntest.c util.c sysdep.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
DEBUG= -g
.include <bsd.prog.mk>