##
## Authors: Christian Thalinger
##
-## Changes:
-##
-## $Id: Makefile.am 4530 2006-02-21 09:11:53Z twisti $
+## $Id: Makefile.am 6216 2006-12-18 18:21:37Z twisti $
## Process this file with automake to produce Makefile.in
-INCLUDES = -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)
+
+LIBS =
SUBDIRS = jit
+if ENABLE_JAVASE
+ANNOTATION_SOURCES = \
+ annotation.c \
+ annotation.h
+
+STACKMAP_SOURCES = \
+ stackmap.c \
+ stackmap.h
+endif
+
if ENABLE_STATISTICS
-STATISTICS_OBJ = \
+STATISTICS_SOURCES = \
statistics.c \
statistics.h
endif
+if ENABLE_RT_TIMING
+RT_TIMING_OBJ = \
+ rt-timing.c
+endif
+
+if ENABLE_CYCLES_STATS
+CYCLES_STATS_SOURCE = \
+ cycles-stats.c \
+ cycles-stats.h
+endif
+
if ENABLE_ZLIB
ZLIB_OBJ = \
zip.c \
global.h \
types.h
-noinst_LTLIBRARIES = libvmcore.la libvm.la
+noinst_LTLIBRARIES = \
+ libvmcore.la \
+ libvm.la
libvmcore_la_SOURCES = \
access.c \
access.h \
+ $(ANNOTATION_SOURCES) \
builtin.c \
builtin.h \
builtintable.inc \
class.h \
classcache.c \
classcache.h \
+ $(CYCLES_STATS_SOURCE) \
descriptor.c \
descriptor.h \
field.c \
references.h \
resolve.c \
resolve.h \
- $(STATISTICS_OBJ) \
+ $(RT_TIMING_OBJ) \
+ rt-timing.h \
+ $(STATISTICS_SOURCES) \
signal.c \
signallocal.h \
+ $(STACKMAP_SOURCES) \
string.c \
stringlocal.h \
suck.c \