comparison src/giflib.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 4cf24236b87b
children 100e618349f7
comparison
equal deleted inserted replaced
2854:54522aaf400c 2855:47558e958113
22 define $(PKG)_BUILD 22 define $(PKG)_BUILD
23 cd '$(1)' && ./configure \ 23 cd '$(1)' && ./configure \
24 --host='$(TARGET)' \ 24 --host='$(TARGET)' \
25 --build="`config.guess`" \ 25 --build="`config.guess`" \
26 --prefix='$(PREFIX)/$(TARGET)' \ 26 --prefix='$(PREFIX)/$(TARGET)' \
27 --disable-shared \ 27 $(ENABLE_SHARED_OR_STATIC) \
28 CPPFLAGS='-D_OPEN_BINARY' 28 CPPFLAGS='-D_OPEN_BINARY'
29 echo 'all:' > '$(1)/doc/Makefile' 29 echo 'all:' > '$(1)/doc/Makefile'
30 $(MAKE) -C '$(1)/lib' -j '$(JOBS)' install 30 $(MAKE) -C '$(1)/lib' -j '$(JOBS)' install
31 endef 31 endef