| # produce the MinGW binary files for snapshots |
| # !!!THIS SCRIPT IS FOR INTERNAL DEVELOPER USE ONLY!!! |
| mkdir -p $target/include/libusb-1.0 |
| cp -v libusb/libusb-1.0.def $target |
| cp -v libusb/libusb.h $target/include/libusb-1.0 |
| target=e:/dailies/$date/MinGW32 |
| # Not using debug (-g) in CFLAGS DRAMATICALLY reduces the size of the binaries |
| export RCFLAGS="--target=pe-i386" |
| export DLLTOOLFLAGS="-m i386 -f --32" |
| (glibtoolize --version) < /dev/null > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize || LIBTOOLIZE=libtoolize |
| $LIBTOOLIZE --copy --force || exit 1 |
| cp -v libusb/.libs/libusb-1.0.a $target/static |
| cp -v libusb/.libs/libusb-1.0.dll $target/dll |
| cp -v libusb/.libs/libusb-1.0.dll.a $target/dll |
| target=e:/dailies/$date/MinGW64 |
| cp -v libusb/.libs/libusb-1.0.a $target/static |
| cp -v libusb/.libs/libusb-1.0.dll $target/dll |
| cp -v libusb/.libs/libusb-1.0.dll.a $target/dll |