
pkglib_LTLIBRARIES=libmdcanvas.la libmdcanvasgtk.la

#AM_CXXFLAGS=-finstrument-functions -D___TRACE 

# precompiled headers dont help in this
#BUILT_SOURCES=mdc_prefix.h.gch


libmdcanvas_la_SOURCES=\
	mdc_algorithms.cpp\
	mdc_area_group.cpp\
	mdc_back_layer.cpp\
	mdc_bounds_magnet.cpp\
	mdc_box.cpp\
	mdc_box_handle.cpp\
	mdc_button.cpp\
	mdc_canvas_item.cpp\
	mdc_canvas_view.cpp\
	mdc_canvas_view_image.cpp\
	mdc_canvas_view_x11.cpp\
	mdc_canvas_view_opengl.cpp\
	mdc_canvas_view_printing.cpp\
	mdc_canvas_view_glx.cpp\
	mdc_common.cpp\
	mdc_connector.cpp\
	mdc_draw_util.cpp\
	mdc_figure.cpp\
	mdc_group.cpp\
	mdc_icon_text.cpp\
	mdc_interaction_layer.cpp\
	mdc_item_handle.cpp\
	mdc_layer.cpp\
	mdc_layouter.cpp\
	mdc_line.cpp\
	mdc_magnet.cpp\
	mdc_image.cpp\
	mdc_rectangle.cpp\
	mdc_selection.cpp\
	mdc_text.cpp\
	mdc_vertex_handle.cpp\
	mdc_image_manager.cpp\
	mdc_orthogonal_line_layouter.cpp\
	mdc_line_segment_handle.cpp\
	mdc_box_side_magnet.cpp

libmdcanvasgtk_la_SOURCES=\
	gtk/mdc_gtk_canvas_view.cpp\
	gtk/mdc_gtk_canvas_scroller.cpp

libmdcanvas_la_LIBADD=@CAIRO_LIBS@
libmdcanvasgtk_la_LIBADD=@CAIRO_LIBS@ @GNOME_LIBS@

INCLUDES=@CAIRO_CFLAGS@ @GNOME_CFLAGS@ \
         -I$(top_srcdir)/backend \
         -I$(top_srcdir)/library/base

#mdc_prefix.h.gch: mdc_prefix.h
#	$(CXX) $< $(INCLUDES) -o $@

