gui/Makefile.am
changeset 1642 a2dda876316f
parent 1634 910b1bcb7d05
child 1653 9955e7ec7e89
equal deleted inserted replaced
9:71a7be1ff1aa 10:82b5f2102d5e
     1 AM_CPPFLAGS = -I$(top_srcdir)
     1 AM_CPPFLAGS = -I$(top_srcdir)
     2 LDADD = $(top_builddir)/lemon/libemon.la
     2 LDADD = $(top_builddir)/lemon/libemon.la
       
     3 
       
     4 
       
     5 noinst_DATA = guipixbufs.h
       
     6 CLEANFILES = $(noinst_DATA)
     3 
     7 
     4 bin_PROGRAMS = gd
     8 bin_PROGRAMS = gd
     5 
     9 
     6 gd_SOURCES = \
    10 gd_SOURCES = \
     7 	all_include.h \
    11 	all_include.h \
    24 	new_map_win.h \
    28 	new_map_win.h \
    25 	xymap.h
    29 	xymap.h
    26 
    30 
    27 gd_CXXFLAGS = $(GTK_CFLAGS)
    31 gd_CXXFLAGS = $(GTK_CFLAGS)
    28 gd_LDFLAGS = $(GTK_LIBS)
    32 gd_LDFLAGS = $(GTK_LIBS)
    29 gd_CPPFLAGS = -DDATADIR=\"$(datadir)\"
       
    30 
    33 
    31 pixmapdir = $(datadir)/pixmaps/gd
    34 IMAGES = addlink.png addnode.png delete.png \
       
    35 	editlink.png editnode.png move.png newmap.png
    32 
    36 
    33 pixmap_DATA =
    37 VARIABLES = \
    34 	addlink.png \
    38 	gui_icons_addlink $(srcdir)/addlink.png \
    35 	addnode.png \
    39 	gui_icons_addnode $(srcdir)/addnode.png \
    36 	delete.png \
    40 	gui_icons_delete $(srcdir)/delete.png \
    37 	editlink.png \
    41 	gui_icons_editlink $(srcdir)/editlink.png \
    38 	editnode.png \
    42 	gui_icons_editnode $(srcdir)/editnode.png \
    39 	move.png \
    43 	gui_icons_move $(srcdir)/move.png \
    40 	newmap.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