source: ThirdParty/Mumps/stable/1.4/Makefile.am @ 2315

Last change on this file since 2315 was 2315, checked in by stefan, 9 years ago

sync with trunk rev2312

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 KB
Line 
1# Copyright (C) 2007-2010 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 2315 2011-06-19 14:38:54Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.mumps INSTALL.MUMPS
10
11lib_LTLIBRARIES = libcoinmumps.la
12
13MUMPSDIR = @MUMPSDIR@
14
15nodist_libcoinmumps_la_SOURCES = \
16        $(MUMPSDIR)/src/tools_common_mod.F \
17        $(MUMPSDIR)/src/dmumps_comm_buffer.F \
18        $(MUMPSDIR)/src/dmumps_struc_def.F \
19        $(MUMPSDIR)/src/mumps_ooc_common.F\
20        $(MUMPSDIR)/src/mumps_static_mapping.F \
21        $(MUMPSDIR)/src/dmumps_ooc_buffer.F \
22        $(MUMPSDIR)/src/dmumps_load.F \
23        $(MUMPSDIR)/src/dmumps_ooc.F \
24        $(MUMPSDIR)/src/dmumps_part1.F \
25        $(MUMPSDIR)/src/dmumps_part2.F \
26        $(MUMPSDIR)/src/dmumps_part3.F \
27        $(MUMPSDIR)/src/dmumps_part4.F \
28        $(MUMPSDIR)/src/dmumps_part5.F \
29        $(MUMPSDIR)/src/dmumps_part6.F \
30        $(MUMPSDIR)/src/dmumps_part7.F \
31        $(MUMPSDIR)/src/dmumps_part8.F \
32        $(MUMPSDIR)/src/mumps_part9.F \
33        $(MUMPSDIR)/src/mumps_sol_es.F \
34        $(MUMPSDIR)/src/mumps_c.c \
35        $(MUMPSDIR)/src/mumps_common.c\
36        $(MUMPSDIR)/src/mumps_orderings.c\
37        $(MUMPSDIR)/src/mumps_io.c\
38        $(MUMPSDIR)/src/mumps_io_basic.c\
39        $(MUMPSDIR)/src/mumps_io_thread.c\
40        $(MUMPSDIR)/src/mumps_io_err.c\
41        $(MUMPSDIR)/src/mumps_size.c\
42        $(MUMPSDIR)/libseq/mpi.f \
43        $(MUMPSDIR)/libseq/mpic.c \
44        $(MUMPSDIR)/libseq/elapse.c
45
46
47DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
48
49AM_CPPFLAGS = \
50        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/src` \
51        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/libseq` \
52        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/include`
53
54
55libcoinmumps_la_LDFLAGS = $(LT_LDFLAGS)
56
57# Some dependecies for modules:
58
59dmumps_load.lo dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo \
60dmumps_part4.lo dmumps_part5.lo dmumps_part6.lo dmumps_part8.lo: \
61dmumps_comm_buffer.lo
62
63dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo \
64dmumps_part4.lo dmumps_part5.lo dmumps_part6.lo: dmumps_load.lo
65
66dmumps_part1.lo dmumps_ooc.lo: dmumps_ooc_buffer.lo
67
68dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo dmumps_part4.lo \
69dmumps_part5.lo dmumps_part6.lo dmumps_part8.lo: dmumps_ooc.lo
70
71dmumps_part1.lo dmumps_part5.lo: dmumps_part2.lo
72
73dmumps_load.lo dmumps_ooc.lo dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo \
74dmumps_part4.lo dmumps_part5.lo dmumps_part7.lo dmumps_part8.lo: \
75dmumps_struc_def.lo
76
77dmumps_ooc_buffer.lo dmumps_ooc.lo: mumps_ooc_common.lo
78
79dmumps_part5.lo dmumps_ooc.lo: mumps_static_mapping.lo
80
81dmumps_part2.lo dmumps_part5.lo dmumps_part8.lo: tools_common_mod.lo mumps_sol_es.lo
82
83# actually only dmumps_part8.lo depends on mumps_sol_es.lo, but having only one target
84# on the left side makes automake think that we provide a rule how to build this target
85dmumps_part2.lo dmumps_part8.lo: mumps_sol_es.lo
86
87# Module files that need to be deleted
88MODEXT = mod
89CLEANFILES = *.$(MODEXT)
90
91# Reset DEFS to that they don't show up for the Fortran compiler
92DEFS =
93CFLAGS += $(MY_DEFS)
94FFLAGS += $(MY_FDEFS)
95
96thirdpartyincludedir = $(includedir)/coin/ThirdParty
97thirdpartyinclude_HEADERS = \
98  $(MUMPSDIR)/include/dmumps_c.h \
99  $(MUMPSDIR)/include/mumps_compat.h \
100  $(MUMPSDIR)/include/mumps_c_types.h \
101  $(MUMPSDIR)/libseq/mpi.h
102
103pkgconfiglibdir = $(libdir)/pkgconfig
104pkgconfiglib_DATA = coinmumps.pc
105
106test:
107        @echo "No test available for Mumps."
108
109########################################################################
110#                         Maintainer Stuff                             #
111########################################################################
112
113# Files that are generated and should be cleaned with make distclean
114DISTCLEANFILES = $(MAKEOKFILE)
115
116include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.