gecko/js/src/Makefile.ref

469 lines
10 KiB
Makefile
Raw Normal View History

# -*- Mode: makefile -*-
# vim: ft=make
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Michael Ang <mang@subcarrier.org>
# Kevin Buhr <buhr@stat.wisc.edu>
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#
# JSRef GNUmake makefile.
#
# Note: dependency rules are missing for some files (some
# .h, all .msg, etc.) Re-make clean if in doubt.
#
DEPTH = .
include config.mk
#NS_USE_NATIVE = 1
ifndef NANOJIT_ARCH
$(warning NANOJIT_ARCH not defined in config/$(OS_CONFIG).mk, JIT disabled)
else
ifdef DISABLE_JIT
$(warning disabling JIT per build specification)
else
ENABLE_JIT=1
endif
endif
ifdef ENABLE_JIT
DEFINES += -DJS_TRACER
DEFINES += -DFEATURE_NANOJIT
INCLUDES += -Inanojit
endif
#ifndef BUILD_OPT
#DEFINES += -Ivprof
#endif
# Look in OBJDIR to find jsautocfg.h, jsautokw.h, and js-config.h
INCLUDES += -I. -I$(OBJDIR)
ifdef JS_THREADSAFE
DEFINES += -DJS_THREADSAFE
INCLUDES += -I$(DIST)/include/nspr
ifdef USE_MSVC
OTHER_LIBS += $(DIST)/lib/libnspr$(NSPR_LIBSUFFIX).lib
else
OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX)
endif
endif
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
ifdef JS_HAS_CTYPES
DEFINES += -DJS_HAS_CTYPES
INCLUDES += -I$(DIST)/include/nspr
ifdef USE_MSVC
OTHER_LIBS += $(DIST)/lib/libnspr$(NSPR_LIBSUFFIX).lib
else
OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX)
endif
endif
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif
ifdef JS_GC_ZEAL
DEFINES += -DJS_GC_ZEAL
endif
#
# XCFLAGS may be set in the environment or on the gmake command line
#
#CFLAGS += -DDEBUG -DDEBUG_brendan -DJS_ARENAMETER -DJS_HASHMETER -DJS_DUMP_PROPTREE_STATS -DJS_DUMP_SCOPE_METERS -DJS_SCOPE_DEPTH_METER -DJS_BASIC_STATS
CFLAGS += $(OS_CFLAGS) $(DEFINES) $(INCLUDES) $(XCFLAGS)
LDFLAGS = $(XLDFLAGS)
LDFLAGS += $(OS_LDFLAGS)
ifdef MOZ_SHARK
DEFINES += -DMOZ_SHARK
CFLAGS += -F/System/Library/PrivateFrameworks
LDFLAGS += -F/System/Library/PrivateFrameworks -framework CHUD
endif
ifdef MOZ_CALLGRIND
DEFINES += -DMOZ_CALLGRIND
endif
ifdef MOZ_VTUNE
DEFINES += -DMOZ_VTUNE
CXXFLAGS += -IC:/Program\ Files/Intel/VTune/Analyzer/Include
OTHER_LIBS += C:/Program\ Files/Intel/VTune/Analyzer/Lib/VtuneApi.lib
endif
ifndef NO_LIBM
LDFLAGS += -lm
endif
# Prevent floating point errors caused by VC++ optimizations
ifeq ($(OS_ARCH),WINNT)
_MSC_VER = $(shell $(CXX) 2>&1 | sed -n 's/.*Compiler Version \([0-9]*\)\.\([0-9]*\).*/\1\2/p')
ifeq (,$(filter-out 1200 1300 1310,$(_MSC_VER)))
CFLAGS += -Op
else
CFLAGS += -fp:precise
endif
endif # WINNT
#
# Server-related changes :
#
ifdef NES40
DEFINES += -DNES40
endif
#
# Line editing support.
# Define JS_READLINE or JS_EDITLINE to enable line editing in the
# js command-line interpreter.
#
ifdef JS_READLINE
# For those platforms with the readline library installed.
DEFINES += -DEDITLINE
PROG_LIBS += -lreadline -ltermcap
else
ifdef JS_EDITLINE
# Use the editline library, built locally.
PREDIRS += editline
DEFINES += -DEDITLINE
PROG_LIBS += $(OBJDIR)/editline/libedit.a
endif
endif
# For purify
PURE_CFLAGS = -DXP_UNIX $(OPTIMIZER) $(PURE_OS_CFLAGS) $(DEFINES) \
$(INCLUDES) $(XCFLAGS)
#
# JS file lists
#
JS_HFILES = \
jsarray.h \
jsatom.h \
jsbool.h \
jscntxt.h \
jsdate.h \
jsemit.h \
jsexn.h \
jsfun.h \
jsgc.h \
jsinterp.h \
jsiter.h \
jslibmath.h \
jslock.h \
jsmath.h \
jsnum.h \
jsobj.h \
json.h \
jsopcode.h \
jsparse.h \
jsarena.h \
jsclist.h \
jsdhash.h \
jsdtoa.h \
jshash.h \
jslong.h \
jstypes.h \
jsprvtd.h \
jspubtd.h \
jsregexp.h \
jsscan.h \
jsscope.h \
jsscript.h \
jsstr.h \
jsversion.h \
jsxdrapi.h \
jsxml.h \
$(NULL)
ifdef ENABLE_JIT
JS_HFILES += \
jstracer.h \
nanojit/Assembler.h \
nanojit/LIR.h \
nanojit/Native$(NANOJIT_ARCH).h \
nanojit/avmplus.h \
nanojit/vm_fops.h \
nanojit/Fragmento.h \
nanojit/Native.h \
nanojit/RegAlloc.h \
nanojit/nanojit.h \
$(NULL)
endif
ifndef BUILD_OPT
#JS_HFILES += \
# vprof/vprof.h \
# $(NULL)
endif
API_HFILES = \
jsapi.h \
jsdbgapi.h \
$(NULL)
OTHER_HFILES = \
jsbit.h \
jscompat.h \
jscpucfg.h \
jsotypes.h \
prmjtime.h \
resource.h \
jsopcode.tbl \
jsproto.tbl \
js.msg \
jsshell.msg \
jskeyword.tbl \
$(NULL)
ifndef PREBUILT_CPUCFG
OTHER_HFILES += $(OBJDIR)/jsautocfg.h
endif
OTHER_HFILES += $(OBJDIR)/jsautokw.h $(OBJDIR)/js-config.h
HFILES = $(JS_HFILES) $(API_HFILES) $(OTHER_HFILES)
JS_CPPFILES = \
jsapi.cpp \
jsarena.cpp \
jsarray.cpp \
jsatom.cpp \
jsbool.cpp \
jscntxt.cpp \
jsdate.cpp \
jsdbgapi.cpp \
jsdhash.cpp \
jsdtoa.cpp \
jsemit.cpp \
jsexn.cpp \
jsfun.cpp \
jsgc.cpp \
jshash.cpp \
jsinterp.cpp \
jsinvoke.cpp \
jsiter.cpp \
jslock.cpp \
jslog2.cpp \
jslong.cpp \
jsmath.cpp \
jsnum.cpp \
jsobj.cpp \
json.cpp \
jsopcode.cpp \
jsparse.cpp \
jsprf.cpp \
jsregexp.cpp \
jsscan.cpp \
jsscope.cpp \
jsscript.cpp \
jsstr.cpp \
jsutil.cpp \
jsxdrapi.cpp \
jsxml.cpp \
prmjtime.cpp \
$(NULL)
ifdef ENABLE_JIT
JS_CPPFILES += \
jsbuiltins.cpp \
jstracer.cpp \
nanojit/Assembler.cpp \
nanojit/Fragmento.cpp \
nanojit/LIR.cpp \
nanojit/Native$(NANOJIT_ARCH).cpp \
nanojit/RegAlloc.cpp \
nanojit/avmplus.cpp \
$(NULL)
endif
ifndef BUILD_OPT
#JS_CPPFILES += \
# vprof/vprof.cpp \
# $(NULL)
endif
LIB_CPPFILES = $(JS_CPPFILES)
LIB_ASFILES := $(wildcard *_$(OS_ARCH).s)
PROG_CPPFILES = js.cpp
ifdef USE_MSVC
LIBRARY = $(OBJDIR)/js32.lib
SHARED_LIBRARY = $(OBJDIR)/js32.dll
PROGRAM = $(OBJDIR)/js.exe
else
LIBRARY = $(OBJDIR)/libjs.a
SHARED_LIBRARY = $(OBJDIR)/libjs.$(SO_SUFFIX)
PROGRAM = $(OBJDIR)/js
endif
include rules.mk
MOZ_DEPTH = ../..
include jsconfig.mk
nsinstall-target:
cd ../../config; $(MAKE) OBJDIR=$(OBJDIR) OBJDIR_NAME=$(OBJDIR)
#
# Automatic header generation
#
AUTO_HEADERS = \
$(OBJDIR)/jsautokw.h \
$(OBJDIR)/jsautooplen.h \
$(NULL)
$(OBJDIR)/jsautokw.h: jskeyword.tbl
$(OBJDIR)/jsautooplen.h: jsopcode.tbl
GARBAGE += $(AUTO_HEADERS)
GARBAGE += $(AUTO_HEADERS:$(OBJDIR)/jsauto%.h=$(OBJDIR)/js%gen$(HOST_BIN_SUFFIX))
ifdef USE_MSVC
GARBAGE += $(AUTO_HEADERS:$(OBJDIR)/jsauto%.h=$(OBJDIR)/js%gen.obj)
$(AUTO_HEADERS): $(OBJDIR)/jsauto%.h: js%gen.cpp
@$(MAKE_OBJDIR)
$(CXX) -Fo$(OBJDIR)/ -c $(CFLAGS) $(OPTIMIZER) $<
link.exe -out:"$(OBJDIR)/js$*gen$(HOST_BIN_SUFFIX)" $(EXE_LINK_FLAGS) $(OBJDIR)/js$*gen.obj
$(OBJDIR)/js$*gen$(HOST_BIN_SUFFIX) $@
else
GARBAGE += $(AUTO_HEADERS:$(OBJDIR)/jsauto%.h=$(OBJDIR)/js%gen.d)
$(AUTO_HEADERS): $(OBJDIR)/jsauto%.h: js%gen.cpp
@$(MAKE_OBJDIR)
$(CXX) -o $(OBJDIR)/js$*gen$(HOST_BIN_SUFFIX) $(CFLAGS) $(OPTIMIZER) $(LDFLAGS) $<
$(OBJDIR)/js$*gen$(HOST_BIN_SUFFIX) $@
endif
# force creation of autoheaders before compiling any source that may use them
$(LIB_OBJS) : $(AUTO_HEADERS)
#
# An installed header file describing configuration options that affect
# the API.
#
# Avoid rebuilding unless js-config.h's contents actually change. The
# timestamp on js-config.h.stamp corresponds to the last time we
# checked that js-config.h was up to date. If the stamp changes but
# js-config.h does not, then make concludes that targets depending on
# js-config.h don't need to be rebuilt. The dummy '@true' rule here
# keeps make from concluding that js-config.h never changes.
$(OBJDIR)/js-config.h: $(OBJDIR)/js-config.h.stamp
@true
js-config-switch=$(if $(value $($1)),-e 's/\#undef $1/\#define $1/')
$(OBJDIR)/js-config.h.stamp: js-config.h.in Makefile.ref
sed < $< > $(@:.stamp=.tmp) \
$(call js-config-switch,JS_THREADSAFE) \
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
$(call js-config-switch,JS_HAS_CTYPES) \
$(call js-config-switch,JS_GC_ZEAL) \
-e :dummy
if ! [ -f $(@:.stamp=) ] || ! cmp $(@:.stamp=.tmp) $(@:.stamp=); then \
mv $(@:.stamp=.tmp) $(@:.stamp=); \
fi
touch $@
GARBAGE += $(OBJDIR)/js-config.h $(OBJDIR)/js-config.h.stamp
# Force creation of js-config.h before compiling any source that may use it.
$(LIB_OBJS) : $(OBJDIR)/js-config.h
#
# JS shell executable
#
ifdef USE_MSVC
$(PROGRAM): $(PROG_OBJS) $(LIBRARY)
link.exe -out:"$@" $(EXE_LINK_FLAGS) $^
else
$(PROGRAM): $(PROG_OBJS) $(LIBRARY)
$(CXX) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
$(PROG_LIBS)
endif
$(PROGRAM).pure: $(PROG_OBJS) $(LIBRARY)
purify $(PUREFLAGS) \
$(CXX) -o $@ $(PURE_OS_CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) \
$(OTHER_LIBS) $(PROG_LIBS)
ifndef PREBUILT_CPUCFG
$(filter-out jscpucfg.h $(OBJDIR)/jsautocfg.h, $(HFILES)) $(CPPFILES): $(OBJDIR)/jsautocfg.h
$(OBJDIR)/jsautocfg.h: $(OBJDIR)/jscpucfg
rm -f $@
$(OBJDIR)/jscpucfg > $@
$(OBJDIR)/jscpucfg: $(OBJDIR)/jscpucfg.o
$(CXX) $(OS_LDFLAGS) -o $@ $(OBJDIR)/jscpucfg.o
GARBAGE += $(OBJDIR)/jsautocfg.h $(OBJDIR)/jscpucfg \
$(OBJDIR)/jscpucfg.o $(OBJDIR)/jscpucfg.d
endif
# Automatic make dependencies files
DEPENDENCIES = $(CPPFILES:%.cpp=$(OBJDIR)/%.d)
#
# Hardwire dependencies for some files
#
ifdef USE_MSVC
OBJ=obj
else
OBJ=o
endif
$(OBJDIR)/jsinvoke.$(OBJ): jsinterp.h jsinterp.cpp
$(OBJDIR)/jsinvoke.obj : jsinterp.h jsinterp.cpp
-include $(DEPENDENCIES)
TARNAME = jsref.tar
TARFILES = files `cat files`
SUFFIXES: .i
%.i: %.cpp
$(CXX) -C -E $(CFLAGS) $< > $*.i