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