summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-07-22 13:22:18 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-07-22 13:22:18 +0400
commite303376fdcec6942f3f920b2af1d37579b8e1d00 (patch)
tree4943878fe9997701397d4616007441267a6534b3 /sci-libs
parent2114044825a17fa3fc65e4216261f1e8212e7ffa (diff)
downloadebuilds-e303376fdcec6942f3f920b2af1d37579b8e1d00.tar.gz
New upstream version. Removed shared library support. Removed cuba-2.1-r1.ebuild and cuba-3.0.ebuild
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/cuba/Manifest9
-rw-r--r--sci-libs/cuba/cuba-2.1-r1.ebuild57
-rw-r--r--sci-libs/cuba/cuba-3.0-r1.ebuild (renamed from sci-libs/cuba/cuba-3.0.ebuild)18
-rw-r--r--sci-libs/cuba/files/3.0-shared.patch155
-rw-r--r--sci-libs/cuba/files/shared.patch137
5 files changed, 6 insertions, 370 deletions
diff --git a/sci-libs/cuba/Manifest b/sci-libs/cuba/Manifest
index f74c031..7070b08 100644
--- a/sci-libs/cuba/Manifest
+++ b/sci-libs/cuba/Manifest
@@ -1,7 +1,2 @@
-AUX 3.0-shared.patch 5071 RMD160 934ecfe7d12bb4556b57f6198baa39d859b9c851 SHA1 246c1089965bf5e78d8a9c8b250ac81cfcf2d9ab SHA256 946ed0a9f7a6fcf5f27d553d8e3800ac299aae8338cd59cb2baa5195ad0048cc
-AUX shared.patch 4438 RMD160 69ae644305896797a91fffcbd4dcb30629be99bd SHA1 8c3a766c1352a7de18ce1f567b167590eabbec9b SHA256 4c7644563350c7db5d72a8e6164e74755e7cb451f25d06910849e6ef17b23a35
-DIST Cuba-2.1.tar.gz 308756 RMD160 0b7872bdea7815fb096e18cb25ef42628ac15930 SHA1 214bb49a0a0fb364789bc9bf83012bc128e59960 SHA256 8af26e8d0400be8d8811e2bf7d6a7605b9d8d2fc370a3f5f6c7e788d964d7853
-DIST Cuba-3.0.tar.gz 352577 RMD160 c10c84050cb5047d4a46ce00670b7f3e56556ab5 SHA1 cca1e28d77296e9b9c76c4a73cc7e9ec52df1054 SHA256 530bf3676fe273ee6ab28234a7af2a1b52f69a02d887540b17c396ddd2d69226
-EBUILD cuba-2.1-r1.ebuild 1053 RMD160 df64f9a7557b89a2d0ebb0041142f6a8d4435f35 SHA1 55bd17b22d7c814fb3f2f5b07d0c8de6d533d7b0 SHA256 12e72665c042ee7a774cf3a5daa5987326ac181e67287e924fd942487aa6ae5f
-EBUILD cuba-3.0.ebuild 1059 RMD160 87bc164040cf36dfeac416b469c192fc0af85b22 SHA1 4ce541146d7d2527905ac1130db93885d798b93b SHA256 2f8d9335a2a7f29e79a2e7c8122914f755a904b6b360c0ba5e9d8c4b4239ca94
-MISC Cuba-3.0.tar.gz 352577 RMD160 c10c84050cb5047d4a46ce00670b7f3e56556ab5 SHA1 cca1e28d77296e9b9c76c4a73cc7e9ec52df1054 SHA256 530bf3676fe273ee6ab28234a7af2a1b52f69a02d887540b17c396ddd2d69226
+DIST Cuba-3.0.tar.gz 360464 RMD160 7d9be4b5772d0eaffc03509847e3c772dcb19c15 SHA1 b0e54105b0d1b2120bae5b11303716f521cd2a2e SHA256 1a347f7d7dcf97c0d9321fba61450fff1dab6dc956f44d124689986fba3ab092
+EBUILD cuba-3.0-r1.ebuild 800 RMD160 c6dbde4a15c866bad6192030f8603f67d56e9e27 SHA1 fa01e9a06bc685b8d6dc0467bf935cbc8652a84d SHA256 20c4991baea0722a981ace37518373f5b4086fc8037cada5d48e5982ea9962af
diff --git a/sci-libs/cuba/cuba-2.1-r1.ebuild b/sci-libs/cuba/cuba-2.1-r1.ebuild
deleted file mode 100644
index 7450a29..0000000
--- a/sci-libs/cuba/cuba-2.1-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-EAPI="2"
-
-DESCRIPTION="A library for multidimensional numerical integration"
-HOMEPAGE="http://www.feynarts.de/cuba/"
-LICENSE="LGPL"
-SRC_URI="http://www.feynarts.de/cuba/Cuba-${PV}.tar.gz"
-S=${WORKDIR}/Cuba-${PV}
-
-KEYWORDS="~amd64 ~x86"
-IUSE="+static-libs +shared-libs doc examples"
-SLOT="0"
-
-
-src_prepare() {
- if use shared-libs; then
- epatch "${FILESDIR}/shared.patch"
- elif use !static-libs; then
- eerror "Must USE shared-libs or static-libs"
- die
- fi
-}
-
-src_configure() {
- econf
-}
-
-src_compile() {
- if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
- emake lib || die "emake failed"
- else
- die "No Makefile"
- fi
-}
-
-#src_test() {
-# emake check
-#}
-
-
-src_install() {
- use static-libs && dolib.a libcuba.a
- use shared-libs && dolib.so libcuba.so*
- use doc && dodoc cuba.pdf ChangeLog
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r demo
- fi
- insinto /usr/include
- doins cuba.h
-}
-
diff --git a/sci-libs/cuba/cuba-3.0.ebuild b/sci-libs/cuba/cuba-3.0-r1.ebuild
index 8f3b6c3..c1a0805 100644
--- a/sci-libs/cuba/cuba-3.0.ebuild
+++ b/sci-libs/cuba/cuba-3.0-r1.ebuild
@@ -2,10 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
-
EAPI="3"
+inherit eutils
+
DESCRIPTION="A library for multidimensional numerical integration"
HOMEPAGE="http://www.feynarts.de/cuba/"
LICENSE="LGPL"
@@ -13,19 +13,10 @@ SRC_URI="http://www.feynarts.de/cuba/Cuba-${PV}.tar.gz"
S=${WORKDIR}/Cuba-${PV}
KEYWORDS="~amd64 ~x86"
-IUSE="+static-libs +shared-libs doc examples"
+IUSE="doc examples"
SLOT="0"
-src_prepare() {
- if use shared-libs; then
- epatch "${FILESDIR}/${PV}-shared.patch"
- elif use !static-libs; then
- eerror "Must USE shared-libs or static-libs"
- die
- fi
-}
-
src_configure() {
econf
}
@@ -44,8 +35,7 @@ src_compile() {
src_install() {
- use static-libs && dolib.a libcuba.a
- use shared-libs && dolib.so libcuba.so*
+ dolib.a libcuba.a
use doc && dodoc cuba.pdf ChangeLog
if use examples; then
insinto /usr/share/doc/${PF}
diff --git a/sci-libs/cuba/files/3.0-shared.patch b/sci-libs/cuba/files/3.0-shared.patch
deleted file mode 100644
index 3941b58..0000000
--- a/sci-libs/cuba/files/3.0-shared.patch
+++ /dev/null
@@ -1,155 +0,0 @@
-diff -dubr Cuba-3.0.orig/makefile.in Cuba-3.0/makefile.in
---- Cuba-3.0.orig/makefile.in 2011-11-04 00:22:53.000000000 +0400
-+++ Cuba-3.0/makefile.in 2011-11-04 00:30:37.000000000 +0400
-@@ -1,5 +1,5 @@
- CC = @CC@
--CFLAGS = @CFLAGS@ @DEFS@ -I$(common) -I. -I$(srcdir)
-+CFLAGS = @CFLAGS@ @DEFS@ -I$(common) -I. -I$(srcdir) -fPIC
- MCFLAGS = @MCFLAGS@
- F77 = @F77@
- FFLAGS = @FFLAGS@
-@@ -9,6 +9,7 @@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- RANLIB = @RANLIB@
- EXE = @EXEEXT@
-+VERSION = @PACKAGE_VERSION@
-
- prefix = @prefix@
- exec_prefix = @exec_prefix@
-@@ -31,13 +32,14 @@
-
- HEADERS = cuba.h
- LIB = libcuba.a
-+SHLIB = libcuba.so.$(VERSION).0
- MATH = Vegas$(EXE) Suave$(EXE) Divonne$(EXE) Cuhre$(EXE)
- TOOLS = partview$(EXE)
-
-
- all: lib demos $(MATH_DEFAULT) $(TOOLS_DEFAULT)
-
--lib: $(LIB)
-+lib: $(LIB) $(SHLIB)
-
- demos: demo-c$(EXE) $(DEMO_FORTRAN_DEFAULT)
-
-@@ -92,26 +94,21 @@
- $(LIB)(Vegas.o): $(VEGAS_C) $(VEGAS_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(vegas) -DNOUNDERSCORE -c -o Vegas.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) Vegas.o
-- $(RM) Vegas.o
-
- $(LIB)(llVegas.o): $(VEGAS_C) $(VEGAS_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(vegas) -DLONGLONGINT -DNOUNDERSCORE -c -o llVegas.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) llVegas.o
-- $(RM) llVegas.o
-
- $(LIB)(Vegas_.o): $(VEGAS_C) $(VEGAS_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(vegas) -c -o Vegas_.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) Vegas_.o
-- $(RM) Vegas_.o
-
- $(LIB)(llVegas_.o): $(VEGAS_C) $(VEGAS_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(vegas) -DLONGLONGINT -c -o llVegas_.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) llVegas_.o
-- $(RM) llVegas_.o
-
- Vegas$(EXE): $(VEGAS_TM) $(VEGAS_DEPS) $(COMMON_TMDEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(vegas) -o Vegas$(EXE) $(VEGAS_TM)
-- strip Vegas$(EXE)
-
-
- SUAVE_C = $(suave)/Suave.c
-@@ -125,26 +122,21 @@
- $(LIB)(Suave.o): $(SUAVE_C) $(SUAVE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(suave) -DNOUNDERSCORE -c -o Suave.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) Suave.o
-- $(RM) Suave.o
-
- $(LIB)(llSuave.o): $(SUAVE_C) $(SUAVE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(suave) -DLONGLONGINT -DNOUNDERSCORE -c -o llSuave.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) llSuave.o
-- $(RM) llSuave.o
-
- $(LIB)(Suave_.o): $(SUAVE_C) $(SUAVE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(suave) -c -o Suave_.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) Suave_.o
-- $(RM) Suave_.o
-
- $(LIB)(llSuave_.o): $(SUAVE_C) $(SUAVE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(suave) -DLONGLONGINT -c -o llSuave_.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) llSuave_.o
-- $(RM) llSuave_.o
-
- Suave$(EXE): $(SUAVE_TM) $(SUAVE_DEPS) $(COMMON_TMDEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(suave) -o Suave$(EXE) $(SUAVE_TM)
-- strip Suave$(EXE)
-
-
- DIVONNE_C = $(divonne)/Divonne.c
-@@ -159,26 +151,21 @@
- $(LIB)(Divonne.o): $(DIVONNE_C) $(DIVONNE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(divonne) -DNOUNDERSCORE -c -o Divonne.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) Divonne.o
-- $(RM) Divonne.o
-
- $(LIB)(llDivonne.o): $(DIVONNE_C) $(DIVONNE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(divonne) -DLONGLONGINT -DNOUNDERSCORE -c -o llDivonne.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) llDivonne.o
-- $(RM) llDivonne.o
-
- $(LIB)(Divonne_.o): $(DIVONNE_C) $(DIVONNE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(divonne) -c -o Divonne_.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) Divonne_.o
-- $(RM) Divonne_.o
-
- $(LIB)(llDivonne_.o): $(DIVONNE_C) $(DIVONNE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(divonne) -DLONGLONGINT -c -o llDivonne_.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) llDivonne_.o
-- $(RM) llDivonne_.o
-
- Divonne$(EXE): $(DIVONNE_TM) $(DIVONNE_DEPS) $(COMMON_TMDEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(divonne) -o Divonne$(EXE) $(DIVONNE_TM)
-- strip Divonne$(EXE)
-
-
- CUHRE_C = $(cuhre)/Cuhre.c
-@@ -191,26 +178,21 @@
- $(LIB)(Cuhre.o): $(CUHRE_C) $(CUHRE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -DNOUNDERSCORE -c -o Cuhre.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) Cuhre.o
-- $(RM) Cuhre.o
-
- $(LIB)(llCuhre.o): $(CUHRE_C) $(CUHRE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -DLONGLONGINT -DNOUNDERSCORE -c -o llCuhre.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) llCuhre.o
-- $(RM) llCuhre.o
-
- $(LIB)(Cuhre_.o): $(CUHRE_C) $(CUHRE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -c -o Cuhre_.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) Cuhre_.o
-- $(RM) Cuhre_.o
-
- $(LIB)(llCuhre_.o): $(CUHRE_C) $(CUHRE_DEPS) $(COMMON_CDEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -DLONGLONGINT -c -o llCuhre_.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) llCuhre_.o
-- $(RM) llCuhre_.o
-
- Cuhre$(EXE): $(CUHRE_TM) $(CUHRE_DEPS) $(COMMON_TMDEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(cuhre) -o Cuhre$(EXE) $(CUHRE_TM)
-- strip Cuhre$(EXE)
-
-
- $(LIB): $(LIB)(Vegas.o) $(LIB)(Vegas_.o) \
-@@ -223,6 +205,11 @@
- $(LIB)(llCuhre.o) $(LIB)(llCuhre_.o)
- -$(RANLIB) $(LIB)
-
-+$(SHLIB): $(LIB)
-+ $(CC) -shared -Wl,-soname,libcuba.so.$(VERSION) -o $@ *.o
-+ ln -sf $(SHLIB) libcuba.so.$(VERSION)
-+ ln -sf $(SHLIB) libcuba.so
-+
-
- DEMO_F = $(demo)/demo-fortran.F
- DEMO_C = $(demo)/demo-c.c
-Только в Cuba-3.0.orig: .makefile.in.swp
diff --git a/sci-libs/cuba/files/shared.patch b/sci-libs/cuba/files/shared.patch
deleted file mode 100644
index 1cb55ca..0000000
--- a/sci-libs/cuba/files/shared.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-diff -urdb Cuba-2.1/makefile.in Cuba-2.1.pin/makefile.in
---- Cuba-2.1/makefile.in 2010-09-14 16:23:22.000000000 +0400
-+++ Cuba-2.1.pin/makefile.in 2011-01-02 20:10:42.000000000 +0300
-@@ -1,5 +1,5 @@
- CC = @CC@
--CFLAGS = @CFLAGS@ @DEFS@ -I$(common) -I. -I$(srcdir)
-+CFLAGS = @CFLAGS@ @DEFS@ -I$(common) -I. -I$(srcdir) -fPIC
- F77 = @F77@
- FFLAGS = @FFLAGS@
- LIBS = @LIBS@
-@@ -8,6 +8,7 @@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- RANLIB = @RANLIB@
- EXE = @EXEEXT@
-+VERSION = @PACKAGE_VERSION@
-
- prefix = @prefix@
- exec_prefix = @exec_prefix@
-@@ -30,13 +31,14 @@
-
- HEADERS = cuba.h
- LIB = libcuba.a
-+SHLIB = libcuba.so.$(VERSION).0
- MATH = Vegas$(EXE) Suave$(EXE) Divonne$(EXE) Cuhre$(EXE)
- TOOLS = partview$(EXE)
-
-
- all: lib demos $(MATH_DEFAULT) $(TOOLS_DEFAULT)
-
--lib: $(LIB)
-+lib: $(LIB) $(SHLIB)
-
- demos: demo-c$(EXE) $(DEMO_FORTRAN_DEFAULT)
-
-@@ -90,22 +92,18 @@
- $(LIB)(Vegas.o): $(VEGAS_C) $(VEGAS_DEPS)
- $(CC) $(CFLAGS) -I$(vegas) -c -o Vegas.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) Vegas.o
-- $(RM) Vegas.o
-
- $(LIB)(llVegas.o): $(VEGAS_C) $(VEGAS_DEPS)
- $(CC) $(CFLAGS) -I$(vegas) -DLONGLONGINT -c -o llVegas.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) llVegas.o
-- $(RM) llVegas.o
-
- $(LIB)(Vegas_.o): $(VEGAS_C) $(VEGAS_DEPS)
- $(CC) $(CFLAGS) -I$(vegas) -DUNDERSCORE -c -o Vegas_.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) Vegas_.o
-- $(RM) Vegas_.o
-
- $(LIB)(llVegas_.o): $(VEGAS_C) $(VEGAS_DEPS)
- $(CC) $(CFLAGS) -I$(vegas) -DLONGLONGINT -DUNDERSCORE -c -o llVegas_.o $(VEGAS_C)
- $(AR) $(ARFLAGS) $(LIB) llVegas_.o
-- $(RM) llVegas_.o
-
- Vegas$(EXE): $(VEGAS_TM) $(VEGAS_DEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(vegas) -o Vegas$(EXE) $(VEGAS_TM)
-@@ -123,22 +121,18 @@
- $(LIB)(Suave.o): $(SUAVE_C) $(SUAVE_DEPS)
- $(CC) $(CFLAGS) -I$(suave) -c -o Suave.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) Suave.o
-- $(RM) Suave.o
-
- $(LIB)(llSuave.o): $(SUAVE_C) $(SUAVE_DEPS)
- $(CC) $(CFLAGS) -I$(suave) -DLONGLONGINT -c -o llSuave.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) llSuave.o
-- $(RM) llSuave.o
-
- $(LIB)(Suave_.o): $(SUAVE_C) $(SUAVE_DEPS)
- $(CC) $(CFLAGS) -I$(suave) -DUNDERSCORE -c -o Suave_.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) Suave_.o
-- $(RM) Suave_.o
-
- $(LIB)(llSuave_.o): $(SUAVE_C) $(SUAVE_DEPS)
- $(CC) $(CFLAGS) -I$(suave) -DLONGLONGINT -DUNDERSCORE -c -o llSuave_.o $(SUAVE_C)
- $(AR) $(ARFLAGS) $(LIB) llSuave_.o
-- $(RM) llSuave_.o
-
- Suave$(EXE): $(SUAVE_TM) $(SUAVE_DEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(suave) -o Suave$(EXE) $(SUAVE_TM)
-@@ -157,22 +151,18 @@
- $(LIB)(Divonne.o): $(DIVONNE_C) $(DIVONNE_DEPS)
- $(CC) $(CFLAGS) -I$(divonne) -c -o Divonne.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) Divonne.o
-- $(RM) Divonne.o
-
- $(LIB)(llDivonne.o): $(DIVONNE_C) $(DIVONNE_DEPS)
- $(CC) $(CFLAGS) -I$(divonne) -DLONGLONGINT -c -o llDivonne.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) llDivonne.o
-- $(RM) llDivonne.o
-
- $(LIB)(Divonne_.o): $(DIVONNE_C) $(DIVONNE_DEPS)
- $(CC) $(CFLAGS) -I$(divonne) -DUNDERSCORE -c -o Divonne_.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) Divonne_.o
-- $(RM) Divonne_.o
-
- $(LIB)(llDivonne_.o): $(DIVONNE_C) $(DIVONNE_DEPS)
- $(CC) $(CFLAGS) -I$(divonne) -DLONGLONGINT -DUNDERSCORE -c -o llDivonne_.o $(DIVONNE_C)
- $(AR) $(ARFLAGS) $(LIB) llDivonne_.o
-- $(RM) llDivonne_.o
-
- Divonne$(EXE): $(DIVONNE_TM) $(DIVONNE_DEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(divonne) -o Divonne$(EXE) $(DIVONNE_TM)
-@@ -189,22 +179,18 @@
- $(LIB)(Cuhre.o): $(CUHRE_C) $(CUHRE_DEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -c -o Cuhre.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) Cuhre.o
-- $(RM) Cuhre.o
-
- $(LIB)(llCuhre.o): $(CUHRE_C) $(CUHRE_DEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -DLONGLONGINT -c -o llCuhre.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) llCuhre.o
-- $(RM) llCuhre.o
-
- $(LIB)(Cuhre_.o): $(CUHRE_C) $(CUHRE_DEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -DUNDERSCORE -c -o Cuhre_.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) Cuhre_.o
-- $(RM) Cuhre_.o
-
- $(LIB)(llCuhre_.o): $(CUHRE_C) $(CUHRE_DEPS)
- $(CC) $(CFLAGS) -I$(cuhre) -DLONGLONGINT -DUNDERSCORE -c -o llCuhre_.o $(CUHRE_C)
- $(AR) $(ARFLAGS) $(LIB) llCuhre_.o
-- $(RM) llCuhre_.o
-
- Cuhre$(EXE): $(CUHRE_TM) $(CUHRE_DEPS)
- $(MCC) $(MCFLAGS) $(CFLAGS) -I$(cuhre) -o Cuhre$(EXE) $(CUHRE_TM)
-@@ -221,6 +207,10 @@
- $(LIB)(llCuhre.o) $(LIB)(llCuhre_.o)
- -$(RANLIB) $(LIB)
-
-+$(SHLIB): $(LIB)
-+ $(CC) -shared -Wl,-soname,libcuba.so.$(VERSION) -o $(SHLIB) *.o
-+ ln -sf $(SHLIB) libcuba.so.$(VERSION)
-+ ln -sf $(SHLIB) libcuba.so
-
- DEMO_F = $(demo)/demo-fortran.F
- DEMO_C = $(demo)/demo-c.c