gui/Makefile.am
author alpar
Thu, 18 Aug 2005 13:33:49 +0000
changeset 1643 9285f3777553
parent 1634 910b1bcb7d05
child 1653 9955e7ec7e89
permissions -rw-r--r--
- The number of gcc-4.0 warnings has significantly decreases.
- Some code clean-up in gui
ladanyi@1435
     1
AM_CPPFLAGS = -I$(top_srcdir)
ladanyi@1435
     2
LDADD = $(top_builddir)/lemon/libemon.la
ladanyi@1412
     3
ladanyi@1635
     4
ladanyi@1635
     5
noinst_DATA = guipixbufs.h
ladanyi@1635
     6
CLEANFILES = $(noinst_DATA)
ladanyi@1635
     7
ladanyi@1412
     8
bin_PROGRAMS = gd
ladanyi@1412
     9
ladanyi@1412
    10
gd_SOURCES = \
ladanyi@1412
    11
	all_include.h \
ladanyi@1412
    12
	graph_displayer_canvas.cc \
hegyi@1510
    13
	graph_displayer_canvas-edge.cc \
hegyi@1512
    14
	graph_displayer_canvas-node.cc \
hegyi@1510
    15
	graph_displayer_canvas-event.cc \
hegyi@1510
    16
	graph_displayer_canvas-zoom.cc \
ladanyi@1412
    17
	graph_displayer_canvas.h \
ladanyi@1412
    18
	graph-displayer.cc \
ladanyi@1412
    19
	main_win.cc \
ladanyi@1412
    20
	main_win.h \
ladanyi@1412
    21
	mapstorage.cc \
ladanyi@1412
    22
	mapstorage.h \
ladanyi@1412
    23
	map_win.cc \
hegyi@1468
    24
	map_win.h \
hegyi@1497
    25
	broken_edge.cc \
hegyi@1592
    26
	broken_edge.h \
hegyi@1592
    27
	new_map_win.cc \
ladanyi@1606
    28
	new_map_win.h \
ladanyi@1606
    29
	xymap.h
ladanyi@1412
    30
ladanyi@1412
    31
gd_CXXFLAGS = $(GTK_CFLAGS)
ladanyi@1412
    32
gd_LDFLAGS = $(GTK_LIBS)
alpar@1605
    33
ladanyi@1635
    34
IMAGES = addlink.png addnode.png delete.png \
ladanyi@1635
    35
	editlink.png editnode.png move.png newmap.png
alpar@1605
    36
ladanyi@1635
    37
VARIABLES = \
ladanyi@1635
    38
	gui_icons_addlink $(srcdir)/addlink.png \
ladanyi@1635
    39
	gui_icons_addnode $(srcdir)/addnode.png \
ladanyi@1635
    40
	gui_icons_delete $(srcdir)/delete.png \
ladanyi@1635
    41
	gui_icons_editlink $(srcdir)/editlink.png \
ladanyi@1635
    42
	gui_icons_editnode $(srcdir)/editnode.png \
ladanyi@1635
    43
	gui_icons_move $(srcdir)/move.png \
ladanyi@1635
    44
	gui_icons_newmap $(srcdir)/newmap.png
ladanyi@1635
    45
ladanyi@1635
    46
ladanyi@1635
    47
guipixbufs.h: $(IMAGES)
ladanyi@1635
    48
	gdk-pixbuf-csource \
ladanyi@1635
    49
	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
ladanyi@1635
    50
	( rm -f guipixbufs.h && false )
ladanyi@1635
    51
ladanyi@1635
    52
EXTRA_DIST = $(IMAGES) guipixbufs.h