gui/Makefile.am
author deba
Mon, 19 Dec 2005 09:47:10 +0000
changeset 1865 dcefd1d1377f
parent 1861 5f204c7a1318
child 1876 5ad84ad1b68f
permissions -rw-r--r--
Doc fix
     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 	gdc-broken_edge.cc \
    11 	graph_displayer_canvas.cc \
    12 	graph_displayer_canvas.h \
    13 	graph_displayer_canvas-edge.cc \
    14 	graph_displayer_canvas-event.cc \
    15 	graph_displayer_canvas-node.cc \
    16 	graph_displayer_canvas-zoom.cc \
    17 	graph-displayer.cc \
    18 	main_win.cc \
    19 	main_win.h \
    20 	mapstorage.cc \
    21 	mapstorage.h \
    22 	map_win.cc \
    23 	map_win.h \
    24 	mw-mapselector.cc \
    25 	nbtab.h \
    26 	nbtab.cc \
    27 	new_map_win.cc \
    28 	new_map_win.h \
    29 	xymap.h \
    30 	gui_reader.h \
    31 	gui_reader.cc \
    32 	gui_writer.h \
    33 	gui_writer.cc \
    34 	xml.h \
    35 	guipixbufs.h
    36 
    37 glemon_CXXFLAGS = $(GTK_CFLAGS)
    38 glemon_LDFLAGS = $(GTK_LIBS)
    39 
    40 IMAGES = \
    41 	icons/addlink.png \
    42 	icons/addnode.png \
    43 	icons/delete.png \
    44 	icons/editlink.png \
    45 	icons/editnode.png \
    46 	icons/move.png \
    47 	icons/newmap.png
    48 
    49 VARIABLES = \
    50 	gui_icons_addlink $(srcdir)/icons/addlink.png \
    51 	gui_icons_addnode $(srcdir)/icons/addnode.png \
    52 	gui_icons_delete $(srcdir)/icons/delete.png \
    53 	gui_icons_editlink $(srcdir)/icons/editlink.png \
    54 	gui_icons_editnode $(srcdir)/icons/editnode.png \
    55 	gui_icons_move $(srcdir)/icons/move.png \
    56 	gui_icons_newmap $(srcdir)/icons/newmap.png
    57 
    58 guipixbufs.h: $(IMAGES)
    59 	gdk-pixbuf-csource \
    60 	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
    61 	( rm -f guipixbufs.h && false )
    62 
    63 EXTRA_DIST = $(IMAGES) guipixbufs.h