COIN-OR::LEMON - Graph Library

source: glemon-0.x/Makefile.am @ 164:70e3c3646283

Last change on this file since 164:70e3c3646283 was 164:70e3c3646283, checked in by Alpar Juttner, 18 years ago
  • Add missing repository files (AUTHORS COPYING NEWS README). They need to be filled with info.
  • RPM support
File size: 2.8 KB
Line 
1AM_CPPFLAGS = -I$(top_srcdir) -DLOCALEDIR=\""$(datadir)/locale"\"
2
3SUBDIRS = po m4
4
5bin_PROGRAMS = glemon
6BUILT_SOURCES = guipixbufs.h
7CLEANFILES = guipixbufs.h
8
9glemon_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
51glemon_CXXFLAGS = $(GTK_CFLAGS) $(LEMON_CFLAGS)
52glemon_LDFLAGS = $(GTK_LIBS) $(LEMON_LIBS)
53glemon_LDADD = $(LIBINTL)
54
55IMAGES = \
56        icons/addlink.png \
57        icons/addnode.png \
58        icons/delete.png \
59        icons/editlink.png \
60        icons/editnode.png \
61        icons/move.png \
62        icons/newmap.png
63
64VARIABLES = \
65        gui_icons_addlink $(srcdir)/icons/addlink.png \
66        gui_icons_addnode $(srcdir)/icons/addnode.png \
67        gui_icons_delete $(srcdir)/icons/delete.png \
68        gui_icons_editlink $(srcdir)/icons/editlink.png \
69        gui_icons_editnode $(srcdir)/icons/editnode.png \
70        gui_icons_move $(srcdir)/icons/move.png \
71        gui_icons_newmap $(srcdir)/icons/newmap.png
72
73guipixbufs.h: $(IMAGES)
74        gdk-pixbuf-csource \
75        --raw --build-list $(VARIABLES) > guipixbufs.h ||  \
76        ( rm -f guipixbufs.h && false )
77
78EXTRA_DIST = \
79        $(IMAGES) \
80        guipixbufs.h \
81        glemon.spec \
82        AUTHORS \
83        COPYING \
84        LICENSE \
85        NEWS \
86        README \
87        ABOUT-NLS
88
89MRPROPERFILES = \
90        Makefile.in \
91        configure \
92        config.h.in \
93        aclocal.m4 \
94        ABOUT-NLS \
95        m4/Makefile.in \
96        m4/lib-link.m4 \
97        m4/printf-posix.m4 \
98        m4/uintmax_t.m4 \
99        m4/signed.m4 \
100        m4/iconv.m4 \
101        m4/inttypes.m4 \
102        m4/longlong.m4 \
103        m4/glibc21.m4 \
104        m4/inttypes_h.m4 \
105        m4/codeset.m4 \
106        m4/longdouble.m4 \
107        m4/nls.m4 \
108        m4/intmax.m4 \
109        m4/lib-prefix.m4 \
110        m4/glibc2.m4 \
111        m4/xsize.m4 \
112        m4/lcmessage.m4 \
113        m4/lib-ld.m4 \
114        m4/ulonglong.m4 \
115        m4/wint_t.m4 \
116        m4/progtest.m4 \
117        m4/inttypes-pri.m4 \
118        m4/stdint_h.m4 \
119        m4/intdiv0.m4 \
120        m4/isc-posix.m4 \
121        m4/po.m4 \
122        m4/size_max.m4 \
123        m4/gettext.m4 \
124        m4/wchar_t.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        build-aux/mkinstalldirs \
135        build-aux/config.rpath \
136        build-aux/depcomp \
137        build-aux/missing \
138        build-aux/config.guess \
139        build-aux/config.sub \
140        build-aux/install-sh
141
142mrproper:
143        $(MAKE) $(AM_MAKEFLAGS) maintainer-clean
144        -rm -f $(MRPROPERFILES)
145
146rpm: dist
147        rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
148
149.PHONY: mrproper
Note: See TracBrowser for help on using the repository browser.