Mercurial > mxe-octave
comparison src/mdbtools.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 |
---|---|
22 cd '$(1)' && NOCONFIGURE=1 ./autogen.sh | 22 cd '$(1)' && NOCONFIGURE=1 ./autogen.sh |
23 cd '$(1)' && ./configure \ | 23 cd '$(1)' && ./configure \ |
24 --host='$(TARGET)' \ | 24 --host='$(TARGET)' \ |
25 --build="`config.guess`" \ | 25 --build="`config.guess`" \ |
26 $(ENABLE_SHARED_OR_STATIC) \ | 26 $(ENABLE_SHARED_OR_STATIC) \ |
27 --prefix='$(PREFIX)/$(TARGET)' \ | 27 --prefix='$(HOST_PREFIX)' \ |
28 PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' | 28 PKG_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-pkg-config' |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= | 29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= |
30 endef | 30 endef |