comparison src/curl.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
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 --build="`config.guess`" \ 22 --build="`config.guess`" \
23 $(ENABLE_SHARED_OR_STATIC) \ 23 $(ENABLE_SHARED_OR_STATIC) \
24 --prefix='$(PREFIX)/$(TARGET)' \ 24 --prefix='$(HOST_PREFIX)' \
25 --with-gnutls \ 25 --with-gnutls \
26 --with-libidn \ 26 --with-libidn \
27 --enable-sspi \ 27 --enable-sspi \
28 --enable-ipv6 \ 28 --enable-ipv6 \
29 --with-libssh2 29 --with-libssh2
30 $(MAKE) -C '$(1)' -j '$(JOBS)' install 30 $(MAKE) -C '$(1)' -j '$(JOBS)' install
31 31
32 ## '$(TARGET)-gcc' \ 32 ## '$(TARGET)-gcc' \
33 ## -W -Wall -Werror -ansi -pedantic \ 33 ## -W -Wall -Werror -ansi -pedantic \
34 ## '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-curl.exe' \ 34 ## '$(2).c' -o '$(HOST_PREFIX)/bin/test-curl.exe' \
35 ## `'$(TARGET)-pkg-config' libcurl --cflags --libs` 35 ## `'$(TARGET)-pkg-config' libcurl --cflags --libs`
36 36
37 endef 37 endef