Module Name: src
Committed By: lukem
Date: Sun Jun 21 14:12:50 UTC 2020
Modified Files:
src/external/bsd/lutok/tests/lib/liblutok: Makefile
Log Message:
lutok; fix build of c++ tests
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/lutok/tests/lib/liblutok/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/lutok/tests/lib/liblutok/Makefile
diff -u src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.2 src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.3
--- src/external/bsd/lutok/tests/lib/liblutok/Makefile:1.2 Fri Oct 18 23:36:10 2013
+++ src/external/bsd/lutok/tests/lib/liblutok/Makefile Sun Jun 21 14:12:50 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2013/10/18 23:36:10 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2020/06/21 14:12:50 lukem Exp $
.include <bsd.own.mk>
@@ -10,14 +10,22 @@ SRCDIR= ${NETBSDSRCDIR}/external/bsd/lu
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/liblutok
+# lutok uses auto_ptr; g++ 8 complains about it
+CXXFLAGS+= -Wno-deprecated-declarations
+
FILESDIR= ${TESTSDIR}
-TESTS_CXX= c_gate_test \
+TESTS_CXX=
+.for test in \
+ c_gate_test \
debug_test \
exceptions_test \
operations_test \
stack_cleaner_test \
state_test
+TESTS_CXX+= ${test}
+SRCS.${test}= ${test}.cpp
+.endfor
LDADD+= -llutok -llua
DPADD+= ${LIBLUTOK} ${LIBLUA}