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

Last change on this file since 4025 was 4025, checked in by stefan, 10 months ago

merge branch autotools-update

  • updated buildsystem to work on new autotools setup
  • 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
5AUTOMAKE_OPTIONS = foreign subdir-objects
6
7EXTRA_DIST = get.Mumps INSTALL.MUMPS
8
9lib_LTLIBRARIES = libcoinmumps.la
10
11nodist_libcoinmumps_la_SOURCES = \
12        MUMPS/src/tools_common_mod.F \
13        MUMPS/src/dmumps_comm_buffer.F \
14        MUMPS/src/dmumps_struc_def.F \
15        MUMPS/src/mumps_ooc_common.F \
16        MUMPS/src/mumps_static_mapping.F \
17        MUMPS/src/dmumps_ooc_buffer.F \
18        MUMPS/src/dmumps_load.F \
19        MUMPS/src/dmumps_ooc.F \
20        MUMPS/src/dmumps_part1.F \
21        MUMPS/src/dmumps_part2.F \
22        MUMPS/src/dmumps_part3.F \
23        MUMPS/src/dmumps_part4.F \
24        MUMPS/src/dmumps_part5.F \
25        MUMPS/src/dmumps_part6.F \
26        MUMPS/src/dmumps_part7.F \
27        MUMPS/src/dmumps_part8.F \
28        MUMPS/src/mumps_part9.F \
29        MUMPS/src/mumps_sol_es.F \
30        MUMPS/src/mumps_c.c \
31        MUMPS/src/mumps_common.c \
32        MUMPS/src/mumps_orderings.c \
33        MUMPS/src/mumps_io.c \
34        MUMPS/src/mumps_io_basic.c \
35        MUMPS/src/mumps_io_thread.c \
36        MUMPS/src/mumps_io_err.c \
37        MUMPS/src/mumps_size.c \
38        MUMPS/libseq/mpi.f \
39        MUMPS/libseq/mpic.c \
40        MUMPS/libseq/elapse.c
41
42AM_CPPFLAGS = -I$(srcdir)/MUMPS/src -I$(srcdir)/MUMPS/libseq -I$(srcdir)/MUMPS/include
43
44libcoinmumps_la_LIBADD = $(MUMPS_LFLAGS)
45
46libcoinmumps_la_LDFLAGS = $(LT_LDFLAGS)
47
48# Some dependecies for modules:
49MUMPS/src/dmumps_load.lo MUMPS/src/dmumps_part1.lo MUMPS/src/dmumps_part2.lo MUMPS/src/dmumps_part3.lo \
50MUMPS/src/dmumps_part4.lo MUMPS/src/dmumps_part5.lo MUMPS/src/dmumps_part6.lo MUMPS/src/dmumps_part8.lo: \
51  MUMPS/src/dmumps_comm_buffer.lo
52
53MUMPS/src/dmumps_part1.lo MUMPS/src/dmumps_part2.lo MUMPS/src/dmumps_part3.lo \
54MUMPS/src/dmumps_part4.lo MUMPS/src/dmumps_part5.lo MUMPS/src/dmumps_part6.lo: MUMPS/src/dmumps_load.lo
55
56MUMPS/src/dmumps_part1.lo MUMPS/src/dmumps_ooc.lo: MUMPS/src/dmumps_ooc_buffer.lo
57
58MUMPS/src/dmumps_part1.lo MUMPS/src/dmumps_part2.lo MUMPS/src/dmumps_part3.lo MUMPS/src/dmumps_part4.lo \
59MUMPS/src/dmumps_part5.lo MUMPS/src/dmumps_part6.lo MUMPS/src/dmumps_part8.lo: MUMPS/src/dmumps_ooc.lo
60
61MUMPS/src/dmumps_part1.lo MUMPS/src/dmumps_part5.lo: MUMPS/src/dmumps_part2.lo
62
63MUMPS/src/dmumps_load.lo MUMPS/src/dmumps_ooc.lo MUMPS/src/dmumps_part1.lo MUMPS/src/dmumps_part2.lo MUMPS/src/dmumps_part3.lo \
64MUMPS/src/dmumps_part4.lo MUMPS/src/dmumps_part5.lo MUMPS/src/dmumps_part7.lo MUMPS/src/dmumps_part8.lo: \
65MUMPS/src/dmumps_struc_def.lo
66
67MUMPS/src/dmumps_ooc_buffer.lo MUMPS/src/dmumps_ooc.lo: MUMPS/src/mumps_ooc_common.lo
68
69MUMPS/src/dmumps_part5.lo MUMPS/src/dmumps_ooc.lo: MUMPS/src/mumps_static_mapping.lo
70
71MUMPS/src/dmumps_part2.lo MUMPS/src/dmumps_part5.lo MUMPS/src/dmumps_part8.lo: MUMPS/src/tools_common_mod.lo MUMPS/src/mumps_sol_es.lo
72
73# Module files that need to be deleted
74CLEANFILES = *.mod
75
76CFLAGS += $(MY_DEFS)
77FCFLAGS += $(MY_FDEFS)
78
79# automake thinks that the .F files are F77, not FC, and requires F77 to be set
80# set it to FC, and same for FFLAGS
81F77 = $(FC)
82FFLAGS = $(FCFLAGS)
83
84thirdpartyincludedir = $(includedir)/coin-or/mumps
85thirdpartyinclude_HEADERS = \
86  MUMPS/include/dmumps_c.h \
87  MUMPS/include/mumps_c_types.h \
88  MUMPS/libseq/mumps_mpi.h \
89  mumps_compat.h
90
91pkgconfiglibdir = $(libdir)/pkgconfig
92pkgconfiglib_DATA = coinmumps.pc
93
94########################################################################
95#                         Maintainer Stuff                             #
96########################################################################
97
98# Files that are generated and should be cleaned with make distclean
99DISTCLEANFILES =
Note: See TracBrowser for help on using the repository browser.