SABP: Add regen_makefile.sh

Other similar libraries also have it.

Change-Id: I74b31c041b254713b95821ff166640465ccd1409
This commit is contained in:
Pau Espin 2022-06-15 16:28:20 +02:00
parent 3cfb6c35c2
commit 7b23060141
1 changed files with 9 additions and 0 deletions

9
library/sabp/regen_makefile.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
FILES="*.asn *.ttcn SABP_EncDec.cc"
../../regen-makefile.sh $FILES
sed -i -e '/^CPPFLAGS/ s/$/ `pkg-config --cflags libfftranscode`/' Makefile
sed -i -e '/^LDFLAGS/ s/$/ `pkg-config --libs libfftranscode`/' Makefile
sed -i -e '/^LINUX_LIBS/ s/$/ `pkg-config --libs libfftranscode`/' Makefile