1 ## Process this file with automake to produce Makefile.in
3 # $Id: Makefile.am 122 1999-01-28 11:55:57Z 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
19 man_MANS = doc/cacao.1
21 INCLUDES=-I/usr/include -I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
40 EXTRA_cacao_SOURCES = compiler.c compiler.h
43 @SYSDEP_DIR@/asmpart.o \
45 toolbox/libtoolbox.a \
49 cacao_DEPENDENCIES = \
50 @SYSDEP_DIR@/asmpart.o \
52 toolbox/libtoolbox.a \
56 cacaoh_SOURCES = headers.c tables.c loader.c builtin.c
57 cacaoh_LDADD = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
58 cacaoh_DEPENDENCIES = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
60 native.c: nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh
62 nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh: cacaoh
67 java.lang.ClassLoader \
73 java.lang.SecurityManager \
76 java.lang.ThreadGroup \
79 java.io.FileDescriptor \
80 java.io.FileInputStream \
81 java.io.FileOutputStream \
83 java.io.RandomAccessFile \
84 java.util.Properties \
87 @SYSDEP_DIR@/asmpart.o: $(top_srcdir)/@SYSDEP_DIR@/asmpart.c @SYSDEP_DIR@/offsets.h
88 rm -f @SYSDEP_DIR@/asmpart.s
89 @CPP@ $(INCLUDES) $(top_srcdir)/@SYSDEP_DIR@/asmpart.c \
90 > @SYSDEP_DIR@/asmpart.s
91 @CC@ $(CFLAGS) $(INCLUDES) -c -o @SYSDEP_DIR@/asmpart.o \
92 @SYSDEP_DIR@/asmpart.s
95 compiler.o: builtin.h compiler.h global.h loader.h tables.h native.h \
96 asmpart.h compiler.c comp/*.c \
97 @SYSDEP_DIR@/gen.c @SYSDEP_DIR@/disass.c
98 @CC@ $(CFLAGS) $(INCLUDES) -c compiler.c
103 ## indent-tabs-mode: t
106 ## compile-command: "automake --add-missing"