Branch: Tag:

2004-01-10

2004-01-10 18:10:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added target gcov.

Rev: src/Makefile.in:1.376

1:   # - # $Id: Makefile.in,v 1.375 2003/12/14 20:37:06 nilsson Exp $ + # $Id: Makefile.in,v 1.376 2004/01/10 18:10:30 grubba Exp $   #      # This line is needed on some machines.
263:   # modules aren't link order dependent.    if [ -f dumpversion ]; then $(MAKE) $(MAKE_FLAGS) delete_dumped_modules; else :; fi    + # gcov + gcov: +  @for f in `cd "$(SRCDIR)" && find . -type f -name '*.c' -print`; do \ +  for gf in `gcov $$f | sed -e 's/Creating \(.*\)\.gcov.*/\1.gcov/p' -ed`; do \ +  echo "Generating $$f-$$gf."; \ +  test -f "$$f-$$gf" && rm -f "$$f-$$gf"; \ +  mv "$$gf" "$$f-$$gf"; \ +  done; \ +  done +    # purify   pure: $(OBJ) master-stamp module_objects    -@mv pike pike.old 2>/dev/null || true