YFLAGS += -d -t
CFLAGS += @GNOME_SUPPORT@ -DLIBRARY_DIR=\""$(datadir)/canvas/"\"

SUBDIRS = xpm

INCLUDES = \
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
	-DLOCALEDIR=\"$(datadir)/locale\" 		\
	-I$(includedir) 				\
	$(GNOME_INCLUDEDIR)				\
	$(EXTRA_GNOME_CFLAGS)

noinst_LIBRARIES = libcanvas.a

libcanvas_a_SOURCES = \
	mp_stack_entry.h \
	canvas_item.h \
        canvas.cc canvas.h\
        plot_3d.cc plot_3d.h\
        mp_equation.cc mp_equation.h\
	plot_w.cpp plot_w.h \
        plot_h.cc plot_h.h \
        plot_item.cpp plot_item.h \
        function.cpp function.h \
        dataset.cpp dataset.h \
        palette.cpp palette.h \
        colorarea.c colorarea.h \
        curvefit.c curvefit.h \
        dialog.c dialog.h \
        gtkplot.c gtkplot.h \
        gtkplotlayout.c gtkplotlayout.h \
        gtkplotcanvas.c gtkplotcanvas.h \
        gtkpsfont.c gtkpsfont.h \
        gtkplotps.c gtkplotps.h \
        gtkplotpc.c gtkplotpc.h \
        gtkplotprint.c gtkplotprint.h \
        gtksheet.c gtksheet.h \
        gtkitementry.c gtkitementry.h

CLEANFILES += $(BUILT_SOURCES)

EXTRA_DIST = TODO mp_parser.c

