HardenedBSD/lib/libdevdctl/tests/Makefile
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00

21 lines
506 B
Makefile

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>