* configure.ac: Added tests for python.
[cacao.git] / src / vm / jit / Makefile.am
index 9497ca9eafc6eb942fb3cc04239e0ebfac7b8e76..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 7725 2007-04-16 21:09:39Z twisti $
 
-## 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
+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
 
 LIBS =
 
@@ -36,7 +33,6 @@ DIST_SUBDIRS = \
        loop \
        optimizing \
        schedule \
-       tools \
        verify \
        \
        intrp \
@@ -54,7 +50,6 @@ DIST_SUBDIRS = \
 
 SUBDIRS = \
        optimizing \
-       tools \
        $(ARCH_DIR)
 
 ARCH_LIB = \
@@ -136,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 \
@@ -154,11 +149,17 @@ 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 \
+       patcher-common.h \
        $(RECOMPILE_SOURCES) \
        $(REG_SOURCES) \
        $(REPLACE_SOURCES) \
@@ -166,7 +167,9 @@ libjit_la_SOURCES = \
        show.h \
        $(STACK_SOURCES) \
        stacktrace.c \
-       stacktrace.h
+       stacktrace.h \
+       trace.c \
+       trace.h
 
 libjit_la_SOURCES += \
        cfg.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