build-sys: add coverage

macos/master
Marc-André Lureau 10 years ago committed by Dave Airlie
parent 121df9c6b0
commit d9953a56c9
  1. 2
      Makefile.am
  2. 1
      configure.ac
  3. 8
      src/Makefile.am

@ -26,3 +26,5 @@ pkgconfig_DATA = virglrenderer.pc
EXTRA_DIST = \
virglrenderer.pc.in
@CODE_COVERAGE_RULES@

@ -22,6 +22,7 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_SYS_LARGEFILE
AX_CODE_COVERAGE
AC_ARG_ENABLE(tests,
AS_HELP_STRING([--enable-tests], [Build the tests (default=auto)]),

@ -1,5 +1,8 @@
SUBDIRS := gallium/auxiliary
AM_LDFLAGS = $(EPOXY_LIBS) $(GL_LIBS) -lgbm -lm -ldl -I./gallium/include
AM_LDFLAGS = -lgbm -lm -ldl -I./gallium/include \
$(EPOXY_LIBS) \
$(GL_LIBS) \
$(CODE_COVERAGE_LDFLAGS)
AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers/virgl \
@ -11,7 +14,8 @@ AM_CFLAGS = \
$(PIC_FLAGS) \
$(LIBDRM_CFLAGS) \
$(EPOXY_CFLAGS) \
$(VISIBILITY_CFLAGS)
$(VISIBILITY_CFLAGS) \
$(CODE_COVERAGE_CFLAGS)
libvrend_la_SOURCES = \
vrend_renderer.c \

Loading…
Cancel
Save