From: John L. <mov...@us...> - 2001-12-31 06:37:30
|
Update of /cvsroot/oprofile/oprofile In directory usw-pr-cvs1:/tmp/cvs-serv19892 Modified Files: .cvsignore ChangeLog Rules.make.in TODO Log Message: deps files in .deps - Philippe please check Index: .cvsignore =================================================================== RCS file: /cvsroot/oprofile/oprofile/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- .cvsignore 2001/12/05 04:31:16 1.5 +++ .cvsignore 2001/12/31 06:37:26 1.6 @@ -1,4 +1,7 @@ +.deps configure +Rules.make +cvs.log Makefile version.h a.diff Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile/ChangeLog,v retrieving revision 1.256 retrieving revision 1.257 diff -u -d -r1.256 -r1.257 --- ChangeLog 2001/12/31 06:03:11 1.256 +++ ChangeLog 2001/12/31 06:37:26 1.257 @@ -1,5 +1,11 @@ 2001-12-31 John Levon <mo...@co...> + * all .cvsignore: + * Rules.make.in: + * all Makefile.in: hide .d files in .deps directories + +2001-12-31 John Levon <mo...@co...> + * Makefile.in: move config.h.in to maintainerclean - it is included in a tarball so a distclean shouldn't remove it Index: Rules.make.in =================================================================== RCS file: /cvsroot/oprofile/oprofile/Rules.make.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Rules.make.in 2001/12/12 02:27:27 1.3 +++ Rules.make.in 2001/12/31 06:37:26 1.4 @@ -16,15 +16,18 @@ # autodeps rules. These are modified from an example in the make info page. CPPFLAGS_DEPS = -I@KINC@ @extra_includes@ -%.cpp.d: %.cpp +.deps/%.cpp.d: %.cpp + @$(MKDIR_P) .deps @set -e; \ $(CXX) $(CPPFLAGS_DEPS) -MM $< | sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' > $@; \ - [ -s $@ ] || rm -f $@ + [ -s $@ ] || rm -f $@ ; -%.c.d: %.c +.deps/%.c.d: %.c + @$(MKDIR_P) .deps @set -e; \ $(CC) $(CPPFLAGS_DEPS) -MM $< | sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' > $@; \ - [ -s $@ ] || rm -f $@ + [ -s $@ ] || rm -f $@ ; -# a gnu make extension :/ --include $(ALL_SOURCES:=.d) +# include the dependency files +DEPFILES=$(ALL_SOURCES:=.d) +-include $(DEPFILES:%=.deps/%) Index: TODO =================================================================== RCS file: /cvsroot/oprofile/oprofile/TODO,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- TODO 2001/12/31 05:53:47 1.40 +++ TODO 2001/12/31 06:37:26 1.41 @@ -4,7 +4,9 @@ o add docs for separate samples in extra features (more depth on how to use it ...) -o move the .d files out of the way !! (and add them to the .cvsignore files) +o clean shutdown via SIGUSR1 + +o test test test Later ----- |