diff libinterp/corefcn/module.mk @ 17797:06a850f83dd4

build: Remove embedded gl2ps. Require gl2ps as external dependency. * NEWS: Announce that gl2ps is no longer distributed with Octave. * build-aux/common.mk: New AC_SUBST macro GL2PS_LIBS. * configure.ac: When building native graphics, test for gl2ps.h header. If not found, print a warning and disable printing of FLTK figures. * libinterp/corefcn/gl2ps-renderer.cc, libinterp/corefcn/gl2ps-renderer.h: Only compile files if HAVE_GL2PS_H is true. * libinterp/dldfcn/__init_fltk__.cc(draw): Use #ifdef HAVE_GL2PS_H to either print figure, or issue a warning when gl2ps is not available. * libinterp/link-deps.mk: Add GL2PS_LIBS to libinter link dependencies * libinterp/corefcn/module.mk: Remove gl2ps.h, gl2ps.c from build system. * libinterp/corefcn/gl2ps.c, libinterp/corefcn/gl2ps.h: Removed from distribution.
author Rik <rik@octave.org>
date Tue, 29 Oct 2013 15:16:23 -0700
parents 0946b0e06544
children e6317049225b
line wrap: on
line diff
--- a/libinterp/corefcn/module.mk	Tue Oct 29 16:29:46 2013 -0400
+++ b/libinterp/corefcn/module.mk	Tue Oct 29 15:16:23 2013 -0700
@@ -1,7 +1,6 @@
 EXTRA_DIST += \
   corefcn/module.mk \
   corefcn/defaults.in.h \
-  corefcn/gl2ps.c \
   corefcn/graphics.in.h \
   corefcn/mxarray.in.h \
   corefcn/oct-errno.in.cc \
@@ -60,7 +59,6 @@
   corefcn/file-io.h \
   corefcn/gl-render.h \
   corefcn/gl2ps-renderer.h \
-  corefcn/gl2ps.h \
   corefcn/gripes.h \
   corefcn/help.h \
   corefcn/hook-fcn.h \
@@ -130,8 +128,7 @@
 C_COREFCN_SRC = \
   corefcn/cutils.c \
   corefcn/matherr.c \
-  corefcn/siglist.c \
-  corefcn/xgl2ps.c
+  corefcn/siglist.c
 
 COREFCN_SRC = \
   corefcn/Cell.cc \