1 # -*- mode: makefile -*-
4 # Solve problems on systems with DASH.. Grrr...
8 VIRGINS=${HERE}/virgins
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))
19 # And machine (ie: i686, x86_64, or what)
20 BUILD_MACHINE :=$(BUILD_SYSNAME).$(shell uname -m)
23 INSTALL_DIR := $(HERE)/install
24 PREFIX := ${INSTALL_DIR}
25 EXEC_PREFIX := ${INSTALL_DIR}/${BUILD_MACHINE}
28 LIBCONFUSE_VERSION=2.5
30 LIBUSB_VERSION_linux=0.1.12
32 LIBUSB_VERSION=${LIBUSB_VERSION_${BUILD_SYSNAME}}
34 FTD2XX_WIN32_VERSION=2.04.14
35 FTD2XX_WIN32_DIR = ${HERE}/ftd2xx.win32
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