arm-jtag-ew: -Wshadow fix
[openocd/cederom.git] / testing / build.test1 / Makefile.confuse
blob9d5a0673f8485d581efb273dff3334ae23f082e0
1 # -*- mode: makefile -*-
2 default: _complain_
3 include ./local.uses
5 TARFILE_LOCAL=${VIRGINS}/confuse-${LIBCONFUSE_VERSION}.tar.gz
6 TARFILE_URL  =http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/confuse-${LIBCONFUSE_VERSION}.tar.gz
8 CONFUSE_SRC_DIR   =${HERE}/confuse-${LIBCONFUSE_VERSION}
9 CONFUSE_BUILD_DIR =${HERE}/confuse-build
11 download:
12         wget -O ${TARFILE_LOCAL} ${TARFILE_URL}
14 unpack:
15         rm -rf ${CONFUSE_SRC_DIR}
16         tar xfz ${TARFILE_LOCAL}
18 clean::
19         rm -rf ${CONFUSE_SRC_DIR}
21 configure:
22         rm -rf ${CONFUSE_BUILD_DIR} 
23         mkdir ${CONFUSE_BUILD_DIR}
24         cd ${CONFUSE_BUILD_DIR} && ${CONFUSE_SRC_DIR}/configure \
25            --prefix=${PREFIX} \
26            --exec-prefix=${EXEC_PREFIX}
28 clean::
29         rm -rf ${CONFUSE_BUILD_DIR}
31 build:
32         cd ${CONFUSE_BUILD_DIR} && ${MAKE}
34 install:
35         cd ${CONFUSE_BUILD_DIR} && ${MAKE} install
37 all: unpack configure build install
39 _complain_:
40         @echo ""
41         @echo "Please try one of these targets: bootstrap, clean, configure, build, install"
42         @echo " Or read the makefile and learn about the permutation test targets"
43         @echo ""
44         @echo "You also might find the download and unpack targets helpful."
45         @echo ""
46         @exit 1