Makefile.am
author alpar
Wed, 04 Jan 2006 13:31:59 +0000
branchgui
changeset 105 9e78d14fd0ba
parent 99 2842e7d8f9a2
child 106 853dd852abc7
permissions -rw-r--r--
Happy new year to LEMON
     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