Harald Welte | f30e22b | 2019-11-14 08:36:19 +0100 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Oliver Smith | 2e0e624 | 2021-10-12 12:45:16 +0200 | [diff] [blame] | 3 | FILES=" |
| 4 | *.ttcn |
| 5 | Native_FunctionDefs.cc |
| 6 | USB_PT.cc |
| 7 | " |
| 8 | |
| 9 | export CPPFLAGS_TTCN3=" |
| 10 | " |
Harald Welte | f30e22b | 2019-11-14 08:36:19 +0100 | [diff] [blame] | 11 | |
| 12 | ../regen-makefile.sh CCID_Tests.ttcn $FILES |
| 13 | |
| 14 | #sed -i -e 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lusb/' Makefile |
| 15 | sed -i -e '/^LINUX_LIBS/ s/$/ `pkg-config --libs libusb-1.0`/' Makefile |
| 16 | sed -i -e '/^CPPFLAGS/ s/$/ `pkg-config --cflags libusb-1.0`/' Makefile |