asm_switchstackandcall now defined in asmpart.h
[cacao.git] / Makefile.am
index 049144227fd56dcf4f32c954e693927f29861381..bcd69a0751266e8f3a59d8213a0bc2d8e38bce73 100644 (file)
@@ -1,16 +1,16 @@
 ## Process this file with automake to produce Makefile.in
 
-# $Id: Makefile.am 323 2003-05-24 09:02:02Z stefan $
+# $Id: Makefile.am 503 2003-10-22 17:35:21Z twisti $
 
 @SET_MAKE@
 
 MAINTAINERCLEANFILES = Makefile.in configure
-ALLSUBDIRS = toolbox mm jit comp nat threads tst doc narray jvmtst
+ALLSUBDIRS = mm toolbox jit nat threads tst doc narray jvmtst
 SUBDIRS = $(ALLSUBDIRS) @SYSDEP_DIR@
-DIST_SUBDIRS = $(ALLSUBDIRS) alpha mips i386 powerpc
+DIST_SUBDIRS = $(ALLSUBDIRS) alpha mips i386 powerpc x86_64
 
 EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html \
-                               jni.c
+                               jni.c natcalls.h nativecalls.h
 
 CLEANFILES = @SYSDEP_DIR@/asmpart.o \
              @SYSDEP_DIR@/offsets.h \
@@ -20,7 +20,9 @@ CLEANFILES = @SYSDEP_DIR@/asmpart.o \
 bin_PROGRAMS = cacao
 noinst_PROGRAMS = cacaoh
 
-INCLUDES=-I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
+INCLUDES = -I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit
+
+BOEHM_LIBS = mm/libboehm.a mm/boehm-gc/.libs/libgc.a
 
 cacao_SOURCES = \
        asmpart.h \
@@ -39,27 +41,35 @@ cacao_SOURCES = \
        tables.c \
        tables.h
 
-EXTRA_cacao_SOURCES = \
-       compiler.c \
-       compiler.h 
-
 cacao_LDADD = \
        @SYSDEP_DIR@/asmpart.o \
        @COMPILER_OBJECTS@ \
        toolbox/libtoolbox.a \
-       @GC_OBJ@ \
+       $(BOEHM_LIBS) \
        @THREAD_OBJ@
 
 cacao_DEPENDENCIES = \
        @SYSDEP_DIR@/asmpart.o \
        @COMPILER_OBJECTS@ \
        toolbox/libtoolbox.a \
-       @GC_OBJ@ \
+       $(BOEHM_LIBS) \
+       @THREAD_OBJ@
+
+cacaoh_SOURCES = \
+       headers.c \
+       tables.c \
+       loader.c \
+       builtin.c
+
+cacaoh_LDADD = \
+       toolbox/libtoolbox.a \
+       $(BOEHM_LIBS) \
        @THREAD_OBJ@
 
-cacaoh_SOURCES = headers.c tables.c loader.c builtin.c
-cacaoh_LDADD = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
-cacaoh_DEPENDENCIES = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
+cacaoh_DEPENDENCIES = \
+       toolbox/libtoolbox.a \
+       $(BOEHM_LIBS) \
+       @THREAD_OBJ@
 
 native.c: nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh