## Process Makefile.am with automake to create Makefile.in. AUTOMAKE_OPTIONS=foreign CFLAGS=@CFLAGS@ $(CFLAGS_GCOV) INCLUDES=-I$(top_srcdir)/include lib_LTLIBRARIES=libplan9c.la libplan9c_la_SOURCES=\ argv0.c errstr.c rune.c doprint.c print.c getuser.c\ regaux.c regcomp.c regerror.c\ regexec.c regsub.c rregexec.c\ rregsub.c libplan9c_la_LIBADD=@LTLIBOBJS@ regaux.c regcomp.c regerror.c regexec.c regsub.c rregexec.c rregsub.c: @rm -f $@ @echo '#include "$(top_srcdir)/libregexp/$@"' >$@ check_PROGRAMS=tdp tdp_SOURCES=tdp.c tdp-tests.h LDADD=$(lib_LTLIBRARIES) TESTS=$(check_PROGRAMS) MOSTLYCLEANFILES=*.bb *.bbg *.da *.gcov coverage coverage: check for f in $(SOURCES); do\ if test -f "`basename $$f .c`.da" ; then\ gcov --label-lines=long $$f;\ fi;\ done grep -h '######' *.gcov >coverage