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