Commit 8eaf970c authored by Maxime Perrotin's avatar Maxime Perrotin

Update generated makefiles

List of ASN.1 files placed at the end of the call to asn1scc (mandatory
in asn1sccv4)
parent 74ecb73c
...@@ -45,10 +45,10 @@ clean: ...@@ -45,10 +45,10 @@ clean:
@rm -rf *.o *.ad? *.ali bin examiner *.idx * *_interface.aadl *.wrn *.gpr gnat.cfg lib{name}.so @rm -rf *.o *.ad? *.ali bin examiner *.idx * *_interface.aadl *.wrn *.gpr gnat.cfg lib{name}.so
build: build:
mono $(which asn1.exe) -Ada {asn1} -typePrefix asn1Scc -equal mono $(which asn1.exe) -Ada -typePrefix asn1Scc -equal {asn1}
gnatmake -gnat2012 -c {name}.adb gnatmake -gnat2012 -c -fPIC {name}.adb
gnatbind -n -Llib{name} {name} 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 gcc -shared -fPIC -o lib{name}.so b~{name}.o {name}.o {modules} adaasn1rtl.o -lgnat
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment