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 = \ EXTRA_DIST = \
virglrenderer.pc.in virglrenderer.pc.in
@CODE_COVERAGE_RULES@

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

@ -1,5 +1,8 @@
SUBDIRS := gallium/auxiliary 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 = \ AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers/virgl \ -I$(top_srcdir)/src/gallium/drivers/virgl \
@ -11,7 +14,8 @@ AM_CFLAGS = \
$(PIC_FLAGS) \ $(PIC_FLAGS) \
$(LIBDRM_CFLAGS) \ $(LIBDRM_CFLAGS) \
$(EPOXY_CFLAGS) \ $(EPOXY_CFLAGS) \
$(VISIBILITY_CFLAGS) $(VISIBILITY_CFLAGS) \
$(CODE_COVERAGE_CFLAGS)
libvrend_la_SOURCES = \ libvrend_la_SOURCES = \
vrend_renderer.c \ vrend_renderer.c \

Loading…
Cancel
Save