Makefile.am
changeset 1 67188bd752db
child 5 390d05b2d25c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.am	Mon Jul 07 08:10:39 2008 -0500
     1.3 @@ -0,0 +1,167 @@
     1.4 +AM_CPPFLAGS = -I$(top_srcdir) -DLOCALEDIR=\""$(datadir)/locale"\"
     1.5 +
     1.6 +SUBDIRS = po m4
     1.7 +
     1.8 +bin_PROGRAMS = glemon
     1.9 +BUILT_SOURCES = guipixbufs.h
    1.10 +CLEANFILES = guipixbufs.h
    1.11 +
    1.12 +glemon_SOURCES = \
    1.13 +	all_include.h \
    1.14 +	algobox.cc \
    1.15 +	algobox.h \
    1.16 +	algowin.cc \
    1.17 +	algowin.h \
    1.18 +	gdc-broken_edge.cc \
    1.19 +	graph_displayer_canvas.cc \
    1.20 +	graph_displayer_canvas.h \
    1.21 +	graph_displayer_canvas-edge.cc \
    1.22 +	graph_displayer_canvas-event.cc \
    1.23 +	graph_displayer_canvas-node.cc \
    1.24 +	graph_displayer_canvas-zoom.cc \
    1.25 +	graph-displayer.cc \
    1.26 +	kruskalbox.cc \
    1.27 +	kruskalbox.h \
    1.28 +	main_win.cc \
    1.29 +	main_win.h \
    1.30 +	mapstorage.cc \
    1.31 +	mapstorage.h \
    1.32 +	map_win.cc \
    1.33 +	map_win.h \
    1.34 +	mapselector.cc \
    1.35 +	mapselector.h \
    1.36 +	nbtab.h \
    1.37 +	nbtab.cc \
    1.38 +	new_map_win.cc \
    1.39 +	new_map_win.h \
    1.40 +	xymap.h \
    1.41 +	gui_reader.h \
    1.42 +	gui_reader.cc \
    1.43 +	gui_writer.h \
    1.44 +	gui_writer.cc \
    1.45 +	xml.h \
    1.46 +	guipixbufs.h \
    1.47 +	i18n.h \
    1.48 +	gettext.h \
    1.49 +	design_win.h \
    1.50 +	design_win.cc \
    1.51 +	dijkstrabox.h \
    1.52 +	dijkstrabox.cc \
    1.53 +	file_import_dialog.h \
    1.54 +	file_import_dialog.cc \
    1.55 +	map_value.h \
    1.56 +	map_value.cc \
    1.57 +	map_value_map.h \
    1.58 +	map_value_map.cc \
    1.59 +	save_details_widget.h \
    1.60 +	save_details_widget.cc \
    1.61 +	save_details_dialog.h \
    1.62 +	save_details_dialog.cc \
    1.63 +	io_helper.h \
    1.64 +	io_helper.cc \
    1.65 +	background_chooser_dialog.h \
    1.66 +	background_chooser_dialog.cc \
    1.67 +	eps_win.h \
    1.68 +	eps_win.cc
    1.69 +
    1.70 +glemon_CXXFLAGS = $(GTK_CFLAGS) $(LEMON_CFLAGS)
    1.71 +# glemon_LDFLAGS = $(GTK_LIBS) $(LEMON_LIBS)
    1.72 +glemon_LDADD = $(GTK_LIBS) $(LEMON_LIBS) $(LIBINTL)
    1.73 +
    1.74 +IMAGES = \
    1.75 +	icons/addlink.png \
    1.76 +	icons/addnode.png \
    1.77 +	icons/delete.png \
    1.78 +	icons/editlink.png \
    1.79 +	icons/editnode.png \
    1.80 +	icons/move.png \
    1.81 +	icons/newmap.png \
    1.82 +	icons/eps.png
    1.83 +
    1.84 +VARIABLES = \
    1.85 +	gui_icons_addlink $(srcdir)/icons/addlink.png \
    1.86 +	gui_icons_addnode $(srcdir)/icons/addnode.png \
    1.87 +	gui_icons_delete $(srcdir)/icons/delete.png \
    1.88 +	gui_icons_editlink $(srcdir)/icons/editlink.png \
    1.89 +	gui_icons_editnode $(srcdir)/icons/editnode.png \
    1.90 +	gui_icons_move $(srcdir)/icons/move.png \
    1.91 +	gui_icons_newmap $(srcdir)/icons/newmap.png \
    1.92 +	gui_icons_eps $(srcdir)/icons/eps.png
    1.93 +	
    1.94 +guipixbufs.h: $(IMAGES)
    1.95 +	gdk-pixbuf-csource \
    1.96 +	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
    1.97 +	( rm -f guipixbufs.h && false )
    1.98 +
    1.99 +EXTRA_DIST = \
   1.100 +	$(IMAGES) \
   1.101 +	guipixbufs.h \
   1.102 +	glemon.spec \
   1.103 +	AUTHORS \
   1.104 +	COPYING \
   1.105 +	LICENSE \
   1.106 +	NEWS \
   1.107 +	README \
   1.108 +	ABOUT-NLS
   1.109 +
   1.110 +MRPROPERFILES = \
   1.111 +	Makefile.in \
   1.112 +	configure \
   1.113 +	config.h.in \
   1.114 +	aclocal.m4 \
   1.115 +	ABOUT-NLS \
   1.116 +	m4/Makefile.in \
   1.117 +	m4/lib-link.m4 \
   1.118 +	m4/printf-posix.m4 \
   1.119 +	m4/uintmax_t.m4 \
   1.120 +	m4/signed.m4 \
   1.121 +	m4/iconv.m4 \
   1.122 +	m4/inttypes.m4 \
   1.123 +	m4/longlong.m4 \
   1.124 +	m4/glibc21.m4 \
   1.125 +	m4/inttypes_h.m4 \
   1.126 +	m4/codeset.m4 \
   1.127 +	m4/longdouble.m4 \
   1.128 +	m4/nls.m4 \
   1.129 +	m4/intmax.m4 \
   1.130 +	m4/lib-prefix.m4 \
   1.131 +	m4/glibc2.m4 \
   1.132 +	m4/xsize.m4 \
   1.133 +	m4/lcmessage.m4 \
   1.134 +	m4/lib-ld.m4 \
   1.135 +	m4/ulonglong.m4 \
   1.136 +	m4/wint_t.m4 \
   1.137 +	m4/progtest.m4 \
   1.138 +	m4/inttypes-pri.m4 \
   1.139 +	m4/stdint_h.m4 \
   1.140 +	m4/intdiv0.m4 \
   1.141 +	m4/isc-posix.m4 \
   1.142 +	m4/po.m4 \
   1.143 +	m4/size_max.m4 \
   1.144 +	m4/gettext.m4 \
   1.145 +	m4/wchar_t.m4 \
   1.146 +	po/Rules-quot \
   1.147 +	po/en@quot.header \
   1.148 +	po/insert-header.sin \
   1.149 +	po/quot.sed \
   1.150 +	po/en@boldquot.header \
   1.151 +	po/boldquot.sed \
   1.152 +	po/Makevars.template \
   1.153 +	po/remove-potcdate.sin \
   1.154 +	po/Makefile.in.in \
   1.155 +	build-aux/mkinstalldirs \
   1.156 +	build-aux/config.rpath \
   1.157 +	build-aux/depcomp \
   1.158 +	build-aux/missing \
   1.159 +	build-aux/config.guess \
   1.160 +	build-aux/config.sub \
   1.161 +	build-aux/install-sh
   1.162 +
   1.163 +mrproper:
   1.164 +	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
   1.165 +	-rm -f $(MRPROPERFILES)
   1.166 +
   1.167 +rpm: dist
   1.168 +	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
   1.169 +
   1.170 +.PHONY: mrproper