* configure.ac: Added tests for python.
[cacao.git] / src / vm / jit / Makefile.am
index 80af3ceb6ad2214d4abf9c8212896eb8705f20a3..8ed1915d48cc883ca97902d1002df9a23bd50a0b 100644 (file)
@@ -131,7 +131,6 @@ noinst_HEADERS = \
        abi.h \
        abi-asm.h \
        asmpart.h \
-       md.h \
        methodheader.h
 
 noinst_LTLIBRARIES = \
@@ -150,9 +149,13 @@ libjit_la_SOURCES = \
        dseg.h \
        emit-common.c \
        emit-common.h \
+       exceptiontable.c \
+       exceptiontable.h \
        icmdtable.inc \
        jit.c \
        jit.h \
+       linenumbertable.c \
+       linenumbertable.h \
        parse.c \
        parse.h \
        patcher-common.c \
@@ -184,6 +187,15 @@ libjit_la_LIBADD = \
        $(INTRP_LIB) \
        $(ARCH_LIB)
 
+if ENABLE_PYTHON
+libjit_la_SOURCES += \
+       python.c
+AM_CPPFLAGS += \
+       @PYTHON_CSPEC@
+LIBS += \
+       @PYTHON_LSPEC@
+endif
+
 
 ## Local variables:
 ## mode: Makefile