Harald Welte | 0ee2297 | 2020-02-29 11:32:50 +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 | 0ee2297 | 2020-02-29 11:32:50 +0100 | [diff] [blame] | 11 | |
| 12 | ../regen-makefile.sh SIMTRACE_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 |