1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # $Id: Makefile.in 120 1999-01-20 15:41:38Z andi $
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
48 AUTOHEADER = @AUTOHEADER@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
62 host_alias = @host_alias@
65 COMPILER_OBJECTS = @COMPILER_OBJECTS@
66 COMPILER_SOURCES = @COMPILER_SOURCES@
68 LIBTHREAD = @LIBTHREAD@
72 SYSDEP_DIR = @SYSDEP_DIR@
73 THREAD_OBJ = @THREAD_OBJ@
76 MAINTAINERCLEANFILES = Makefile.in configure
77 SUBDIRS = toolbox mm alpha jit comp nat threads mips
79 EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html \
82 CLEANFILES = @SYSDEP_DIR@/asmpart.o \
83 @SYSDEP_DIR@/asmpart.s \
84 @SYSDEP_DIR@/offsets.h \
89 noinst_PROGRAMS = cacaoh
90 man_MANS = doc/cacao.1
92 INCLUDES=-I/usr/include -I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
111 EXTRA_cacao_SOURCES = compiler.c compiler.h
114 @SYSDEP_DIR@/asmpart.o \
116 toolbox/libtoolbox.a \
120 cacao_DEPENDENCIES = \
121 @SYSDEP_DIR@/asmpart.o \
123 toolbox/libtoolbox.a \
127 cacaoh_SOURCES = headers.c tables.c loader.c builtin.c
128 cacaoh_LDADD = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
129 cacaoh_DEPENDENCIES = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
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 = @DEFS@ -I. -I$(srcdir) -I.
138 CPPFLAGS = @CPPFLAGS@
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
146 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
147 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
148 man1dir = $(mandir)/man1
152 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
153 Makefile.in NEWS acconfig.h aclocal.m4 config.guess config.h.in \
154 config.sub configure configure.in install-sh missing mkinstalldirs \
158 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
162 SOURCES = $(cacao_SOURCES) $(EXTRA_cacao_SOURCES) $(cacaoh_SOURCES)
163 OBJECTS = $(cacao_OBJECTS) $(cacaoh_OBJECTS)
165 all: all-recursive-am all-am
168 .SUFFIXES: .S .c .o .s
169 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
170 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
172 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
174 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
176 $(ACLOCAL_M4): configure.in
177 cd $(srcdir) && $(ACLOCAL)
179 config.status: $(srcdir)/configure
180 $(SHELL) ./config.status --recheck
181 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
182 cd $(srcdir) && $(AUTOCONF)
186 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
188 && CONFIG_FILES= CONFIG_HEADERS=config.h \
189 $(SHELL) ./config.status
190 @echo timestamp > stamp-h
191 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
192 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
193 cd $(top_srcdir) && $(AUTOHEADER)
194 @echo timestamp > $(srcdir)/stamp-h.in
203 maintainer-clean-hdr:
205 mostlyclean-binPROGRAMS:
208 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
210 distclean-binPROGRAMS:
212 maintainer-clean-binPROGRAMS:
214 install-binPROGRAMS: $(bin_PROGRAMS)
216 $(mkinstalldirs) $(DESTDIR)$(bindir)
217 @list='$(bin_PROGRAMS)'; for p in $$list; do \
218 if test -f $$p; then \
219 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
220 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
224 uninstall-binPROGRAMS:
226 list='$(bin_PROGRAMS)'; for p in $$list; do \
227 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
230 mostlyclean-noinstPROGRAMS:
232 clean-noinstPROGRAMS:
233 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
235 distclean-noinstPROGRAMS:
237 maintainer-clean-noinstPROGRAMS:
249 -rm -f *.o core *.core
256 maintainer-clean-compile:
258 cacao: $(cacao_OBJECTS) $(cacao_DEPENDENCIES)
260 $(LINK) $(cacao_LDFLAGS) $(cacao_OBJECTS) $(cacao_LDADD) $(LIBS)
262 cacaoh: $(cacaoh_OBJECTS) $(cacaoh_DEPENDENCIES)
264 $(LINK) $(cacaoh_LDFLAGS) $(cacaoh_OBJECTS) $(cacaoh_LDADD) $(LIBS)
267 $(mkinstalldirs) $(DESTDIR)$(man1dir)
268 @list='$(man1_MANS)'; \
269 l2='$(man_MANS)'; for i in $$l2; do \
271 *.1*) list="$$list $$i" ;; \
274 for i in $$list; do \
275 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
277 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
278 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
279 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
280 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
281 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
285 @list='$(man1_MANS)'; \
286 l2='$(man_MANS)'; for i in $$l2; do \
288 *.1*) list="$$list $$i" ;; \
291 for i in $$list; do \
292 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
293 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
294 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
295 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
296 rm -f $(DESTDIR)$(man1dir)/$$inst; \
303 $(MAKE) uninstall-man1
305 # This directory's subdirectories are mostly independent; you can cd
306 # into them and run `make' without going through this Makefile.
307 # To change the values of `make' variables: instead of editing Makefiles,
308 # (1) if the variable is set in `config.status', edit `config.status'
309 # (which will cause the Makefiles to be regenerated when you run `make');
310 # (2) otherwise, pass the desired values on the `make' command line.
314 all-recursive install-data-recursive install-exec-recursive \
315 installdirs-recursive install-recursive uninstall-recursive \
316 check-recursive installcheck-recursive info-recursive dvi-recursive:
317 @set fnord $(MAKEFLAGS); amf=$$2; \
318 list='$(SUBDIRS)'; for subdir in $$list; do \
319 target=`echo $@ | sed s/-recursive//`; \
320 echo "Making $$target in $$subdir"; \
321 (cd $$subdir && $(MAKE) $$target) \
322 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
323 done && test -z "$$fail"
325 mostlyclean-recursive clean-recursive distclean-recursive \
326 maintainer-clean-recursive:
327 @set fnord $(MAKEFLAGS); amf=$$2; \
328 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
329 rev="$$subdir $$rev"; \
331 for subdir in $$rev; do \
332 target=`echo $@ | sed s/-recursive//`; \
333 echo "Making $$target in $$subdir"; \
334 (cd $$subdir && $(MAKE) $$target) \
335 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
336 done && test -z "$$fail"
338 list='$(SUBDIRS)'; for subdir in $$list; do \
339 (cd $$subdir && $(MAKE) tags); \
344 ID: $(HEADERS) $(SOURCES) $(LISP)
345 here=`pwd` && cd $(srcdir) \
346 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
348 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
351 list='$(SUBDIRS)'; for subdir in $$list; do \
352 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
354 list='$(SOURCES) $(HEADERS)'; \
355 unique=`for i in $$list; do echo $$i; done | \
356 awk ' { files[$$0] = 1; } \
357 END { for (i in files) print i; }'`; \
358 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
359 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
368 maintainer-clean-tags:
370 distdir = $(PACKAGE)-$(VERSION)
371 top_distdir = $(distdir)
373 # This target untars the dist file and tries a VPATH configuration. Then
374 # it guarantees that the distribution is self-contained by making another
378 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
379 mkdir $(distdir)/=build
380 mkdir $(distdir)/=inst
381 dc_install_base=`cd $(distdir)/=inst && pwd`; \
382 cd $(distdir)/=build \
383 && ../configure --srcdir=.. --prefix=$$dc_install_base \
388 && $(MAKE) installcheck \
391 @echo "========================"; \
392 echo "$(distdir).tar.gz is ready for distribution"; \
393 echo "========================"
395 -chmod -R a+r $(distdir)
396 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
399 -chmod -R a+r $(distdir)
400 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
402 distdir: $(DISTFILES)
405 -chmod 777 $(distdir)
406 $(mkinstalldirs) $(distdir)/doc $(distdir)/html
407 @for file in $(DISTFILES); do \
409 test -f $(distdir)/$$file \
410 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
411 || cp -p $$d/$$file $(distdir)/$$file; \
413 for subdir in $(SUBDIRS); do \
414 test -d $(distdir)/$$subdir \
415 || mkdir $(distdir)/$$subdir \
417 chmod 777 $(distdir)/$$subdir; \
418 (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
424 $(MAKE) check-recursive
425 installcheck: installcheck-recursive
426 all-recursive-am: config.h
427 $(MAKE) all-recursive
429 all-am: Makefile $(PROGRAMS) $(MANS) config.h
431 install-exec-am: install-binPROGRAMS
433 install-data-am: install-man
435 uninstall-am: uninstall-binPROGRAMS uninstall-man
437 install-exec: install-exec-recursive install-exec-am
440 install-data: install-data-recursive install-data-am
443 install: install-recursive install-exec-am install-data-am
446 uninstall: uninstall-recursive uninstall-am
449 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
450 installdirs: installdirs-recursive
451 $(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
455 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
458 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
461 -rm -f Makefile $(DISTCLEANFILES)
462 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
463 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
465 maintainer-clean-generic:
466 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
467 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
468 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
469 mostlyclean-noinstPROGRAMS mostlyclean-compile \
470 mostlyclean-tags mostlyclean-generic
472 clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \
473 clean-compile clean-tags clean-generic mostlyclean-am
475 distclean-am: distclean-hdr distclean-binPROGRAMS \
476 distclean-noinstPROGRAMS distclean-compile \
477 distclean-tags distclean-generic clean-am
479 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
480 maintainer-clean-noinstPROGRAMS \
481 maintainer-clean-compile maintainer-clean-tags \
482 maintainer-clean-generic distclean-am
484 mostlyclean: mostlyclean-recursive mostlyclean-am
486 clean: clean-recursive clean-am
488 distclean: distclean-recursive distclean-am
491 maintainer-clean: maintainer-clean-recursive maintainer-clean-am
492 @echo "This command is intended for maintainers to use;"
493 @echo "it deletes files that may require special tools to rebuild."
496 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
497 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
498 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
499 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
500 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
501 mostlyclean-compile distclean-compile clean-compile \
502 maintainer-clean-compile install-man1 uninstall-man1 install-man \
503 uninstall-man install-data-recursive uninstall-data-recursive \
504 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
505 uninstalldirs-recursive all-recursive check-recursive \
506 installcheck-recursive info-recursive dvi-recursive \
507 mostlyclean-recursive distclean-recursive clean-recursive \
508 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
509 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
510 installcheck all-recursive-am all-am install-exec-am install-data-am \
511 uninstall-am install-exec install-data install uninstall all \
512 installdirs mostlyclean-generic distclean-generic clean-generic \
513 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
516 native.c: nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh
518 nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh: cacaoh
523 java.lang.ClassLoader \
529 java.lang.SecurityManager \
532 java.lang.ThreadGroup \
533 java.lang.Throwable \
535 java.io.FileDescriptor \
536 java.io.FileInputStream \
537 java.io.FileOutputStream \
538 java.io.PrintStream \
539 java.io.RandomAccessFile \
540 java.util.Properties \
543 @SYSDEP_DIR@/asmpart.o: $(top_srcdir)/@SYSDEP_DIR@/asmpart.c @SYSDEP_DIR@/offsets.h
544 rm -f @SYSDEP_DIR@/asmpart.s
545 @CPP@ $(INCLUDES) $(top_srcdir)/@SYSDEP_DIR@/asmpart.c \
546 > @SYSDEP_DIR@/asmpart.s
547 @CC@ $(CFLAGS) $(INCLUDES) -c -o @SYSDEP_DIR@/asmpart.o \
548 @SYSDEP_DIR@/asmpart.s
551 compiler.o: builtin.h compiler.h global.h loader.h tables.h native.h \
552 asmpart.h compiler.c comp/*.c \
553 @SYSDEP_DIR@/gen.c @SYSDEP_DIR@/disass.c
554 @CC@ $(CFLAGS) $(INCLUDES) -c compiler.c
556 # Tell versions [3.59,3.63) of GNU make to not export all variables.
557 # Otherwise a system limit (for SysV at least) may be exceeded.