Mercurial > mxe-octave
diff src/suitesparse.mk @ 3293:cf6f40cededb
Support file list generation in packages.
For the following modules:
- arpack
- blas
- build-autoconf
- build-automake
- build-cmake
- build-gperf
- build-libtool
- build-msvctools
- build-pkg-config
- build-texinfo
- bzip2
- curl
- dbus
- expat
- fftw
- fltk
- fontconfig
- freetype
- gettext
- glpk
- gmp
- gnuplot
- gnutls
- graphicsmagick
- hdf5
- jasper
- jpeg
- lapack
- lcms
- libgcrypt
- libgpg_error
- libiconv
- libidn
- libpng
- libssh2
- libxml2
- ncurses
- nettle
- openssl
- pcre
- pstoedit
- zlib
- qhull
- qrupdate
- qscintilla
- qt
- readline
- suitesparse
- texinfo
- tiff
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sat, 09 Nov 2013 23:28:04 -0500 |
parents | fcf98b1d15f1 |
children | 8d35ad88beed |
line wrap: on
line diff
--- a/src/suitesparse.mk Sat Nov 09 23:28:03 2013 -0500 +++ b/src/suitesparse.mk Sat Nov 09 23:28:04 2013 -0500 @@ -65,7 +65,7 @@ CHOLMOD_CONFIG='-DNPARTITION' # install library files - $(INSTALL) -d '$(HOST_LIBDIR)' + $(INSTALL) -d '$(3)$(HOST_LIBDIR)' for f in $(addprefix $(1)/, $($(PKG)_STATICLIBS_1)); do \ if [ $(BUILD_SHARED) = yes ]; then \ @@ -93,23 +93,23 @@ if [ -n "$deplibs" ]; then \ echo " deplibs = $$deplibs"; \ fi; \ - $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CXX)' $$f --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)' $$deplibs; \ + $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CXX)' $$f --install '$(INSTALL)' --libdir '$(3)$(HOST_LIBDIR)' --bindir '$(3)$(HOST_BINDIR)' $$deplibs; \ fi; \ done # install include files - $(INSTALL) -d '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/SuiteSparse_config/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/AMD/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/BTF/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/CAMD/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/CCOLAMD/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/CHOLMOD/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/COLAMD/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/CSparse/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/CXSparse/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/KLU/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/LDL/Include/'*.h '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/SPQR/Include/'* '$(HOST_INCDIR)/suitesparse/' - $(INSTALL) -m644 '$(1)/UMFPACK/Include/'*.h '$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -d '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/SuiteSparse_config/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/AMD/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/BTF/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/CAMD/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/CCOLAMD/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/CHOLMOD/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/COLAMD/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/CSparse/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/CXSparse/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/KLU/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/LDL/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/SPQR/Include/'* '$(3)$(HOST_INCDIR)/suitesparse/' + $(INSTALL) -m644 '$(1)/UMFPACK/Include/'*.h '$(3)$(HOST_INCDIR)/suitesparse/' endef