* configure.ac: Added tests for python.
[cacao.git] / src / vm / jit / Makefile.am
index 2ea63caecb5072ef4dc46e94ed4fac63a2e5b3d9..8ed1915d48cc883ca97902d1002df9a23bd50a0b 100644 (file)
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 ## 02110-1301, USA.
-##
-## $Id: Makefile.am 8304 2007-08-14 19:57:20Z pm $
 
-## Process this file with automake to produce Makefile.in
 
 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir)/src -I$(top_srcdir)/contrib/vmlog
 
@@ -134,14 +131,14 @@ noinst_HEADERS = \
        abi.h \
        abi-asm.h \
        asmpart.h \
-       md.h \
-       methodheader.h \
-       patcher.h 
+       methodheader.h
 
 noinst_LTLIBRARIES = \
        libjit.la
 
 libjit_la_SOURCES = \
+       argument.c \
+       argument.h \
        code.c \
        code.h \
        codegen-common.c \
@@ -152,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 \
@@ -186,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