freebsd-nq/lib/libdevdctl/tests/Makefile
Enji Cooper e28f65a452 Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
MFC after:	3 weeks
Sponsored by:	Dell EMC Isilon
2017-01-20 04:55:14 +00:00

22 lines
518 B
Makefile

# $FreeBSD$
TESTSDIR= ${TESTSBASE}/lib/libdevdctl
.PATH: ${.CURDIR:H}
PLAIN_TESTS_CXX= libdevdctl_unittest
SRCS.libdevdctl_unittest+= event_factory.cc \
libdevdctl_unittest.cc \
event.cc exception.cc \
guid.cc
CFLAGS.libdevdctl_unittest+= -I ${LOCALBASE}/include -D_THREAD_SAFE -pthread
DPADD.libdevdctl_unittest+= ${LIBDEVDCTL}
LDADD.libdevdctl_unittest+= -L ${LOCALBASE}/lib -D_THREAD_SAFE -pthread -lgtest -lgtest_main
# Googletest options
LOCALBASE?= /usr/local
WARNS?= 3
.include <bsd.test.mk>