1 # -*- mode: makefile -*-
7 # WARNING... the file on the ftdi chip site has a SPACE in the filename GRRR!!!
8 # We fix that with the "-O" option to wget.
9 ZIPFILE_LOCAL=${VIRGINS}/cdm.${FTD2XX_WIN32_VERSION}.zip
10 ZIPFILE_URL ="http://www.ftdichip.com/Drivers/CDM/CDM ${FTD2XX_WIN32_VERSION}.zip"
12 TARFILE_LOCAL=${VIRGINS}/libftd2xx${FTD2XX_LINUX_VERSION}.tar.gz
13 TARFILE_URL =http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx${FTD2XX_LINUX_VERSION}.tar.gz
15 TARFILE_64_LOCAL=${VIRGINS}/libftd2xx${FTD2XX_LINUX_VERSION}_x86_64.tar.gz
16 TARFILE_64_URL =http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx${FTD2XX_LINUX_VERSION}_x86_64.tar.gz
21 wget -O ${ZIPFILE_LOCAL} ${ZIPFILE_URL}
24 rm -rf ${FTD2XX_WIN32_DIR}
25 mkdir -p ${FTD2XX_WIN32_DIR}
26 cd ${FTD2XX_WIN32_DIR} && unzip ${ZIPFILE_LOCAL}
29 rm -rf ${FTD2XX_WIN32_DIR}
33 wget -O ${TARFILE_LOCAL} ${TARFILE_URL}
36 rm -rf ${FTD2XX_LINUX_DIR}
39 rm -rf ${FTD2XX_LINUX_DIR}
40 mkdir -p ${FTD2XX_LINUX_DIR}
41 tar xfz ${TARFILE_LOCAL}
43 download.linux.x86_64:
45 wget -O ${TARFILE_LOCAL} ${TARFILE_URL}
48 rm -rf ${FTD2XX_LINUX_64_DIR}
49 mkdir -p ${FTD2XX_LINUX_64_DIR}
50 tar xfz ${TARFILE_64_LOCAL}
53 rm -rf ${FTD2XX_LINUX_64_DIR}
55 download: download.win32 download.linux
57 unpack.cygwin unpack.mingw32: unpack.win32
59 unpack: unpack.${BUILD_SYSNAME}
73 all: unpack configure build install
83 @echo "Please try one of these targets: bootstrap, clean, configure, build, install"
84 @echo " Or read the makefile and learn about the permutation test targets"
86 @echo "You also might find the download and unpack targets helpful."