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