From 8eaf970cb4d82dcefe5d0b511dfafdd7ec2d0f65 Mon Sep 17 00:00:00 2001 From: Maxime Perrotin Date: Wed, 13 Jun 2018 17:21:54 +0200 Subject: [PATCH] Update generated makefiles List of ASN.1 files placed at the end of the call to asn1scc (mandatory in asn1sccv4) --- taste-properties/properties/properties.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/taste-properties/properties/properties.py b/taste-properties/properties/properties.py index 337ee75..dde240f 100755 --- a/taste-properties/properties/properties.py +++ b/taste-properties/properties/properties.py @@ -45,10 +45,10 @@ clean: @rm -rf *.o *.ad? *.ali bin examiner *.idx *_simu.sh *_interface.aadl *.wrn *.gpr gnat.cfg runSpark.sh lib{name}.so build: - mono $(which asn1.exe) -Ada {asn1} -typePrefix asn1Scc -equal - gnatmake -gnat2012 -c {name}.adb + mono $(which asn1.exe) -Ada -typePrefix asn1Scc -equal {asn1} + gnatmake -gnat2012 -c -fPIC {name}.adb gnatbind -n -Llib{name} {name} - gnatmake -c -gnat2012 b~{name}.adb + gnatmake -c -gnat2012 -fPIC b~{name}.adb gcc -shared -fPIC -o lib{name}.so b~{name}.o {name}.o {modules} adaasn1rtl.o -lgnat -- GitLab