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