1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.3 from Makefile.am
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # $Id: Makefile 132 1999-09-27 15:54:42Z chris $
21 prefix = /usr/local/cacao
22 exec_prefix = ${prefix}
24 bindir = ${exec_prefix}/bin
25 sbindir = ${exec_prefix}/sbin
26 libexecdir = ${exec_prefix}/libexec
27 datadir = ${prefix}/share
28 sysconfdir = ${prefix}/etc
29 sharedstatedir = ${prefix}/com
30 localstatedir = ${prefix}/var
31 libdir = ${exec_prefix}/lib
32 infodir = ${prefix}/info
33 mandir = ${prefix}/man
34 includedir = ${prefix}/include
35 oldincludedir = /usr/include
39 pkgdatadir = $(datadir)/cacao
40 pkglibdir = $(libdir)/cacao
41 pkgincludedir = $(includedir)/cacao
48 AUTOHEADER = autoheader
50 INSTALL = /usr/bin/install -c
51 INSTALL_PROGRAM = ${INSTALL}
52 INSTALL_DATA = ${INSTALL} -m 644
53 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
62 host_alias = alpha-unknown-linux
63 host_triplet = alpha-unknown-linux-gnu
65 COMPILER_OBJECTS = compiler.o
66 COMPILER_SOURCES = compiler.h compiler.c
67 GC_OBJ = mm/libmm_new.a
68 LIBTHREAD = libthreads.a
73 THREAD_OBJ = threads/libthreads.a
76 MAINTAINERCLEANFILES = Makefile.in configure
77 SUBDIRS = toolbox mm alpha jit comp nat threads mips tst doc narray
79 EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html
81 CLEANFILES = alpha/asmpart.o \
88 noinst_PROGRAMS = cacaoh
90 INCLUDES=-I/usr/include -I$(top_srcdir)/alpha -I$(top_srcdir)/jit -Ialpha -I$(top_srcdir)
97 compiler.h compiler.c \
109 EXTRA_cacao_SOURCES = \
116 toolbox/libtoolbox.a \
120 cacao_DEPENDENCIES = \
123 toolbox/libtoolbox.a \
127 cacaoh_SOURCES = headers.c tables.c loader.c builtin.c
128 cacaoh_LDADD = toolbox/libtoolbox.a mm/libmm_new.a threads/libthreads.a
129 cacaoh_DEPENDENCIES = toolbox/libtoolbox.a mm/libmm_new.a threads/libthreads.a
130 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
131 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
132 CONFIG_HEADER = config.h
134 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
137 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
141 cacao_OBJECTS = builtin.o jit.o loader.o main.o native.o tables.o
143 cacaoh_OBJECTS = headers.o tables.o loader.o builtin.o
145 CFLAGS = -ieee -O2 -g3
146 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
147 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
148 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
149 Makefile.in NEWS acconfig.h aclocal.m4 config.guess config.h.in \
150 config.sub configure configure.in install-sh missing mkinstalldirs \
154 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
158 DEP_FILES = .deps/builtin.P .deps/compiler.P .deps/headers.P \
159 .deps/jit.P .deps/loader.P .deps/main.P .deps/native.P .deps/tables.P
160 SOURCES = $(cacao_SOURCES) $(EXTRA_cacao_SOURCES) $(cacaoh_SOURCES)
161 OBJECTS = $(cacao_OBJECTS) $(cacaoh_OBJECTS)
163 all: all-recursive-am all-am
166 .SUFFIXES: .S .c .o .s
167 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
168 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
170 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
172 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
174 $(ACLOCAL_M4): configure.in
175 cd $(srcdir) && $(ACLOCAL)
177 config.status: $(srcdir)/configure
178 $(SHELL) ./config.status --recheck
179 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
180 cd $(srcdir) && $(AUTOCONF)
184 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
186 && CONFIG_FILES= CONFIG_HEADERS=config.h \
187 $(SHELL) ./config.status
188 @echo timestamp > stamp-h
189 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
190 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
191 cd $(top_srcdir) && $(AUTOHEADER)
192 @echo timestamp > $(srcdir)/stamp-h.in
201 maintainer-clean-hdr:
203 mostlyclean-binPROGRAMS:
206 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
208 distclean-binPROGRAMS:
210 maintainer-clean-binPROGRAMS:
212 install-binPROGRAMS: $(bin_PROGRAMS)
214 $(mkinstalldirs) $(DESTDIR)$(bindir)
215 @list='$(bin_PROGRAMS)'; for p in $$list; do \
216 if test -f $$p; then \
217 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
218 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
222 uninstall-binPROGRAMS:
224 list='$(bin_PROGRAMS)'; for p in $$list; do \
225 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
228 mostlyclean-noinstPROGRAMS:
230 clean-noinstPROGRAMS:
231 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
233 distclean-noinstPROGRAMS:
235 maintainer-clean-noinstPROGRAMS:
244 -rm -f *.o core *.core
251 maintainer-clean-compile:
253 cacao: $(cacao_OBJECTS) $(cacao_DEPENDENCIES)
255 $(LINK) $(cacao_LDFLAGS) $(cacao_OBJECTS) $(cacao_LDADD) $(LIBS)
257 cacaoh: $(cacaoh_OBJECTS) $(cacaoh_DEPENDENCIES)
259 $(LINK) $(cacaoh_LDFLAGS) $(cacaoh_OBJECTS) $(cacaoh_LDADD) $(LIBS)
261 # This directory's subdirectories are mostly independent; you can cd
262 # into them and run `make' without going through this Makefile.
263 # To change the values of `make' variables: instead of editing Makefiles,
264 # (1) if the variable is set in `config.status', edit `config.status'
265 # (which will cause the Makefiles to be regenerated when you run `make');
266 # (2) otherwise, pass the desired values on the `make' command line.
270 all-recursive install-data-recursive install-exec-recursive \
271 installdirs-recursive install-recursive uninstall-recursive \
272 check-recursive installcheck-recursive info-recursive dvi-recursive:
273 @set fnord $(MAKEFLAGS); amf=$$2; \
274 list='$(SUBDIRS)'; for subdir in $$list; do \
275 target=`echo $@ | sed s/-recursive//`; \
276 echo "Making $$target in $$subdir"; \
277 (cd $$subdir && $(MAKE) $$target) \
278 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
279 done && test -z "$$fail"
281 mostlyclean-recursive clean-recursive distclean-recursive \
282 maintainer-clean-recursive:
283 @set fnord $(MAKEFLAGS); amf=$$2; \
284 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
285 rev="$$subdir $$rev"; \
287 for subdir in $$rev; do \
288 target=`echo $@ | sed s/-recursive//`; \
289 echo "Making $$target in $$subdir"; \
290 (cd $$subdir && $(MAKE) $$target) \
291 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
292 done && test -z "$$fail"
294 list='$(SUBDIRS)'; for subdir in $$list; do \
295 (cd $$subdir && $(MAKE) tags); \
300 ID: $(HEADERS) $(SOURCES) $(LISP)
301 here=`pwd` && cd $(srcdir) \
302 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
304 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
307 list='$(SUBDIRS)'; for subdir in $$list; do \
308 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
310 list='$(SOURCES) $(HEADERS)'; \
311 unique=`for i in $$list; do echo $$i; done | \
312 awk ' { files[$$0] = 1; } \
313 END { for (i in files) print i; }'`; \
314 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
315 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
324 maintainer-clean-tags:
326 distdir = $(PACKAGE)-$(VERSION)
327 top_distdir = $(distdir)
329 # This target untars the dist file and tries a VPATH configuration. Then
330 # it guarantees that the distribution is self-contained by making another
334 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
335 mkdir $(distdir)/=build
336 mkdir $(distdir)/=inst
337 dc_install_base=`cd $(distdir)/=inst && pwd`; \
338 cd $(distdir)/=build \
339 && ../configure --srcdir=.. --prefix=$$dc_install_base \
344 && $(MAKE) installcheck \
347 @echo "========================"; \
348 echo "$(distdir).tar.gz is ready for distribution"; \
349 echo "========================"
351 -chmod -R a+r $(distdir)
352 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
355 -chmod -R a+r $(distdir)
356 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
358 distdir: $(DISTFILES)
361 -chmod 777 $(distdir)
362 here=`cd $(top_builddir) && pwd`; \
363 top_distdir=`cd $(distdir) && pwd`; \
364 distdir=`cd $(distdir) && pwd`; \
366 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
367 $(mkinstalldirs) $(distdir)/html
368 @for file in $(DISTFILES); do \
370 test -f $(distdir)/$$file \
371 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
372 || cp -p $$d/$$file $(distdir)/$$file; \
374 for subdir in $(SUBDIRS); do \
375 test -d $(distdir)/$$subdir \
376 || mkdir $(distdir)/$$subdir \
378 chmod 777 $(distdir)/$$subdir; \
379 (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
383 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
385 -include $(DEP_FILES)
393 maintainer-clean-depend:
397 @echo '$(COMPILE) -c $<'; \
398 $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
401 @echo '$(LTCOMPILE) -c $<'; \
402 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
403 @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
404 < .deps/$(*F).p > .deps/$(*F).P
405 @-rm -f .deps/$(*F).p
409 $(MAKE) check-recursive
410 installcheck: installcheck-recursive
411 all-recursive-am: config.h
412 $(MAKE) all-recursive
414 all-am: Makefile $(PROGRAMS) config.h
416 install-exec-am: install-binPROGRAMS
418 uninstall-am: uninstall-binPROGRAMS
420 install-exec: install-exec-recursive install-exec-am
423 install-data: install-data-recursive
426 install: install-recursive install-exec-am
429 uninstall: uninstall-recursive uninstall-am
432 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
433 installdirs: installdirs-recursive
434 $(mkinstalldirs) $(DATADIR)$(bindir)
438 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
441 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
444 -rm -f Makefile $(DISTCLEANFILES)
445 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
446 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
448 maintainer-clean-generic:
449 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
450 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
451 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
452 mostlyclean-noinstPROGRAMS mostlyclean-compile \
453 mostlyclean-tags mostlyclean-depend mostlyclean-generic
455 clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \
456 clean-compile clean-tags clean-depend clean-generic \
459 distclean-am: distclean-hdr distclean-binPROGRAMS \
460 distclean-noinstPROGRAMS distclean-compile \
461 distclean-tags distclean-depend distclean-generic \
464 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
465 maintainer-clean-noinstPROGRAMS \
466 maintainer-clean-compile maintainer-clean-tags \
467 maintainer-clean-depend maintainer-clean-generic \
470 mostlyclean: mostlyclean-recursive mostlyclean-am
472 clean: clean-recursive clean-am
474 distclean: distclean-recursive distclean-am
477 maintainer-clean: maintainer-clean-recursive maintainer-clean-am
478 @echo "This command is intended for maintainers to use;"
479 @echo "it deletes files that may require special tools to rebuild."
482 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
483 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
484 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
485 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
486 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
487 mostlyclean-compile distclean-compile clean-compile \
488 maintainer-clean-compile install-data-recursive \
489 uninstall-data-recursive install-exec-recursive \
490 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
491 all-recursive check-recursive installcheck-recursive info-recursive \
492 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
493 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
494 distclean-tags clean-tags maintainer-clean-tags distdir \
495 mostlyclean-depend distclean-depend clean-depend \
496 maintainer-clean-depend info dvi installcheck all-recursive-am all-am \
497 install-exec-am uninstall-am install-exec install-data install \
498 uninstall all installdirs mostlyclean-generic distclean-generic \
499 clean-generic maintainer-clean-generic clean mostlyclean distclean \
503 native.c: nativetypes.hh alpha/offsets.h nativetable.hh
505 nativetypes.hh alpha/offsets.h nativetable.hh: cacaoh
510 java.lang.ClassLoader \
516 java.lang.SecurityManager \
519 java.lang.ThreadGroup \
520 java.lang.Throwable \
522 java.io.FileDescriptor \
523 java.io.FileInputStream \
524 java.io.FileOutputStream \
525 java.io.PrintStream \
526 java.io.RandomAccessFile \
527 java.util.Properties \
530 alpha/asmpart.o: $(top_srcdir)/alpha/asmpart.c alpha/offsets.h
531 rm -f alpha/asmpart.s
532 gcc -E $(INCLUDES) $(top_srcdir)/alpha/asmpart.c \
534 gcc $(CFLAGS) $(INCLUDES) -c -o alpha/asmpart.o \
538 compiler.o: $(top_srcdir)/builtin.h $(top_srcdir)/compiler.h \
539 $(top_srcdir)/global.h $(top_srcdir)/loader.h \
540 $(top_srcdir)/tables.h $(top_srcdir)/native.h \
541 $(top_srcdir)/asmpart.h $(top_srcdir)/compiler.c $(top_srcdir)/comp/*.c \
542 $(top_srcdir)/alpha/gen.c $(top_srcdir)/alpha/disass.c
543 gcc $(CFLAGS) -I. $(INCLUDES) -c $(top_srcdir)/compiler.c
557 # Tell versions [3.59,3.63) of GNU make to not export all variables.
558 # Otherwise a system limit (for SysV at least) may be exceeded.