-
Notifications
You must be signed in to change notification settings - Fork 41
/
Makefile.am
81 lines (53 loc) · 2.29 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Copyright (C) 2006 International Business Machines and others.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.
## $Id$
# Author: Andreas Waechter IBM 2006-04-13
AUTOMAKE_OPTIONS = foreign
########################################################################
# Subdirectories #
########################################################################
# subdirs is set by configure as the list of all subdirectories to recurse
# into
SUBDIRS = $(subdirs)
########################################################################
# Extra Targets #
########################################################################
thirdparty: asl blas glpk lapack metis mumps
asl: @srcdir@/ThirdParty/ASL/solvers/asl.h
@srcdir@/ThirdParty/ASL/solvers/asl.h:
cd @srcdir@/ThirdParty/ASL; ./get.ASL -y
blas: @srcdir@/ThirdParty/Blas/ccopy.f
@srcdir@/ThirdParty/Blas/ccopy.f:
cd @srcdir@/ThirdParty/Blas; ./get.Blas
lapack: @srcdir@/ThirdParty/Lapack/LAPACK/SRC/cbbcsd.f
@srcdir@/ThirdParty/Lapack/LAPACK/SRC/cbbcsd.f:
cd @srcdir@/ThirdParty/Lapack; ./get.Lapack
glpk: @srcdir@/ThirdParty/Glpk/glpk/src/glpapi01.c
@srcdir@/ThirdParty/Glpk/glpk/src/glpapi01.c:
cd @srcdir@/ThirdParty/Glpk; ./get.Glpk
metis: @srcdir@/ThirdParty/Metis/metis-4.0/Lib/balance.c
@srcdir@/ThirdParty/Metis/metis-4.0/Lib/balance.c:
cd @srcdir@/ThirdParty/Metis; ./get.Metis
mumps: @srcdir@/ThirdParty/Mumps/MUMPS/src/mumps_c.c
@srcdir@/ThirdParty/Mumps/MUMPS/src/mumps_c.c:
cd @srcdir@/ThirdParty/Mumps; ./get.Mumps
test: tests
tests: all
for dir in $(subdirs); do \
if test -r $$dir/test/Makefile; then \
(cd $$dir; make test) || exit 1 ; \
fi; \
done
unitTests: tests
clean-local: clean-doxydoc
# install-data-local: install-doxydoc
uninstall-local: uninstall-doxydoc
.PHONY: test tests unitTests doxydoc
########################################################################
# Maintainer Stuff #
########################################################################
# Files that are generated and should be cleaned with make distclean
DISTCLEANFILES = coin_subdirs.txt
EXTRA_DIST =
include BuildTools/Makemain.inc