# # Automakefile for JavaScript virtual machine. # Copyright (c) 1998 New Generation Software (NGS) Oy # (c) 1999-2000 Brian Bassett # # # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, # MA 02111-1307, USA # SUBDIRS = njs LIBTOOLVERSION = 1:0:1 lib_LTLIBRARIES = libentitynjs.la libentitynjs_la_SOURCES = bc.c heap.c object.c debug.c njs.c vm.c \ vmswitch.c vmjumps.c alloc.c utils.c mrgsort.c \ regex.c crc32.c iostream.c ext.c \ b_array.c b_bool.c b_func.c b_core.c b_number.c \ b_object.c b_string.c b_date.c b_dir.c b_file.c b_math.c \ b_regexp.c b_system.c b_vm.c r_std.c dl_dummy.c \ jscompiler.h #libentitynjs_la_LIBADD = $(PTHREAD_LIB) -lm libentitynjs_la_LIBADD = -lm libentitynjs_la_LDFLAGS = -export-dynamic -version-info $(LIBTOOLVERSION) # EXTRA_libnjs_la_SOURCES = vmswt0.c r_std.c r_pthrs.c dl_open.c dl_dummy.c # dl_shload.c pkgdatadir = $(libdir)/entity INCLUDES = -DJS_EXT_DIR=\"$(pkgdatadir)\" \ -DJS_SYSBOOT_DIR=\"$(pkgdatadir)\" noinst_HEADERS = c1swt0.h eswt0.h c1switch.h c2switch.h eswitch.h \ c1jumps.h c2jumps.h ejumps.h rentrant.h \ mrgsort.h regex.h EXTRA_DIST = README \ compiler.jsc \ bc_to_h.c