comparison src/sdl.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 4f9b72cf7ee7
comparison
equal deleted inserted replaced
2854:54522aaf400c 2855:47558e958113
17 17
18 define $(PKG)_BUILD 18 define $(PKG)_BUILD
19 $(SED) -i 's,-mwindows,-lwinmm -mwindows,' '$(1)/configure' 19 $(SED) -i 's,-mwindows,-lwinmm -mwindows,' '$(1)/configure'
20 cd '$(1)' && ./configure \ 20 cd '$(1)' && ./configure \
21 --host='$(TARGET)' \ 21 --host='$(TARGET)' \
22 --disable-shared \ 22 $(ENABLE_SHARED_OR_STATIC) \
23 --prefix='$(PREFIX)/$(TARGET)' \ 23 --prefix='$(PREFIX)/$(TARGET)' \
24 --enable-threads \ 24 --enable-threads \
25 --enable-directx \ 25 --enable-directx \
26 --disable-stdio-redirect 26 --disable-stdio-redirect
27 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= 27 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=