Mercurial > mxe-octave
comparison src/sdl_mixer.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 |
---|---|
23 "`$(PREFIX)/$(TARGET)/bin/smpeg-config --libs`" \ | 23 "`$(PREFIX)/$(TARGET)/bin/smpeg-config --libs`" \ |
24 >> '$(1)/SDL_mixer.pc.in' | 24 >> '$(1)/SDL_mixer.pc.in' |
25 $(SED) -i 's,for path in /usr/local; do,for path in; do,' '$(1)/configure' | 25 $(SED) -i 's,for path in /usr/local; do,for path in; do,' '$(1)/configure' |
26 cd '$(1)' && ./configure \ | 26 cd '$(1)' && ./configure \ |
27 --host='$(TARGET)' \ | 27 --host='$(TARGET)' \ |
28 --disable-shared \ | 28 $(ENABLE_SHARED_OR_STATIC) \ |
29 --prefix='$(PREFIX)/$(TARGET)' \ | 29 --prefix='$(PREFIX)/$(TARGET)' \ |
30 --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ | 30 --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ |
31 --disable-sdltest \ | 31 --disable-sdltest \ |
32 --disable-music-mod \ | 32 --disable-music-mod \ |
33 --enable-music-mod-modplug \ | 33 --enable-music-mod-modplug \ |