2007-07-13 19:37:47 +00:00
|
|
|
TAGS: */*.c */*.h
|
|
|
|
etags */*.c */*.h
|
2008-01-02 11:37:16 +00:00
|
|
|
|
2008-01-18 14:43:32 +00:00
|
|
|
SRCDIRS = newbrt src src/tests cxx cxx/tests utils db-benchmark-test db-benchmark-test-cxx
|
|
|
|
|
2008-01-02 11:37:16 +00:00
|
|
|
clean:
|
2008-01-18 18:07:21 +00:00
|
|
|
for d in $(SRCDIRS); do (cd $$d; $(MAKE) -k clean); done
|
2008-01-18 14:43:32 +00:00
|
|
|
|
|
|
|
build:
|
2008-01-18 18:07:21 +00:00
|
|
|
for d in $(SRCDIRS); do (cd $$d; $(MAKE) -k); done
|
2008-01-18 14:43:32 +00:00
|
|
|
|
|
|
|
build-coverage:
|
2008-01-21 14:03:46 +00:00
|
|
|
for d in $(SRCDIRS); do (cd $$d; $(MAKE) -k OPTFLAGS="-O0" GCOV_FLAGS="-fprofile-arcs -ftest-coverage"); done
|
|
|
|
(cd utils; make clean; make coverage OPTFLAGS="-O0" GCOV_FLAGS="-fprofile-arcs -ftest-coverage")
|
|
|
|
|
2008-01-21 15:46:12 +00:00
|
|
|
test-coverage: test-coverage-newbrt test-coverage-src-tests test-coverage-utils test-coverage-cxx-tests
|
|
|
|
test-coverage-newbrt:
|
2008-01-21 15:24:59 +00:00
|
|
|
(cd newbrt; $(MAKE) -k check DTOOL="")
|
2008-01-21 15:46:12 +00:00
|
|
|
test-coverage-src-tests:
|
2008-01-21 15:24:59 +00:00
|
|
|
(cd src/tests; $(MAKE) -k check.tdb VGRIND="")
|
2008-01-21 15:46:12 +00:00
|
|
|
test-coverage-utils:
|
2008-01-21 15:24:59 +00:00
|
|
|
(cd utils; $(MAKE) -k test-coverage)
|
2008-01-21 15:46:12 +00:00
|
|
|
test-coverage-cxx-tests:
|
2008-01-21 15:24:59 +00:00
|
|
|
(cd cxx/tests; $(MAKE) -k check VGRIND="")
|