* configure.ac: Added tests for python.
[cacao.git] / src / vm / jit / Makefile.am
index 43b392df351ed6ffe9eec2f03fda3afab09a4007..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 7343 2007-02-13 02:36:29Z ajordan $
 
-## 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,33 +33,25 @@ DIST_SUBDIRS = \
        loop \
        optimizing \
        schedule \
-       tools \
+       verify \
        \
        intrp \
        alpha \
        arm \
        i386 \
+       m68k \
        mips \
        parisc \
        powerpc \
        powerpc64 \
+       s390 \
        sparc64 \
-       x86_64 \
-       s390
-
-if ENABLE_VERIFIER
-DIST_SUBDIRS += verify
-endif
+       x86_64
 
 SUBDIRS = \
        optimizing \
-       tools \
        $(ARCH_DIR)
 
-if ENABLE_VERIFIER
-SUBDIRS += verify
-endif
-
 ARCH_LIB = \
        $(ARCH_DIR)/libarch.la
 
@@ -136,22 +125,20 @@ endif
 
 if WITH_BINUTILS_DISASSEMBLER
 DISASS_SOURCES = disass-common.c
-else
-DISASS_SOURCES =
 endif
 
 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 \
@@ -162,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) \
@@ -174,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 \
@@ -192,10 +187,16 @@ libjit_la_LIBADD = \
        $(INTRP_LIB) \
        $(ARCH_LIB)
 
-if ENABLE_VERIFIER
-libjit_la_LIBADD +=    verify/libverify.la
+if ENABLE_PYTHON
+libjit_la_SOURCES += \
+       python.c
+AM_CPPFLAGS += \
+       @PYTHON_CSPEC@
+LIBS += \
+       @PYTHON_LSPEC@
 endif
 
+
 ## Local variables:
 ## mode: Makefile
 ## indent-tabs-mode: t