source: ThirdParty/Mumps/trunk/Makefile.am @ 1412

Last change on this file since 1412 was 1412, checked in by stefan, 10 years ago

upgrade to Mumps 4.9

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
1# Copyright (C) 2007, 2008, 2009 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: Makefile.am 1412 2009-09-13 19:02:38Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.mumps INSTALL.MUMPS
10
11if SKIPMAKE
12  noinst_LTLIBRARIES =
13else
14  noinst_LTLIBRARIES = libcoinmumps.la
15endif
16
17MUMPSDIR = @MUMPSDIR@
18
19nodist_libcoinmumps_la_SOURCES = \
20        $(MUMPSDIR)/src/tools_common_mod.F \
21        $(MUMPSDIR)/src/dmumps_comm_buffer.F \
22        $(MUMPSDIR)/src/dmumps_struc_def.F \
23        $(MUMPSDIR)/src/mumps_ooc_common.F\
24        $(MUMPSDIR)/src/mumps_static_mapping.F \
25        $(MUMPSDIR)/src/dmumps_ooc_buffer.F \
26        $(MUMPSDIR)/src/dmumps_load.F \
27        $(MUMPSDIR)/src/dmumps_ooc.F \
28        $(MUMPSDIR)/src/dmumps_part1.F \
29        $(MUMPSDIR)/src/dmumps_part2.F \
30        $(MUMPSDIR)/src/dmumps_part3.F \
31        $(MUMPSDIR)/src/dmumps_part4.F \
32        $(MUMPSDIR)/src/dmumps_part5.F \
33        $(MUMPSDIR)/src/dmumps_part6.F \
34        $(MUMPSDIR)/src/dmumps_part7.F \
35        $(MUMPSDIR)/src/dmumps_part8.F \
36        $(MUMPSDIR)/src/mumps_part9.F \
37        $(MUMPSDIR)/src/mumps_c.c \
38        $(MUMPSDIR)/src/mumps_common.c\
39        $(MUMPSDIR)/src/mumps_orderings.c\
40        $(MUMPSDIR)/src/mumps_io.c\
41        $(MUMPSDIR)/src/mumps_io_basic.c\
42        $(MUMPSDIR)/src/mumps_io_thread.c\
43        $(MUMPSDIR)/src/mumps_io_err.c\
44        $(MUMPSDIR)/src/mumps_size.c\
45        $(MUMPSDIR)/libseq/mpi.f \
46        $(MUMPSDIR)/libseq/mpic.c \
47        $(MUMPSDIR)/libseq/elapse.c
48
49
50DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
51
52AM_CPPFLAGS = \
53        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/src` \
54        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/libseq` \
55        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/include`
56
57
58libcoinmumps_la_LDFLAGS = $(LT_LDFLAGS)
59
60# Some dependecies for modules:
61
62dmumps_load.lo dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo \
63dmumps_part4.lo dmumps_part5.lo dmumps_part6.lo dmumps_part8.lo: \
64dmumps_comm_buffer.lo
65
66dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo \
67dmumps_part4.lo dmumps_part5.lo dmumps_part6.lo: dmumps_load.lo
68
69dmumps_part1.lo dmumps_ooc.lo: dmumps_ooc_buffer.lo
70
71dmumps_load.lo dmumps_ooc.lo dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo \
72dmumps_part4.lo dmumps_part5.lo dmumps_part7.lo dmumps_part8.lo: \
73dmumps_struc_def.lo
74
75dmumps_ooc_buffer.lo dmumps_ooc.lo: mumps_ooc_common.lo
76
77dmumps_part5.lo dmumps_ooc.lo: mumps_static_mapping.lo
78
79dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo dmumps_part4.lo dmumps_part5.lo dmumps_part6.lo dmumps_part8.lo: dmumps_ooc.lo
80
81dmumps_part2.lo dmumps_part5.lo dmumps_part8.lo: tools_common_mod.lo
82
83# Module files that need to be deleted
84MODEXT = mod
85CLEANFILES = *.$(MODEXT)
86
87# Reset DEFS to that they don't show up for the Fortran compiler
88DEFS =
89CFLAGS += $(MY_DEFS)
90FFLAGS += $(MY_FDEFS)
91
92########################################################################
93#                         Maintainer Stuff                             #
94########################################################################
95
96# Files that are generated and should be cleaned with make distclean
97DISTCLEANFILES = $(MAKEOKFILE)
98
99include ../../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.