## * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ## * This file is part of SableVM. * ## * See the file "LICENSE" for Copyright information and the * ## * terms and conditions for copying, distribution and * ## * modification of SableVM. * ## * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * SUBDIRS = include lib_LTLIBRARIES = libsablevm.la ## We want to build libsablevm as a single library, while ## using many source files, for readability. To do this, ## we have a single libsablevm.c source file which does ## includes the other files. We list all the .c and .h ## files as "noinst_HEADERS" so that automake does not try ## to compile each .c file individually. libsablevm_la_SOURCES = \ libsablevm.c ## We use m4 to generate some files and save ourselves ## a lot of boring typing. It's more fun to write ## m4 macros;-) BUILT_SOURCES = \ bootstrap.c \ cast.c \ cl_alloc.c \ cl_alloc.h \ class_file_parser.c \ error_bits.h \ error_classes.h \ error_init_methods.h \ error_instances.h \ error_throwing.c \ global_alloc.c \ global_alloc.h \ instructions_preparation_direct_threaded.c \ instructions_preparation_inlined_threaded.c \ instructions_preparation_switch_threaded.c \ instructions_switch.c \ method_invoke.c \ method_invoke.h \ native_interface.c \ splay_tree.c \ util.c \ vm_args.c noinst_HEADERS = \ bootstrap.c \ cast.c \ cl_alloc.c \ cl_alloc.h \ class_file_parser.c \ error_bits.h \ error_classes.h \ error_init_methods.h \ error_instances.h \ error_throwing.c \ global_alloc.c \ global_alloc.h \ instructions_preparation_direct_threaded.c \ instructions_preparation_inlined_threaded.c \ instructions_preparation_switch_threaded.c \ instructions_switch.c \ method_invoke.c \ method_invoke.h \ native_interface.c \ splay_tree.c \ util.c \ vm_args.c \ \ class_file_parser.h \ class_loader.c \ class_loader.h \ class_loader_memory_manager.c \ class_loader_memory_manager.h \ constants.h \ error.c \ fatal.c \ fatal.h \ gc_copying.c \ gc_none.c \ global_refs.c \ global_refs.h \ initialization.c \ interpreter.c \ interpreter.h \ invoke_interface.c \ invoke_interface.h \ java_lang_Class.c \ java_lang_Class.h \ java_lang_Object.c \ java_lang_Object.h \ java_lang_Runtime.c \ java_lang_Runtime.h \ java_lang_SecurityManager.c \ java_lang_SecurityManager.h \ java_lang_Throwable.c \ java_lang_Throwable.h \ java_lang_Thread.c \ java_lang_Thread.h \ java_lang_VMClassLoader.c \ java_lang_VMClassLoader.h \ java_lang_VMObject.c \ java_lang_VMObject.h \ java_lang_VMSecurityManager.c \ java_lang_VMSecurityManager.h \ java_lang_VMSystem.c \ java_lang_VMSystem.h \ java_lang_reflect_Constructor.c \ java_lang_reflect_Constructor.h \ java_lang_reflect_Method.c \ java_lang_reflect_Method.h \ jnidefs.h \ lib_init.c \ link.c \ link.h \ local_refs.c \ local_refs.h \ native.c \ new_instance.c \ new_instance.h \ java_lang_VirtualMachine.c \ java_lang_VirtualMachine.h \ prepare.c \ prepare.h \ prepare_code.c \ resolve.c \ system.c \ system.h \ thread.c \ thread.h \ types.h \ util.h \ util1.c \ util2.c \ verifier.c \ \ cast.list \ cl_alloc.list \ error.list \ global_alloc.list \ method_invoke.list \ splay_tree.list \ \ macros.m4 \ inlined_threaded.m4 \ direct_threaded.m4 \ switch_threaded.m4 \ \ cast.m4.c \ error_bits.m4.h \ error_classes.m4.h \ error_init_methods.m4.h \ error_instances.m4.h \ error_throwing.m4.c \ global_alloc.m4.c \ global_alloc.m4.h \ cl_alloc.m4.h \ cl_alloc.m4.c \ bootstrap.m4.c \ class_file_parser.m4.c \ instructions.m4.c \ instructions_preparation.m4.c \ instructions_switch.m4.c \ method_invoke.m4.c \ method_invoke.m4.h \ native_interface.m4.c \ splay_tree.m4.c \ util.m4.c \ vm_args.m4.c class_file_parser.c: macros.m4 class_file_parser.m4.c rm -f class_file_parser.c m4 -P macros.m4 class_file_parser.m4.c > class_file_parser.c chmod a-w class_file_parser.c bootstrap.c: macros.m4 bootstrap.m4.c rm -f bootstrap.c m4 -P macros.m4 bootstrap.m4.c > bootstrap.c chmod a-w bootstrap.c cl_alloc.c: macros.m4 cl_alloc.m4.c cl_alloc.list rm -f cl_alloc.c m4 -P macros.m4 cl_alloc.m4.c cl_alloc.list > cl_alloc.c chmod a-w cl_alloc.c cl_alloc.h: macros.m4 cl_alloc.m4.h cl_alloc.list rm -f cl_alloc.h m4 -P macros.m4 cl_alloc.m4.h cl_alloc.list > cl_alloc.h chmod a-w cl_alloc.h cast.c: macros.m4 cast.m4.c cast.list rm -f cast.c m4 -P macros.m4 cast.m4.c cast.list > cast.c chmod a-w cast.c error_bits.h: macros.m4 error_bits.m4.h error.list rm -f error_bits.h m4 -P macros.m4 error_bits.m4.h error.list > error_bits.h chmod a-w error_bits.h error_classes.h: macros.m4 error_classes.m4.h error.list rm -f error_classes.h m4 -P macros.m4 error_classes.m4.h error.list > error_classes.h chmod a-w error_classes.h error_init_methods.h: macros.m4 error_init_methods.m4.h error.list rm -f error_init_methods.h m4 -P macros.m4 error_init_methods.m4.h error.list > error_init_methods.h chmod a-w error_init_methods.h error_instances.h: macros.m4 error_instances.m4.h error.list rm -f error_instances.h m4 -P macros.m4 error_instances.m4.h error.list > error_instances.h chmod a-w error_instances.h error_throwing.c: macros.m4 error_throwing.m4.c error.list rm -f error_throwing.c m4 -P macros.m4 error_throwing.m4.c error.list > error_throwing.c chmod a-w error_throwing.c global_alloc.c: macros.m4 global_alloc.m4.c global_alloc.list rm -f global_alloc.c m4 -P macros.m4 global_alloc.m4.c global_alloc.list > global_alloc.c chmod a-w global_alloc.c global_alloc.h: macros.m4 global_alloc.m4.h global_alloc.list rm -f global_alloc.h m4 -P macros.m4 global_alloc.m4.h global_alloc.list > global_alloc.h chmod a-w global_alloc.h instructions_preparation_inlined_threaded.c: macros.m4 inlined_threaded.m4 instructions_preparation.m4.c instructions.m4.c rm -f instructions_preparation_inlined_threaded.c m4 -P macros.m4 inlined_threaded.m4 instructions_preparation.m4.c instructions.m4.c > instructions_preparation_inlined_threaded.c chmod a-w instructions_preparation_inlined_threaded.c instructions_preparation_direct_threaded.c: macros.m4 direct_threaded.m4 instructions_preparation.m4.c instructions.m4.c rm -f instructions_preparation_direct_threaded.c m4 -P macros.m4 direct_threaded.m4 instructions_preparation.m4.c instructions.m4.c > instructions_preparation_direct_threaded.c chmod a-w instructions_preparation_direct_threaded.c instructions_preparation_switch_threaded.c: macros.m4 switch_threaded.m4 instructions_preparation.m4.c instructions.m4.c rm -f instructions_preparation_switch_threaded.c m4 -P macros.m4 switch_threaded.m4 instructions_preparation.m4.c instructions.m4.c > instructions_preparation_switch_threaded.c chmod a-w instructions_preparation_switch_threaded.c instructions_switch.c: macros.m4 instructions_switch.m4.c instructions.m4.c rm -f instructions_switch.c m4 -P macros.m4 instructions_switch.m4.c instructions.m4.c > instructions_switch.c chmod a-w instructions_switch.c method_invoke.c: macros.m4 method_invoke.m4.c method_invoke.list rm -f method_invoke.c m4 -P macros.m4 method_invoke.m4.c method_invoke.list > method_invoke.c chmod a-w method_invoke.c method_invoke.h: macros.m4 method_invoke.m4.h method_invoke.list rm -f method_invoke.h m4 -P macros.m4 method_invoke.m4.h method_invoke.list > method_invoke.h chmod a-w method_invoke.h native_interface.c: macros.m4 native_interface.m4.c rm -f native_interface.c m4 -P macros.m4 native_interface.m4.c > native_interface.c chmod a-w native_interface.c splay_tree.c: macros.m4 splay_tree.m4.c splay_tree.list rm -f splay_tree.c m4 -P macros.m4 splay_tree.m4.c splay_tree.list > splay_tree.c chmod a-w splay_tree.c util.c: macros.m4 util.m4.c rm -f util.c m4 -P macros.m4 util.m4.c > util.c chmod a-w util.c vm_args.c: macros.m4 vm_args.m4.c rm -f vm_args.c m4 -P macros.m4 vm_args.m4.c > vm_args.c chmod a-w vm_args.c clean-local: rm -f bootstrap.c rm -f cast.c rm -f cl_alloc.c rm -f cl_alloc.h rm -f class_file_parser.c rm -f error_bits.h rm -f error_classes.h rm -f error_init_methods.h rm -f error_instances.h rm -f error_throwing.c rm -f global_alloc.c rm -f global_alloc.h rm -f instructions_preparation_inlined_threaded.c rm -f instructions_preparation_direct_threaded.c rm -f instructions_preparation_switch_threaded.c rm -f instructions_switch.c rm -f method_invoke.c rm -f method_invoke.h rm -f native_interface.c rm -f splay_tree.c rm -f util.c rm -f vm_args.c libsablevm_la_LIBADD = -lpthread -lm -lffi -lltdl libsablevm_la_LDFLAGS = -version-info @LIBRARY_VERSION@ INCLUDES = \ -I@srcdir@/include \ -DBOOT_CLASS_PATH=\"@libdir@/@PACKAGE@/classes-@VERSION@\" \ -DBOOT_LIBRARY_PATH=\"@libdir@/@PACKAGE@\"