1
## Copyright 2004,2007-2009 ENSEIRB, INRIA & CNRS
1
## Copyright 2004,2007-2010 ENSEIRB, INRIA & CNRS
3
3
## This file is part of the Scotch software package for static mapping,
4
4
## graph partitioning and sparse matrix ordering.
54
56
include Makefile.inc
56
prefix ?= "/usr/local"
57
bindir ?= "$(prefix)/bin"
58
includedir ?= "$(prefix)/include"
59
libdir ?= "$(prefix)/lib"
60
datarootdir ?= "$(prefix)/share"
61
mandir ?= "$(datarootdir)/man"
59
bindir ?= $(prefix)/bin
60
includedir ?= $(prefix)/include
61
libdir ?= $(prefix)/lib
62
datarootdir ?= $(prefix)/share
63
mandir ?= $(datarootdir)/man
78
-$(MKDIR) $(datarootdir)
81
-$(MKDIR) $(includedir)
86
$(mandir) : $(datarootdir)
89
$(mandir)/man1 : $(mandir)
90
-$(MKDIR) $(mandir)/man1
73
(cd libscotch ; $(MAKE) VERSION=\"$(VERSION)\" scotch && $(MAKE) install)
74
(cd scotch ; $(MAKE) VERSION=\"$(VERSION)\" scotch && $(MAKE) install)
75
(cd libscotchmetis ; $(MAKE) scotch && $(MAKE) install)
76
(cd esmumps ; $(MAKE) scotch && $(MAKE) install)
93
(cd libscotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) scotch && $(MAKE) install)
94
(cd scotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) scotch && $(MAKE) install)
95
(cd libscotchmetis ; $(MAKE) scotch && $(MAKE) install)
96
(cd esmumps ; $(MAKE) scotch && $(MAKE) install)
78
98
ptscotch : required
79
(cd libscotch ; $(MAKE) VERSION=\"$(VERSION)\" ptscotch && $(MAKE) ptinstall)
80
(cd scotch ; $(MAKE) VERSION=\"$(VERSION)\" ptscotch && $(MAKE) ptinstall)
81
(cd libscotchmetis ; $(MAKE) ptscotch && $(MAKE) ptinstall)
82
(cd esmumps ; $(MAKE) ptscotch && $(MAKE) ptinstall)
99
(cd libscotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) ptscotch && $(MAKE) ptinstall)
100
(cd scotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) ptscotch && $(MAKE) ptinstall)
101
(cd libscotchmetis ; $(MAKE) ptscotch && $(MAKE) ptinstall)
102
(cd esmumps ; $(MAKE) ptscotch && $(MAKE) ptinstall)
104
install : required $(bindir) $(includedir) $(libdir) $(mandir)/man1
105
-$(CP) -f ../bin/[agm]*$(EXE) $(bindir)
85
106
-$(CP) -f ../include/*scotch*.h $(includedir)
86
107
-$(CP) -f ../lib/*scotch*$(LIB) $(libdir)
108
-$(CP) -Rf ../man/* $(mandir)
89
111
(cd libscotch ; $(MAKE) clean)