gui/Makefile.am
changeset 1869 52f5a7f9fb48
parent 1861 5f204c7a1318
child 1876 5ad84ad1b68f
equal deleted inserted replaced
18:c5a1182b1f87 19:342c0186a55c
     1 SUBDIRS = icons
       
     2 
       
     3 AM_CPPFLAGS = -I$(top_srcdir)
     1 AM_CPPFLAGS = -I$(top_srcdir)
     4 LDADD = $(top_builddir)/lemon/libemon.la
     2 LDADD = $(top_builddir)/lemon/libemon.la
     5 
     3 
     6 
       
     7 bin_PROGRAMS = glemon
     4 bin_PROGRAMS = glemon
       
     5 BUILT_SOURCES = guipixbufs.h
       
     6 CLEANFILES = guipixbufs.h
     8 
     7 
     9 glemon_SOURCES = \
     8 glemon_SOURCES = \
    10 	all_include.h \
     9 	all_include.h \
    11 	gdc-broken_edge.cc \
    10 	gdc-broken_edge.cc \
    12 	graph_displayer_canvas.cc \
    11 	graph_displayer_canvas.cc \
    31 	gui_reader.h \
    30 	gui_reader.h \
    32 	gui_reader.cc \
    31 	gui_reader.cc \
    33 	gui_writer.h \
    32 	gui_writer.h \
    34 	gui_writer.cc \
    33 	gui_writer.cc \
    35 	xml.h \
    34 	xml.h \
    36 	icons/guipixbufs.h
    35 	guipixbufs.h
    37 
       
    38 
    36 
    39 glemon_CXXFLAGS = $(GTK_CFLAGS)
    37 glemon_CXXFLAGS = $(GTK_CFLAGS)
    40 glemon_LDFLAGS = $(GTK_LIBS)
    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