From 22f703cab05b7cd368f4de9e03991b7664dc5022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 13:56:46 +0200 Subject: Initial import of argyll version 1.5.1-8 --- usb/Jamfile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 usb/Jamfile (limited to 'usb/Jamfile') diff --git a/usb/Jamfile b/usb/Jamfile new file mode 100644 index 0000000..403e3f2 --- /dev/null +++ b/usb/Jamfile @@ -0,0 +1,52 @@ + +# JAM style makefile for libusb-win32, to create .inf files. + +# This doesn't make the drivers themselves. +# (you need the Server 2003 DDK 64 & 32 bit build enironmantes, +# and then run ddk_build.cmd. This will then run +# build in libusb/os. ) + +#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on +PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags +#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags +PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; # Link debugging flags + +#Products +#Libraries = ; +#Executables = ; +#Headers = ; + +#Install +#InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ; +#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ; +#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ; + +if [ GLOB $(PATH) : sed sed.exe ] { + Echo "sed seems to be available" ; + CREATE_INFS = true ; +} else { + CREATE_INFS = false ; +} + +# Create ArgyllCMS.inf from the template and device list +if $(CREATE_INFS) = true { + local _i _t _d ; + NDepends files : ArgyllCMS.inf ; + NDepends install : ArgyllCMS.inf ArgyllCMS.cat ArgyllCMS_x64.cat ; + + _i = [ NormPaths ArgyllCMS.inf ] ; + _t = [ NormPaths ArgyllCMS.inf.t ] ; + _d = [ NormPaths ArgyllCMS.inf.d ] ; + + File ArgyllCMS.inf : ArgyllCMS.inf.t ; + GenFileNND ArgyllCMS.inf : "sed s/#PLAT#// $(_d) >> $(_i)" : ArgyllCMS.inf.t ArgyllCMS.inf.d ; + GenFileNND ArgyllCMS.inf : "sed s/#PLAT#/.NTx86/ $(_d) >> $(_i)" : ArgyllCMS.inf.t ArgyllCMS.inf.d ; + GenFileNND ArgyllCMS.inf : "sed s/#PLAT#/.NTamd64/ $(_d) >> $(_i)" : ArgyllCMS.inf.t ArgyllCMS.inf.d ; +} + + + + + + + -- cgit v1.2.3