source: ThirdParty/Metis/stable/1.2/Makefile.am @ 2016

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

change library installation directory to libdir; rerun autotools

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 3.0 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 2007 2010-12-26 15:57:15Z 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
74libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
75
76thirdpartyincludedir = $(includedir)/coin/ThirdParty
77thirdpartyinclude_HEADERS = \
78  $(METISDIR)/Lib/defs.h \
79  $(METISDIR)/Lib/macros.h \
80  $(METISDIR)/Lib/metis.h \
81  $(METISDIR)/Lib/proto.h \
82  $(METISDIR)/Lib/rename.h \
83  $(METISDIR)/Lib/struct.h
84
85pkgconfiglibdir = $(libdir)/pkgconfig
86pkgconfiglib_DATA = coinmetis.pc
87
88if COIN_HAS_PKGCONFIG
89addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Metis
90       
91install-data-hook:
92        @$(mkdir_p) "$(addlibsdir)"
93        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
94        $(PKG_CONFIG) --libs coinmetis > $(addlibsdir)/metis_addlibs.txt
95       
96uninstall-hook:
97        rm -f $(addlibsdir)/metis_addlibs.txt
98endif
99
100test: $(libampl)
101        @echo "No test available for Metis."
102
103# Suppress default defines from autoheader
104DEFS =
105
106########################################################################
107#                         Maintainer Stuff                             #
108########################################################################
109
110CLEANFILES =
111
112# Files that are generated and should be cleaned with make distclean
113DISTCLEANFILES = $(MAKEOKFILE) strings.h
114
115include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.