##
## Changes:
##
-## $Id: Makefile.am 4563 2006-03-06 13:03:05Z twisti $
+## $Id: Makefile.am 5255 2006-08-21 15:17:48Z twisti $
## Process this file with automake to produce Makefile.in
DIST_SUBDIRS = \
+ darwin \
freebsd \
linux
SUBDIRS = $(OS_DIR)
-AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
AM_CCASFLAGS = $(AM_CPPFLAGS)
LIBS =
noinst_HEADERS = \
arch.h \
icmd_uses_reg_res.inc \
- machine-instr.h \
- \
- md-asm.h
+ machine-instr.h
+
+noinst_LTLIBRARIES = \
+ libarch.la
-noinst_LTLIBRARIES = libarch.la
+if ENABLE_DISASSEMBLER
+DISASS_SOURCES = \
+ disass.c
+endif
libarch_la_SOURCES = \
asmpart.S \
codegen.c \
codegen.h \
- disass.c \
- emitfuncs.c \
- emitfuncs.h \
+ $(DISASS_SOURCES) \
+ emit.c \
+ md-emit.h \
md.c \
patcher.c \
\