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 |
Pau Espin Pedrol | 830061d | 2024-04-17 19:13:22 +0200 | [diff] [blame^] | 8 | TCCConversion.cc |
Oliver Smith | 2e0e624 | 2021-10-12 12:45:16 +0200 | [diff] [blame] | 9 | USB_PT.cc |
| 10 | " |
| 11 | |
| 12 | export CPPFLAGS_TTCN3=" |
| 13 | " |
Harald Welte | f30e22b | 2019-11-14 08:36:19 +0100 | [diff] [blame] | 14 | |
Oliver Smith | f8fe132 | 2021-10-12 13:05:42 +0200 | [diff] [blame] | 15 | ../regen-makefile.sh -e $NAME $FILES |
Harald Welte | f30e22b | 2019-11-14 08:36:19 +0100 | [diff] [blame] | 16 | |
| 17 | #sed -i -e 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lusb/' Makefile |
| 18 | sed -i -e '/^LINUX_LIBS/ s/$/ `pkg-config --libs libusb-1.0`/' Makefile |
| 19 | sed -i -e '/^CPPFLAGS/ s/$/ `pkg-config --cflags libusb-1.0`/' Makefile |