comparison src/Makefile.in @ 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 bf4a04ebff21
children c2d50b69b19f
comparison
equal deleted inserted replaced
7945:456578a22388 7946:ebe275f82bd5
216 216
217 SOURCES := $(DIST_SRC) $(OP_SRC) $(TI_SRC) 217 SOURCES := $(DIST_SRC) $(OP_SRC) $(TI_SRC)
218 218
219 BUILT_EXTRAS := graphics.h mxarray.h 219 BUILT_EXTRAS := graphics.h mxarray.h
220 220
221 EXTRAS := ov-base-int.cc ov-base-mat.cc ov-base-scalar.cc 221 EXTRAS := ov-base-int.cc ov-base-mat.cc ov-base-scalar.cc graphics-props.cc
222 222
223 EXTRA_OBJECTS := oct-errno.o octave.o builtins.o ops.o 223 EXTRA_OBJECTS := oct-errno.o octave.o builtins.o ops.o
224 224
225 INCLUDES_FOR_INSTALL := $(INCLUDES) $(EXTRAS) $(BUILT_EXTRAS) 225 INCLUDES_FOR_INSTALL := $(INCLUDES) $(EXTRAS) $(BUILT_EXTRAS)
226 226
381 @echo DEF_FILES = $(DEF_FILES) 381 @echo DEF_FILES = $(DEF_FILES)
382 @echo $(DEF_FILES) > def-files 382 @echo $(DEF_FILES) > def-files
383 @$(srcdir)/mkbuiltins def-files > $@-t 383 @$(srcdir)/mkbuiltins def-files > $@-t
384 @mv $@-t $@ 384 @mv $@-t $@
385 385
386 graphics.h: graphics.h.in genprops.awk 386 ## FIXME -- maybe genprops.awk should write both output files?
387 @echo making $@ 387 ## Or maybe there should be separate commands to generate each file?
388 @$(AWK) -f $(srcdir)/genprops.awk $< > $@-t 388 graphics.h graphics-props.cc: graphics.h.in genprops.awk
389 @mv $@-t $@ 389 @echo making graphics.h and graphics-props.cc
390 @$(AWK) -f $(srcdir)/genprops.awk $< > graphics.h-t
391 @mv graphics.h-t graphics.h
390 392
391 PKG_ADD: $(DLD_DEF_FILES) 393 PKG_ADD: $(DLD_DEF_FILES)
392 $(srcdir)/mk-pkg-add $(DLD_DEF_FILES) > $@-t 394 $(srcdir)/mk-pkg-add $(DLD_DEF_FILES) > $@-t
393 @mv $@-t $@ 395 @mv $@-t $@
394 396