source: ThirdParty/Metis/trunk/Makefile.am @ 3103

Last change on this file since 3103 was 3103, checked in by stefan, 7 years ago

conditional addition of dependent libraries into project libs via LIBADD

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 2.8 KB
Line 
1# Copyright (C) 2009 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 3103 2013-11-21 19:56:05Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.metis INSTALL.METIS
10
11lib_LTLIBRARIES = libcoinmetis.la
12
13METISDIR = @METISDIR@
14
15libcoinmetis_la_SOURCES = \
16        $(METISDIR)/Lib/balance.c \
17        $(METISDIR)/Lib/bucketsort.c \
18        $(METISDIR)/Lib/ccgraph.c \
19        $(METISDIR)/Lib/coarsen.c \
20        $(METISDIR)/Lib/compress.c \
21        $(METISDIR)/Lib/debug.c \
22        $(METISDIR)/Lib/estmem.c \
23        $(METISDIR)/Lib/fm.c \
24        $(METISDIR)/Lib/fortran.c \
25        $(METISDIR)/Lib/frename.c \
26        $(METISDIR)/Lib/graph.c \
27        $(METISDIR)/Lib/initpart.c \
28        $(METISDIR)/Lib/kmetis.c \
29        $(METISDIR)/Lib/kvmetis.c \
30        $(METISDIR)/Lib/kwayfm.c \
31        $(METISDIR)/Lib/kwayrefine.c \
32        $(METISDIR)/Lib/kwayvolfm.c \
33        $(METISDIR)/Lib/kwayvolrefine.c \
34        $(METISDIR)/Lib/match.c \
35        $(METISDIR)/Lib/mbalance2.c \
36        $(METISDIR)/Lib/mbalance.c \
37        $(METISDIR)/Lib/mcoarsen.c \
38        $(METISDIR)/Lib/memory.c \
39        $(METISDIR)/Lib/mesh.c \
40        $(METISDIR)/Lib/meshpart.c \
41        $(METISDIR)/Lib/mfm2.c \
42        $(METISDIR)/Lib/mfm.c \
43        $(METISDIR)/Lib/mincover.c \
44        $(METISDIR)/Lib/minitpart2.c \
45        $(METISDIR)/Lib/minitpart.c \
46        $(METISDIR)/Lib/mkmetis.c \
47        $(METISDIR)/Lib/mkwayfmh.c \
48        $(METISDIR)/Lib/mkwayrefine.c \
49        $(METISDIR)/Lib/mmatch.c \
50        $(METISDIR)/Lib/mmd.c \
51        $(METISDIR)/Lib/mpmetis.c \
52        $(METISDIR)/Lib/mrefine2.c \
53        $(METISDIR)/Lib/mrefine.c \
54        $(METISDIR)/Lib/mutil.c \
55        $(METISDIR)/Lib/myqsort.c \
56        $(METISDIR)/Lib/ometis.c \
57        $(METISDIR)/Lib/parmetis.c \
58        $(METISDIR)/Lib/pmetis.c \
59        $(METISDIR)/Lib/pqueue.c \
60        $(METISDIR)/Lib/refine.c \
61        $(METISDIR)/Lib/separator.c \
62        $(METISDIR)/Lib/sfm.c \
63        $(METISDIR)/Lib/srefine.c \
64        $(METISDIR)/Lib/stat.c \
65        $(METISDIR)/Lib/subdomains.c \
66        $(METISDIR)/Lib/timing.c \
67        $(METISDIR)/Lib/util.c
68
69DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
70
71AM_CPPFLAGS = \
72        -I`$(CYGPATH_W) $(srcdir)/$(METISDIR)/Lib`
73
74if DEPENDENCY_LINKING
75libcoinmetis_la_LIBADD = $(METIS_PCLIBS)
76endif
77
78libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
79
80thirdpartyincludedir = $(includedir)/coin/ThirdParty
81thirdpartyinclude_HEADERS = \
82  $(METISDIR)/Lib/defs.h \
83  $(METISDIR)/Lib/macros.h \
84  $(METISDIR)/Lib/metis.h \
85  $(METISDIR)/Lib/proto.h \
86  $(METISDIR)/Lib/rename.h \
87  $(METISDIR)/Lib/struct.h
88
89pkgconfiglibdir = $(libdir)/pkgconfig
90pkgconfiglib_DATA = coinmetis.pc
91
92test:
93        @echo "No test available for Metis."
94
95# Suppress default defines from autoheader
96DEFS =
97
98########################################################################
99#                         Maintainer Stuff                             #
100########################################################################
101
102CLEANFILES =
103
104# Files that are generated and should be cleaned with make distclean
105DISTCLEANFILES = $(MAKEOKFILE) strings.h
106
107include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.