##
## Changes:
##
-## $Id: Makefile.am 1952 2005-02-17 11:41:16Z twisti $
+## $Id: Makefile.am 2254 2005-04-07 11:23:53Z twisti $
## Process this file with automake to produce Makefile.in
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@
-SUBDIRS = inline loop schedule tools verify @ARCH_DIR@
+SUBDIRS = inline loop tools verify @ARCH_DIR@
DIST_SUBDIRS = inline loop schedule tools verify alpha i386 mips powerpc x86_64
+if USE_SCHEDULER
+SCHEDULE_LIB = schedule/libschedule.la
+SUBDIRS += schedule
+endif
+
noinst_HEADERS = \
asmpart.h \
codegen.inc \
noinst_LTLIBRARIES = libjit.la
libjit_la_SOURCES = \
+ asmhelper.c \
+ asmhelper.h \
jit.c \
jit.h \
parse.c \
libjit_la_LIBADD = \
inline/libinline.la \
loop/libloop.la \
- schedule/libschedule.la \
+ $(SCHEDULE_LIB) \
verify/libverify.la \
@ARCH_DIR@/libarch.la