make/bsd/makefiles/zeroshark.make

Print this page
rev 4132 : [mq]: patch.txt


  14 # accompanied this code).
  15 #
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any
  22 # questions.
  23 #
  24 #
  25 
  26 # Setup common to Zero (non-Shark) and Shark versions of VM
  27 
  28 # The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
  29 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
  30 # The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized
  31 OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
  32 
  33 # Specify that the CPU is little endian, if necessary
  34 ifeq ($(ZERO_ENDIANNESS), little)
  35   CFLAGS += -DVM_LITTLE_ENDIAN
  36 endif
  37 
  38 # Specify that the CPU is 64 bit, if necessary
  39 ifeq ($(ARCH_DATA_MODEL), 64)
  40   CFLAGS += -D_LP64=1
  41 endif
  42 
  43 # Specify the path to the FFI headers
  44 ifdef ALT_PACKAGE_PATH
  45   PACKAGE_PATH = $(ALT_PACKAGE_PATH)
  46 else
  47   ifeq ($(OS_VENDOR),Apple)
  48     PACKAGE_PATH = /opt/local
  49   else
  50     ifeq ($(OS_VENDOR),NetBSD)
  51       PACKAGE_PATH = /usr/pkg
  52       LIBS += -Wl,-R${PACKAGE_PATH}/lib
  53     else
  54       PACKAGE_PATH = /usr/local


  14 # accompanied this code).
  15 #
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any
  22 # questions.
  23 #
  24 #
  25 
  26 # Setup common to Zero (non-Shark) and Shark versions of VM
  27 
  28 # The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
  29 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
  30 # The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized
  31 OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
  32 
  33 # Specify that the CPU is little endian, if necessary
  34 ifeq ($(OPENJDK_TARGET_CPU_ENDIAN), little)
  35   CFLAGS += -DVM_LITTLE_ENDIAN
  36 endif
  37 
  38 # Specify that the CPU is 64 bit, if necessary
  39 ifeq ($(ARCH_DATA_MODEL), 64)
  40   CFLAGS += -D_LP64=1
  41 endif
  42 
  43 # Specify the path to the FFI headers
  44 ifdef ALT_PACKAGE_PATH
  45   PACKAGE_PATH = $(ALT_PACKAGE_PATH)
  46 else
  47   ifeq ($(OS_VENDOR),Apple)
  48     PACKAGE_PATH = /opt/local
  49   else
  50     ifeq ($(OS_VENDOR),NetBSD)
  51       PACKAGE_PATH = /usr/pkg
  52       LIBS += -Wl,-R${PACKAGE_PATH}/lib
  53     else
  54       PACKAGE_PATH = /usr/local