# HG changeset patch # User John W. Eaton # Date 1216069392 14400 # Node ID 0487e46da18e8c5b0cd0a083b679da3ad49ffc6d # Parent d74f996e005ddf71eb1f197ad281dd47945f0ded src/Makefile.in: simplify with target-specific variable settings diff -r d74f996e005d -r 0487e46da18e src/ChangeLog --- a/src/ChangeLog Mon Jul 14 16:00:09 2008 -0400 +++ b/src/ChangeLog Mon Jul 14 17:03:12 2008 -0400 @@ -1,5 +1,9 @@ 2008-07-14 John W. Eaton + * Makefile.in (convhulln.oct, __delaunayn__.oct, __voronoi__.oct, + regexp.oct, urlwrite.oct, __glpk__.oct, fltk_backend.oct): + Simplify with target-specific settings for DL_LDFLAGS. + * DLD-FUNCTIONS/__magick_read__.cc: Delete "using namespace std" and "using namespace Magick" directives. Style fixes. diff -r d74f996e005d -r 0487e46da18e src/Makefile.in --- a/src/Makefile.in Mon Jul 14 16:00:09 2008 -0400 +++ b/src/Makefile.in Mon Jul 14 17:03:12 2008 -0400 @@ -629,41 +629,13 @@ __magick_read__.o pic/__magick_read__.o: CPPFLAGS += $(MAGICK_INCFLAGS) __magick_read__.oct: DL_LDFLAGS += $(MAGICK_LIBS) -# How to make a .oct file from a .o file: - -ifeq ($(ENABLE_DYNAMIC_LINKING), true) - ifdef CXXPICFLAG - convhulln.oct : pic/convhulln.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) - __delaunayn__.oct : pic/__delaunayn__.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) - __voronoi__.oct : pic/__voronoi__.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) - regexp.oct : pic/regexp.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(REGEX_LIBS) - urlwrite.oct : pic/urlwrite.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(CURL_LIBS) - __glpk__.oct : pic/__glpk__.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GLPK_LIBS) - fltk_backend.oct : pic/fltk_backend.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GRAPHICS_LIBS) $(FT2_LIBS) - else - convhulln.oct : convhulln.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) - __delaunayn__.oct : __delaunayn__.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) - __voronoi__.oct : __voronoi__.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) - regexp.oct : regexp.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(REGEX_LIBS) - urlwrite.oct : urlwrite.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(CURL_LIBS) - __glpk__.oct : __glpk__.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GLPK_LIBS) - fltk_backend.oct : fltk_backend.o octave$(EXEEXT) - $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GRAPHICS_LIBS) $(FT2_LIBS) - endif -endif +convhulln.oct: DL_LDFLAGS += $(QHULL_LIBS) +__delaunayn__.oct: DL_LDFLAGS += $(QHULL_LIBS) +__voronoi__.oct: DL_LDFLAGS += $(QHULL_LIBS) +regexp.oct: DL_LDFLAGS += $(REGEX_LIBS) +urlwrite.oct: DL_LDFLAGS += $(CURL_LIBS) +__glpk__.oct: DL_LDFLAGS += $(GLPK_LIBS) +fltk_backend.oct: DL_LDFLAGS += $(GRAPHICS_LIBS) $(FT2_LIBS) check: all .PHONY: check