Mercurial > mxe-octave
comparison src/termcap.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 | 4f9b72cf7ee7 |
children | bcc26ffe9a0f |
comparison
equal
deleted
inserted
replaced
3011:75e142c0004b | 3012:100e618349f7 |
---|---|
17 define $(PKG)_BUILD | 17 define $(PKG)_BUILD |
18 cd '$(1)' && autoreconf | 18 cd '$(1)' && autoreconf |
19 cd '$(1)' && ./configure \ | 19 cd '$(1)' && ./configure \ |
20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
21 --host='$(TARGET)' \ | 21 --host='$(TARGET)' \ |
22 --prefix='$(PREFIX)/$(TARGET)' \ | 22 --prefix='$(HOST_PREFIX)' \ |
23 AR=$(TARGET)-ar | 23 AR=$(TARGET)-ar |
24 | 24 |
25 $(MAKE) AR=$(TARGET)-ar -C '$(1)' -j '$(JOBS)' install | 25 $(MAKE) AR=$(TARGET)-ar -C '$(1)' -j '$(JOBS)' install |
26 | 26 |
27 if [ "$(BUILD_SHARED)" = yes ]; then \ | 27 if [ "$(BUILD_SHARED)" = yes ]; then \ |