HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #497

Ticket #497: jamvm.haiku.patch

File jamvm.haiku.patch, 50.7 KB (added by korli, 4 years ago)

raw diff for jamvm haiku cross-build on Linux

  • jamvm-1.5.4

    diff -rupN jamvm-1.5.4/configure jamvm-1.5.4.modified/configure
    old new case "$host" in 
    26812681i[3456]86-*-linux*) host_cpu=i386 host_os=linux ;; 
    26822682i[3456]86-*-kfreebsd*) host_cpu=i386 host_os=linux ;; 
    26832683i[3456]86-*-darwin*) host_cpu=i386 host_os=darwin ;; 
     2684i[3456]86-*-haiku*) host_cpu=i386 host_os=haiku libdl_needed=no libm_needed=no ;; 
    26842685arm*-*-darwin*) host_cpu=arm host_os=darwin libdl_needed=no ;; 
    26852686i386-*-openbsd*) host_os=bsd libdl_needed=no ;; 
    26862687i386-*-freebsd*) host_os=bsd libdl_needed=no ;; 
    … … aix[4-9]*) 
    46214622  lt_cv_deplibs_check_method=pass_all 
    46224623  ;; 
    46234624 
    4624 beos*) 
     4625beos* | haiku*) 
    46254626  lt_cv_deplibs_check_method=pass_all 
    46264627  ;; 
    46274628 
    … … $as_echo_n "checking for $compiler optio 
    79687969      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 
    79697970      ;; 
    79707971 
    7971     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
     7972    beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    79727973      # PIC is the default for these OSes. 
    79737974      ;; 
    79747975 
    … … EOF 
    84868487      ld_shlibs=no 
    84878488      ;; 
    84888489 
    8489     beos*) 
     8490    beos* | haiku*) 
    84908491      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    84918492        allow_undefined_flag=unsupported 
    84928493        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
    … … amigaos*) 
    95489549  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 
    95499550  ;; 
    95509551 
    9551 beos*) 
     9552beos* | haiku*) 
    95529553  library_names_spec='${libname}${shared_ext}' 
    95539554  dynamic_linker="$host_os ld.so" 
    95549555  shlibpath_var=LIBRARY_PATH 
    … … else 
    1011610117  lt_cv_dlopen_libs= 
    1011710118 
    1011810119  case $host_os in 
    10119   beos*) 
     10120  beos* | haiku*) 
    1012010121    lt_cv_dlopen="load_add_on" 
    1012110122    lt_cv_dlopen_libs= 
    1012210123    lt_cv_dlopen_self=yes 
    … … if test -z "$aix_libpath"; then aix_libp 
    1201912020    fi 
    1202012021    ;; 
    1202112022 
    12022   beos*) 
     12023  beos* | haiku*) 
    1202312024    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    1202412025      allow_undefined_flag_CXX=unsupported 
    1202512026      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
    … … $as_echo_n "checking for $compiler optio 
    1292812929      # like `-m68040'. 
    1292912930      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 
    1293012931      ;; 
    12931     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
     12932    beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    1293212933      # PIC is the default for these OSes. 
    1293312934      ;; 
    1293412935    mingw* | cygwin* | os2* | pw32*) 
    … … amigaos*) 
    1354813549  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 
    1354913550  ;; 
    1355013551 
    13551 beos*) 
     13552beos* | haiku*) 
    1355213553  library_names_spec='${libname}${shared_ext}' 
    1355313554  dynamic_linker="$host_os ld.so" 
    1355413555  shlibpath_var=LIBRARY_PATH 
    … … $as_echo_n "checking for $compiler optio 
    1466814669      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' 
    1466914670      ;; 
    1467014671 
    14671     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
     14672    beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    1467214673      # PIC is the default for these OSes. 
    1467314674      ;; 
    1467414675 
    … … EOF 
    1518615187      ld_shlibs_F77=no 
    1518715188      ;; 
    1518815189 
    15189     beos*) 
     15190    beos* | haiku*) 
    1519015191      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    1519115192        allow_undefined_flag_F77=unsupported 
    1519215193        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
    … … amigaos*) 
    1617716178  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 
    1617816179  ;; 
    1617916180 
    16180 beos*) 
     16181beos* | haiku*) 
    1618116182  library_names_spec='${libname}${shared_ext}' 
    1618216183  dynamic_linker="$host_os ld.so" 
    1618316184  shlibpath_var=LIBRARY_PATH 
    … … $as_echo_n "checking for $compiler optio 
    1727717278      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' 
    1727817279      ;; 
    1727917280 
    17280     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
     17281    beos* | haiku* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    1728117282      # PIC is the default for these OSes. 
    1728217283      ;; 
    1728317284 
    … … EOF 
    1779517796      ld_shlibs_GCJ=no 
    1779617797      ;; 
    1779717798 
    17798     beos*) 
     17799    beos* | haiku*) 
    1779917800      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    1780017801        allow_undefined_flag_GCJ=unsupported 
    1780117802        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
    … … amigaos*) 
    1880618807  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 
    1880718808  ;; 
    1880818809 
    18809 beos*) 
     18810beos* | haiku*) 
    1881018811  library_names_spec='${libname}${shared_ext}' 
    1881118812  dynamic_linker="$host_os ld.so" 
    1881218813  shlibpath_var=LIBRARY_PATH 
    … … if test "${ac_cv_lib_thr_pthread_self+se 
    2126021261  $as_echo_n "(cached) " >&6 
    2126121262else 
    2126221263  ac_check_lib_save_LIBS=$LIBS 
    21263 LIBS="-lthr  $LIBS" 
     21264LIBS="  $LIBS" 
    2126421265cat >conftest.$ac_ext <<_ACEOF 
    2126521266/* confdefs.h.  */ 
    2126621267_ACEOF 
    … … if test "x$ac_cv_lib_thr_pthread_self" = 
    2132421325#define HAVE_LIBTHR 1 
    2132521326_ACEOF 
    2132621327 
    21327   LIBS="-lthr $LIBS" 
     21328#  LIBS="-lthr $LIBS" 
    2132821329 
    2132921330else 
    2133021331 
    2133121332 
     21333 
    2133221334{ $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 
    2133321335$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 
    2133421336if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 
    … … fi 
    2141021412 
    2141121413fi 
    2141221414 
    21413  
     21415if test "$libm_needed" != no; then 
    2141421416 
    2141521417{ $as_echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    2141621418$as_echo_n "checking for fmod in -lm... " >&6; } 
    … … if test "${ac_cv_lib_m_fmod+set}" = set; 
    2141821420  $as_echo_n "(cached) " >&6 
    2141921421else 
    2142021422  ac_check_lib_save_LIBS=$LIBS 
    21421 LIBS="-lm $LIBS" 
     21423LIBS=" $LIBS" 
    2142221424cat >conftest.$ac_ext <<_ACEOF 
    2142321425/* confdefs.h.  */ 
    2142421426_ACEOF 
    … … if test "x$ac_cv_lib_m_fmod" = x""yes; t 
    2148221484#define HAVE_LIBM 1 
    2148321485_ACEOF 
    2148421486 
    21485   LIBS="-lm $LIBS" 
     21487  LIBS=" $LIBS" 
    2148621488 
    2148721489else 
    2148821490  { { $as_echo "$as_me:$LINENO: error: libm is missing" >&5 
    … … $as_echo "$as_me: error: libm is missing 
    2149021492   { (exit 1); exit 1; }; } 
    2149121493fi 
    2149221494 
     21495fi 
     21496 
    2149321497 
    2149421498if test "$libdl_needed" != no; then 
    2149521499 
    … … fi 
    2361123615ac_config_links="$ac_config_links src/arch.h:src/arch/$arch.h" 
    2361223616 
    2361323617 
    23614 ac_config_files="$ac_config_files Makefile src/Makefile src/interp/Makefile src/interp/engine/Makefile src/arch/Makefile src/os/Makefile src/os/linux/Makefile src/os/darwin/Makefile src/os/bsd/Makefile src/os/solaris/Makefile src/os/solaris/x86/Makefile src/os/linux/powerpc/Makefile src/os/linux/arm/Makefile src/os/linux/i386/Makefile src/os/linux/x86_64/Makefile src/os/linux/parisc/Makefile src/os/linux/mips/Makefile src/os/darwin/i386/Makefile src/os/darwin/arm/Makefile src/os/darwin/powerpc/Makefile src/os/bsd/powerpc/Makefile src/os/bsd/arm/Makefile src/os/bsd/i386/Makefile src/os/bsd/x86_64/Makefile src/os/bsd/sparc/Makefile lib/Makefile lib/java/Makefile lib/java/lang/Makefile lib/jamvm/Makefile lib/jamvm/java/Makefile lib/jamvm/java/lang/Makefile lib/java/lang/reflect/Makefile lib/java/security/Makefile lib/gnu/Makefile lib/sun/reflect/annotation/Makefile lib/sun/reflect/Makefile lib/sun/Makefile lib/gnu/classpath/Makefile" 
     23618ac_config_files="$ac_config_files Makefile src/Makefile src/interp/Makefile src/interp/engine/Makefile src/arch/Makefile src/os/Makefile src/os/haiku/Makefile src/os/haiku/i386/Makefile src/os/linux/Makefile src/os/darwin/Makefile src/os/bsd/Makefile src/os/solaris/Makefile src/os/solaris/x86/Makefile src/os/linux/powerpc/Makefile src/os/linux/arm/Makefile src/os/linux/i386/Makefile src/os/linux/x86_64/Makefile src/os/linux/parisc/Makefile src/os/linux/mips/Makefile src/os/darwin/i386/Makefile src/os/darwin/arm/Makefile src/os/darwin/powerpc/Makefile src/os/bsd/powerpc/Makefile src/os/bsd/arm/Makefile src/os/bsd/i386/Makefile src/os/bsd/x86_64/Makefile src/os/bsd/sparc/Makefile lib/Makefile lib/java/Makefile lib/java/lang/Makefile lib/jamvm/Makefile lib/jamvm/java/Makefile lib/jamvm/java/lang/Makefile lib/java/lang/reflect/Makefile lib/java/security/Makefile lib/gnu/Makefile lib/sun/reflect/annotation/Makefile lib/sun/reflect/Makefile lib/sun/Makefile lib/gnu/classpath/Makefile" 
    2361523619 
    2361623620 
    2361723621cat >confcache <<\_ACEOF 
  • src/os/haiku/i386/dll_md.c

    diff -rupN jamvm-1.5.4/src/os/haiku/i386/dll_md.c jamvm-1.5.4.modified/src/os/haiku/i386/dll_md.c
    old new  
     1/* 
     2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 
     3 * Robert Lougher <rob@jamvm.org.uk>. 
     4 * 
     5 * This file is part of JamVM. 
     6 * 
     7 * This program is free software; you can redistribute it and/or 
     8 * modify it under the terms of the GNU General Public License 
     9 * as published by the Free Software Foundation; either version 2, 
     10 * or (at your option) any later version. 
     11 * 
     12 * This program is distributed in the hope that it will be useful, 
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15 * GNU General Public License for more details. 
     16 * 
     17 * You should have received a copy of the GNU General Public License 
     18 * along with this program; if not, write to the Free Software 
     19 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
     20 */ 
     21 
     22#include "../../../jam.h" 
     23 
     24#ifndef USE_FFI 
     25#include <string.h> 
     26#include "../../../sig.h" 
     27 
     28#define RET_VOID    0 
     29#define RET_DOUBLE  1 
     30#define RET_LONG    2 
     31#define RET_FLOAT   3 
     32#define RET_BYTE    4 
     33#define RET_CHAR    5 
     34#define RET_SHORT   6 
     35#define RET_DFLT    7 
     36 
     37int nativeExtraArg(MethodBlock *mb) { 
     38    int len = strlen(mb->type); 
     39    if(mb->type[len-2] == ')') 
     40        switch(mb->type[len-1]) { 
     41            case 'V': 
     42                return RET_VOID; 
     43            case 'D': 
     44                return RET_DOUBLE; 
     45            case 'J': 
     46                return RET_LONG; 
     47            case 'F': 
     48                return RET_FLOAT; 
     49            case 'B': 
     50            case 'Z': 
     51                return RET_BYTE; 
     52            case 'C': 
     53                return RET_CHAR; 
     54            case 'S': 
     55                return RET_SHORT; 
     56        } 
     57 
     58    return RET_DFLT; 
     59} 
     60 
     61u4 *callJNIMethod(void *env, Class *class, char *sig, int ret_type, 
     62                  u4 *ostack, unsigned char *f, int args) { 
     63 
     64    u4 *opntr = ostack + args; 
     65    int i; 
     66 
     67    for(i = 0; i < args; i++) 
     68        asm volatile ("pushl %0" :: "m" (*--opntr) : "sp"); 
     69 
     70    if(class) { 
     71        asm volatile ("pushl %0" :: "m" (class) : "sp"); 
     72        args++; 
     73    } 
     74 
     75    asm volatile ("pushl %0" :: "m" (env) : "sp"); 
     76 
     77    switch(ret_type) { 
     78        case RET_VOID: 
     79            (*(void (*)())f)(); 
     80            break; 
     81 
     82        case RET_DOUBLE: 
     83            *(double*)ostack = (*(double (*)())f)(); 
     84            ostack += 2; 
     85            break; 
     86 
     87        case RET_LONG: 
     88            *(long long*)ostack = (*(long long (*)())f)(); 
     89            ostack += 2; 
     90            break; 
     91 
     92        case RET_FLOAT: 
     93            *(float*)ostack = (*(float (*)())f)(); 
     94            ostack++; 
     95            break; 
     96 
     97        case RET_BYTE: 
     98            *ostack++ = (*(signed char (*)())f)(); 
     99            break; 
     100 
     101        case RET_CHAR: 
     102            *ostack++ = (*(unsigned short (*)())f)(); 
     103            break; 
     104 
     105        case RET_SHORT: 
     106            *ostack++ = (*(signed short (*)())f)(); 
     107            break; 
     108 
     109        default: 
     110            *ostack++ = (*(u4 (*)())f)(); 
     111            break; 
     112    } 
     113 
     114    asm volatile ("addl %0,%%esp" :: "r" ((args + 1) * sizeof(u4))  
     115                  : "cc", "sp"); 
     116    return ostack; 
     117} 
     118#endif 
  • src/os/haiku/i386/init.c

    diff -rupN jamvm-1.5.4/src/os/haiku/i386/init.c jamvm-1.5.4.modified/src/os/haiku/i386/init.c
    old new  
     1/* 
     2 * Copyright (C) 2003, 2004, 2006, 2007 
     3 * Robert Lougher <rob@jamvm.org.uk>. 
     4 * 
     5 * This file is part of JamVM. 
     6 * 
     7 * This program is free software; you can redistribute it and/or 
     8 * modify it under the terms of the GNU General Public License 
     9 * as published by the Free Software Foundation; either version 2, 
     10 * or (at your option) any later version. 
     11 * 
     12 * This program is distributed in the hope that it will be useful, 
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15 * GNU General Public License for more details. 
     16 * 
     17 * You should have received a copy of the GNU General Public License 
     18 * along with this program; if not, write to the Free Software 
     19 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
     20 */ 
     21 
     22void setDoublePrecision() { 
     23} 
     24 
     25void initialisePlatform() { 
     26} 
  • src/os/haiku/i386/Makefile.am

    diff -rupN jamvm-1.5.4/src/os/haiku/i386/Makefile.am jamvm-1.5.4.modified/src/os/haiku/i386/Makefile.am
    old new  
     1## 
     2## Copyright (C) 2003, 2004, 2005, 2006, 2007 
     3## Robert Lougher <rob@jamvm.org.uk>. 
     4## 
     5## This file is part of JamVM. 
     6## 
     7## This program is free software; you can redistribute it and/or 
     8## modify it under the terms of the GNU General Public License 
     9## as published by the Free Software Foundation; either version 2, 
     10## or (at your option) any later version. 
     11## 
     12## This program is distributed in the hope that it will be useful, 
     13## but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15## GNU General Public License for more details. 
     16## 
     17## You should have received a copy of the GNU General Public License 
     18## along with this program; if not, write to the Free Software 
     19## Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
     20## 
     21 
     22noinst_LTLIBRARIES = libnative.la 
     23libnative_la_SOURCES = init.c dll_md.c 
     24 
     25AM_CPPFLAGS = -I$(top_builddir)/src 
  • src/os/haiku/i386/Makefile.in

    diff -rupN jamvm-1.5.4/src/os/haiku/i386/Makefile.in jamvm-1.5.4.modified/src/os/haiku/i386/Makefile.in
    old new  
     1# Makefile.in generated by automake 1.10.2 from Makefile.am. 
     2# @configure_input@ 
     3 
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
     5# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc. 
     6# This Makefile.in is free software; the Free Software Foundation 
     7# gives unlimited permission to copy and/or distribute it, 
     8# with or without modifications, as long as this notice is preserved. 
     9 
     10# This program is distributed in the hope that it will be useful, 
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
     13# PARTICULAR PURPOSE. 
     14 
     15@SET_MAKE@ 
     16 
     17VPATH = @srcdir@ 
     18pkgdatadir = $(datadir)/@PACKAGE@ 
     19pkglibdir = $(libdir)/@PACKAGE@ 
     20pkgincludedir = $(includedir)/@PACKAGE@ 
     21am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 
     22install_sh_DATA = $(install_sh) -c -m 644 
     23install_sh_PROGRAM = $(install_sh) -c 
     24install_sh_SCRIPT = $(install_sh) -c 
     25INSTALL_HEADER = $(INSTALL_DATA) 
     26transform = $(program_transform_name) 
     27NORMAL_INSTALL = : 
     28PRE_INSTALL = : 
     29POST_INSTALL = : 
     30NORMAL_UNINSTALL = : 
     31PRE_UNINSTALL = : 
     32POST_UNINSTALL = : 
     33build_triplet = @build@ 
     34host_triplet = @host@ 
     35subdir = src/os/haiku/i386 
     36DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 
     37ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
     38am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 
     39        $(top_srcdir)/configure.ac 
     40am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 
     41        $(ACLOCAL_M4) 
     42mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 
     43CONFIG_HEADER = $(top_builddir)/src/config.h 
     44CONFIG_CLEAN_FILES = 
     45LTLIBRARIES = $(noinst_LTLIBRARIES) 
     46libnative_la_LIBADD = 
     47am_libnative_la_OBJECTS = init.lo dll_md.lo 
     48libnative_la_OBJECTS = $(am_libnative_la_OBJECTS) 
     49DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src 
     50depcomp = $(SHELL) $(top_srcdir)/depcomp 
     51am__depfiles_maybe = depfiles 
     52COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 
     53        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 
     54LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 
     55        --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 
     56        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 
     57CCLD = $(CC) 
     58LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 
     59        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 
     60        $(LDFLAGS) -o $@ 
     61SOURCES = $(libnative_la_SOURCES) 
     62DIST_SOURCES = $(libnative_la_SOURCES) 
     63ETAGS = etags 
     64CTAGS = ctags 
     65DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 
     66ACLOCAL = @ACLOCAL@ 
     67ALLOCA = @ALLOCA@ 
     68AMTAR = @AMTAR@ 
     69AR = @AR@ 
     70AUTOCONF = @AUTOCONF@ 
     71AUTOHEADER = @AUTOHEADER@ 
     72AUTOMAKE = @AUTOMAKE@ 
     73AWK = @AWK@ 
     74CC = @CC@ 
     75CCAS = @CCAS@ 
     76CCASDEPMODE = @CCASDEPMODE@ 
     77CCASFLAGS = @CCASFLAGS@ 
     78CCDEPMODE = @CCDEPMODE@ 
     79CFLAGS = @CFLAGS@ 
     80CPP = @CPP@ 
     81CPPFLAGS = @CPPFLAGS@ 
     82CXX = @CXX@ 
     83CXXCPP = @CXXCPP@ 
     84CXXDEPMODE = @CXXDEPMODE@ 
     85CXXFLAGS = @CXXFLAGS@ 
     86CYGPATH_W = @CYGPATH_W@ 
     87DEFS = @DEFS@ 
     88DEPDIR = @DEPDIR@ 
     89DSYMUTIL = @DSYMUTIL@ 
     90ECHO = @ECHO@ 
     91ECHO_C = @ECHO_C@ 
     92ECHO_N = @ECHO_N@ 
     93ECHO_T = @ECHO_T@ 
     94EGREP = @EGREP@ 
     95EXEEXT = @EXEEXT@ 
     96F77 = @F77@ 
     97FFLAGS = @FFLAGS@ 
     98GREP = @GREP@ 
     99INSTALL = @INSTALL@ 
     100INSTALL_DATA = @INSTALL_DATA@ 
     101INSTALL_PROGRAM = @INSTALL_PROGRAM@ 
     102INSTALL_SCRIPT = @INSTALL_SCRIPT@ 
     103INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 
     104JAVAC = @JAVAC@ 
     105LDFLAGS = @LDFLAGS@ 
     106LIBOBJS = @LIBOBJS@ 
     107LIBS = @LIBS@ 
     108LIBTOOL = @LIBTOOL@ 
     109LN_S = @LN_S@ 
     110LTLIBOBJS = @LTLIBOBJS@ 
     111MAINT = @MAINT@ 
     112MAKEINFO = @MAKEINFO@ 
     113MKDIR_P = @MKDIR_P@ 
     114NMEDIT = @NMEDIT@ 
     115OBJEXT = @OBJEXT@ 
     116PACKAGE = @PACKAGE@ 
     117PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 
     118PACKAGE_NAME = @PACKAGE_NAME@ 
     119PACKAGE_STRING = @PACKAGE_STRING@ 
     120PACKAGE_TARNAME = @PACKAGE_TARNAME@ 
     121PACKAGE_VERSION = @PACKAGE_VERSION@ 
     122PATH_SEPARATOR = @PATH_SEPARATOR@ 
     123RANLIB = @RANLIB@ 
     124SED = @SED@ 
     125SET_MAKE = @SET_MAKE@ 
     126SHELL = @SHELL@ 
     127STRIP = @STRIP@ 
     128VERSION = @VERSION@ 
     129abs_builddir = @abs_builddir@ 
     130abs_srcdir = @abs_srcdir@ 
     131abs_top_builddir = @abs_top_builddir@ 
     132abs_top_srcdir = @abs_top_srcdir@ 
     133ac_ct_CC = @ac_ct_CC@ 
     134ac_ct_CXX = @ac_ct_CXX@ 
     135ac_ct_F77 = @ac_ct_F77@ 
     136am__include = @am__include@ 
     137am__leading_dot = @am__leading_dot@ 
     138am__quote = @am__quote@ 
     139am__tar = @am__tar@ 
     140am__untar = @am__untar@ 
     141arch = @arch@ 
     142bindir = @bindir@ 
     143build = @build@ 
     144build_alias = @build_alias@ 
     145build_cpu = @build_cpu@ 
     146build_os = @build_os@ 
     147build_vendor = @build_vendor@ 
     148builddir = @builddir@ 
     149datadir = @datadir@ 
     150datarootdir = @datarootdir@ 
     151docdir = @docdir@ 
     152dvidir = @dvidir@ 
     153exec_prefix = @exec_prefix@ 
     154host = @host@ 
     155host_alias = @host_alias@ 
     156host_cpu = @host_cpu@ 
     157host_os = @host_os@ 
     158host_vendor = @host_vendor@ 
     159htmldir = @htmldir@ 
     160includedir = @includedir@ 
     161infodir = @infodir@ 
     162install_sh = @install_sh@ 
     163interp_cflags = @interp_cflags@ 
     164libdir = @libdir@ 
     165libexecdir = @libexecdir@ 
     166localedir = @localedir@ 
     167localstatedir = @localstatedir@ 
     168mandir = @mandir@ 
     169mkdir_p = @mkdir_p@ 
     170oldincludedir = @oldincludedir@ 
     171os = @os@ 
     172pdfdir = @pdfdir@ 
     173prefix = @prefix@ 
     174program_transform_name = @program_transform_name@ 
     175psdir = @psdir@ 
     176sbindir = @sbindir@ 
     177sharedstatedir = @sharedstatedir@ 
     178srcdir = @srcdir@ 
     179sysconfdir = @sysconfdir@ 
     180target_alias = @target_alias@ 
     181top_build_prefix = @top_build_prefix@ 
     182top_builddir = @top_builddir@ 
     183top_srcdir = @top_srcdir@ 
     184use_zip_no = @use_zip_no@ 
     185use_zip_yes = @use_zip_yes@ 
     186with_classpath_install_dir = @with_classpath_install_dir@ 
     187noinst_LTLIBRARIES = libnative.la 
     188libnative_la_SOURCES = init.c dll_md.c 
     189AM_CPPFLAGS = -I$(top_builddir)/src 
     190all: all-am 
     191 
     192.SUFFIXES: 
     193.SUFFIXES: .c .lo .o .obj 
     194$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps) 
     195        @for dep in $?; do \ 
     196          case '$(am__configure_deps)' in \ 
     197            *$$dep*) \ 
     198              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 
     199                && { if test -f $@; then exit 0; else break; fi; }; \ 
     200              exit 1;; \ 
     201          esac; \ 
     202        done; \ 
     203        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/os/haiku/i386/Makefile'; \ 
     204        cd $(top_srcdir) && \ 
     205          $(AUTOMAKE) --gnu  src/os/haiku/i386/Makefile 
     206.PRECIOUS: Makefile 
     207Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 
     208        @case '$?' in \ 
     209          *config.status*) \ 
     210            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 
     211          *) \ 
     212            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 
     213            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 
     214        esac; 
     215 
     216$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 
     217        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
     218 
     219$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
     220        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
     221$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 
     222        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
     223 
     224clean-noinstLTLIBRARIES: 
     225        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) 
     226        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ 
     227          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 
     228          test "$$dir" != "$$p" || dir=.; \ 
     229          echo "rm -f \"$${dir}/so_locations\""; \ 
     230          rm -f "$${dir}/so_locations"; \ 
     231        done 
     232libnative.la: $(libnative_la_OBJECTS) $(libnative_la_DEPENDENCIES)  
     233        $(LINK)  $(libnative_la_OBJECTS) $(libnative_la_LIBADD) $(LIBS) 
     234 
     235mostlyclean-compile: 
     236        -rm -f *.$(OBJEXT) 
     237 
     238distclean-compile: 
     239        -rm -f *.tab.c 
     240 
     241@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dll_md.Plo@am__quote@ 
     242@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@ 
     243 
     244.c.o: 
     245@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 
     246@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
     247@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
     248@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     249@am__fastdepCC_FALSE@   $(COMPILE) -c $< 
     250 
     251.c.obj: 
     252@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 
     253@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
     254@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
     255@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     256@am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'` 
     257 
     258.c.lo: 
     259@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 
     260@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo 
     261@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 
     262@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     263@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $< 
     264 
     265mostlyclean-libtool: 
     266        -rm -f *.lo 
     267 
     268clean-libtool: 
     269        -rm -rf .libs _libs 
     270 
     271ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 
     272        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 
     273        unique=`for i in $$list; do \ 
     274            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
     275          done | \ 
     276          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     277              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     278        mkid -fID $$unique 
     279tags: TAGS 
     280 
     281TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
     282                $(TAGS_FILES) $(LISP) 
     283        tags=; \ 
     284        here=`pwd`; \ 
     285        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
     286        unique=`for i in $$list; do \ 
     287            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
     288          done | \ 
     289          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     290              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     291        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 
     292          test -n "$$unique" || unique=$$empty_fix; \ 
     293          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 
     294            $$tags $$unique; \ 
     295        fi 
     296ctags: CTAGS 
     297CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
     298                $(TAGS_FILES) $(LISP) 
     299        tags=; \ 
     300        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
     301        unique=`for i in $$list; do \ 
     302            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
     303          done | \ 
     304          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     305              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     306        test -z "$(CTAGS_ARGS)$$tags$$unique" \ 
     307          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 
     308             $$tags $$unique 
     309 
     310GTAGS: 
     311        here=`$(am__cd) $(top_builddir) && pwd` \ 
     312          && cd $(top_srcdir) \ 
     313          && gtags -i $(GTAGS_ARGS) $$here 
     314 
     315distclean-tags: 
     316        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 
     317 
     318distdir: $(DISTFILES) 
     319        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
     320        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
     321        list='$(DISTFILES)'; \ 
     322          dist_files=`for file in $$list; do echo $$file; done | \ 
     323          sed -e "s|^$$srcdirstrip/||;t" \ 
     324              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 
     325        case $$dist_files in \ 
     326          */*) $(MKDIR_P) `echo "$$dist_files" | \ 
     327                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 
     328                           sort -u` ;; \ 
     329        esac; \ 
     330        for file in $$dist_files; do \ 
     331          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 
     332          if test -d $$d/$$file; then \ 
     333            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 
     334            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 
     335              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 
     336            fi; \ 
     337            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 
     338          else \ 
     339            test -f $(distdir)/$$file \ 
     340            || cp -p $$d/$$file $(distdir)/$$file \ 
     341            || exit 1; \ 
     342          fi; \ 
     343        done 
     344check-am: all-am 
     345check: check-am 
     346all-am: Makefile $(LTLIBRARIES) 
     347installdirs: 
     348install: install-am 
     349install-exec: install-exec-am 
     350install-data: install-data-am 
     351uninstall: uninstall-am 
     352 
     353install-am: all-am 
     354        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 
     355 
     356installcheck: installcheck-am 
     357install-strip: 
     358        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 
     359          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 
     360          `test -z '$(STRIP)' || \ 
     361            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 
     362mostlyclean-generic: 
     363 
     364clean-generic: 
     365 
     366distclean-generic: 
     367        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 
     368 
     369maintainer-clean-generic: 
     370        @echo "This command is intended for maintainers to use" 
     371        @echo "it deletes files that may require special tools to rebuild." 
     372clean: clean-am 
     373 
     374clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ 
     375        mostlyclean-am 
     376 
     377distclean: distclean-am 
     378        -rm -rf ./$(DEPDIR) 
     379        -rm -f Makefile 
     380distclean-am: clean-am distclean-compile distclean-generic \ 
     381        distclean-tags 
     382 
     383dvi: dvi-am 
     384 
     385dvi-am: 
     386 
     387html: html-am 
     388 
     389info: info-am 
     390 
     391info-am: 
     392 
     393install-data-am: 
     394 
     395install-dvi: install-dvi-am 
     396 
     397install-exec-am: 
     398 
     399install-html: install-html-am 
     400 
     401install-info: install-info-am 
     402 
     403install-man: 
     404 
     405install-pdf: install-pdf-am 
     406 
     407install-ps: install-ps-am 
     408 
     409installcheck-am: 
     410 
     411maintainer-clean: maintainer-clean-am 
     412        -rm -rf ./$(DEPDIR) 
     413        -rm -f Makefile 
     414maintainer-clean-am: distclean-am maintainer-clean-generic 
     415 
     416mostlyclean: mostlyclean-am 
     417 
     418mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 
     419        mostlyclean-libtool 
     420 
     421pdf: pdf-am 
     422 
     423pdf-am: 
     424 
     425ps: ps-am 
     426 
     427ps-am: 
     428 
     429uninstall-am: 
     430 
     431.MAKE: install-am install-strip 
     432 
     433.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ 
     434        clean-libtool clean-noinstLTLIBRARIES ctags distclean \ 
     435        distclean-compile distclean-generic distclean-libtool \ 
     436        distclean-tags distdir dvi dvi-am html html-am info info-am \ 
     437        install install-am install-data install-data-am install-dvi \ 
     438        install-dvi-am install-exec install-exec-am install-html \ 
     439        install-html-am install-info install-info-am install-man \ 
     440        install-pdf install-pdf-am install-ps install-ps-am \ 
     441        install-strip installcheck installcheck-am installdirs \ 
     442        maintainer-clean maintainer-clean-generic mostlyclean \ 
     443        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 
     444        pdf pdf-am ps ps-am tags uninstall uninstall-am 
     445 
     446# Tell versions [3.59,3.63) of GNU make to not export all variables. 
     447# Otherwise a system limit (for SysV at least) may be exceeded. 
     448.NOEXPORT: 
  • src/os/haiku/Makefile.am

    diff -rupN jamvm-1.5.4/src/os/haiku/Makefile.am jamvm-1.5.4.modified/src/os/haiku/Makefile.am
    old new  
     1## 
     2## Copyright (C) 2003, 2004, 2005, 2006, 2007 
     3## Robert Lougher <rob@jamvm.org.uk>. 
     4## 
     5## This file is part of JamVM. 
     6## 
     7## This program is free software; you can redistribute it and/or 
     8## modify it under the terms of the GNU General Public License 
     9## as published by the Free Software Foundation; either version 2, 
     10## or (at your option) any later version. 
     11## 
     12## This program is distributed in the hope that it will be useful, 
     13## but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15## GNU General Public License for more details. 
     16## 
     17## You should have received a copy of the GNU General Public License 
     18## along with this program; if not, write to the Free Software 
     19## Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
     20## 
     21 
     22SUBDIRS = @arch@ 
     23DIST_SUBDIRS = i386 
     24 
     25noinst_LTLIBRARIES = libos.la 
     26libos_la_SOURCES = os.c 
     27 
     28AM_CPPFLAGS = -I$(top_builddir)/src 
  • src/os/haiku/Makefile.in

    diff -rupN jamvm-1.5.4/src/os/haiku/Makefile.in jamvm-1.5.4.modified/src/os/haiku/Makefile.in
    old new  
     1# Makefile.in generated by automake 1.10.2 from Makefile.am. 
     2# @configure_input@ 
     3 
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
     5# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc. 
     6# This Makefile.in is free software; the Free Software Foundation 
     7# gives unlimited permission to copy and/or distribute it, 
     8# with or without modifications, as long as this notice is preserved. 
     9 
     10# This program is distributed in the hope that it will be useful, 
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
     13# PARTICULAR PURPOSE. 
     14 
     15@SET_MAKE@ 
     16 
     17VPATH = @srcdir@ 
     18pkgdatadir = $(datadir)/@PACKAGE@ 
     19pkglibdir = $(libdir)/@PACKAGE@ 
     20pkgincludedir = $(includedir)/@PACKAGE@ 
     21am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 
     22install_sh_DATA = $(install_sh) -c -m 644 
     23install_sh_PROGRAM = $(install_sh) -c 
     24install_sh_SCRIPT = $(install_sh) -c 
     25INSTALL_HEADER = $(INSTALL_DATA) 
     26transform = $(program_transform_name) 
     27NORMAL_INSTALL = : 
     28PRE_INSTALL = : 
     29POST_INSTALL = : 
     30NORMAL_UNINSTALL = : 
     31PRE_UNINSTALL = : 
     32POST_UNINSTALL = : 
     33build_triplet = @build@ 
     34host_triplet = @host@ 
     35subdir = src/os/linux 
     36DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 
     37ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
     38am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 
     39        $(top_srcdir)/configure.ac 
     40am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 
     41        $(ACLOCAL_M4) 
     42mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 
     43CONFIG_HEADER = $(top_builddir)/src/config.h 
     44CONFIG_CLEAN_FILES = 
     45LTLIBRARIES = $(noinst_LTLIBRARIES) 
     46libos_la_LIBADD = 
     47am_libos_la_OBJECTS = os.lo 
     48libos_la_OBJECTS = $(am_libos_la_OBJECTS) 
     49DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src 
     50depcomp = $(SHELL) $(top_srcdir)/depcomp 
     51am__depfiles_maybe = depfiles 
     52COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 
     53        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 
     54LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 
     55        --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 
     56        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 
     57CCLD = $(CC) 
     58LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 
     59        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 
     60        $(LDFLAGS) -o $@ 
     61SOURCES = $(libos_la_SOURCES) 
     62DIST_SOURCES = $(libos_la_SOURCES) 
     63RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 
     64        html-recursive info-recursive install-data-recursive \ 
     65        install-dvi-recursive install-exec-recursive \ 
     66        install-html-recursive install-info-recursive \ 
     67        install-pdf-recursive install-ps-recursive install-recursive \ 
     68        installcheck-recursive installdirs-recursive pdf-recursive \ 
     69        ps-recursive uninstall-recursive 
     70RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 
     71  distclean-recursive maintainer-clean-recursive 
     72ETAGS = etags 
     73CTAGS = ctags 
     74DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 
     75ACLOCAL = @ACLOCAL@ 
     76ALLOCA = @ALLOCA@ 
     77AMTAR = @AMTAR@ 
     78AR = @AR@ 
     79AUTOCONF = @AUTOCONF@ 
     80AUTOHEADER = @AUTOHEADER@ 
     81AUTOMAKE = @AUTOMAKE@ 
     82AWK = @AWK@ 
     83CC = @CC@ 
     84CCAS = @CCAS@ 
     85CCASDEPMODE = @CCASDEPMODE@ 
     86CCASFLAGS = @CCASFLAGS@ 
     87CCDEPMODE = @CCDEPMODE@ 
     88CFLAGS = @CFLAGS@ 
     89CPP = @CPP@ 
     90CPPFLAGS = @CPPFLAGS@ 
     91CXX = @CXX@ 
     92CXXCPP = @CXXCPP@ 
     93CXXDEPMODE = @CXXDEPMODE@ 
     94CXXFLAGS = @CXXFLAGS@ 
     95CYGPATH_W = @CYGPATH_W@ 
     96DEFS = @DEFS@ 
     97DEPDIR = @DEPDIR@ 
     98DSYMUTIL = @DSYMUTIL@ 
     99ECHO = @ECHO@ 
     100ECHO_C = @ECHO_C@ 
     101ECHO_N = @ECHO_N@ 
     102ECHO_T = @ECHO_T@ 
     103EGREP = @EGREP@ 
     104EXEEXT = @EXEEXT@ 
     105F77 = @F77@ 
     106FFLAGS = @FFLAGS@ 
     107GREP = @GREP@ 
     108INSTALL = @INSTALL@ 
     109INSTALL_DATA = @INSTALL_DATA@ 
     110INSTALL_PROGRAM = @INSTALL_PROGRAM@ 
     111INSTALL_SCRIPT = @INSTALL_SCRIPT@ 
     112INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 
     113JAVAC = @JAVAC@ 
     114LDFLAGS = @LDFLAGS@ 
     115LIBOBJS = @LIBOBJS@ 
     116LIBS = @LIBS@ 
     117LIBTOOL = @LIBTOOL@ 
     118LN_S = @LN_S@ 
     119LTLIBOBJS = @LTLIBOBJS@ 
     120MAINT = @MAINT@ 
     121MAKEINFO = @MAKEINFO@ 
     122MKDIR_P = @MKDIR_P@ 
     123NMEDIT = @NMEDIT@ 
     124OBJEXT = @OBJEXT@ 
     125PACKAGE = @PACKAGE@ 
     126PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 
     127PACKAGE_NAME = @PACKAGE_NAME@ 
     128PACKAGE_STRING = @PACKAGE_STRING@ 
     129PACKAGE_TARNAME = @PACKAGE_TARNAME@ 
     130PACKAGE_VERSION = @PACKAGE_VERSION@ 
     131PATH_SEPARATOR = @PATH_SEPARATOR@ 
     132RANLIB = @RANLIB@ 
     133SED = @SED@ 
     134SET_MAKE = @SET_MAKE@ 
     135SHELL = @SHELL@ 
     136STRIP = @STRIP@ 
     137VERSION = @VERSION@ 
     138abs_builddir = @abs_builddir@ 
     139abs_srcdir = @abs_srcdir@ 
     140abs_top_builddir = @abs_top_builddir@ 
     141abs_top_srcdir = @abs_top_srcdir@ 
     142ac_ct_CC = @ac_ct_CC@ 
     143ac_ct_CXX = @ac_ct_CXX@ 
     144ac_ct_F77 = @ac_ct_F77@ 
     145am__include = @am__include@ 
     146am__leading_dot = @am__leading_dot@ 
     147am__quote = @am__quote@ 
     148am__tar = @am__tar@ 
     149am__untar = @am__untar@ 
     150arch = @arch@ 
     151bindir = @bindir@ 
     152build = @build@ 
     153build_alias = @build_alias@ 
     154build_cpu = @build_cpu@ 
     155build_os = @build_os@ 
     156build_vendor = @build_vendor@ 
     157builddir = @builddir@ 
     158datadir = @datadir@ 
     159datarootdir = @datarootdir@ 
     160docdir = @docdir@ 
     161dvidir = @dvidir@ 
     162exec_prefix = @exec_prefix@ 
     163host = @host@ 
     164host_alias = @host_alias@ 
     165host_cpu = @host_cpu@ 
     166host_os = @host_os@ 
     167host_vendor = @host_vendor@ 
     168htmldir = @htmldir@ 
     169includedir = @includedir@ 
     170infodir = @infodir@ 
     171install_sh = @install_sh@ 
     172interp_cflags = @interp_cflags@ 
     173libdir = @libdir@ 
     174libexecdir = @libexecdir@ 
     175localedir = @localedir@ 
     176localstatedir = @localstatedir@ 
     177mandir = @mandir@ 
     178mkdir_p = @mkdir_p@ 
     179oldincludedir = @oldincludedir@ 
     180os = @os@ 
     181pdfdir = @pdfdir@ 
     182prefix = @prefix@ 
     183program_transform_name = @program_transform_name@ 
     184psdir = @psdir@ 
     185sbindir = @sbindir@ 
     186sharedstatedir = @sharedstatedir@ 
     187srcdir = @srcdir@ 
     188sysconfdir = @sysconfdir@ 
     189target_alias = @target_alias@ 
     190top_build_prefix = @top_build_prefix@ 
     191top_builddir = @top_builddir@ 
     192top_srcdir = @top_srcdir@ 
     193use_zip_no = @use_zip_no@ 
     194use_zip_yes = @use_zip_yes@ 
     195with_classpath_install_dir = @with_classpath_install_dir@ 
     196SUBDIRS = @arch@ 
     197DIST_SUBDIRS = powerpc arm i386 x86_64 parisc mips 
     198noinst_LTLIBRARIES = libos.la 
     199libos_la_SOURCES = os.c 
     200AM_CPPFLAGS = -I$(top_builddir)/src 
     201all: all-recursive 
     202 
     203.SUFFIXES: 
     204.SUFFIXES: .c .lo .o .obj 
     205$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps) 
     206        @for dep in $?; do \ 
     207          case '$(am__configure_deps)' in \ 
     208            *$$dep*) \ 
     209              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 
     210                && { if test -f $@; then exit 0; else break; fi; }; \ 
     211              exit 1;; \ 
     212          esac; \ 
     213        done; \ 
     214        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/os/linux/Makefile'; \ 
     215        cd $(top_srcdir) && \ 
     216          $(AUTOMAKE) --gnu  src/os/linux/Makefile 
     217.PRECIOUS: Makefile 
     218Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 
     219        @case '$?' in \ 
     220          *config.status*) \ 
     221            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 
     222          *) \ 
     223            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 
     224            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 
     225        esac; 
     226 
     227$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 
     228        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
     229 
     230$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
     231        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
     232$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 
     233        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
     234 
     235clean-noinstLTLIBRARIES: 
     236        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) 
     237        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ 
     238          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 
     239          test "$$dir" != "$$p" || dir=.; \ 
     240          echo "rm -f \"$${dir}/so_locations\""; \ 
     241          rm -f "$${dir}/so_locations"; \ 
     242        done 
     243libos.la: $(libos_la_OBJECTS) $(libos_la_DEPENDENCIES)  
     244        $(LINK)  $(libos_la_OBJECTS) $(libos_la_LIBADD) $(LIBS) 
     245 
     246mostlyclean-compile: 
     247        -rm -f *.$(OBJEXT) 
     248 
     249distclean-compile: 
     250        -rm -f *.tab.c 
     251 
     252@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os.Plo@am__quote@ 
     253 
     254.c.o: 
     255@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 
     256@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
     257@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
     258@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     259@am__fastdepCC_FALSE@   $(COMPILE) -c $< 
     260 
     261.c.obj: 
     262@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 
     263@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 
     264@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 
     265@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     266@am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'` 
     267 
     268.c.lo: 
     269@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 
     270@am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo 
     271@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 
     272@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 
     273@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $< 
     274 
     275mostlyclean-libtool: 
     276        -rm -f *.lo 
     277 
     278clean-libtool: 
     279        -rm -rf .libs _libs 
     280 
     281# This directory's subdirectories are mostly independent; you can cd 
     282# into them and run `make' without going through this Makefile. 
     283# To change the values of `make' variables: instead of editing Makefiles, 
     284# (1) if the variable is set in `config.status', edit `config.status' 
     285#     (which will cause the Makefiles to be regenerated when you run `make'); 
     286# (2) otherwise, pass the desired values on the `make' command line. 
     287$(RECURSIVE_TARGETS): 
     288        @failcom='exit 1'; \ 
     289        for f in x $$MAKEFLAGS; do \ 
     290          case $$f in \ 
     291            *=* | --[!k]*);; \ 
     292            *k*) failcom='fail=yes';; \ 
     293          esac; \ 
     294        done; \ 
     295        dot_seen=no; \ 
     296        target=`echo $@ | sed s/-recursive//`; \ 
     297        list='$(SUBDIRS)'; for subdir in $$list; do \ 
     298          echo "Making $$target in $$subdir"; \ 
     299          if test "$$subdir" = "."; then \ 
     300            dot_seen=yes; \ 
     301            local_target="$$target-am"; \ 
     302          else \ 
     303            local_target="$$target"; \ 
     304          fi; \ 
     305          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 
     306          || eval $$failcom; \ 
     307        done; \ 
     308        if test "$$dot_seen" = "no"; then \ 
     309          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 
     310        fi; test -z "$$fail" 
     311 
     312$(RECURSIVE_CLEAN_TARGETS): 
     313        @failcom='exit 1'; \ 
     314        for f in x $$MAKEFLAGS; do \ 
     315          case $$f in \ 
     316            *=* | --[!k]*);; \ 
     317            *k*) failcom='fail=yes';; \ 
     318          esac; \ 
     319        done; \ 
     320        dot_seen=no; \ 
     321        case "$@" in \ 
     322          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 
     323          *) list='$(SUBDIRS)' ;; \ 
     324        esac; \ 
     325        rev=''; for subdir in $$list; do \ 
     326          if test "$$subdir" = "."; then :; else \ 
     327            rev="$$subdir $$rev"; \ 
     328          fi; \ 
     329        done; \ 
     330        rev="$$rev ."; \ 
     331        target=`echo $@ | sed s/-recursive//`; \ 
     332        for subdir in $$rev; do \ 
     333          echo "Making $$target in $$subdir"; \ 
     334          if test "$$subdir" = "."; then \ 
     335            local_target="$$target-am"; \ 
     336          else \ 
     337            local_target="$$target"; \ 
     338          fi; \ 
     339          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 
     340          || eval $$failcom; \ 
     341        done && test -z "$$fail" 
     342tags-recursive: 
     343        list='$(SUBDIRS)'; for subdir in $$list; do \ 
     344          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 
     345        done 
     346ctags-recursive: 
     347        list='$(SUBDIRS)'; for subdir in $$list; do \ 
     348          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 
     349        done 
     350 
     351ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 
     352        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 
     353        unique=`for i in $$list; do \ 
     354            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
     355          done | \ 
     356          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     357              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     358        mkid -fID $$unique 
     359tags: TAGS 
     360 
     361TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
     362                $(TAGS_FILES) $(LISP) 
     363        tags=; \ 
     364        here=`pwd`; \ 
     365        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 
     366          include_option=--etags-include; \ 
     367          empty_fix=.; \ 
     368        else \ 
     369          include_option=--include; \ 
     370          empty_fix=; \ 
     371        fi; \ 
     372        list='$(SUBDIRS)'; for subdir in $$list; do \ 
     373          if test "$$subdir" = .; then :; else \ 
     374            test ! -f $$subdir/TAGS || \ 
     375              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 
     376          fi; \ 
     377        done; \ 
     378        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
     379        unique=`for i in $$list; do \ 
     380            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
     381          done | \ 
     382          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     383              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     384        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 
     385          test -n "$$unique" || unique=$$empty_fix; \ 
     386          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 
     387            $$tags $$unique; \ 
     388        fi 
     389ctags: CTAGS 
     390CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
     391                $(TAGS_FILES) $(LISP) 
     392        tags=; \ 
     393        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \ 
     394        unique=`for i in $$list; do \ 
     395            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 
     396          done | \ 
     397          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 
     398              END { if (nonempty) { for (i in files) print i; }; }'`; \ 
     399        test -z "$(CTAGS_ARGS)$$tags$$unique" \ 
     400          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 
     401             $$tags $$unique 
     402 
     403GTAGS: 
     404        here=`$(am__cd) $(top_builddir) && pwd` \ 
     405          && cd $(top_srcdir) \ 
     406          && gtags -i $(GTAGS_ARGS) $$here 
     407 
     408distclean-tags: 
     409        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 
     410 
     411distdir: $(DISTFILES) 
     412        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
     413        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 
     414        list='$(DISTFILES)'; \ 
     415          dist_files=`for file in $$list; do echo $$file; done | \ 
     416          sed -e "s|^$$srcdirstrip/||;t" \ 
     417              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 
     418        case $$dist_files in \ 
     419          */*) $(MKDIR_P) `echo "$$dist_files" | \ 
     420                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 
     421                           sort -u` ;; \ 
     422        esac; \ 
     423        for file in $$dist_files; do \ 
     424          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 
     425          if test -d $$d/$$file; then \ 
     426            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 
     427            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 
     428              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 
     429            fi; \ 
     430            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 
     431          else \ 
     432            test -f $(distdir)/$$file \ 
     433            || cp -p $$d/$$file $(distdir)/$$file \ 
     434            || exit 1; \ 
     435          fi; \ 
     436        done 
     437        list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 
     438          if test "$$subdir" = .; then :; else \ 
     439            test -d "$(distdir)/$$subdir" \ 
     440            || $(MKDIR_P) "$(distdir)/$$subdir" \ 
     441            || exit 1; \ 
     442            distdir=`$(am__cd) $(distdir) && pwd`; \ 
     443            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ 
     444            (cd $$subdir && \ 
     445              $(MAKE) $(AM_MAKEFLAGS) \ 
     446                top_distdir="$$top_distdir" \ 
     447                distdir="$$distdir/$$subdir" \ 
     448                am__remove_distdir=: \ 
     449                am__skip_length_check=: \ 
     450                distdir) \ 
     451              || exit 1; \ 
     452          fi; \ 
     453        done 
     454check-am: all-am 
     455check: check-recursive 
     456all-am: Makefile $(LTLIBRARIES) 
     457installdirs: installdirs-recursive 
     458installdirs-am: 
     459install: install-recursive 
     460install-exec: install-exec-recursive 
     461install-data: install-data-recursive 
     462uninstall: uninstall-recursive 
     463 
     464install-am: all-am 
     465        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 
     466 
     467installcheck: installcheck-recursive 
     468install-strip: 
     469        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 
     470          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 
     471          `test -z '$(STRIP)' || \ 
     472            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 
     473mostlyclean-generic: 
     474 
     475clean-generic: 
     476 
     477distclean-generic: 
     478        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 
     479 
     480maintainer-clean-generic: 
     481        @echo "This command is intended for maintainers to use" 
     482        @echo "it deletes files that may require special tools to rebuild." 
     483clean: clean-recursive 
     484 
     485clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ 
     486        mostlyclean-am 
     487 
     488distclean: distclean-recursive 
     489        -rm -rf ./$(DEPDIR) 
     490        -rm -f Makefile 
     491distclean-am: clean-am distclean-compile distclean-generic \ 
     492        distclean-tags 
     493 
     494dvi: dvi-recursive 
     495 
     496dvi-am: 
     497 
     498html: html-recursive 
     499 
     500info: info-recursive 
     501 
     502info-am: 
     503 
     504install-data-am: 
     505 
     506install-dvi: install-dvi-recursive 
     507 
     508install-exec-am: 
     509 
     510install-html: install-html-recursive 
     511 
     512install-info: install-info-recursive 
     513 
     514install-man: 
     515 
     516install-pdf: install-pdf-recursive 
     517 
     518install-ps: install-ps-recursive 
     519 
     520installcheck-am: 
     521 
     522maintainer-clean: maintainer-clean-recursive 
     523        -rm -rf ./$(DEPDIR) 
     524        -rm -f Makefile 
     525maintainer-clean-am: distclean-am maintainer-clean-generic 
     526 
     527mostlyclean: mostlyclean-recursive 
     528 
     529mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 
     530        mostlyclean-libtool 
     531 
     532pdf: pdf-recursive 
     533 
     534pdf-am: 
     535 
     536ps: ps-recursive 
     537 
     538ps-am: 
     539 
     540uninstall-am: 
     541 
     542.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ 
     543        install-strip 
     544 
     545.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 
     546        all all-am check check-am clean clean-generic clean-libtool \ 
     547        clean-noinstLTLIBRARIES ctags ctags-recursive distclean \ 
     548        distclean-compile distclean-generic distclean-libtool \ 
     549        distclean-tags distdir dvi dvi-am html html-am info info-am \ 
     550        install install-am install-data install-data-am install-dvi \ 
     551        install-dvi-am install-exec install-exec-am install-html \ 
     552        install-html-am install-info install-info-am install-man \ 
     553        install-pdf install-pdf-am install-ps install-ps-am \ 
     554        install-strip installcheck installcheck-am installdirs \ 
     555        installdirs-am maintainer-clean maintainer-clean-generic \ 
     556        mostlyclean mostlyclean-compile mostlyclean-generic \ 
     557        mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ 
     558        uninstall uninstall-am 
     559 
     560# Tell versions [3.59,3.63) of GNU make to not export all variables. 
     561# Otherwise a system limit (for SysV at least) may be exceeded. 
     562.NOEXPORT: 
  • src/os/haiku/os.c

    diff -rupN jamvm-1.5.4/src/os/haiku/os.c jamvm-1.5.4.modified/src/os/haiku/os.c
    old new  
     1/* 
     2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 
     3 * Robert Lougher <rob@jamvm.org.uk>. 
     4 * 
     5 * This file is part of JamVM. 
     6 * 
     7 * This program is free software; you can redistribute it and/or 
     8 * modify it under the terms of the GNU General Public License 
     9 * as published by the Free Software Foundation; either version 2, 
     10 * or (at your option) any later version. 
     11 * 
     12 * This program is distributed in the hope that it will be useful, 
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     15 * GNU General Public License for more details. 
     16 * 
     17 * You should have received a copy of the GNU General Public License 
     18 * along with this program; if not, write to the Free Software 
     19 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
     20 */ 
     21 
     22#include <stdio.h> 
     23#include <string.h> 
     24#include <stdlib.h> 
     25#include <dlfcn.h> 
     26 
     27#define __USE_GNU 
     28#include <pthread.h> 
     29#include <OS.h> 
     30 
     31#include "../../jam.h" 
     32 
     33void *nativeStackBase() { 
     34        thread_info info; 
     35    get_thread_info(find_thread(NULL), &info); 
     36    return info.stack_base; 
     37} 
     38 
     39int nativeAvailableProcessors() { 
     40#ifdef __UCLIBC__ 
     41    return 1; 
     42#else 
     43        system_info info; 
     44        get_system_info(&info); 
     45    return info.cpu_count; 
     46#endif 
     47} 
     48 
     49char *nativeLibError() { 
     50    return dlerror(); 
     51} 
     52 
     53char *nativeLibPath() { 
     54    return getenv("LD_LIBRARY_PATH"); 
     55} 
     56 
     57void *nativeLibOpen(char *path) { 
     58    return dlopen(path, RTLD_LAZY); 
     59} 
     60 
     61void nativeLibClose(void *handle) { 
     62    dlclose(handle); 
     63} 
     64 
     65void *nativeLibSym(void *handle, char *symbol) { 
     66    return dlsym(handle, symbol); 
     67} 
     68 
     69char *nativeLibMapName(char *name) { 
     70   char *buff = sysMalloc(strlen(name) + sizeof("lib.so") + 1); 
     71 
     72   sprintf(buff, "lib%s.so", name); 
     73   return buff; 
     74} 
  • src/os/Makefile.am

    diff -rupN jamvm-1.5.4/src/os/Makefile.am jamvm-1.5.4.modified/src/os/Makefile.am
    old new  
    2020## 
    2121 
    2222SUBDIRS = @os@ 
    23 DIST_SUBDIRS = linux darwin bsd solaris 
     23DIST_SUBDIRS = linux darwin bsd solaris haiku 
    2424 
  • src/os/Makefile.in

    diff -rupN jamvm-1.5.4/src/os/Makefile.in jamvm-1.5.4.modified/src/os/Makefile.in
    old new use_zip_no = @use_zip_no@ 
    177177use_zip_yes = @use_zip_yes@ 
    178178with_classpath_install_dir = @with_classpath_install_dir@ 
    179179SUBDIRS = @os@ 
    180 DIST_SUBDIRS = linux darwin bsd solaris 
     180DIST_SUBDIRS = linux darwin bsd solaris haiku 
    181181all: all-recursive 
    182182 
    183183.SUFFIXES: 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/