AM_CPPFLAGS = -I$(top_srcdir) LDADD = $(top_builddir)/lemon/libemon.la noinst_DATA = guipixbufs.h CLEANFILES = $(noinst_DATA) bin_PROGRAMS = gd gd_SOURCES = \ all_include.h \ graph_displayer_canvas.cc \ graph_displayer_canvas-edge.cc \ graph_displayer_canvas-node.cc \ graph_displayer_canvas-event.cc \ graph_displayer_canvas-zoom.cc \ graph_displayer_canvas.h \ graph-displayer.cc \ main_win.cc \ main_win.h \ mapstorage.cc \ mapstorage.h \ map_win.cc \ map_win.h \ broken_edge.cc \ broken_edge.h \ new_map_win.cc \ new_map_win.h \ xymap.h gd_CXXFLAGS = $(GTK_CFLAGS) gd_LDFLAGS = $(GTK_LIBS) IMAGES = addlink.png addnode.png delete.png \ editlink.png editnode.png move.png newmap.png VARIABLES = \ gui_icons_addlink $(srcdir)/addlink.png \ gui_icons_addnode $(srcdir)/addnode.png \ gui_icons_delete $(srcdir)/delete.png \ gui_icons_editlink $(srcdir)/editlink.png \ gui_icons_editnode $(srcdir)/editnode.png \ gui_icons_move $(srcdir)/move.png \ gui_icons_newmap $(srcdir)/newmap.png guipixbufs.h: $(IMAGES) gdk-pixbuf-csource \ --raw --build-list $(VARIABLES) > guipixbufs.h || \ ( rm -f guipixbufs.h && false ) EXTRA_DIST = $(IMAGES) guipixbufs.h