@@ -48,7 +48,7 @@ ifndef NO_CBLAS
48
48
@sed 's/common/openblas_config/g' cblas.h > "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/cblas.h"
49
49
endif
50
50
51
- ifneq (($ OSNAME), AIX)
51
+ ifneq ($( OSNAME), AIX)
52
52
ifndef NO_LAPACKE
53
53
@echo Copying LAPACKE header files to $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)
54
54
@-install -pm644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke.h"
99
99
#install on AIX has different options syntax
100
100
ifndef NO_LAPACKE
101
101
@echo Copying LAPACKE header files to $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)
102
- @-install -M 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke.h"
103
- @-install -M 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_config.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_config.h"
104
- @-install -M 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_mangling_with_flags.h.in "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_mangling.h"
105
- @-install -M 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_utils.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_utils.h"
102
+ @-installbsd -c -m 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke.h"
103
+ @-installbsd -c -m 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_config.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_config.h"
104
+ @-installbsd -c -m 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_mangling_with_flags.h.in "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_mangling.h"
105
+ @-installbsd -c -m 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke_utils.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke_utils.h"
106
106
endif
107
107
108
108
#for install static library
109
109
ifndef NO_STATIC
110
110
@echo Copying the static library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
111
- @install -M 644 $(LIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
111
+ @installbsd -c -m 644 $(LIBNAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
112
112
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
113
113
ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
114
114
endif
115
115
#for install shared library
116
116
ifndef NO_SHARED
117
117
@echo Copying the shared library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
118
- @install -M 755 $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
118
+ @installbsd -c -m 755 $(LIBSONAME) "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)"
119
119
@cd "$(DESTDIR)$(OPENBLAS_LIBRARY_DIR)" ; \
120
120
ln -fs $(LIBSONAME) $(LIBPREFIX).so ; \
121
121
ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)
0 commit comments