1TESTSDIR= ${TESTSBASE}/lib/libdevdctl 2 3.PATH: ${.CURDIR:H} 4 5PLAIN_TESTS_CXX= libdevdctl_unittest 6 7SRCS.libdevdctl_unittest+= event_factory.cc \ 8 libdevdctl_unittest.cc \ 9 event.cc exception.cc \ 10 guid.cc 11CFLAGS.libdevdctl_unittest+= -I ${LOCALBASE}/include -D_THREAD_SAFE -pthread 12DPADD.libdevdctl_unittest+= ${LIBDEVDCTL} 13LDADD.libdevdctl_unittest+= -L ${LOCALBASE}/lib -D_THREAD_SAFE -pthread -lgtest -lgtest_main 14 15# Googletest options 16LOCALBASE?= /usr/local 17 18WARNS?= 3 19.include <bsd.test.mk> 20