gui/Makefile.am
author ladanyi
Fri, 14 Apr 2006 18:31:16 +0000
changeset 2052 c54ce7a5f4e7
parent 2043 54f80cf6ac86
permissions -rw-r--r--
some reorganization
     1 AM_CPPFLAGS = -I$(top_srcdir) -DLOCALEDIR=\""$(datadir)/locale"\"
     2 LDADD = $(top_builddir)/lemon/libemon.la
     3 
     4 bin_PROGRAMS = glemon
     5 BUILT_SOURCES = guipixbufs.h
     6 CLEANFILES = guipixbufs.h
     7 
     8 glemon_SOURCES = \
     9 	all_include.h \
    10 	algobox.cc \
    11 	algobox.h \
    12 	algowin.cc \
    13 	algowin.h \
    14 	gdc-broken_edge.cc \
    15 	graph_displayer_canvas.cc \
    16 	graph_displayer_canvas.h \
    17 	graph_displayer_canvas-edge.cc \
    18 	graph_displayer_canvas-event.cc \
    19 	graph_displayer_canvas-node.cc \
    20 	graph_displayer_canvas-zoom.cc \
    21 	graph-displayer.cc \
    22 	kruskalbox.cc \
    23 	kruskalbox.h \
    24 	main_win.cc \
    25 	main_win.h \
    26 	mapstorage.cc \
    27 	mapstorage.h \
    28 	map_win.cc \
    29 	map_win.h \
    30 	mapselector.cc \
    31 	mapselector.h \
    32 	nbtab.h \
    33 	nbtab.cc \
    34 	new_map_win.cc \
    35 	new_map_win.h \
    36 	xymap.h \
    37 	gui_reader.h \
    38 	gui_reader.cc \
    39 	gui_writer.h \
    40 	gui_writer.cc \
    41 	xml.h \
    42 	guipixbufs.h \
    43 	i18n.h \
    44 	gettext.h
    45 
    46 glemon_CXXFLAGS = $(GTK_CFLAGS)
    47 glemon_LDFLAGS = $(GTK_LIBS)
    48 glemon_LDADD = $(LIBINTL)
    49 
    50 IMAGES = \
    51 	icons/addlink.png \
    52 	icons/addnode.png \
    53 	icons/delete.png \
    54 	icons/editlink.png \
    55 	icons/editnode.png \
    56 	icons/move.png \
    57 	icons/newmap.png
    58 
    59 VARIABLES = \
    60 	gui_icons_addlink $(srcdir)/icons/addlink.png \
    61 	gui_icons_addnode $(srcdir)/icons/addnode.png \
    62 	gui_icons_delete $(srcdir)/icons/delete.png \
    63 	gui_icons_editlink $(srcdir)/icons/editlink.png \
    64 	gui_icons_editnode $(srcdir)/icons/editnode.png \
    65 	gui_icons_move $(srcdir)/icons/move.png \
    66 	gui_icons_newmap $(srcdir)/icons/newmap.png
    67 
    68 guipixbufs.h: $(IMAGES)
    69 	gdk-pixbuf-csource \
    70 	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
    71 	( rm -f guipixbufs.h && false )
    72 
    73 EXTRA_DIST = $(IMAGES) guipixbufs.h