summaryrefslogtreecommitdiff
path: root/exports/Makefile
diff options
context:
space:
mode:
authorXianyi Zhang <xianyi@iscas.ac.cn>2012-03-14 17:08:21 +0800
committerXianyi Zhang <xianyi@iscas.ac.cn>2012-03-14 17:08:21 +0800
commita7a7751be78b839ef4e3a34bf4a2cc7c97a7cd8d (patch)
treea06f29ca11a9ad375b961da05ea4b454e088cf20 /exports/Makefile
parent0bbf955d4c07ea1388aa025890be009f814394ae (diff)
downloadopenblas-a7a7751be78b839ef4e3a34bf4a2cc7c97a7cd8d.tar.gz
openblas-a7a7751be78b839ef4e3a34bf4a2cc7c97a7cd8d.tar.bz2
openblas-a7a7751be78b839ef4e3a34bf4a2cc7c97a7cd8d.zip
Export CBLAS funtions on Windows DLL.
Diffstat (limited to 'exports/Makefile')
-rw-r--r--exports/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/exports/Makefile b/exports/Makefile
index 69050989c..2db6b6daa 100644
--- a/exports/Makefile
+++ b/exports/Makefile
@@ -58,16 +58,16 @@ dll : ../$(LIBDLLNAME)
dll2 : libgoto2_shared.dll
-../$(LIBDLLNAME) : ../$(LIBNAME) libgoto2.def dllinit.$(SUFFIX)
+../$(LIBDLLNAME) : ../$(LIBNAME) libopenblas.def dllinit.$(SUFFIX)
$(RANLIB) ../$(LIBNAME)
ifeq ($(BINARY32), 1)
- $(DLLWRAP) -o ../$(LIBDLLNAME) --def libgoto2.def \
+ $(DLLWRAP) -o ../$(LIBDLLNAME) --def libopenblas.def \
--entry _dllinit@12 -s dllinit.$(SUFFIX) --dllname $(@F) ../$(LIBNAME) $(FEXTRALIB)
- -lib /machine:i386 /def:libgoto2.def
+ -lib /machine:i386 /def:libopenblas.def
else
- $(DLLWRAP) -o ../$(LIBDLLNAME) --def libgoto2.def \
+ $(DLLWRAP) -o ../$(LIBDLLNAME) --def libopenblas.def \
--entry $(FU)dllinit -s dllinit.$(SUFFIX) --dllname $(@F) ../$(LIBNAME) $(FEXTRALIB)
- -lib /machine:X64 /def:libgoto2.def
+ -lib /machine:X64 /def:libopenblas.def
endif
libgoto2_shared.dll : ../$(LIBNAME) libgoto2_shared.def
@@ -75,7 +75,7 @@ libgoto2_shared.dll : ../$(LIBNAME) libgoto2_shared.def
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
-Wl,--out-implib,libgoto2_shared.lib $(FEXTRALIB)
-libgoto2.def : gensymbol
+libopenblas.def : gensymbol
perl ./gensymbol win2k $(ARCH) dummy $(EXPRECISION) $(NO_CBLAS) $(NO_LAPACK) > $(@F)
libgoto2_shared.def : gensymbol