gui/Makefile.am
author hegyi
Tue, 03 Jan 2006 14:56:45 +0000
changeset 1869 52f5a7f9fb48
parent 1861 5f204c7a1318
child 1876 5ad84ad1b68f
permissions -rw-r--r--
Handling of tabs is rationalized a bit. More than one file can be given at startup in command prompt. If there is no file given in command prompt, an empty tab will be present at startup.
ladanyi@1435
     1
AM_CPPFLAGS = -I$(top_srcdir)
ladanyi@1435
     2
LDADD = $(top_builddir)/lemon/libemon.la
ladanyi@1412
     3
alpar@1653
     4
bin_PROGRAMS = glemon
ladanyi@1862
     5
BUILT_SOURCES = guipixbufs.h
ladanyi@1862
     6
CLEANFILES = guipixbufs.h
ladanyi@1412
     7
alpar@1653
     8
glemon_SOURCES = \
ladanyi@1412
     9
	all_include.h \
hegyi@1849
    10
	gdc-broken_edge.cc \
ladanyi@1412
    11
	graph_displayer_canvas.cc \
hegyi@1849
    12
	graph_displayer_canvas.h \
hegyi@1510
    13
	graph_displayer_canvas-edge.cc \
hegyi@1849
    14
	graph_displayer_canvas-event.cc \
hegyi@1512
    15
	graph_displayer_canvas-node.cc \
hegyi@1510
    16
	graph_displayer_canvas-zoom.cc \
ladanyi@1412
    17
	graph-displayer.cc \
ladanyi@1412
    18
	main_win.cc \
ladanyi@1412
    19
	main_win.h \
ladanyi@1412
    20
	mapstorage.cc \
ladanyi@1412
    21
	mapstorage.h \
ladanyi@1412
    22
	map_win.cc \
hegyi@1468
    23
	map_win.h \
hegyi@1819
    24
	mw-mapselector.cc \
hegyi@1849
    25
	nbtab.h \
hegyi@1849
    26
	nbtab.cc \
hegyi@1592
    27
	new_map_win.cc \
ladanyi@1606
    28
	new_map_win.h \
alpar@1656
    29
	xymap.h \
ladanyi@1860
    30
	gui_reader.h \
ladanyi@1860
    31
	gui_reader.cc \
ladanyi@1860
    32
	gui_writer.h \
ladanyi@1860
    33
	gui_writer.cc \
ladanyi@1861
    34
	xml.h \
ladanyi@1862
    35
	guipixbufs.h
ladanyi@1412
    36
alpar@1653
    37
glemon_CXXFLAGS = $(GTK_CFLAGS)
alpar@1653
    38
glemon_LDFLAGS = $(GTK_LIBS)
ladanyi@1862
    39
ladanyi@1862
    40
IMAGES = \
ladanyi@1862
    41
	icons/addlink.png \
ladanyi@1862
    42
	icons/addnode.png \
ladanyi@1862
    43
	icons/delete.png \
ladanyi@1862
    44
	icons/editlink.png \
ladanyi@1862
    45
	icons/editnode.png \
ladanyi@1862
    46
	icons/move.png \
ladanyi@1862
    47
	icons/newmap.png
ladanyi@1862
    48
ladanyi@1862
    49
VARIABLES = \
ladanyi@1862
    50
	gui_icons_addlink $(srcdir)/icons/addlink.png \
ladanyi@1862
    51
	gui_icons_addnode $(srcdir)/icons/addnode.png \
ladanyi@1862
    52
	gui_icons_delete $(srcdir)/icons/delete.png \
ladanyi@1862
    53
	gui_icons_editlink $(srcdir)/icons/editlink.png \
ladanyi@1862
    54
	gui_icons_editnode $(srcdir)/icons/editnode.png \
ladanyi@1862
    55
	gui_icons_move $(srcdir)/icons/move.png \
ladanyi@1862
    56
	gui_icons_newmap $(srcdir)/icons/newmap.png
ladanyi@1862
    57
ladanyi@1862
    58
guipixbufs.h: $(IMAGES)
ladanyi@1862
    59
	gdk-pixbuf-csource \
ladanyi@1862
    60
	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
ladanyi@1862
    61
	( rm -f guipixbufs.h && false )
ladanyi@1862
    62
ladanyi@1862
    63
EXTRA_DIST = $(IMAGES) guipixbufs.h