33 lines
656 B
Makefile
33 lines
656 B
Makefile
|
# $NetBSD: Makefile,v 1.1 2013/02/16 21:29:50 jmmv Exp $
|
||
|
|
||
|
.include <bsd.own.mk>
|
||
|
|
||
|
TESTSDIR= ${TESTSBASE}/lib/liblutok
|
||
|
|
||
|
SRCDIR= ${NETBSDSRCDIR}/external/bsd/lutok/dist
|
||
|
.PATH: ${SRCDIR}
|
||
|
|
||
|
CPPFLAGS+= -DHAVE_CONFIG_H
|
||
|
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/liblutok
|
||
|
|
||
|
FILESDIR= ${TESTSDIR}
|
||
|
|
||
|
TESTS_CXX= c_gate_test \
|
||
|
debug_test \
|
||
|
exceptions_test \
|
||
|
operations_test \
|
||
|
stack_cleaner_test \
|
||
|
state_test
|
||
|
|
||
|
LDADD+= -llutok
|
||
|
DPADD+= ${LIBLUTOK}
|
||
|
|
||
|
.if defined(__MINIX)
|
||
|
LDADD+= -llua
|
||
|
DPADD+= ${LIBLUA}
|
||
|
#LSC FIXME: We should fix this double definition problem of aeabi symbols
|
||
|
LDFLAGS+= -Wl,--allow-multiple-definition
|
||
|
.endif # defined(__MINIX)
|
||
|
|
||
|
.include <bsd.test.mk>
|