-# $OpenBSD: Makefile.inc,v 1.1.1.1 2017/06/30 14:56:08 bluhm Exp $
+# $OpenBSD: Makefile.inc,v 1.2 2017/07/06 13:11:15 bluhm Exp $
EXPATDIR= ${.CURDIR}/../../../../lib/libexpat
.PATH: ${EXPATDIR}/tests ${EXPATDIR}/tests/benchmark
PROG= ${.CURDIR:T}
-CFLAGS= -g -I${EXPATDIR}/lib
-CPPFLAGS= -g -I${EXPATDIR}/lib
-LDFLAGS= -g -static
+CFLAGS= -I${EXPATDIR}/lib
+CPPFLAGS= -I${EXPATDIR}/lib
LDADD= -lexpat
DPADD= ${LIBEXPAT}
+DEBUG?= -g
-# $OpenBSD: Makefile,v 1.1.1.1 2017/06/30 14:56:08 bluhm Exp $
+# $OpenBSD: Makefile,v 1.2 2017/07/06 13:11:15 bluhm Exp $
SRCS= runtests.c chardata.c memcheck.c minicheck.c
+# align_limit_to_full_utf8_characters is not exported in dynamic library
+LDFLAGS= -static
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.1.1.1 2017/06/30 14:56:08 bluhm Exp $
+# $OpenBSD: Makefile,v 1.2 2017/07/06 13:11:15 bluhm Exp $
SRCS= runtestspp.cpp chardata.c memcheck.c minicheck.c
+# align_limit_to_full_utf8_characters is not exported in dynamic library
+LDFLAGS= -static
.include <bsd.regress.mk>