buildtest.sh 901 Bytes
Newer Older
1 2 3
#!/bin/bash -e

asn2aadlPlus -aadlv2  test.asn dataview.aadl
4 5
buildsupport  -i InterfaceView.aadl -c DeploymentView.aadl  -d dataview.aadl -o glue -glue
cp glue/testgui/mini_cv.aadl .
6 7
asn2aadlPlus test.asn dataview.aadl
aadl2glueC mini_cv.aadl dataview.aadl
8 9
cp guilayout.ui ..
cp datamodel.py ..
10 11
asn2dataModel -toPython ./test.asn -o python/
export ASN2DATAMODEL=asn2dataModel
12 13 14 15 16 17 18 19 20 21 22
cp glue/testgui/*.h python
cd python && make -f Makefile.python && \
swig -Wall -includeall -outdir . -python ./PythonAccess.i && \
cp /opt/DMT/AutoGUI/queue_manager.? . && \
cp /opt/DMT/AutoGUI/timeInMS.? . && \
cp /opt/DMT/AutoGUI/debug_messages.? . && \
gcc -g -fPIC -c `python-config --cflags` gui_swig.c queue_manager.c timeInMS.c debug_messages.c PythonAccess_wrap.c && \
ld -g -shared -o _PythonAccess.so PythonAccess_wrap.o gui_swig.o queue_manager.o timeInMS.o debug_messages.o -lrt && \
cp *.py *.so .. && \
cd ..