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 384 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 384 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 384 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 384 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

	
27 26
clean-local:
28 27
	-rm -rf doc/html
29 28
	-rm -f doc/doxygen.log
30 29

	
31 30
update-external-tags:
32 31
	wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
33 32
	mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \
34 33
	rm doc/libstdc++.tag.tmp
35 34

	
36 35
install-html-local: doc/html
37 36
	@$(NORMAL_INSTALL)
38 37
	$(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
39 38
	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
40 39
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
41 40
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
42 41
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
43 42
	done
44 43

	
45 44
uninstall-local:
46 45
	@$(NORMAL_UNINSTALL)
47 46
	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
48 47
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
49 48
	  echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
50 49
	  rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
51 50
	done
52 51

	
53 52
.PHONY: update-external-tags
Ignore white space 384 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 \
28 28
        lemon/dim2.h \
29 29
	lemon/error.h \
30 30
        lemon/graph_to_eps.h \
31 31
	lemon/graph_utils.h \
32 32
	lemon/kruskal.h \
33 33
	lemon/lgf_reader.h \
34 34
	lemon/list_graph.h \
35 35
	lemon/maps.h \
36 36
	lemon/math.h \
37 37
	lemon/path.h \
38 38
        lemon/random.h \
39 39
	lemon/smart_graph.h \
40 40
        lemon/time_measure.h \
41 41
        lemon/tolerance.h \
42 42
	lemon/unionfind.h
43 43

	
44 44
bits_HEADERS += \
45 45
	lemon/bits/alteration_notifier.h \
46 46
	lemon/bits/array_map.h \
47 47
	lemon/bits/base_extender.h \
48 48
        lemon/bits/bezier.h \
49 49
	lemon/bits/default_map.h \
50 50
	lemon/bits/graph_extender.h \
51 51
        lemon/bits/invalid.h \
52 52
	lemon/bits/map_extender.h \
53 53
	lemon/bits/path_dump.h \
54 54
	lemon/bits/traits.h \
55 55
        lemon/bits/utility.h \
56 56
	lemon/bits/vector_map.h
57 57

	
58 58
concept_HEADERS += \
59 59
	lemon/concept_check.h \
60 60
	lemon/concepts/digraph.h \
61 61
	lemon/concepts/graph.h \
62 62
	lemon/concepts/heap.h \
63 63
	lemon/concepts/maps.h \
64 64
	lemon/concepts/path.h \
65 65
	lemon/concepts/graph_components.h
Ignore white space 384 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 \
27 27
	test/unionfind_test
28 28

	
29 29
TESTS += $(check_PROGRAMS)
30 30
XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
31 31

	
32 32
test_bfs_test_SOURCES = test/bfs_test.cc
33 33
test_counter_test_SOURCES = test/counter_test.cc
34 34
test_dfs_test_SOURCES = test/dfs_test.cc
35 35
test_digraph_test_SOURCES = test/digraph_test.cc
36 36
test_dim_test_SOURCES = test/dim_test.cc
37 37
test_error_test_SOURCES = test/error_test.cc
38 38
test_graph_test_SOURCES = test/graph_test.cc
39 39
test_graph_utils_test_SOURCES = test/graph_utils_test.cc
40 40
# test_heap_test_SOURCES = test/heap_test.cc
41 41
test_kruskal_test_SOURCES = test/kruskal_test.cc
42 42
test_maps_test_SOURCES = test/maps_test.cc
43 43
test_path_test_SOURCES = test/path_test.cc
44 44
test_random_test_SOURCES = test/random_test.cc
45 45
test_test_tools_fail_SOURCES = test/test_tools_fail.cc
46 46
test_test_tools_pass_SOURCES = test/test_tools_pass.cc
47 47
test_time_measure_test_SOURCES = test/time_measure_test.cc
48 48
test_unionfind_test_SOURCES = test/unionfind_test.cc
Ignore white space 384 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)