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