X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/f486ea184ba1d605110eab4862406c11554ed13e..bf5fdf14a659846700e62c5dcf2c8fceb56b2a8c:/lib/Makefile.am diff --git a/lib/Makefile.am b/lib/Makefile.am index 524496e..ab856a7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -63,12 +63,11 @@ libdisorder_a_SOURCES=charset.c charset.h \ timeval.h \ trackname.c trackname.h \ user.h user.c \ + unicode.h unicode.c \ unidata.h unidata.c \ - utf8.h utf8.c \ vacopy.h \ vector.c vector.h \ wav.h wav.c \ - words.c words.h \ wstat.c wstat.h \ disorder.h @@ -88,13 +87,22 @@ definitions.h: Makefile defs.o: definitions.h defs.lo: definitions.h -test_SOURCES=test.c -test_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) +test_SOURCES=test.c memgc.c +test_LDADD=libdisorder.a $(LIBPCRE) $(LIBICONV) $(LIBGC) test_DEPENDENCIES=libdisorder.a check: test #test.i ./test +check-report: before-check check make-coverage-reports +before-check: + rm -f *.gcda *.gcov +make-coverage-reports: + ${GCOV} *.c | ${PYTHON} ../scripts/format-gcov-report --html . *.c + +rebuild-unicode: + cd ${srcdir} && ${top_srcdir}/scripts/make-unidata + %.i: %.c $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -c $< > $@.new mv $@.new $@