comparison src/qrupdate.mk @ 4741:35464f52609a

allow qrupdate to build without separate xerbla lib
author John W. Eaton <jwe@octave.org>
date Tue, 26 Jun 2018 15:33:39 -0400
parents 0db33a326eec
children 506a61f959e4
comparison
equal deleted inserted replaced
4740:9942a9c37ffe 4741:35464f52609a
10 $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE) 10 $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE)
11 $(PKG)_DEPS := blas lapack 11 $(PKG)_DEPS := blas lapack
12 12
13 ifeq ($(ENABLE_FORTRAN_INT64),yes) 13 ifeq ($(ENABLE_FORTRAN_INT64),yes)
14 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8" 14 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8"
15 endif
16
17 ifeq ($(MXE_WINDOWS_BUILD),yes)
18 $(PKG)_XERBLA_LIB_MAKE_OPTION := XERBLA_LIB="-lxerbla"
15 endif 19 endif
16 20
17 define $(PKG)_UPDATE 21 define $(PKG)_UPDATE
18 echo 'Warning: Updates are temporarily disabled for package qrupdate.' >&2; 22 echo 'Warning: Updates are temporarily disabled for package qrupdate.' >&2;
19 echo $(qrupdate_VERSION) 23 echo $(qrupdate_VERSION)
31 $(ENABLE_SHARED_OR_STATIC) \ 35 $(ENABLE_SHARED_OR_STATIC) \
32 --prefix='$(HOST_PREFIX)' \ 36 --prefix='$(HOST_PREFIX)' \
33 $($(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS) \ 37 $($(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS) \
34 && $(CONFIGURE_POST_HOOK) 38 && $(CONFIGURE_POST_HOOK)
35 39
36 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' 40 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' \
41 $($(PKG)_XERBLA_LIB_MAKE_OPTION) install DESTDIR='$(3)'
37 endef 42 endef