## 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 7229 2007-01-22 00:58:36Z 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)
+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 =
loop \
optimizing \
schedule \
- tools \
verify \
\
intrp \
alpha \
arm \
i386 \
+ m68k \
mips \
parisc \
powerpc \
powerpc64 \
+ s390 \
sparc64 \
- x86_64 \
- s390
+ x86_64
SUBDIRS = \
optimizing \
- tools \
- verify \
$(ARCH_DIR)
ARCH_LIB = \
replace.c
endif
+if ENABLE_VERIFIER
+SUBDIRS += \
+ verify
+
+VERIFIER_LIB = \
+ verify/libverify.la
+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
+noinst_LTLIBRARIES = \
+ libjit.la
libjit_la_SOURCES = \
+ argument.c \
+ argument.h \
code.c \
code.h \
codegen-common.c \
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) \
show.h \
$(STACK_SOURCES) \
stacktrace.c \
- stacktrace.h
+ stacktrace.h \
+ trace.c \
+ trace.h
libjit_la_SOURCES += \
cfg.c \
libjit_la_LIBADD = \
allocator/liballocator.la \
- verify/libverify.la \
$(ALLOCATOR_LIB) \
$(INLINE_LIB) \
$(LOOP_LIB) \
$(OPTIMIZING_LIB) \
$(PROFILE_LIB) \
$(SCHEDULE_LIB) \
+ $(VERIFIER_LIB) \
$(INTRP_LIB) \
$(ARCH_LIB)
+if ENABLE_PYTHON
+libjit_la_SOURCES += \
+ python.c
+AM_CPPFLAGS += \
+ @PYTHON_CSPEC@
+LIBS += \
+ @PYTHON_LSPEC@
+endif
+
## Local variables:
## mode: Makefile