1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5.PATH: ${GOOGLEMOCK_SRCROOT}/include ${GOOGLEMOCK_SRCROOT}/src 6 7LIB_CXX= gmock_main 8SHLIB_MAJOR= 0 9PRIVATELIB= true 10 11CXXFLAGS+= -I${GOOGLEMOCK_SRCROOT}/include 12CXXFLAGS+= -I${GOOGLEMOCK_SRCROOT} 13CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include 14 15LIBADD+= gmock 16# NB: LDFLAGS added for buildworld builds 17LDFLAGS+= -L${LIBGTESTDIR} 18LDFLAGS+= -L${LIBGMOCKDIR} 19 20SRCS+= gmock_main.cc 21 22HAS_TESTS= 23SUBDIR.${MK_TESTS}+= tests 24 25.include <bsd.lib.mk> 26