fedec5d9ee
While here, reindent `SUBDIR.${MK_TESTS}`
24 lines
402 B
Makefile
24 lines
402 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${GOOGLETEST_SRCROOT}/include ${GOOGLETEST_SRCROOT}/src
|
|
|
|
LIB_CXX= gtest_main
|
|
SHLIB_MAJOR= 0
|
|
PRIVATELIB= true
|
|
|
|
CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include
|
|
CXXFLAGS+= -I${GOOGLETEST_SRCROOT}
|
|
|
|
LIBADD+= gtest
|
|
# NB: LDFLAGS added for buildworld builds
|
|
LDFLAGS+= -L${LIBGTESTDIR}
|
|
|
|
SRCS+= gtest_main.cc
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.lib.mk>
|