Commit f37afb13 authored by yoogx's avatar yoogx

* Finally include machinery to compile Python code

parent 40a12b24
...@@ -4,7 +4,7 @@ include $(top_srcdir)/Makefile.common ...@@ -4,7 +4,7 @@ include $(top_srcdir)/Makefile.common
BUILD_PROJECTS= ocarina-core.gpr ocarina-frontends.gpr \ BUILD_PROJECTS= ocarina-core.gpr ocarina-frontends.gpr \
ocarina-backends.gpr ocarina-config.gpr ocarina-transfo.gpr \ ocarina-backends.gpr ocarina-config.gpr ocarina-transfo.gpr \
ocarina-main.gpr ocarina-main.gpr $(PYTHON_PRJ)
# All project files have to be packaged with "make dist" # All project files have to be packaged with "make dist"
...@@ -26,7 +26,8 @@ OBJECT_DIRS = $(top_builddir)/src/core/objects \ ...@@ -26,7 +26,8 @@ OBJECT_DIRS = $(top_builddir)/src/core/objects \
$(top_builddir)/src/frontends/objects \ $(top_builddir)/src/frontends/objects \
$(top_builddir)/src/backends/objects \ $(top_builddir)/src/backends/objects \
$(top_builddir)/src/transfo/objects \ $(top_builddir)/src/transfo/objects \
$(top_builddir)/src/main/objects $(top_builddir)/src/main/objects \
$(top_builddir)/src/python/objects
# Library directories (*.ali, *.a) # Library directories (*.ali, *.a)
...@@ -34,7 +35,8 @@ LIB_DIRS = $(top_builddir)/src/core/libs \ ...@@ -34,7 +35,8 @@ LIB_DIRS = $(top_builddir)/src/core/libs \
$(top_builddir)/src/frontends/libs \ $(top_builddir)/src/frontends/libs \
$(top_builddir)/src/backends/libs \ $(top_builddir)/src/backends/libs \
$(top_builddir)/src/transfo/libs \ $(top_builddir)/src/transfo/libs \
$(top_builddir)/src/config/libs $(top_builddir)/src/main/libs $(top_builddir)/src/config/libs $(top_builddir)/src/main/libs \
$(top_builddir)/src/python/libs
# All directories used for the build process. If the configure is # All directories used for the build process. If the configure is
# performed from a directory different from the top source directory, # performed from a directory different from the top source directory,
......
...@@ -31,12 +31,14 @@ ...@@ -31,12 +31,14 @@
-- -- -- --
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
pragma Warnings (Off);
-- Silence all warnings
with Ada.Directories; use Ada.Directories; with Ada.Directories; use Ada.Directories;
with Ada.Environment_Variables; use Ada.Environment_Variables; with Ada.Environment_Variables; use Ada.Environment_Variables;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Text_IO; use Ada.Text_IO;
with GNATCOLL.Scripts; use GNATCOLL.Scripts; with GNATCOLL.Scripts; use GNATCOLL.Scripts;
with Ocarina.Python_Cmd; with Ocarina.Python_Cmd;
package body Ocarina.Python is package body Ocarina.Python is
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
-- -- -- --
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
pragma Warnings (Off);
-- Silence all warnings
with GNATCOLL.Scripts; use GNATCOLL.Scripts; with GNATCOLL.Scripts; use GNATCOLL.Scripts;
with GNATCOLL.Scripts.Python; use GNATCOLL.Scripts.Python; with GNATCOLL.Scripts.Python; use GNATCOLL.Scripts.Python;
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
-- -- -- --
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
pragma Warnings (Off);
-- Silence all warnings
with GNATCOLL.Scripts; with GNATCOLL.Scripts;
package Ocarina.Python_Cmd is package Ocarina.Python_Cmd is
......
...@@ -93,7 +93,7 @@ package body Ocarina.Utils is ...@@ -93,7 +93,7 @@ package body Ocarina.Utils is
begin begin
Write_Line Write_Line
("Ocarina " & Ocarina_Version ("Ocarina " & Ocarina_Version
& " (" & Ocarina_SVN_Revision & ")"); & " (" & Ocarina_Revision & ")");
if Ocarina_Last_Configure_Date /= "" then if Ocarina_Last_Configure_Date /= "" then
Write_Line ("Build date: " & Ocarina_Last_Configure_Date); Write_Line ("Build date: " & Ocarina_Last_Configure_Date);
......
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