include ../settings.mk NATIVE_LIB = $(shell ../findLib "libblas.so.3gf") all: BLAS.5D BLAS.5D: BLAS.sign $(FIND_5D_EXPORTS) BLAS.sign >BLAS.5D.new && mv BLAS.5D.new BLAS.5D BLAS.sign: BLAS.symbols prototypes BLAS.override ../generateSignatures $< $(NATIVE_LIB) cblas_ >BLAS.sign.new && cat BLAS.override >>BLAS.sign.new && mv BLAS.sign.new BLAS.sign BLAS.symbols: $(NATIVE_LIB) $(EXTRACT_GNU_SYMBOLS) $< > BLAS.symbols.new && mv BLAS.symbols.new BLAS.symbols clean: rm -f BLAS.5D BLAS.sign distclean: clean install: install -m 755 -d $(DESTDIR)/usr/share/5D/BLAS3gf install -m 644 BLAS.5D $(DESTDIR)/usr/share/5D/BLAS3gf/BLAS.5D install -m 644 init.5D $(DESTDIR)/usr/share/5D/BLAS3gf/init.5D