include ../shared.mk all: test-ada test-llvm edit: $(OPENGEODE) orchestrator.pr system_structure.pr test-parse: $(OPENGEODE) orchestrator.pr system_structure.pr --check test-ada: orchestrator.ali dataview-uniq.o | test_ada.o $(GNATBIND) -n orchestrator.ali $(GNATLINK) -o test_ada test_ada.o orchestrator.ali -lgnat ./test_ada test-c: orchestrator.c test_c.o dataview-uniq.o $(CC) -include missing.h orchestrator.c -c -o orchestrator.o $(CC) test_c.o dataview-uniq.o orchestrator.o -lm -o test_c ./test_c | diff expected - test-llvm: orchestrator.o test-python: $(OPENGEODE) orchestrator.pr system_structure.pr --shared $(ASN1SCC) -Ada dataview-uniq.asn -typePrefix asn1Scc -equal $(GNATMAKE) -O$(O) -gnat2012 -c *.adb $(GNATBIND) -n -Lliborchestrator orchestrator $(GNATMAKE) -c -gnat2012 b~orchestrator.adb $(CC) -shared -fPIC -o liborchestrator.so b~orchestrator.o orchestrator.o taste_basictypes.o adaasn1rtl.o -lgnat python -c "from ctypes import *; test=CDLL('./liborchestrator.so'); test.liborchestratorinit()" test-vhdl : test-c bambu orchestrator.c test_c.c --experimental-setup=BAMBU coverage: coverage run -p $(OPENGEODE) orchestrator.pr system_structure.pr --toAda .PHONY: all edit test-parse test-ada test-llvm coverage