gui/Makefile.am
author alpar
Thu, 02 Feb 2006 08:52:20 +0000
changeset 1941 9fe177e0437d
parent 1876 5ad84ad1b68f
child 2012 224cd6aacfc1
permissions -rw-r--r--
The version tag of the trunk is svn-head
     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 	mapselector.cc \
    31 	mapselector.h \
    32 	nbtab.h \
    33 	nbtab.cc \
    34 	new_map_win.cc \
    35 	new_map_win.h \
    36 	xymap.h \
    37 	gui_reader.h \
    38 	gui_reader.cc \
    39 	gui_writer.h \
    40 	gui_writer.cc \
    41 	xml.h \
    42 	guipixbufs.h
    43 
    44 glemon_CXXFLAGS = $(GTK_CFLAGS)
    45 glemon_LDFLAGS = $(GTK_LIBS)
    46 
    47 IMAGES = \
    48 	icons/addlink.png \
    49 	icons/addnode.png \
    50 	icons/delete.png \
    51 	icons/editlink.png \
    52 	icons/editnode.png \
    53 	icons/move.png \
    54 	icons/newmap.png
    55 
    56 VARIABLES = \
    57 	gui_icons_addlink $(srcdir)/icons/addlink.png \
    58 	gui_icons_addnode $(srcdir)/icons/addnode.png \
    59 	gui_icons_delete $(srcdir)/icons/delete.png \
    60 	gui_icons_editlink $(srcdir)/icons/editlink.png \
    61 	gui_icons_editnode $(srcdir)/icons/editnode.png \
    62 	gui_icons_move $(srcdir)/icons/move.png \
    63 	gui_icons_newmap $(srcdir)/icons/newmap.png
    64 
    65 guipixbufs.h: $(IMAGES)
    66 	gdk-pixbuf-csource \
    67 	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
    68 	( rm -f guipixbufs.h && false )
    69 
    70 EXTRA_DIST = $(IMAGES) guipixbufs.h