1 ## Process this file with automake to produce Makefile.in
2 ## Copyright (C) 2003 TSUTSUMI Kikuo.
3 ## This file is part of the CCUnit Library.
5 ## The CCUnit Library is free software; you can redistribute it and/or
6 ## modify it under the terms of the GNU Lesser General Public License
7 ## as published by the Free Software Foundation; either version 2.1 of
8 ## the License, or (at your option) any later version.
10 ## The CCUnit Library is distributed in the hope that it will be
11 ## useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 ## of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU Lesser General Public License for more details.
15 ## You should have received a copy of the GNU Lesser General Public
16 ## License along with the CCUnit Library; see the file COPYING.LESSER.
17 ## If not, write to the Free Software Foundation, Inc., 59 Temple
18 ## Place - Suite 330, Boston, MA 02111-1307, USA.
22 lib_LTLIBRARIES = libccunit.la
24 ## ls -1 CCUnit*.[ch] | sort | sed -e 's/^/ /' -e 's/$/ \\/' -e '$s/\\$//'
25 libccunit_la_SOURCES = \
46 CCUnitTestListener.h \
55 nodist_libccunit_la_SOURCES = config.h
57 EXTRA_DIST= malloc.c realloc.c strdup.c
59 libccunit_la_LIBADD = @LTLIBOBJS@
60 libccunit_la_LDFLAGS = -no-undefined -version-info 0:0:0
62 AM_CFLAGS=-Wall -Werror @COVERAGEFLAGS@
63 AM_CPPFLAGS=-I$(top_srcdir)/src
65 CLEANFILES=*~ .*~ ./\#*\# *.log *.bb *.bbg *.da *.gcov *.cov
67 coverage: libccunit.cov
69 libccunit.cov: $(libccunit_a_SOURCES)
73 bn=$$(basename $$f .c); \
74 if test -f $$bn.da && test -f $$bn.bb; then \
75 (set -x; gcov -f $$f >> $@ ); \