COIN-OR::LEMON - Graph Library

source: glemon/Makefile.am @ 5:390d05b2d25c

Last change on this file since 5:390d05b2d25c was 5:390d05b2d25c, checked in by Akos Ladanyi <ladanyi@…>, 16 years ago

Upgrade gettext infrastructure.

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