Makefile.am
author ladanyi
Thu, 23 Mar 2006 19:57:14 +0000
branchgui
changeset 130 3533c2d9a865
parent 112 3689cb170d3e
child 132 de8bef01b9ec
permissions -rw-r--r--
- added gettext infrastructure to the gui
- the gui has a separate configure script now
- other minor changes
     1 AM_CPPFLAGS = -I$(top_srcdir) -DLOCALEDIR=\""$(datadir)/locale"\"
     2 LDADD = ../lemon/libemon.la
     3 
     4 ACLOCAL_AMFLAGS = -I m4
     5 
     6 EXTRA_DIST = \
     7 	build-aux/config.rpath
     8 
     9 SUBDIRS = po
    10 
    11 bin_PROGRAMS = glemon
    12 BUILT_SOURCES = guipixbufs.h
    13 CLEANFILES = guipixbufs.h
    14 
    15 glemon_SOURCES = \
    16 	all_include.h \
    17 	algobox.cc \
    18 	algobox.h \
    19 	algowin.cc \
    20 	algowin.h \
    21 	gdc-broken_edge.cc \
    22 	graph_displayer_canvas.cc \
    23 	graph_displayer_canvas.h \
    24 	graph_displayer_canvas-edge.cc \
    25 	graph_displayer_canvas-event.cc \
    26 	graph_displayer_canvas-node.cc \
    27 	graph_displayer_canvas-zoom.cc \
    28 	graph-displayer.cc \
    29 	kruskalbox.cc \
    30 	kruskalbox.h \
    31 	main_win.cc \
    32 	main_win.h \
    33 	mapstorage.cc \
    34 	mapstorage.h \
    35 	map_win.cc \
    36 	map_win.h \
    37 	mapselector.cc \
    38 	mapselector.h \
    39 	nbtab.h \
    40 	nbtab.cc \
    41 	new_map_win.cc \
    42 	new_map_win.h \
    43 	xymap.h \
    44 	gui_reader.h \
    45 	gui_reader.cc \
    46 	gui_writer.h \
    47 	gui_writer.cc \
    48 	xml.h \
    49 	guipixbufs.h \
    50 	gettext.h
    51 
    52 glemon_CXXFLAGS = $(GTK_CFLAGS)
    53 glemon_LDFLAGS = $(GTK_LIBS)
    54 #glemon_LDADD = $(LIBINTL)
    55 
    56 IMAGES = \
    57 	icons/addlink.png \
    58 	icons/addnode.png \
    59 	icons/delete.png \
    60 	icons/editlink.png \
    61 	icons/editnode.png \
    62 	icons/move.png \
    63 	icons/newmap.png
    64 
    65 VARIABLES = \
    66 	gui_icons_addlink $(srcdir)/icons/addlink.png \
    67 	gui_icons_addnode $(srcdir)/icons/addnode.png \
    68 	gui_icons_delete $(srcdir)/icons/delete.png \
    69 	gui_icons_editlink $(srcdir)/icons/editlink.png \
    70 	gui_icons_editnode $(srcdir)/icons/editnode.png \
    71 	gui_icons_move $(srcdir)/icons/move.png \
    72 	gui_icons_newmap $(srcdir)/icons/newmap.png
    73 
    74 guipixbufs.h: $(IMAGES)
    75 	gdk-pixbuf-csource \
    76 	--raw --build-list $(VARIABLES) > guipixbufs.h ||  \
    77 	( rm -f guipixbufs.h && false )
    78 
    79 EXTRA_DIST += $(IMAGES) guipixbufs.h
    80 
    81 MRPROPERFILES = \
    82 	aclocal.m4 \
    83 	config.h.in \
    84 	config.h.in~ \
    85 	configure \
    86 	Makefile.in \
    87 	build-aux/config.guess \
    88 	build-aux/config.rpath \
    89 	build-aux/config.sub \
    90 	build-aux/depcomp \
    91 	build-aux/install-sh \
    92 	build-aux/ltmain.sh \
    93 	build-aux/missing \
    94 	build-aux/mkinstalldirs \
    95 	Makefile.in \
    96 	m4/intmax.m4 \
    97 	m4/lib-link.m4 \
    98 	m4/lib-prefix.m4 \
    99 	m4/printf-posix.m4 \
   100 	m4/xsize.m4 \
   101 	m4/glibc2.m4 \
   102 	m4/lib-ld.m4 \
   103 	m4/lcmessage.m4 \
   104 	m4/wint_t.m4 \
   105 	m4/ulonglong.m4 \
   106 	m4/inttypes-pri.m4 \
   107 	m4/progtest.m4 \
   108 	m4/uintmax_t.m4 \
   109 	m4/signed.m4 \
   110 	m4/stdint_h.m4 \
   111 	m4/intdiv0.m4 \
   112 	m4/iconv.m4 \
   113 	m4/po.m4 \
   114 	m4/isc-posix.m4 \
   115 	m4/longlong.m4 \
   116 	m4/inttypes.m4 \
   117 	m4/size_max.m4 \
   118 	m4/glibc21.m4 \
   119 	m4/gettext.m4 \
   120 	m4/codeset.m4 \
   121 	m4/inttypes_h.m4 \
   122 	m4/wchar_t.m4 \
   123 	m4/longdouble.m4 \
   124 	m4/nls.m4 \
   125 	po/Rules-quot \
   126 	po/en@quot.header \
   127 	po/insert-header.sin \
   128 	po/quot.sed \
   129 	po/en@boldquot.header \
   130 	po/boldquot.sed \
   131 	po/Makevars.template \
   132 	po/remove-potcdate.sin \
   133 	po/Makefile.in.in
   134 
   135 mrproper:
   136 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
   137 	-rm -f $(MRPROPERFILES)
   138 
   139 .PHONY: mrproper