gui/Makefile.am
changeset 1688 61ce46476787
parent 1656 79a0e02f5516
child 1731 616bc933c2bc
equal deleted inserted replaced
12:a60a1396c93b 13:c4d9ad247b19
       
     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