Makefile.am
author ladanyi
Tue, 23 Aug 2005 15:57:12 +0000
branchgui
changeset 64 7a32d528857f
parent 60 3e58623c588d
child 71 bac3c363639e
permissions -rw-r--r--
- handle the case when there is no id map in the edgeset section
- do not use ListGraph.id() to determine the id of a new node/edge
     1 AM_CPPFLAGS = -I$(top_srcdir)
     2 LDADD = $(top_builddir)/lemon/libemon.la
     3 
     4 
     5 noinst_DATA = guipixbufs.h
     6 CLEANFILES = $(noinst_DATA)
     7 
     8 bin_PROGRAMS = gd
     9 
    10 gd_SOURCES = \
    11 	all_include.h \
    12 	graph_displayer_canvas.cc \
    13 	graph_displayer_canvas-edge.cc \
    14 	graph_displayer_canvas-node.cc \
    15 	graph_displayer_canvas-event.cc \
    16 	graph_displayer_canvas-zoom.cc \
    17 	graph_displayer_canvas.h \
    18 	graph-displayer.cc \
    19 	main_win.cc \
    20 	main_win.h \
    21 	mapstorage.cc \
    22 	mapstorage.h \
    23 	map_win.cc \
    24 	map_win.h \
    25 	broken_edge.cc \
    26 	broken_edge.h \
    27 	new_map_win.cc \
    28 	new_map_win.h \
    29 	xymap.h
    30 
    31 gd_CXXFLAGS = $(GTK_CFLAGS)
    32 gd_LDFLAGS = $(GTK_LIBS)
    33 
    34 IMAGES = addlink.png addnode.png delete.png \
    35 	editlink.png editnode.png move.png newmap.png
    36 
    37 VARIABLES = \
    38 	gui_icons_addlink $(srcdir)/addlink.png \
    39 	gui_icons_addnode $(srcdir)/addnode.png \
    40 	gui_icons_delete $(srcdir)/delete.png \
    41 	gui_icons_editlink $(srcdir)/editlink.png \
    42 	gui_icons_editnode $(srcdir)/editnode.png \
    43 	gui_icons_move $(srcdir)/move.png \
    44 	gui_icons_newmap $(srcdir)/newmap.png
    45 
    46 
    47 guipixbufs.h: $(IMAGES)
    48 	gdk-pixbuf-csource \
    49 	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
    50 	( rm -f guipixbufs.h && false )
    51 
    52 EXTRA_DIST = $(IMAGES) guipixbufs.h