Added support for NO_SHARED in make install.
authorlucasb-eyer <lucasb.eyer.be@gmail.com>
Tue, 10 Dec 2013 16:10:13 +0000 (17:10 +0100)
committerlucasb-eyer <lucasb.eyer.be@gmail.com>
Tue, 10 Dec 2013 16:10:13 +0000 (17:10 +0100)
Makefile.install

index 1f3cf87..cc588a3 100644 (file)
@@ -54,6 +54,7 @@ endif
        @cd $(DESTDIR)$(OPENBLAS_LIBRARY_DIR) ; \
        ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
 #for install shared library 
+ifndef NO_SHARED
        @echo Copying the shared library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
 ifeq ($(OSNAME), Linux)
        @install -pm755 $(LIBSONAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
@@ -82,6 +83,7 @@ endif
 ifeq ($(OSNAME), CYGWIN_NT)
        @-cp $(LIBDLLNAME) $(OPENBLAS_LIBRARY_DIR)
 endif
+endif
 
        @echo Install OK!