Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        Makefile.am 


Log Message:
Add the creation of coverage report with gcov and lcov
 * --enable-gcov must be passed to configure
 * right now, you have to install ewl to use that feature
 * 'make lcov' launches all the unit tests and create the
   report in the lcov subdirectory
 * 'make lcov EWL_UNIT_TEST=my_test' launches only the test
   my_test and created the coverage report


===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/Makefile.am,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- Makefile.am 11 Dec 2007 05:51:22 -0000      1.59
+++ Makefile.am 12 Dec 2007 09:09:57 -0000      1.60
@@ -8,6 +8,7 @@
 -DPACKAGE_DATA_DIR=\"$(datadir)\" \
 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
 -DPACKAGE_SYSCONF_DIR=\"$(sysconfdir)\" \
+$(GCOV_CFLAGS) \
 @EDJE_CFLAGS@ @ECORE_CFLAGS@ @EVAS_CFLAGS@ @EMOTION_CFLAGS@ @EPSILON_CFLAGS@ 
@EFREET_CFLAGS@
 
 lib_LTLIBRARIES = libewl.la
@@ -99,7 +100,7 @@
        ewl_toolbar.h \
        ewl_view.h \
        ewl_widget.h \
-       ewl_window.h 
+       ewl_window.h
 
 EWLSOURCES= \
        ewl_attach.c \
@@ -193,5 +194,8 @@
 installed_headersdir = $(prefix)/include/ewl
 installed_headers_DATA = $(EWLHEADERS)
 
-libewl_la_LIBADD = @EMOTION_LIBS@ @EPSILON_LIBS@ @EFREET_LIBS@ @EDJE_LIBS@ 
@ECORE_LIBS@ @EVAS_LIBS@ -lm
+libewl_la_LIBADD = $(GCOV_LIBS) @EMOTION_LIBS@ @EPSILON_LIBS@ @EFREET_LIBS@ 
@EDJE_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ -lm
 libewl_la_LDFLAGS = @create_shared_lib@ -version-info @INTERFACE_VERSION@
+
+clean-local:
+       @rm *.gcno



-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to