comparison Makefile @ 2990:5329f4891fb7

build our own bison and flex
author John W. Eaton <jwe@octave.org>
date Thu, 23 May 2013 14:30:06 -0400
parents 169114e27438
children 07a5901747ae
comparison
equal deleted inserted replaced
2989:59fedb8ce3da 2990:5329f4891fb7
33 SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed 33 SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
34 WGET := wget --no-check-certificate \ 34 WGET := wget --no-check-certificate \
35 --user-agent=$(shell wget --version | \ 35 --user-agent=$(shell wget --version | \
36 $(SED) -n 's,GNU \(Wget\) \([0-9.]*\).*,\1/\2,p') 36 $(SED) -n 's,GNU \(Wget\) \([0-9.]*\).*,\1/\2,p')
37 37
38 REQUIREMENTS := bash bison bzip2 flex \ 38 REQUIREMENTS := bash bzip2 gcc intltoolize $(MAKE) openssl \
39 gcc intltoolize \ 39 $(PATCH) $(PERL) $(SED) unzip wget xz
40 $(MAKE) openssl $(PATCH) $(PERL) \
41 scons $(SED) unzip wget xz yasm
42 40
43 LIBTOOL := libtool 41 LIBTOOL := libtool
44 LIBTOOLIZE := libtoolize 42 LIBTOOLIZE := libtoolize
45 BUILD_TOOLS := build-autoconf build-automake build-cmake build-libtool build-pkg-config 43 BUILD_TOOLS := build-autoconf build-automake build-cmake build-libtool build-pkg-config build-bison build-flex
46 44
47 PREFIX := $(PWD)/usr 45 PREFIX := $(PWD)/usr
48 LOG_DIR := $(PWD)/log 46 LOG_DIR := $(PWD)/log
49 TIMESTAMP := $(shell date +%Y%m%d_%H%M%S) 47 TIMESTAMP := $(shell date +%Y%m%d_%H%M%S)
50 PKG_DIR := $(PWD)/pkg 48 PKG_DIR := $(PWD)/pkg