Mercurial > hg > octave-nkf
changeset 7946:ebe275f82bd5
src/Makefile.in (EXTRAS): Add graphics.cc to the list
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Jul 2008 16:25:12 -0400 |
parents | 456578a22388 |
children | c2d50b69b19f |
files | src/ChangeLog src/Makefile.in |
diffstat | 2 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-07-18 John W. Eaton <jwe@octave.org> + + * Makefile.in (EXTRAS): Add graphics-props.cc to the list. + List graphics-props.cc as a target generated by genprops.awk. + 2008-07-18 Carlo de Falco <carlo.defalco@gmail.com> * gl-render.h: Conditionally include GL/gl.h or OpenGL/gl.h
--- a/src/Makefile.in +++ b/src/Makefile.in @@ -218,7 +218,7 @@ BUILT_EXTRAS := graphics.h mxarray.h -EXTRAS := ov-base-int.cc ov-base-mat.cc ov-base-scalar.cc +EXTRAS := ov-base-int.cc ov-base-mat.cc ov-base-scalar.cc graphics-props.cc EXTRA_OBJECTS := oct-errno.o octave.o builtins.o ops.o @@ -383,10 +383,12 @@ @$(srcdir)/mkbuiltins def-files > $@-t @mv $@-t $@ -graphics.h: graphics.h.in genprops.awk - @echo making $@ - @$(AWK) -f $(srcdir)/genprops.awk $< > $@-t - @mv $@-t $@ +## FIXME -- maybe genprops.awk should write both output files? +## Or maybe there should be separate commands to generate each file? +graphics.h graphics-props.cc: graphics.h.in genprops.awk + @echo making graphics.h and graphics-props.cc + @$(AWK) -f $(srcdir)/genprops.awk $< > graphics.h-t + @mv graphics.h-t graphics.h PKG_ADD: $(DLD_DEF_FILES) $(srcdir)/mk-pkg-add $(DLD_DEF_FILES) > $@-t