gui/Makefile.am
author hegyi
Thu, 05 Jan 2006 16:54:34 +0000
changeset 1879 01d41844ef46
parent 1862 d47ebd34e581
child 1882 2c3f6c7e01b4
permissions -rw-r--r--
Kruskal algorithm can be run from GUI from now on.
     1 AM_CPPFLAGS = -I$(top_srcdir)
     2 LDADD = $(top_builddir)/lemon/libemon.la
     3 
     4 bin_PROGRAMS = glemon
     5 BUILT_SOURCES = guipixbufs.h
     6 CLEANFILES = guipixbufs.h
     7 
     8 glemon_SOURCES = \
     9 	all_include.h \
    10 	algobox.cc \
    11 	algobox.h \
    12 	algowin.cc \
    13 	algowin.h \
    14 	gdc-broken_edge.cc \
    15 	graph_displayer_canvas.cc \
    16 	graph_displayer_canvas.h \
    17 	graph_displayer_canvas-edge.cc \
    18 	graph_displayer_canvas-event.cc \
    19 	graph_displayer_canvas-node.cc \
    20 	graph_displayer_canvas-zoom.cc \
    21 	graph-displayer.cc \
    22 	kruskalbox.cc \
    23 	kruskalbox.h \
    24 	main_win.cc \
    25 	main_win.h \
    26 	mapstorage.cc \
    27 	mapstorage.h \
    28 	map_win.cc \
    29 	map_win.h \
    30 	mw-mapselector.cc \
    31 	nbtab.h \
    32 	nbtab.cc \
    33 	new_map_win.cc \
    34 	new_map_win.h \
    35 	xymap.h \
    36 	gui_reader.h \
    37 	gui_reader.cc \
    38 	gui_writer.h \
    39 	gui_writer.cc \
    40 	xml.h \
    41 	guipixbufs.h
    42 
    43 glemon_CXXFLAGS = $(GTK_CFLAGS)
    44 glemon_LDFLAGS = $(GTK_LIBS)
    45 
    46 IMAGES = \
    47 	icons/addlink.png \
    48 	icons/addnode.png \
    49 	icons/delete.png \
    50 	icons/editlink.png \
    51 	icons/editnode.png \
    52 	icons/move.png \
    53 	icons/newmap.png
    54 
    55 VARIABLES = \
    56 	gui_icons_addlink $(srcdir)/icons/addlink.png \
    57 	gui_icons_addnode $(srcdir)/icons/addnode.png \
    58 	gui_icons_delete $(srcdir)/icons/delete.png \
    59 	gui_icons_editlink $(srcdir)/icons/editlink.png \
    60 	gui_icons_editnode $(srcdir)/icons/editnode.png \
    61 	gui_icons_move $(srcdir)/icons/move.png \
    62 	gui_icons_newmap $(srcdir)/icons/newmap.png
    63 
    64 guipixbufs.h: $(IMAGES)
    65 	gdk-pixbuf-csource \
    66 	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
    67 	( rm -f guipixbufs.h && false )
    68 
    69 EXTRA_DIST = $(IMAGES) guipixbufs.h