comparison src/giflib.mk @ 3012:100e618349f7

Improve handling of prefix directories by defining HOST_PREFIX and BUILD_TOOLS_PREFIX variables in top-level Makefile.
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 10:31:04 -0400
parents 47558e958113
children bcc26ffe9a0f
comparison
equal deleted inserted replaced
3011:75e142c0004b 3012:100e618349f7
21 21
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='$(HOST_PREFIX)' \
27 $(ENABLE_SHARED_OR_STATIC) \ 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