1 ## Process this file with automake to produce Makefile.in
3 # $Id: Makefile.am 123 1999-01-28 19:48:49Z phil $
5 MAINTAINERCLEANFILES = Makefile.in configure
6 SUBDIRS = toolbox mm alpha jit comp nat threads mips tst
8 EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html \
11 CLEANFILES = @SYSDEP_DIR@/asmpart.o \
12 @SYSDEP_DIR@/asmpart.s \
13 @SYSDEP_DIR@/offsets.h \
18 noinst_PROGRAMS = cacaoh
20 INCLUDES=-I/usr/include -I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
39 EXTRA_cacao_SOURCES = compiler.c compiler.h
42 @SYSDEP_DIR@/asmpart.o \
44 toolbox/libtoolbox.a \
48 cacao_DEPENDENCIES = \
49 @SYSDEP_DIR@/asmpart.o \
51 toolbox/libtoolbox.a \
55 cacaoh_SOURCES = headers.c tables.c loader.c builtin.c
56 cacaoh_LDADD = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
57 cacaoh_DEPENDENCIES = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
59 native.c: nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh
61 nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh: cacaoh
66 java.lang.ClassLoader \
72 java.lang.SecurityManager \
75 java.lang.ThreadGroup \
78 java.io.FileDescriptor \
79 java.io.FileInputStream \
80 java.io.FileOutputStream \
82 java.io.RandomAccessFile \
83 java.util.Properties \
86 @SYSDEP_DIR@/asmpart.o: $(top_srcdir)/@SYSDEP_DIR@/asmpart.c @SYSDEP_DIR@/offsets.h
87 rm -f @SYSDEP_DIR@/asmpart.s
88 @CPP@ $(INCLUDES) $(top_srcdir)/@SYSDEP_DIR@/asmpart.c \
89 > @SYSDEP_DIR@/asmpart.s
90 @CC@ $(CFLAGS) $(INCLUDES) -c -o @SYSDEP_DIR@/asmpart.o \
91 @SYSDEP_DIR@/asmpart.s
94 compiler.o: builtin.h compiler.h global.h loader.h tables.h native.h \
95 asmpart.h compiler.c comp/*.c \
96 @SYSDEP_DIR@/gen.c @SYSDEP_DIR@/disass.c
97 @CC@ $(CFLAGS) $(INCLUDES) -c compiler.c
102 ## indent-tabs-mode: t
105 ## compile-command: "automake --add-missing"