Mercurial > mxe-octave
comparison src/libgcrypt.mk @ 2855:47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 15 Nov 2012 16:11:45 -0500 |
parents | 4d0f3a9da57e |
children | 028eabbb0f76 |
comparison
equal
deleted
inserted
replaced
2854:54522aaf400c | 2855:47558e958113 |
---|---|
18 | 18 |
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
20 cd '$(1)' && ./configure \ | 20 cd '$(1)' && ./configure \ |
21 --host='$(TARGET)' \ | 21 --host='$(TARGET)' \ |
22 --build="`config.guess`" \ | 22 --build="`config.guess`" \ |
23 --disable-shared \ | 23 $(ENABLE_SHARED_OR_STATIC) \ |
24 --prefix='$(PREFIX)/$(TARGET)' \ | 24 --prefix='$(PREFIX)/$(TARGET)' \ |
25 --with-gpg-error-prefix='$(PREFIX)/$(TARGET)' | 25 --with-gpg-error-prefix='$(PREFIX)/$(TARGET)' |
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
27 ln -sf '$(PREFIX)/$(TARGET)/bin/libgcrypt-config' '$(PREFIX)/bin/$(TARGET)-libgcrypt-config' | 27 ln -sf '$(PREFIX)/$(TARGET)/bin/libgcrypt-config' '$(PREFIX)/bin/$(TARGET)-libgcrypt-config' |
28 | 28 |