comparison src/ilmbase.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
25 # Because of the previous changes, '--disable-threading' will not disable 25 # Because of the previous changes, '--disable-threading' will not disable
26 # threading. It will just disable the unwanted check for pthread. 26 # threading. It will just disable the unwanted check for pthread.
27 cd '$(1)' && $(SHELL) ./configure \ 27 cd '$(1)' && $(SHELL) ./configure \
28 --host='$(TARGET)' \ 28 --host='$(TARGET)' \
29 --build="`config.guess`" \ 29 --build="`config.guess`" \
30 --disable-shared \ 30 $(ENABLE_SHARED_OR_STATIC) \
31 --prefix='$(PREFIX)/$(TARGET)' \ 31 --prefix='$(PREFIX)/$(TARGET)' \
32 --disable-threading \ 32 --disable-threading \
33 CONFIG_SHELL=$(SHELL) 33 CONFIG_SHELL=$(SHELL)
34 # do the first build step by hand, because programs are built that 34 # do the first build step by hand, because programs are built that
35 # generate source files 35 # generate source files