We recompile the sources anyway in the tests and we have our own CFLAGS there.
Drop them from the main library code so we don't leave gcov files everywhere.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
lib_LTLIBRARIES=libevdev.la
-AM_CPPFLAGS = $(GCC_CFLAGS) $(GCOV_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
+AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
libevdev_la_SOURCES = \
libevdev.h \
libevdev_la_LDFLAGS = \
-version-info $(LIBEVDEV_LT_VERSION) \
-export-symbols-regex '^libevdev_|^LIBEVDEV_' \
- $(GCOV_LDFLAGS) \
$(GNU_LD_FLAGS)
libevdevincludedir = $(includedir)/libevdev-1.0/libevdev
CLEANFILES = event-names.h
BUILT_SOURCES = event-names.h
-# gcov leaves it's mess in this directory too
-clean-local:
- @rm -f *.gcno