Changeset 20301

Show
Ignore:
Timestamp:
06/09/07 09:45:58 (1 year ago)
Author:
patrick
Message:

MFT r20298: Added support for DragonFlyBSD, a fork of FreeBSD 4.9.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/gadgeteer/drivers/3Dconnexion/SpaceBall/Makefile.in

    r19729 r20301  
    4646 
    4747ifneq (@PLATFORM@, FreeBSD) 
     48ifneq (@PLATFORM@, DragonFly) 
    4849ifneq (@PLATFORM@, Darwin) 
    4950C_AFTERBUILD=   driver-dso 
    5051 
    5152SRCS=           puck_device.cpp 
     53endif 
    5254endif 
    5355endif 
  • juggler/branches/2.2/modules/gadgeteer/drivers/Intersense/IS900/Makefile.in

    r19729 r20301  
    4646 
    4747ifneq (@PLATFORM@, FreeBSD) 
     48ifneq (@PLATFORM@, DragonFly) 
    4849ifneq (@PLATFORM@, Darwin) 
    4950C_AFTERBUILD=   driver-dso 
     
    5758                Intersense.cpp                  \ 
    5859                IntersenseStandalone.cpp 
     60endif 
    5961endif 
    6062endif 
  • juggler/branches/2.2/modules/gadgeteer/drivers/configure.ac

    r20172 r20301  
    379379         fi 
    380380      fi 
    381    elif test "x$PLATFORM" = "xFreeBSD" ; then 
     381   elif test "x$PLATFORM" = "xFreeBSD" -o "x$PLATFORM" = "xDragonFly" ; then 
    382382      VRPNLIBDIR='pc_FreeBSD' 
    383383   elif test "x$PLATFORM" = "xAIX" ; then 
  • juggler/branches/2.2/modules/tweek/configure.ac

    r19745 r20301  
    217217      esac 
    218218      ;; 
    219    # A machine running FreeBSD. 
    220    freebsd*) 
    221       AC_DEFINE(__freebsd__, 1, [Define to 1 if building on FreeBSD.]) 
     219   # A machine running FreeBSD or DragonFlyBSD. 
     220   freebsd*|dragonfly*) 
     221      AC_DEFINE(__freebsd__, 1, 
     222                [Define to 1 if building on FreeBSD or DragonFly.]) 
    222223      EXTRA_DEFS="$EXTRA_DEFS -D__freebsd__" 
    223224 
     
    242243 
    243244      changequote(<<, >>) 
    244       tweek_freebsd_ver=`echo $target_os | sed -e 's/freebsd\([1-9][0-9]*\)\..*/\1/'` 
     245      # This will match $target_os of the form freebsdX.Y... or dragonflyX.Y... 
     246      tweek_bsd_ver=`echo $target_os | sed -e 's/^.*[dy]\([1-9][0-9]*\)\..*/\1/'` 
    245247      changequote([, ]) 
    246       AC_DEFINE_UNQUOTED(__OSVERSION__, $tweek_freebsd_ver) 
    247       EXTRA_DEFS="$EXTRA_DEFS -D__OSVERSION__=$tweek_freebsd_ver" 
     248      AC_DEFINE_UNQUOTED(__OSVERSION__, $tweek_bsd_ver) 
     249      EXTRA_DEFS="$EXTRA_DEFS -D__OSVERSION__=$tweek_bsd_ver" 
    248250 
    249251      ;; 
  • juggler/branches/2.2/modules/vapor/configure.ac

    r19897 r20301  
    206206        VPR_FORCE_SUBSYSTEM([POSIX]) 
    207207        AC_DEFINE(VPR_OS_FreeBSD, , [Define if building on FreeBSD.]) 
     208        ;; 
     209    # A machine running DragonFlyBSD. 
     210    dragonfly*) 
     211        VPR_FORCE_SUBSYSTEM([POSIX]) 
     212        AC_DEFINE(VPR_OS_DragonFly, , [Define if building on DragonFly.]) 
    208213        ;; 
    209214    # HP PA-RISC machine running HP-UX 10.20.