Mercurial > mxe-octave
comparison src/libmikmod.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 | 100e618349f7 |
comparison
equal
deleted
inserted
replaced
2854:54522aaf400c | 2855:47558e958113 |
---|---|
22 CC='$(TARGET)-gcc' \ | 22 CC='$(TARGET)-gcc' \ |
23 NM='$(TARGET)-nm' \ | 23 NM='$(TARGET)-nm' \ |
24 RANLIB='$(TARGET)-ranlib' \ | 24 RANLIB='$(TARGET)-ranlib' \ |
25 STRIP='$(TARGET)-strip' \ | 25 STRIP='$(TARGET)-strip' \ |
26 ./configure \ | 26 ./configure \ |
27 --disable-shared \ | 27 $(ENABLE_SHARED_OR_STATIC) \ |
28 --prefix='$(PREFIX)/$(TARGET)' \ | 28 --prefix='$(PREFIX)/$(TARGET)' \ |
29 --libdir='$(PREFIX)/$(TARGET)/lib' \ | 29 --libdir='$(PREFIX)/$(TARGET)/lib' \ |
30 --disable-esd | 30 --disable-esd |
31 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 31 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
32 | 32 |