aboutsummaryrefslogtreecommitdiffstats
path: root/ccid/regen_makefile.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-11-14 08:36:19 +0100
committerlaforge <laforge@osmocom.org>2019-12-02 23:29:46 +0000
commitf30e22bb17b6c97ed4ac850e225bba7b6d8dc159 (patch)
tree4a7446ab2809fea4c5fdb83d51539e3c4d4b32eb /ccid/regen_makefile.sh
parent216596340a01f52fab9fe3191550c91822eb4678 (diff)
initial checkin of CCID tests
Diffstat (limited to 'ccid/regen_makefile.sh')
-rwxr-xr-xccid/regen_makefile.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ccid/regen_makefile.sh b/ccid/regen_makefile.sh
new file mode 100755
index 00000000..215d9c69
--- /dev/null
+++ b/ccid/regen_makefile.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+FILES="*.ttcn USB_PT.cc Native_FunctionDefs.cc "
+
+../regen-makefile.sh CCID_Tests.ttcn $FILES
+
+#sed -i -e 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lusb/' Makefile
+sed -i -e '/^LINUX_LIBS/ s/$/ `pkg-config --libs libusb-1.0`/' Makefile
+sed -i -e '/^CPPFLAGS/ s/$/ `pkg-config --cflags libusb-1.0`/' Makefile