comparison src/cunit.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
16 endef 16 endef
17 17
18 define $(PKG)_BUILD 18 define $(PKG)_BUILD
19 cd '$(1)' && ./configure \ 19 cd '$(1)' && ./configure \
20 --host='$(TARGET)' \ 20 --host='$(TARGET)' \
21 --disable-shared \ 21 $(ENABLE_SHARED_OR_STATIC) \
22 --prefix='$(PREFIX)/$(TARGET)' 22 --prefix='$(PREFIX)/$(TARGET)'
23 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= 23 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA=
24 endef 24 endef