mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 20:35:03 +01:00
r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
22 lines
518 B
Makefile
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>
|