pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28293 )
Change subject: SABP: Add regen_makefile.sh ......................................................................
SABP: Add regen_makefile.sh
Other similar libraries also have it.
Change-Id: I74b31c041b254713b95821ff166640465ccd1409 --- A library/sabp/regen_makefile.sh 1 file changed, 9 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve fixeria: Looks good to me, approved
diff --git a/library/sabp/regen_makefile.sh b/library/sabp/regen_makefile.sh new file mode 100755 index 0000000..382fbd5 --- /dev/null +++ b/library/sabp/regen_makefile.sh @@ -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