COIN-OR::LEMON - Graph Library

source: lemon-0.x/Makefile.am @ 1883:05b0e8d057a6

Last change on this file since 1883:05b0e8d057a6 was 1863:12e0db6b7d0e, checked in by Akos Ladanyi, 19 years ago

Demos and benchmarks are not built by default now. They can be enabled with the --enable-demo and --enable-benchmark configure flags.

File size: 1.4 KB
Line 
1ACLOCAL_AMFLAGS = -I config
2
3EXTRA_DIST = \
4        LICENSE \
5        lemon.spec \
6        autopackage/default.apspec.in \
7        config/lx_check_cplex.m4 \
8        config/lx_check_glpk.m4
9
10if WANT_DOC
11  MAYBE_DOC = doc
12endif
13if WANT_GUI
14  MAYBE_GUI = gui
15endif
16if WANT_DEMO
17  MAYBE_DEMO = demo
18endif
19if WANT_BENCHMARK
20  MAYBE_BENCHMARK = benchmark
21endif
22
23SUBDIRS = lemon $(MAYBE_BENCHMARK) $(MAYBE_DEMO) $(MAYBE_GUI) $(MAYBE_DOC) test
24
25MRPROPERFILES = \
26        aclocal.m4 \
27        config.h.in \
28        config.h.in~ \
29        configure \
30        Makefile.in \
31        config/depcomp \
32        config/install-sh \
33        config/config.guess \
34        config/config.sub \
35        config/ltmain.sh \
36        config/missing \
37        config/mkinstalldirs \
38        doc/Makefile.in \
39        doc/doxygen.log \
40        Makefile.in \
41        lemon/Makefile.in \
42        test/Makefile.in \
43        benchmark/Makefile.in \
44        demo/Makefile.in \
45        gui/icons/Makefile.in \
46        gui/Makefile.in
47
48doc-clean:
49        $(MAKE) -C doc $(AM_MAKEFLAGS) clean html
50
51doc:
52        -rm -f doc/html/index.html
53        $(MAKE) -C doc $(AM_MAKEFLAGS) html
54
55benchmark:
56        $(MAKE) -C benchmark $(AM_MAKEFLAGS)
57
58mrproper:
59        $(MAKE) $(AM_MAKEFLAGS) maintainer-clean
60        -rm -f $(MRPROPERFILES)
61
62deb:
63        dpkg-buildpackage -rfakeroot
64
65rpm: dist
66        rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
67        @rm -f $(PACKAGE)-$(VERSION).tar.gz
68
69dist-bz2: dist
70        zcat $(PACKAGE)-$(VERSION).tar.gz | \
71        bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
72
73distcheck-bz2: distcheck
74        zcat $(PACKAGE)-$(VERSION).tar.gz | \
75        bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
76
77.PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2
Note: See TracBrowser for help on using the repository browser.