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