target: Make profiling function more readable
[openocd.git] / testing / build.test1 / local.uses
1 # -*- mode: makefile -*-
2 HERE := $(shell pwd)
3
4 # Solve problems on systems with DASH.. Grrr...
5 SHELL=/bin/bash
6 export SHELL
7
8 VIRGINS=${HERE}/virgins
9
10 # Determine the build platform.
11 BUILD_SYSNAME_Linux      =linux
12 BUILD_SYSNAME_linux      =linux
13 BUILD_SYSNAME_CYGWIN_NT  =cygwin
14 BUILD_SYSNAME_MINGW32_NT =mingw32
15 BUILD_SYSNAME_Darwin     =darwin
16 BUILD_SYSNAME_darwin     =darwin
17 BUILD_SYSNAME :=$(BUILD_SYSNAME_$(shell uname --sysname | cut -d'-' -f1))
18
19 # And machine (ie: i686, x86_64, or what)
20 BUILD_MACHINE :=$(BUILD_SYSNAME).$(shell uname -m)
21
22
23 INSTALL_DIR     := $(HERE)/install
24 PREFIX          := ${INSTALL_DIR}
25 EXEC_PREFIX     := ${INSTALL_DIR}/${BUILD_MACHINE}
26
27 LIBFTDI_VERSION=0.14
28 LIBCONFUSE_VERSION=2.5
29
30 LIBUSB_VERSION_linux=0.1.12
31
32 LIBUSB_VERSION=${LIBUSB_VERSION_${BUILD_SYSNAME}}
33
34 FTD2XX_WIN32_VERSION=2.04.14
35 FTD2XX_WIN32_DIR    = ${HERE}/ftd2xx.win32
36
37 FTD2XX_LINUX_VERSION=0.4.16
38 FTD2XX_LINUX_DIR    = ${HERE}/libftd2xx${FTD2XX_LINUX_VERSION}
39 FTD2XX_LINUX_64_DIR = ${HERE}/libftd2xx${FTD2XX_LINUX_VERSION}_x86_64