Makefile.am
branchgui
changeset 77 ba023627ff1a
parent 73 d6cf8c9626aa
child 81 5ad61c33487c
equal deleted inserted replaced
14:b2bb3e4d3d62 15:3a6b88557f0d
       
     1 SUBDIRS = icons
       
     2 
     1 AM_CPPFLAGS = -I$(top_srcdir)
     3 AM_CPPFLAGS = -I$(top_srcdir)
     2 LDADD = $(top_builddir)/lemon/libemon.la
     4 LDADD = $(top_builddir)/lemon/libemon.la
     3 
     5 
     4 
       
     5 noinst_DATA = guipixbufs.h
       
     6 CLEANFILES = $(noinst_DATA)
       
     7 
     6 
     8 bin_PROGRAMS = glemon
     7 bin_PROGRAMS = glemon
     9 
     8 
    10 glemon_SOURCES = \
     9 glemon_SOURCES = \
    11 	all_include.h \
    10 	all_include.h \
    25 	broken_edge.cc \
    24 	broken_edge.cc \
    26 	broken_edge.h \
    25 	broken_edge.h \
    27 	new_map_win.cc \
    26 	new_map_win.cc \
    28 	new_map_win.h \
    27 	new_map_win.h \
    29 	xymap.h \
    28 	xymap.h \
    30 	guipixbufs.h
    29 	icons/guipixbufs.h
    31 
    30 
    32 glemon_CXXFLAGS = $(GTK_CFLAGS)
    31 glemon_CXXFLAGS = $(GTK_CFLAGS)
    33 glemon_LDFLAGS = $(GTK_LIBS)
    32 glemon_LDFLAGS = $(GTK_LIBS)
    34 
       
    35 IMAGES = addlink.png addnode.png delete.png \
       
    36 	editlink.png editnode.png move.png newmap.png
       
    37 
       
    38 VARIABLES = \
       
    39 	gui_icons_addlink $(srcdir)/addlink.png \
       
    40 	gui_icons_addnode $(srcdir)/addnode.png \
       
    41 	gui_icons_delete $(srcdir)/delete.png \
       
    42 	gui_icons_editlink $(srcdir)/editlink.png \
       
    43 	gui_icons_editnode $(srcdir)/editnode.png \
       
    44 	gui_icons_move $(srcdir)/move.png \
       
    45 	gui_icons_newmap $(srcdir)/newmap.png
       
    46 
       
    47 
       
    48 guipixbufs.h: $(IMAGES)
       
    49 	gdk-pixbuf-csource \
       
    50 	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
       
    51 	( rm -f guipixbufs.h && false )
       
    52 
       
    53 EXTRA_DIST = $(IMAGES) guipixbufs.h