gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Makefile cleanup (see ticket #87)
0 7 0
default
7 files changed with 7 insertions and 20 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
1 1
ACLOCAL_AMFLAGS = -I m4
2 2

	
3 3
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
4 4
LDADD = $(top_builddir)/lemon/libemon.la
5 5

	
6 6
EXTRA_DIST = \
7 7
	LICENSE \
8 8
	m4/lx_check_cplex.m4 \
9 9
	m4/lx_check_glpk.m4 \
10
	m4/lx_check_soplex.m4
10
	m4/lx_check_soplex.m4 \
11
	CMakeLists.txt
11 12

	
12 13
pkgconfigdir = $(libdir)/pkgconfig
13 14
lemondir = $(pkgincludedir)
14 15
bitsdir = $(lemondir)/bits
15 16
conceptdir = $(lemondir)/concepts
16 17
pkgconfig_DATA =
17 18
lib_LTLIBRARIES =
18 19
lemon_HEADERS =
19 20
bits_HEADERS =
20 21
concept_HEADERS =
21 22
noinst_HEADERS =
22 23
noinst_PROGRAMS =
23 24
bin_PROGRAMS =
24 25
check_PROGRAMS =
25 26
TESTS =
26 27
XFAIL_TESTS =
27 28

	
28 29
include lemon/Makefile.am
29 30
include test/Makefile.am
30 31
include doc/Makefile.am
31 32
include demo/Makefile.am
32 33
include benchmark/Makefile.am
33 34
include tools/Makefile.am
34 35

	
35 36
MRPROPERFILES = \
36 37
	aclocal.m4 \
37 38
	config.h.in \
38 39
	config.h.in~ \
39 40
	configure \
40 41
	Makefile.in \
41 42
	build-aux/config.guess \
42 43
	build-aux/config.sub \
43 44
	build-aux/depcomp \
44 45
	build-aux/install-sh \
45 46
	build-aux/ltmain.sh \
46 47
	build-aux/missing \
47
	doc/Makefile.in \
48
	doc/doxygen.log \
49
	Makefile.in \
50
	lemon/Makefile.in \
51
	test/Makefile.in \
52
	benchmark/Makefile.in \
53
	demo/Makefile.in
48
	doc/doxygen.log
54 49

	
55 50
mrproper:
56 51
	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
57 52
	-rm -f $(MRPROPERFILES)
58 53

	
59 54
dist-bz2: dist
60 55
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
61 56
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
62 57

	
63 58
distcheck-bz2: distcheck
64 59
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
65 60
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
66 61

	
67 62
.PHONY: mrproper dist-bz2 distcheck-bz2
Ignore white space 48 line context
1
EXTRA_DIST += \
2
        benchmark/Makefile
3

	
4 1
if WANT_BENCHMARK
5 2

	
6 3
noinst_HEADERS +=
7 4

	
8 5
noinst_PROGRAMS +=
9 6

	
10 7
endif WANT_BENCHMARK
Ignore white space 6 line context
1 1
EXTRA_DIST += \
2
	demo/Makefile
2
	demo/CMakeLists.txt
3 3

	
4 4
if WANT_DEMO
5 5

	
6 6
noinst_PROGRAMS += \
7 7
	demo/arg_parser_demo \
8 8
	demo/graph_to_eps_demo \
9 9
	demo/lgf_demo
10 10

	
11 11
endif WANT_DEMO
12 12

	
13 13
demo_arg_parser_demo_SOURCES = demo/arg_parser_demo.cc
14 14
demo_graph_to_eps_demo_SOURCES = demo/graph_to_eps_demo.cc
15 15
demo_lgf_demo_SOURCES = demo/lgf_demo.cc
16

	
Ignore white space 6 line context
1 1
EXTRA_DIST += \
2
	doc/Makefile \
3 2
	doc/Doxyfile.in \
4 3
	doc/coding_style.dox \
5 4
	doc/dirs.dox \
6 5
	doc/groups.dox \
7 6
	doc/license.dox \
8 7
	doc/mainpage.dox \
9 8
	doc/namespaces.dox \
10 9
	doc/html
11 10

	
12 11
doc/html:
13 12
	$(MAKE) $(AM_MAKEFLAGS) html
14 13

	
15 14
html-local:
16 15
	if test ${doxygen_found} = yes; then \
17 16
	  cd doc; \
18 17
	  doxygen Doxyfile; \
19 18
	  cd ..; \
20 19
	else \
21 20
	  echo; \
22 21
	  echo "Doxygen not found."; \
23 22
	  echo; \
24 23
	  exit 1; \
25 24
	fi
26 25

	
Ignore white space 6 line context
1 1
EXTRA_DIST += \
2
	lemon/Makefile \
3
	lemon/lemon.pc.in
2
	lemon/lemon.pc.in \
3
	lemon/CMakeLists.txt
4 4

	
5 5
pkgconfig_DATA += lemon/lemon.pc
6 6

	
7 7
lib_LTLIBRARIES += lemon/libemon.la
8 8

	
9 9
lemon_libemon_la_SOURCES = \
10 10
        lemon/arg_parser.cc \
11 11
        lemon/base.cc \
12 12
        lemon/color.cc \
13 13
        lemon/random.cc
14 14

	
15 15

	
16 16
lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS)
17 17
lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS)
18 18

	
19 19
lemon_HEADERS += \
20 20
        lemon/arg_parser.h \
21 21
	lemon/assert.h \
22 22
        lemon/bfs.h \
23 23
        lemon/bin_heap.h \
24 24
        lemon/color.h \
25 25
        lemon/counter.h \
26 26
        lemon/dfs.h \
27 27
        lemon/dijkstra.h \
Ignore white space 6 line context
1 1
EXTRA_DIST += \
2
	test/Makefile
2
	test/CMakeLists.txt
3 3

	
4 4
noinst_HEADERS += \
5 5
	test/digraph_test.h \
6 6
	test/graph_utils_test.h \
7 7
	test/heap_test.h \
8 8
	test/map_test.h \
9 9
        test/test_tools.h
10 10

	
11 11
check_PROGRAMS += \
12 12
	test/bfs_test \
13 13
        test/counter_test \
14 14
	test/dfs_test \
15 15
	test/digraph_test \
16 16
        test/dim_test \
17 17
	test/error_test \
18 18
	test/graph_test \
19 19
	test/graph_utils_test \
20 20
	test/kruskal_test \
21 21
        test/maps_test \
22 22
        test/random_test \
23 23
        test/path_test \
24 24
        test/test_tools_fail \
25 25
        test/test_tools_pass \
26 26
        test/time_measure_test \
Ignore white space 6 line context
1
EXTRA_DIST += \
2
	tools/Makefile
3

	
4 1
if WANT_TOOLS
5 2

	
6 3
bin_PROGRAMS +=
7 4

	
8 5
endif WANT_TOOLS
0 comments (0 inline)