1 ## Process this file with automake to produce Makefile.in
3 # $Id: Makefile.am 125 1999-01-28 19:50:01Z phil $
5 MAINTAINERCLEANFILES = Makefile.in configure
6 SUBDIRS = toolbox mm alpha jit comp nat threads mips tst doc
8 EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html
10 CLEANFILES = @SYSDEP_DIR@/asmpart.o \
11 @SYSDEP_DIR@/asmpart.s \
12 @SYSDEP_DIR@/offsets.h \
17 noinst_PROGRAMS = cacaoh
19 INCLUDES=-I/usr/include -I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
38 EXTRA_cacao_SOURCES = compiler.c compiler.h
41 @SYSDEP_DIR@/asmpart.o \
43 toolbox/libtoolbox.a \
47 cacao_DEPENDENCIES = \
48 @SYSDEP_DIR@/asmpart.o \
50 toolbox/libtoolbox.a \
54 cacaoh_SOURCES = headers.c tables.c loader.c builtin.c
55 cacaoh_LDADD = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
56 cacaoh_DEPENDENCIES = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
58 native.c: nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh
60 nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh: cacaoh
65 java.lang.ClassLoader \
71 java.lang.SecurityManager \
74 java.lang.ThreadGroup \
77 java.io.FileDescriptor \
78 java.io.FileInputStream \
79 java.io.FileOutputStream \
81 java.io.RandomAccessFile \
82 java.util.Properties \
85 @SYSDEP_DIR@/asmpart.o: $(top_srcdir)/@SYSDEP_DIR@/asmpart.c @SYSDEP_DIR@/offsets.h
86 rm -f @SYSDEP_DIR@/asmpart.s
87 @CPP@ $(INCLUDES) $(top_srcdir)/@SYSDEP_DIR@/asmpart.c \
88 > @SYSDEP_DIR@/asmpart.s
89 @CC@ $(CFLAGS) $(INCLUDES) -c -o @SYSDEP_DIR@/asmpart.o \
90 @SYSDEP_DIR@/asmpart.s
93 compiler.o: builtin.h compiler.h global.h loader.h tables.h native.h \
94 asmpart.h compiler.c comp/*.c \
95 @SYSDEP_DIR@/gen.c @SYSDEP_DIR@/disass.c
96 @CC@ $(CFLAGS) $(INCLUDES) -c compiler.c
101 ## indent-tabs-mode: t
104 ## compile-command: "automake --add-missing"