Makefile.am
author hegyi
Fri, 02 Feb 2007 10:13:33 +0000
changeset 187 b465e2c34f23
parent 184 4e8704aae278
child 191 af2ed974ab68
permissions -rw-r--r--
Zoom is now available with mouse-wheel.
ladanyi@130
     1
AM_CPPFLAGS = -I$(top_srcdir) -DLOCALEDIR=\""$(datadir)/locale"\"
ladanyi@139
     2
ladanyi@139
     3
SUBDIRS = po m4
ladanyi@1
     4
alpar@71
     5
bin_PROGRAMS = glemon
ladanyi@100
     6
BUILT_SOURCES = guipixbufs.h
ladanyi@100
     7
CLEANFILES = guipixbufs.h
ladanyi@1
     8
alpar@71
     9
glemon_SOURCES = \
ladanyi@1
    10
	all_include.h \
hegyi@106
    11
	algobox.cc \
hegyi@106
    12
	algobox.h \
hegyi@106
    13
	algowin.cc \
hegyi@106
    14
	algowin.h \
hegyi@96
    15
	gdc-broken_edge.cc \
ladanyi@1
    16
	graph_displayer_canvas.cc \
hegyi@96
    17
	graph_displayer_canvas.h \
hegyi@27
    18
	graph_displayer_canvas-edge.cc \
hegyi@96
    19
	graph_displayer_canvas-event.cc \
hegyi@28
    20
	graph_displayer_canvas-node.cc \
hegyi@27
    21
	graph_displayer_canvas-zoom.cc \
ladanyi@1
    22
	graph-displayer.cc \
hegyi@106
    23
	kruskalbox.cc \
hegyi@106
    24
	kruskalbox.h \
ladanyi@1
    25
	main_win.cc \
ladanyi@1
    26
	main_win.h \
ladanyi@1
    27
	mapstorage.cc \
ladanyi@1
    28
	mapstorage.h \
ladanyi@1
    29
	map_win.cc \
hegyi@9
    30
	map_win.h \
hegyi@112
    31
	mapselector.cc \
hegyi@112
    32
	mapselector.h \
hegyi@96
    33
	nbtab.h \
hegyi@96
    34
	nbtab.cc \
hegyi@41
    35
	new_map_win.cc \
ladanyi@53
    36
	new_map_win.h \
alpar@73
    37
	xymap.h \
ladanyi@98
    38
	gui_reader.h \
ladanyi@98
    39
	gui_reader.cc \
ladanyi@98
    40
	gui_writer.h \
ladanyi@98
    41
	gui_writer.cc \
ladanyi@99
    42
	xml.h \
ladanyi@130
    43
	guipixbufs.h \
ladanyi@133
    44
	i18n.h \
hegyi@160
    45
	gettext.h \
hegyi@160
    46
	design_win.h \
hegyi@162
    47
	design_win.cc \
hegyi@162
    48
	dijkstrabox.h \
ladanyi@173
    49
	dijkstrabox.cc \
ladanyi@184
    50
	background_chooser_dialog.h \
ladanyi@184
    51
	background_chooser_dialog.cc
ladanyi@1
    52
ladanyi@139
    53
glemon_CXXFLAGS = $(GTK_CFLAGS) $(LEMON_CFLAGS)
alpar@170
    54
# glemon_LDFLAGS = $(GTK_LIBS) $(LEMON_LIBS)
alpar@170
    55
glemon_LDADD = $(GTK_LIBS) $(LEMON_LIBS) $(LIBINTL)
ladanyi@100
    56
ladanyi@100
    57
IMAGES = \
ladanyi@100
    58
	icons/addlink.png \
ladanyi@100
    59
	icons/addnode.png \
ladanyi@100
    60
	icons/delete.png \
ladanyi@100
    61
	icons/editlink.png \
ladanyi@100
    62
	icons/editnode.png \
ladanyi@100
    63
	icons/move.png \
ladanyi@100
    64
	icons/newmap.png
ladanyi@100
    65
ladanyi@100
    66
VARIABLES = \
ladanyi@100
    67
	gui_icons_addlink $(srcdir)/icons/addlink.png \
ladanyi@100
    68
	gui_icons_addnode $(srcdir)/icons/addnode.png \
ladanyi@100
    69
	gui_icons_delete $(srcdir)/icons/delete.png \
ladanyi@100
    70
	gui_icons_editlink $(srcdir)/icons/editlink.png \
ladanyi@100
    71
	gui_icons_editnode $(srcdir)/icons/editnode.png \
ladanyi@100
    72
	gui_icons_move $(srcdir)/icons/move.png \
ladanyi@100
    73
	gui_icons_newmap $(srcdir)/icons/newmap.png
ladanyi@100
    74
ladanyi@100
    75
guipixbufs.h: $(IMAGES)
ladanyi@100
    76
	gdk-pixbuf-csource \
ladanyi@100
    77
	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
ladanyi@100
    78
	( rm -f guipixbufs.h && false )
ladanyi@100
    79
ladanyi@139
    80
EXTRA_DIST = \
ladanyi@139
    81
	$(IMAGES) \
ladanyi@139
    82
	guipixbufs.h \
alpar@164
    83
	glemon.spec \
alpar@164
    84
	AUTHORS \
alpar@164
    85
	COPYING \
ladanyi@142
    86
	LICENSE \
alpar@164
    87
	NEWS \
alpar@164
    88
	README \
ladanyi@139
    89
	ABOUT-NLS
ladanyi@139
    90
ladanyi@139
    91
MRPROPERFILES = \
ladanyi@139
    92
	Makefile.in \
ladanyi@139
    93
	configure \
ladanyi@139
    94
	config.h.in \
ladanyi@139
    95
	aclocal.m4 \
ladanyi@139
    96
	ABOUT-NLS \
ladanyi@139
    97
	m4/Makefile.in \
ladanyi@139
    98
	m4/lib-link.m4 \
ladanyi@139
    99
	m4/printf-posix.m4 \
ladanyi@139
   100
	m4/uintmax_t.m4 \
ladanyi@139
   101
	m4/signed.m4 \
ladanyi@139
   102
	m4/iconv.m4 \
ladanyi@139
   103
	m4/inttypes.m4 \
ladanyi@139
   104
	m4/longlong.m4 \
ladanyi@139
   105
	m4/glibc21.m4 \
ladanyi@139
   106
	m4/inttypes_h.m4 \
ladanyi@139
   107
	m4/codeset.m4 \
ladanyi@139
   108
	m4/longdouble.m4 \
ladanyi@139
   109
	m4/nls.m4 \
ladanyi@139
   110
	m4/intmax.m4 \
ladanyi@139
   111
	m4/lib-prefix.m4 \
ladanyi@139
   112
	m4/glibc2.m4 \
ladanyi@139
   113
	m4/xsize.m4 \
ladanyi@139
   114
	m4/lcmessage.m4 \
ladanyi@139
   115
	m4/lib-ld.m4 \
ladanyi@139
   116
	m4/ulonglong.m4 \
ladanyi@139
   117
	m4/wint_t.m4 \
ladanyi@139
   118
	m4/progtest.m4 \
ladanyi@139
   119
	m4/inttypes-pri.m4 \
ladanyi@139
   120
	m4/stdint_h.m4 \
ladanyi@139
   121
	m4/intdiv0.m4 \
ladanyi@139
   122
	m4/isc-posix.m4 \
ladanyi@139
   123
	m4/po.m4 \
ladanyi@139
   124
	m4/size_max.m4 \
ladanyi@139
   125
	m4/gettext.m4 \
ladanyi@139
   126
	m4/wchar_t.m4 \
ladanyi@139
   127
	po/Rules-quot \
ladanyi@139
   128
	po/en@quot.header \
ladanyi@139
   129
	po/insert-header.sin \
ladanyi@139
   130
	po/quot.sed \
ladanyi@139
   131
	po/en@boldquot.header \
ladanyi@139
   132
	po/boldquot.sed \
ladanyi@139
   133
	po/Makevars.template \
ladanyi@139
   134
	po/remove-potcdate.sin \
ladanyi@139
   135
	po/Makefile.in.in \
ladanyi@139
   136
	build-aux/mkinstalldirs \
ladanyi@139
   137
	build-aux/config.rpath \
ladanyi@139
   138
	build-aux/depcomp \
ladanyi@139
   139
	build-aux/missing \
ladanyi@139
   140
	build-aux/config.guess \
ladanyi@139
   141
	build-aux/config.sub \
ladanyi@139
   142
	build-aux/install-sh
ladanyi@139
   143
ladanyi@139
   144
mrproper:
ladanyi@139
   145
	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
ladanyi@139
   146
	-rm -f $(MRPROPERFILES)
ladanyi@139
   147
alpar@164
   148
rpm: dist
alpar@164
   149
	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
alpar@164
   150
ladanyi@139
   151
.PHONY: mrproper