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

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

add dummy test target

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 3.1 KB
Line 
1# Copyright (C) 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 1746 2010-11-03 06:42:40Z stefan $
6
7AUTOMAKE_OPTIONS = foreign
8
9EXTRA_DIST = get.metis INSTALL.METIS
10
11thirdpartylibdir = $(libdir)/coin/ThirdParty
12thirdpartylib_LTLIBRARIES = libcoinmetis.la
13
14METISDIR = @METISDIR@
15
16libcoinmetis_la_SOURCES = \
17        $(METISDIR)/Lib/balance.c \
18        $(METISDIR)/Lib/bucketsort.c \
19        $(METISDIR)/Lib/ccgraph.c \
20        $(METISDIR)/Lib/coarsen.c \
21        $(METISDIR)/Lib/compress.c \
22        $(METISDIR)/Lib/debug.c \
23        $(METISDIR)/Lib/estmem.c \
24        $(METISDIR)/Lib/fm.c \
25        $(METISDIR)/Lib/fortran.c \
26        $(METISDIR)/Lib/frename.c \
27        $(METISDIR)/Lib/graph.c \
28        $(METISDIR)/Lib/initpart.c \
29        $(METISDIR)/Lib/kmetis.c \
30        $(METISDIR)/Lib/kvmetis.c \
31        $(METISDIR)/Lib/kwayfm.c \
32        $(METISDIR)/Lib/kwayrefine.c \
33        $(METISDIR)/Lib/kwayvolfm.c \
34        $(METISDIR)/Lib/kwayvolrefine.c \
35        $(METISDIR)/Lib/match.c \
36        $(METISDIR)/Lib/mbalance2.c \
37        $(METISDIR)/Lib/mbalance.c \
38        $(METISDIR)/Lib/mcoarsen.c \
39        $(METISDIR)/Lib/memory.c \
40        $(METISDIR)/Lib/mesh.c \
41        $(METISDIR)/Lib/meshpart.c \
42        $(METISDIR)/Lib/mfm2.c \
43        $(METISDIR)/Lib/mfm.c \
44        $(METISDIR)/Lib/mincover.c \
45        $(METISDIR)/Lib/minitpart2.c \
46        $(METISDIR)/Lib/minitpart.c \
47        $(METISDIR)/Lib/mkmetis.c \
48        $(METISDIR)/Lib/mkwayfmh.c \
49        $(METISDIR)/Lib/mkwayrefine.c \
50        $(METISDIR)/Lib/mmatch.c \
51        $(METISDIR)/Lib/mmd.c \
52        $(METISDIR)/Lib/mpmetis.c \
53        $(METISDIR)/Lib/mrefine2.c \
54        $(METISDIR)/Lib/mrefine.c \
55        $(METISDIR)/Lib/mutil.c \
56        $(METISDIR)/Lib/myqsort.c \
57        $(METISDIR)/Lib/ometis.c \
58        $(METISDIR)/Lib/parmetis.c \
59        $(METISDIR)/Lib/pmetis.c \
60        $(METISDIR)/Lib/pqueue.c \
61        $(METISDIR)/Lib/refine.c \
62        $(METISDIR)/Lib/separator.c \
63        $(METISDIR)/Lib/sfm.c \
64        $(METISDIR)/Lib/srefine.c \
65        $(METISDIR)/Lib/stat.c \
66        $(METISDIR)/Lib/subdomains.c \
67        $(METISDIR)/Lib/timing.c \
68        $(METISDIR)/Lib/util.c
69
70DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
71
72AM_CPPFLAGS = \
73        -I`$(CYGPATH_W) $(srcdir)/$(METISDIR)/Lib`
74
75libcoinmetis_la_LDFLAGS = $(LT_LDFLAGS)
76
77thirdpartyincludedir = $(includedir)/coin/ThirdParty
78thirdpartyinclude_HEADERS = \
79  $(METISDIR)/Lib/defs.h \
80  $(METISDIR)/Lib/macros.h \
81  $(METISDIR)/Lib/metis.h \
82  $(METISDIR)/Lib/proto.h \
83  $(METISDIR)/Lib/rename.h \
84  $(METISDIR)/Lib/struct.h
85
86pkgconfiglibdir = $(libdir)/pkgconfig
87pkgconfiglib_DATA = coinmetis.pc
88
89if COIN_HAS_PKGCONFIG
90addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Metis
91       
92install-data-hook:
93        @$(mkdir_p) "$(addlibsdir)"
94        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
95        $(PKG_CONFIG) --libs coinmetis > $(addlibsdir)/metis_addlibs.txt
96       
97uninstall-hook:
98        rm -f $(addlibsdir)/metis_addlibs.txt
99endif
100
101test: $(libampl)
102        @echo "No test available for Metis."
103
104# Suppress default defines from autoheader
105DEFS =
106
107########################################################################
108#                         Maintainer Stuff                             #
109########################################################################
110
111CLEANFILES =
112
113# Files that are generated and should be cleaned with make distclean
114DISTCLEANFILES = $(MAKEOKFILE) strings.h
115
116include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.