diff --git a/.hgignore b/.hgignore
index d855f99c8c..1ae5e257d1 100644
--- a/.hgignore
+++ b/.hgignore
@@ -1,24 +1,13 @@
-# auto-generated from .gitignore files by build-hgignore.py
syntax: re
^\.hgignore$
-.*/.*~$ # '*~' in 'eclipse-plugins'
-eclipse-plugins/.*/target(?:/|$) # 'target/' in 'eclipse-plugins'
-eclipse-plugins/.*/bin(?:/|$) # 'bin/' in 'eclipse-plugins'
-eclipse-plugins/.*/\.settings(?:/|$) # '.settings/' in 'eclipse-plugins'
-networktables/.*/target(?:/|$) # 'target/' in 'networktables'
-networktables/.*/build(?:/|$) # 'build/' in 'networktables'
-networktables/.*/dist(?:/|$) # 'dist/' in 'networktables'
-^networktables/OutlineViewer/nbproject/private(?:/|$) # '/OutlineViewer/nbproject/private/' in 'networktables'
-maven-utilities/.*/target(?:/|$) # 'target/' in 'maven-utilities'
-hal/.*/.*#$ # '*#' in 'hal'
-hal/.*/PPC603gnu(?:/|$) # 'PPC603gnu/' in 'hal'
-hal/.*/Debug(?:/|$) # 'Debug/' in 'hal'
-hal/.*/target(?:/|$) # 'target/' in 'hal'
-hal/.*/tmp(?:/|$) # 'tmp/' in 'hal'
-hal/.*/GPATH$ # 'GPATH' in 'hal'
-hal/.*/GRTAGS$ # 'GRTAGS' in 'hal'
-hal/.*/GSYMS$ # 'GSYMS' in 'hal'
-hal/.*/GTAGS$ # 'GTAGS' in 'hal'
-ni-libraries/.*/target(?:/|$) # 'target/' in 'ni-libraries'
-wpilib.?/.*/target(?:/|$)
+.*/target(?:/|$)
+.*/dist(?:/|$)
+eclipse-plugins/.*/bin(?:/|$)
+syntax: glob
+wpilibc/build/
+hal/build/
+networktables/cpp/build/
+build/
+networktables/OutlineViewer/nbproject/private
+*~
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000000..1d4db94500
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,12 @@
+cmake_minimum_required(VERSION 2.8)
+project(All-WPILib)
+set(CMAKE_BUILD_TYPE Debug)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat=2 -Wextra -Wno-unused-parameter")
+SET(CMAKE_SKIP_BUILD_RPATH TRUE)
+
+file(GLOB_RECURSE NI_LIBS ni-libraries/*.so*)
+get_filename_component(HAL_API_INCLUDES hal/include REALPATH)
+get_filename_component(NWT_API_INCLUDES networktables/cpp/include REALPATH)
+add_subdirectory(hal)
+add_subdirectory(networktables/cpp)
+add_subdirectory(wpilibc)
diff --git a/arm-toolchain.cmake b/arm-toolchain.cmake
index 3a278ba21f..6835466c91 100644
--- a/arm-toolchain.cmake
+++ b/arm-toolchain.cmake
@@ -1,9 +1,10 @@
cmake_minimum_required(VERSION 2.8)
INCLUDE(CMakeForceCompiler)
-set(ARM_PREFIX arm-linux-gnueabi)
+set(ARM_PREFIX arm-none-linux-gnueabi)
set(CMAKE_SYSTEM_NAME Linux)
CMAKE_FORCE_CXX_COMPILER(${ARM_PREFIX}-g++ GNU)
+CMAKE_FORCE_C_COMPILER(${ARM_PREFIX}-gcc GNU)
set(CMAKE_CXX_FLAGS "-march=armv7-a -mcpu=cortex-a9 -mfloat-abi=softfp -Wall" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -g" CACHE STRING "" FORCE) # still want debugging for release?
-SET(CMAKE_FIND_ROOT_PATH /home/patrick/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/arm-none-linux-gnueabi/libc)
+SET(CMAKE_FIND_ROOT_PATH $ENV{USER_HOME}/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/arm-none-linux-gnueabi/libc)
diff --git a/ni-libraries/.gitignore b/cmake/.gitignore
similarity index 100%
rename from ni-libraries/.gitignore
rename to cmake/.gitignore
diff --git a/cmake/pom.xml b/cmake/pom.xml
new file mode 100644
index 0000000000..f74b997ae5
--- /dev/null
+++ b/cmake/pom.xml
@@ -0,0 +1,92 @@
+
+
+ 4.0.0
+ edu.wpi.first.wpilib.cmake
+ cpp-root
+ 1.0.0
+ jar
+
+ Unix Makefiles
+
+
+
+
+ com.googlecode.cmake-maven-project
+ cmake-maven-plugin
+ 2.8.11-b4
+
+
+ cmake
+ generate-resources
+
+ generate
+
+
+
+
+
+
+
+
+
+ cmake2
+ generate-resources
+
+ compile
+
+
+ install
+
+
+
+
+ ..
+ ${project.build.directory}/cmake
+ ${project.build.directory}/cmake
+ ${cmakeGenerator}
+ release
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+ 1.7
+
+
+
+ set-version-info
+
+ run
+
+ process-sources
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+ unzip-cpp-includes
+ compile
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/pom.xml b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/pom.xml
index a481b064e0..1b4187538c 100644
--- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/pom.xml
+++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/pom.xml
@@ -1,358 +1,145 @@
-
- 4.0.0
- edu.wpi.first.wpilib.plugins.cpp
- eclipse-plugin
-
-
- edu.wpi.first.wpilib.plugins
- edu.wpi.first.wpilib.plugins
- 0.1.0.qualifier
- ..
-
-
-
- DEVELOPMENT
- ${project.build.directory}/cpp-zip
-
-
-
-
-
- .
-
- resources/configuration.properties
-
- true
-
-
-
-
- maven-resources-plugin
- 2.6
-
-
- copy-ant-resources-to-cpp-zip
- generate-sources
-
- copy-resources
-
-
- ${cpp-zip}
-
-
- src/main/resources/cpp-zip
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
- 2.8
-
-
-
-
- fetch-cpp-zip-dependencies
- compile
-
- copy
-
-
-
-
-
- edu.wpi.first.wpilib.networktables.cpp
- libNetworkTablesAthena
- 0.1.0-SNAPSHOT
- a
- libNetworkTables.a
-
-
- edu.wpi.first.wpilib.hal
- libHALAthena
- 0.1.0-SNAPSHOT
- a
- libHAL.a
-
-
- edu.wpi.first.wpilib.cpp
- libWPILibAthena
- 0.1.0-SNAPSHOT
- a
- libWPILib.a
-
-
- com.ni.first.libraries
- libFRC_NetworkCommunication
- 0.1.0-SNAPSHOT
- so
- libFRC_NetworkCommunication.so
-
-
-
- com.ni.first.libraries
- libRoboRIO_FRC_ChipObject
- 0.1.0-SNAPSHOT
- so
- libRoboRIO_FRC_ChipObject.so
-
-
- com.ni.first.libraries
- libFRC_FPGA_ChipObject
- 0.1.0-SNAPSHOT
- so
- libFRC_FPGA_ChipObject.so
-
-
- com.ni.first.libraries
- libNiFpga
- 0.1.0-SNAPSHOT
- so
- libNiFpga.so
-
-
- com.ni.first.libraries
- libni_emb
- 0.1.0-SNAPSHOT
- so
- libni_emb.so
-
-
- com.ni.first.libraries
- libnirio_emb_can
- 0.1.0-SNAPSHOT
- so
- libnirio_emb_can.so
-
-
- com.ni.first.libraries
- libNiFpgaLv
- 0.1.0-SNAPSHOT
- so
- libNiFpgaLv.so
-
-
- com.ni.first.libraries
- libNiRioSrv
- 0.1.0-SNAPSHOT
- so
- libNiRioSrv.so
-
-
- com.ni.first.libraries
- libni_rtlog
- 0.1.0-SNAPSHOT
- so
- libni_rtlog.so
-
-
-
-
- edu.wpi.first.wpilib.hal
- include
- 0.1.0-SNAPSHOT
- inczip
- ${cpp-zip}/inczip
-
-
- edu.wpi.first.wpilib.networktables.cpp
- include
- 0.1.0-SNAPSHOT
- inczip
- ${cpp-zip}/inczip
-
-
- edu.wpi.first.wpilib.cpp
- libWPILibAthena
- 0.1.0-SNAPSHOT
- inczip
- ${cpp-zip}/inczip
-
-
- ${cpp-zip}/lib
- false
- true
- true
-
-
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
- 1.7
-
-
-
-
- set-version-info
-
- run
-
- process-sources
-
-
-
-
-
-
-
-
-
-
- true
-
-
-
-
-
- unzip-cpp-includes
- compile
-
- run
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- generate-cpp-zip
- compile
-
- run
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- edu.wpi.first.wpilib.networktables.cpp
- libNetworkTablesAthena
- 0.1.0-SNAPSHOT
- a
-
-
- edu.wpi.first.wpilib.hal
- libHALAthena
- 0.1.0-SNAPSHOT
- a
-
-
- edu.wpi.first.wpilib.cpp
- libWPILibAthena
- 0.1.0-SNAPSHOT
- a
-
-
- com.ni.first.libraries
- libFRC_NetworkCommunication
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libRoboRIO_FRC_ChipObject
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libFRC_FPGA_ChipObject
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libNiFpga
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libni_emb
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libnirio_emb_can
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libNiFpgaLv
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libNiRioSrv
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libni_rtlog
- 0.1.0-SNAPSHOT
- so
-
-
-
-
- edu.wpi.first.wpilib.hal
- include
- 0.1.0-SNAPSHOT
- inczip
-
-
- edu.wpi.first.wpilib.networktables.cpp
- include
- 0.1.0-SNAPSHOT
- inczip
-
-
- edu.wpi.first.wpilib.cpp
- libWPILibAthena
- 0.1.0-SNAPSHOT
- inczip
-
-
-
+
+ 4.0.0
+ edu.wpi.first.wpilib.plugins.cpp
+ eclipse-plugin
+
+ edu.wpi.first.wpilib.plugins
+ edu.wpi.first.wpilib.plugins
+ 0.1.0.qualifier
+ ..
+
+
+ DEVELOPMENT
+ ${project.build.directory}/cpp-zip
+
+
+
+
+ .
+
+ resources/configuration.properties
+
+ true
+
+
+
+
+ maven-resources-plugin
+ 2.6
+
+
+ copy-ant-resources-to-cpp-zip
+ generate-sources
+
+ copy-resources
+
+
+ ${cpp-zip}
+
+
+ src/main/resources/cpp-zip
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 2.8
+
+
+
+ fetch-cpp-zip-dependencies
+ compile
+
+ copy
+
+
+
+
+ edu.wpi.first.wpilib.cmake
+ cpp-root
+ 1.0.0
+ jar
+ cpp-root.jar
+
+
+ ${project.build.directory}
+ false
+ true
+ true
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+ 1.7
+
+
+
+ set-version-info
+
+ run
+
+ process-sources
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+ unzip-cpp-includes
+ compile
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
+
+ generate-cpp-zip
+ compile
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+
+
+ edu.wpi.first.wpilib.cmake
+ cpp-root
+ 1.0.0
+ jar
+
+
diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/.cproject b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/.cproject
index f05fb0ea8a..bfc041ab71 100644
--- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/.cproject
+++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/.cproject
@@ -38,22 +38,11 @@
+
+
diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/ExampleSubsystem.cpp b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/ExampleSubsystem.cpp
index 2878b01a19..20518caa23 100644
--- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/ExampleSubsystem.cpp
+++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/ExampleSubsystem.cpp
@@ -1,5 +1,6 @@
#include "ExampleSubsystem.h"
#include "../RobotMap.h"
+
ExampleSubsystem::ExampleSubsystem() :
Subsystem("ExampleSubsystem")
{
diff --git a/hal/.cproject b/hal/.cproject
deleted file mode 100644
index 3e425fb7ed..0000000000
--- a/hal/.cproject
+++ /dev/null
@@ -1,194 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/hal/.gitignore b/hal/.gitignore
deleted file mode 100644
index 94cd9036f4..0000000000
--- a/hal/.gitignore
+++ /dev/null
@@ -1,10 +0,0 @@
-*~
-*#
-PPC603gnu/
-Debug/
-target/
-tmp/
-GPATH
-GRTAGS
-GSYMS
-GTAGS
\ No newline at end of file
diff --git a/hal/.project b/hal/.project
deleted file mode 100644
index 669fd7d0d4..0000000000
--- a/hal/.project
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
- HAL
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- org.eclipse.m2e.core.maven2Nature
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.core.ccnature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
- edu.wpi.first.wpilib.plugins.core.nature.FRCProjectNature
-
-
diff --git a/hal/Athena/pom.xml b/hal/Athena/pom.xml
deleted file mode 100644
index f6c12e38f7..0000000000
--- a/hal/Athena/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.hal
- libHALAthena
- a
-
-
- edu.wpi.first.wpilib.templates.athena
- static-library
- 0.1.0-SNAPSHOT
- ../../maven-utilities/athena/static-library/pom.xml
-
-
-
-
- edu.wpi.first.wpilib.hal
- include
- 0.1.0-SNAPSHOT
- inczip
-
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
-
-
-
- src/main/native
-
- **/*.cpp
-
-
-
-
-
-
-
-
diff --git a/hal/Athena/src/main/native/NetworkCommunication/AICalibration.h b/hal/Athena/src/main/native/NetworkCommunication/AICalibration.h
deleted file mode 100644
index 39755bda89..0000000000
--- a/hal/Athena/src/main/native/NetworkCommunication/AICalibration.h
+++ /dev/null
@@ -1,19 +0,0 @@
-
-#ifndef __AICalibration_h__
-#define __AICalibration_h__
-
-#include
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
- uint32_t FRC_NetworkCommunication_nAICalibration_getLSBWeight(const uint32_t aiSystemIndex, const uint32_t channel, int32_t *status);
- int32_t FRC_NetworkCommunication_nAICalibration_getOffset(const uint32_t aiSystemIndex, const uint32_t channel, int32_t *status);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // __AICalibration_h__
diff --git a/hal/Athena/src/main/native/NetworkCommunication/CANInterfacePlugin.h b/hal/Athena/src/main/native/NetworkCommunication/CANInterfacePlugin.h
deleted file mode 100644
index a637eb1d9b..0000000000
--- a/hal/Athena/src/main/native/NetworkCommunication/CANInterfacePlugin.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// CANInterfacePlugin.h
-//
-// Defines the API for building a CAN Interface Plugin to support
-// PWM-cable-free CAN motor control on FRC robots. This allows you
-// to connect any CAN interface to the secure Jaguar CAN driver.
-//
-
-#ifndef __CANInterfacePlugin_h__
-#define __CANInterfacePlugin_h__
-
-#include
-
-#define CAN_IS_FRAME_REMOTE 0x80000000
-#define CAN_MESSAGE_ID_MASK 0x1FFFFFFF
-
-class CANInterfacePlugin
-{
-public:
- CANInterfacePlugin() {}
- virtual ~CANInterfacePlugin() {}
-
- /**
- * This entry-point of the CANInterfacePlugin is passed a message that the driver needs to send to
- * a device on the CAN bus.
- *
- * This function may be called from multiple contexts and must therefore be reentrant.
- *
- * @param messageID The 29-bit CAN message ID in the lsbs. The msb can indicate a remote frame.
- * @param data A pointer to a buffer containing between 0 and 8 bytes to send with the message. May be NULL if dataSize is 0.
- * @param dataSize The number of bytes to send with the message.
- * @return Return any error code. On success return 0.
- */
- virtual int32_t sendMessage(uint32_t messageID, const uint8_t *data, uint8_t dataSize) = 0;
-
- /**
- * This entry-point of the CANInterfacePlugin is passed buffers which should be populated with
- * any received messages from devices on the CAN bus.
- *
- * This function is always called by a single task in the Jaguar driver, so it need not be reentrant.
- *
- * This function is expected to block for some period of time waiting for a message from the CAN bus.
- * It may timeout periodically (returning non-zero to indicate no message was populated) to allow for
- * shutdown and unloading of the plugin.
- *
- * @param messageID A reference to be populated with a received 29-bit CAN message ID in the lsbs.
- * @param data A pointer to a buffer of 8 bytes to be populated with data received with the message.
- * @param dataSize A reference to be populated with the size of the data received (0 - 8 bytes).
- * @return This should return 0 if a message was populated, non-0 if no message was not populated.
- */
- virtual int32_t receiveMessage(uint32_t &messageID, uint8_t *data, uint8_t &dataSize) = 0;
-};
-
-/**
- * This function allows you to register a CANInterfacePlugin to provide access a CAN bus.
- *
- * @param interface A pointer to an object that inherits from CANInterfacePlugin and implements
- * the pure virtual interface. If NULL, unregister the current plugin.
- */
-void FRC_NetworkCommunication_JaguarCANDriver_registerInterface(CANInterfacePlugin* interface);
-
-#endif // __CANInterfacePlugin_h__
diff --git a/hal/Athena/src/main/native/NetworkCommunication/FRCComm.h b/hal/Athena/src/main/native/NetworkCommunication/FRCComm.h
deleted file mode 100644
index ae248900ee..0000000000
--- a/hal/Athena/src/main/native/NetworkCommunication/FRCComm.h
+++ /dev/null
@@ -1,201 +0,0 @@
-/*************************************************************
- * NOTICE
- *
- * These are the only externally exposed functions to the
- * NetworkCommunication library
- *
- * This is an implementation of FRC Spec for Comm Protocol
- * Revision 4.5, June 30, 2008
- *
- * Copyright (c) National Instruments 2008. All Rights Reserved.
- *
- *************************************************************/
-
-#ifndef __FRC_COMM_H__
-#define __FRC_COMM_H__
-
-#ifdef SIMULATION
-#include
-#ifdef USE_THRIFT
-#define EXPORT_FUNC
-#else
-#define EXPORT_FUNC __declspec(dllexport) __cdecl
-#endif
-#else
-#if defined(__vxworks)
-#include
-#define EXPORT_FUNC
-#else
-#include
-#include
-#define EXPORT_FUNC
-#endif
-#endif
-
-// Commandeer some bytes at the end for advanced I/O feedback.
-#define IO_CONFIG_DATA_SIZE 32
-#define SYS_STATUS_DATA_SIZE 44
-#define USER_STATUS_DATA_SIZE (984 - IO_CONFIG_DATA_SIZE - SYS_STATUS_DATA_SIZE)
-#define USER_DS_LCD_DATA_SIZE 128
-
-struct FRCCommonControlData{
- uint16_t packetIndex;
- union {
- uint8_t control;
-#ifndef __vxworks
- struct {
- uint8_t checkVersions :1;
- uint8_t test :1;
- uint8_t resync : 1;
- uint8_t fmsAttached:1;
- uint8_t autonomous : 1;
- uint8_t enabled : 1;
- uint8_t notEStop : 1;
- uint8_t reset : 1;
- };
-#else
- struct {
- uint8_t reset : 1;
- uint8_t notEStop : 1;
- uint8_t enabled : 1;
- uint8_t autonomous : 1;
- uint8_t fmsAttached:1;
- uint8_t resync : 1;
- uint8_t test :1;
- uint8_t checkVersions :1;
- };
-#endif
- };
- uint8_t dsDigitalIn;
- uint16_t teamID;
-
- char dsID_Alliance;
- char dsID_Position;
-
- union {
- int8_t stick0Axes[6];
- struct {
- int8_t stick0Axis1;
- int8_t stick0Axis2;
- int8_t stick0Axis3;
- int8_t stick0Axis4;
- int8_t stick0Axis5;
- int8_t stick0Axis6;
- };
- };
- uint16_t stick0Buttons; // Left-most 4 bits are unused
-
- union {
- int8_t stick1Axes[6];
- struct {
- int8_t stick1Axis1;
- int8_t stick1Axis2;
- int8_t stick1Axis3;
- int8_t stick1Axis4;
- int8_t stick1Axis5;
- int8_t stick1Axis6;
- };
- };
- uint16_t stick1Buttons; // Left-most 4 bits are unused
-
- union {
- int8_t stick2Axes[6];
- struct {
- int8_t stick2Axis1;
- int8_t stick2Axis2;
- int8_t stick2Axis3;
- int8_t stick2Axis4;
- int8_t stick2Axis5;
- int8_t stick2Axis6;
- };
- };
- uint16_t stick2Buttons; // Left-most 4 bits are unused
-
- union {
- int8_t stick3Axes[6];
- struct {
- int8_t stick3Axis1;
- int8_t stick3Axis2;
- int8_t stick3Axis3;
- int8_t stick3Axis4;
- int8_t stick3Axis5;
- int8_t stick3Axis6;
- };
- };
- uint16_t stick3Buttons; // Left-most 4 bits are unused
-
- //Analog inputs are 10 bit right-justified
- uint16_t analog1;
- uint16_t analog2;
- uint16_t analog3;
- uint16_t analog4;
-
- uint64_t cRIOChecksum;
- uint32_t FPGAChecksum0;
- uint32_t FPGAChecksum1;
- uint32_t FPGAChecksum2;
- uint32_t FPGAChecksum3;
-
- char versionData[8];
-};
-
-#define kFRC_NetworkCommunication_DynamicType_DSEnhancedIO_Input 17
-#define kFRC_NetworkCommunication_DynamicType_DSEnhancedIO_Output 18
-#define kFRC_NetworkCommunication_DynamicType_Kinect_Header 19
-#define kFRC_NetworkCommunication_DynamicType_Kinect_Extra1 20
-#define kFRC_NetworkCommunication_DynamicType_Kinect_Vertices1 21
-#define kFRC_NetworkCommunication_DynamicType_Kinect_Extra2 22
-#define kFRC_NetworkCommunication_DynamicType_Kinect_Vertices2 23
-#define kFRC_NetworkCommunication_DynamicType_Kinect_Joystick 24
-#define kFRC_NetworkCommunication_DynamicType_Kinect_Custom 25
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-#ifndef SIMULATION
- void EXPORT_FUNC getFPGAHardwareVersion(uint16_t *fpgaVersion, uint32_t *fpgaRevision);
-#endif
- int EXPORT_FUNC getCommonControlData(struct FRCCommonControlData *data, int wait_ms);
- int EXPORT_FUNC getRecentCommonControlData(struct FRCCommonControlData *commonData, int wait_ms);
- int EXPORT_FUNC getRecentStatusData(uint8_t *batteryInt, uint8_t *batteryDec, uint8_t *dsDigitalOut, int wait_ms);
- int EXPORT_FUNC getDynamicControlData(uint8_t type, char *dynamicData, int32_t maxLength, int wait_ms);
- int EXPORT_FUNC setStatusData(float battery, uint8_t dsDigitalOut, uint8_t updateNumber,
- const char *userDataHigh, int userDataHighLength,
- const char *userDataLow, int userDataLowLength, int wait_ms);
- int EXPORT_FUNC setStatusDataFloatAsInt(int battery, uint8_t dsDigitalOut, uint8_t updateNumber,
- const char *userDataHigh, int userDataHighLength,
- const char *userDataLow, int userDataLowLength, int wait_ms);
- int EXPORT_FUNC setErrorData(const char *errors, int errorsLength, int wait_ms);
- int EXPORT_FUNC setUserDsLcdData(const char *userDsLcdData, int userDsLcdDataLength, int wait_ms);
- int EXPORT_FUNC overrideIOConfig(const char *ioConfig, int wait_ms);
-
-#ifdef SIMULATION
- void EXPORT_FUNC setNewDataSem(HANDLE);
-#else
-# if defined (__vxworks)
- void EXPORT_FUNC setNewDataSem(SEM_ID);
- void EXPORT_FUNC setResyncSem(SEM_ID);
-# else
- void EXPORT_FUNC setNewDataSem(pthread_mutex_t *);
- void EXPORT_FUNC setResyncSem(pthread_mutex_t *);
-# endif
- void EXPORT_FUNC signalResyncActionDone(void);
-#endif
-
- // this uint32_t is really a LVRefNum
- void EXPORT_FUNC setNewDataOccurRef(uint32_t refnum);
-#ifndef SIMULATION
- void EXPORT_FUNC setResyncOccurRef(uint32_t refnum);
-#endif
-
- void EXPORT_FUNC FRC_NetworkCommunication_getVersionString(char *version);
- void EXPORT_FUNC FRC_NetworkCommunication_observeUserProgramStarting(void);
- void EXPORT_FUNC FRC_NetworkCommunication_observeUserProgramDisabled(void);
- void EXPORT_FUNC FRC_NetworkCommunication_observeUserProgramAutonomous(void);
- void EXPORT_FUNC FRC_NetworkCommunication_observeUserProgramTeleop(void);
- void EXPORT_FUNC FRC_NetworkCommunication_observeUserProgramTest(void);
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/hal/Athena/src/main/native/NetworkCommunication/JaguarCANDriver.h b/hal/Athena/src/main/native/NetworkCommunication/JaguarCANDriver.h
deleted file mode 100644
index 67797e6063..0000000000
--- a/hal/Athena/src/main/native/NetworkCommunication/JaguarCANDriver.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// JaguarCANDriver.h
-//
-// Defines the API for building a CAN Interface Plugin to support
-// PWM-cable-free CAN motor control on FRC robots. This allows you
-// to connect any CAN interface to the secure Jaguar CAN driver.
-//
-
-#ifndef __JaguarCANDriver_h__
-#define __JaguarCANDriver_h__
-
-#if defined(__vxworks)
-#include
-#else
-#include
-#include
-#endif
-#ifdef USE_THRIFT
-#include "NetCommRPCComm.h"
-#include
-#endif
-namespace nJaguarCANDriver
-{
- void sendMessage_wrapper(uint32_t messageID, const uint8_t *data, uint8_t dataSize, int32_t *status);
- void receiveMessage_wrapper(uint32_t *messageID, uint8_t *data, uint8_t *dataSize, uint32_t timeoutMs, int32_t *status);
- int32_t receiveMessageStart_wrapper(uint32_t messageID, uint32_t occurRefNum, uint32_t timeoutMs, int32_t *status);
-#if defined (__vxworks)
- int32_t receiveMessageStart_sem_wrapper(uint32_t messageID, uint32_t semaphoreID, uint32_t timeoutMs, int32_t *status);
-#else
- int32_t receiveMessageStart_mutex_wrapper(uint32_t messageID, pthread_mutex_t *mutex, uint32_t timeoutMs, int32_t *status);
-#endif
- void receiveMessageComplete_wrapper(uint32_t *messageID, uint8_t *data, uint8_t *dataSize, int32_t *status);
-#ifdef USE_THRIFT
- void checkEvent_CAN(std::vector< CANEvent >& events);
-#endif
-}
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
- void FRC_NetworkCommunication_JaguarCANDriver_sendMessage(uint32_t messageID, const uint8_t *data, uint8_t dataSize, int32_t *status);
- void FRC_NetworkCommunication_JaguarCANDriver_receiveMessage(uint32_t *messageID, uint8_t *data, uint8_t *dataSize, uint32_t timeoutMs, int32_t *status);
- int32_t FRC_NetworkCommunication_JaguarCANDriver_receiveMessageStart(uint32_t messageID, uint32_t occurRefNum, uint32_t timeoutMs, int32_t *status);
-#if defined (__vxworks)
- int32_t FRC_NetworkCommunication_JaguarCANDriver_receiveMessageStart_sem(uint32_t messageID, uint32_t semaphoreID, uint32_t timeoutMs, int32_t *status);
-#else
- int32_t FRC_NetworkCommunication_JaguarCANDriver_receiveMessageStart_mutex(uint32_t messageID, pthread_mutex_t *mutex, uint32_t timeoutMs, int32_t *status);
-#endif
- void FRC_NetworkCommunication_JaguarCANDriver_receiveMessageComplete(uint32_t *messageID, uint8_t *data, uint8_t *dataSize, int32_t *status);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // __JaguarCANDriver_h__
diff --git a/hal/Athena/src/main/native/NetworkCommunication/LoadOut.h b/hal/Athena/src/main/native/NetworkCommunication/LoadOut.h
deleted file mode 100644
index 0304b30665..0000000000
--- a/hal/Athena/src/main/native/NetworkCommunication/LoadOut.h
+++ /dev/null
@@ -1,52 +0,0 @@
-
-#ifndef __LoadOut_h__
-#define __LoadOut_h__
-
-#ifdef SIMULATION
-#include
-#define EXPORT_FUNC __declspec(dllexport) __cdecl
-#elif defined (__vxworks)
-#include
-#define EXPORT_FUNC
-#else
-#include
-#define EXPORT_FUNC
-#endif
-
-#define kMaxModuleNumber 2
-namespace nLoadOut
-{
- typedef enum {
- kModuleType_Unknown = 0x00,
- kModuleType_Analog = 0x01,
- kModuleType_Digital = 0x02,
- kModuleType_Solenoid = 0x03,
- } tModuleType;
- bool EXPORT_FUNC getModulePresence(tModuleType moduleType, uint8_t moduleNumber);
- typedef enum {
- kTargetClass_Unknown = 0x00,
- kTargetClass_FRC1 = 0x10,
- kTargetClass_FRC2 = 0x20,
- kTargetClass_FRC3 = 0x30,
- kTargetClass_RoboRIO = 0x40,
- kTargetClass_FRC2_Analog = kTargetClass_FRC2 | kModuleType_Analog,
- kTargetClass_FRC2_Digital = kTargetClass_FRC2 | kModuleType_Digital,
- kTargetClass_FRC2_Solenoid = kTargetClass_FRC2 | kModuleType_Solenoid,
- kTargetClass_FamilyMask = 0xF0,
- kTargetClass_ModuleMask = 0x0F,
- } tTargetClass;
- tTargetClass EXPORT_FUNC getTargetClass();
-}
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- uint32_t EXPORT_FUNC FRC_NetworkCommunication_nLoadOut_getModulePresence(uint32_t moduleType, uint8_t moduleNumber);
- uint32_t EXPORT_FUNC FRC_NetworkCommunication_nLoadOut_getTargetClass();
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // __LoadOut_h__
diff --git a/hal/Athena/src/main/native/NetworkCommunication/UsageReporting.h b/hal/Athena/src/main/native/NetworkCommunication/UsageReporting.h
deleted file mode 100644
index 2c7499ea61..0000000000
--- a/hal/Athena/src/main/native/NetworkCommunication/UsageReporting.h
+++ /dev/null
@@ -1,139 +0,0 @@
-
-#ifndef __UsageReporting_h__
-#define __UsageReporting_h__
-
-#ifdef SIMULATION
-#include
-#define EXPORT_FUNC __declspec(dllexport) __cdecl
-#elif defined (__vxworks)
-#include
-#define EXPORT_FUNC
-#else
-#include
-#include
-#define EXPORT_FUNC
-#endif
-
-#define kUsageReporting_version 1
-
-namespace nUsageReporting
-{
- typedef enum
- {
- kResourceType_Controller,
- kResourceType_Module,
- kResourceType_Language,
- kResourceType_CANPlugin,
- kResourceType_Accelerometer,
- kResourceType_ADXL345,
- kResourceType_AnalogChannel,
- kResourceType_AnalogTrigger,
- kResourceType_AnalogTriggerOutput,
- kResourceType_CANJaguar,
- kResourceType_Compressor,
- kResourceType_Counter,
- kResourceType_Dashboard,
- kResourceType_DigitalInput,
- kResourceType_DigitalOutput,
- kResourceType_DriverStationCIO,
- kResourceType_DriverStationEIO,
- kResourceType_DriverStationLCD,
- kResourceType_Encoder,
- kResourceType_GearTooth,
- kResourceType_Gyro,
- kResourceType_I2C,
- kResourceType_Framework,
- kResourceType_Jaguar,
- kResourceType_Joystick,
- kResourceType_Kinect,
- kResourceType_KinectStick,
- kResourceType_PIDController,
- kResourceType_Preferences,
- kResourceType_PWM,
- kResourceType_Relay,
- kResourceType_RobotDrive,
- kResourceType_SerialPort,
- kResourceType_Servo,
- kResourceType_Solenoid,
- kResourceType_SPI,
- kResourceType_Task,
- kResourceType_Ultrasonic,
- kResourceType_Victor,
- kResourceType_Button,
- kResourceType_Command,
- kResourceType_AxisCamera,
- kResourceType_PCVideoServer,
- kResourceType_SmartDashboard,
- kResourceType_Talon,
- kResourceType_HiTechnicColorSensor,
- kResourceType_HiTechnicAccel,
- kResourceType_HiTechnicCompass,
- kResourceType_SRF08,
- } tResourceType;
-
- typedef enum
- {
- kLanguage_LabVIEW = 1,
- kLanguage_CPlusPlus = 2,
- kLanguage_Java = 3,
- kLanguage_Python = 4,
-
- kCANPlugin_BlackJagBridge = 1,
- kCANPlugin_2CAN = 2,
-
- kFramework_Iterative = 1,
- kFramework_Simple = 2,
-
- kRobotDrive_ArcadeStandard = 1,
- kRobotDrive_ArcadeButtonSpin = 2,
- kRobotDrive_ArcadeRatioCurve = 3,
- kRobotDrive_Tank = 4,
- kRobotDrive_MecanumPolar = 5,
- kRobotDrive_MecanumCartesian = 6,
-
- kDriverStationCIO_Analog = 1,
- kDriverStationCIO_DigitalIn = 2,
- kDriverStationCIO_DigitalOut = 3,
-
- kDriverStationEIO_Acceleration = 1,
- kDriverStationEIO_AnalogIn = 2,
- kDriverStationEIO_AnalogOut = 3,
- kDriverStationEIO_Button = 4,
- kDriverStationEIO_LED = 5,
- kDriverStationEIO_DigitalIn = 6,
- kDriverStationEIO_DigitalOut = 7,
- kDriverStationEIO_FixedDigitalOut = 8,
- kDriverStationEIO_PWM = 9,
- kDriverStationEIO_Encoder = 10,
- kDriverStationEIO_TouchSlider = 11,
-
- kADXL345_SPI = 1,
- kADXL345_I2C = 2,
-
- kCommand_Scheduler = 1,
-
- kSmartDashboard_Instance = 1,
- } tInstances;
-
- /**
- * Report the usage of a resource of interest.
- *
- * @param resource one of the values in the tResourceType above (max value 51).
- * @param instanceNumber an index that identifies the resource instance.
- * @param context an optional additional context number for some cases (such as module number). Set to 0 to omit.
- * @param feature a string to be included describing features in use on a specific resource. Setting the same resource more than once allows you to change the feature string.
- */
- uint32_t EXPORT_FUNC report(tResourceType resource, uint8_t instanceNumber, uint8_t context = 0, const char *feature = NULL);
-}
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- uint32_t EXPORT_FUNC FRC_NetworkCommunication_nUsageReporting_report(uint8_t resource, uint8_t instanceNumber, uint8_t context, const char *feature);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // __UsageReporting_h__
diff --git a/hal/CMakeLists.txt b/hal/CMakeLists.txt
index 839d7e52cd..13cb75fabc 100644
--- a/hal/CMakeLists.txt
+++ b/hal/CMakeLists.txt
@@ -1,9 +1,14 @@
cmake_minimum_required(VERSION 2.8)
project(HAL)
-set(CMAKE_BUILD_TYPE Debug)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
-file(GLOB_RECURSE SRC_FILES Athena/src/*.cpp)
-include_directories(Athena/src/main/native include/src/main/include)
+
+file(GLOB_RECURSE SRC_FILES lib/Athena/*.cpp)
+include_directories(lib/Athena include)
add_library(HALAthena SHARED ${SRC_FILES})
+target_link_libraries(HALAthena ${NI_LIBS})
+INSTALL(TARGETS HALAthena LIBRARY DESTINATION lib)
+INSTALL(FILES ${NI_LIBS} DESTINATION lib)
+INSTALL(DIRECTORY include DESTINATION ${CMAKE_INSTALL_PREFIX})
# lib/ c m gcc_s ld-linux
# usr/lib stdc++
+# FRC_NetworkCommunication FRC_FPGA_ChipObject RoboRIO_FRC_ChipObject
+
diff --git a/hal/include/src/main/include/HAL/Analog.h b/hal/include/HAL/Analog.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Analog.h
rename to hal/include/HAL/Analog.h
diff --git a/hal/include/src/main/include/HAL/CAN.h b/hal/include/HAL/CAN.h
similarity index 100%
rename from hal/include/src/main/include/HAL/CAN.h
rename to hal/include/HAL/CAN.h
diff --git a/hal/include/src/main/include/HAL/Digital.h b/hal/include/HAL/Digital.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Digital.h
rename to hal/include/HAL/Digital.h
diff --git a/hal/include/src/main/include/HAL/Errors.h b/hal/include/HAL/Errors.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Errors.h
rename to hal/include/HAL/Errors.h
diff --git a/hal/include/src/main/include/HAL/HAL.h b/hal/include/HAL/HAL.h
similarity index 100%
rename from hal/include/src/main/include/HAL/HAL.h
rename to hal/include/HAL/HAL.h
diff --git a/hal/include/src/main/include/HAL/Interrupts.h b/hal/include/HAL/Interrupts.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Interrupts.h
rename to hal/include/HAL/Interrupts.h
diff --git a/hal/include/src/main/include/HAL/Notifier.h b/hal/include/HAL/Notifier.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Notifier.h
rename to hal/include/HAL/Notifier.h
diff --git a/hal/include/src/main/include/HAL/Semaphore.h b/hal/include/HAL/Semaphore.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Semaphore.h
rename to hal/include/HAL/Semaphore.h
diff --git a/hal/include/src/main/include/HAL/Solenoid.h b/hal/include/HAL/Solenoid.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Solenoid.h
rename to hal/include/HAL/Solenoid.h
diff --git a/hal/include/src/main/include/HAL/Task.h b/hal/include/HAL/Task.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Task.h
rename to hal/include/HAL/Task.h
diff --git a/hal/include/src/main/include/HAL/Utilities.h b/hal/include/HAL/Utilities.h
similarity index 100%
rename from hal/include/src/main/include/HAL/Utilities.h
rename to hal/include/HAL/Utilities.h
diff --git a/hal/include/src/main/include/HAL/cpp/Resource.h b/hal/include/HAL/cpp/Resource.h
similarity index 100%
rename from hal/include/src/main/include/HAL/cpp/Resource.h
rename to hal/include/HAL/cpp/Resource.h
diff --git a/hal/include/src/main/include/HAL/cpp/StackTrace.h b/hal/include/HAL/cpp/StackTrace.h
similarity index 100%
rename from hal/include/src/main/include/HAL/cpp/StackTrace.h
rename to hal/include/HAL/cpp/StackTrace.h
diff --git a/hal/include/src/main/include/HAL/cpp/Synchronized.h b/hal/include/HAL/cpp/Synchronized.h
similarity index 100%
rename from hal/include/src/main/include/HAL/cpp/Synchronized.h
rename to hal/include/HAL/cpp/Synchronized.h
diff --git a/hal/include/src/main/include/Log.h b/hal/include/Log.h
similarity index 100%
rename from hal/include/src/main/include/Log.h
rename to hal/include/Log.h
diff --git a/hal/include/pom.xml b/hal/include/pom.xml
deleted file mode 100644
index 6518e908fa..0000000000
--- a/hal/include/pom.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.hal
- include
- a
-
-
- edu.wpi.first.wpilib.templates
- include
- 0.1.0-SNAPSHOT
- ../../maven-utilities/include
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
-
-
-
-
diff --git a/hal/Athena/src/main/native/Analog.cpp b/hal/lib/Athena/Analog.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Analog.cpp
rename to hal/lib/Athena/Analog.cpp
diff --git a/hal/Athena/src/main/native/ChipObject.h b/hal/lib/Athena/ChipObject.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject.h
rename to hal/lib/Athena/ChipObject.h
diff --git a/hal/Athena/src/main/native/ChipObject/FRC_FPGA_ChipObject_Aliases.h b/hal/lib/Athena/ChipObject/FRC_FPGA_ChipObject_Aliases.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/FRC_FPGA_ChipObject_Aliases.h
rename to hal/lib/Athena/ChipObject/FRC_FPGA_ChipObject_Aliases.h
diff --git a/hal/Athena/src/main/native/ChipObject/RoboRIO_FRC_ChipObject_Aliases.h b/hal/lib/Athena/ChipObject/RoboRIO_FRC_ChipObject_Aliases.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/RoboRIO_FRC_ChipObject_Aliases.h
rename to hal/lib/Athena/ChipObject/RoboRIO_FRC_ChipObject_Aliases.h
diff --git a/hal/Athena/src/main/native/ChipObject/fpgainterfacecapi/NiFpga.h b/hal/lib/Athena/ChipObject/fpgainterfacecapi/NiFpga.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/fpgainterfacecapi/NiFpga.h
rename to hal/lib/Athena/ChipObject/fpgainterfacecapi/NiFpga.h
diff --git a/hal/Athena/src/main/native/ChipObject/nInterfaceGlobals.h b/hal/lib/Athena/ChipObject/nInterfaceGlobals.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/nInterfaceGlobals.h
rename to hal/lib/Athena/ChipObject/nInterfaceGlobals.h
diff --git a/hal/Athena/src/main/native/ChipObject/printFpgaVersion.h b/hal/lib/Athena/ChipObject/printFpgaVersion.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/printFpgaVersion.h
rename to hal/lib/Athena/ChipObject/printFpgaVersion.h
diff --git a/hal/Athena/src/main/native/ChipObject/tAI.h b/hal/lib/Athena/ChipObject/tAI.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tAI.h
rename to hal/lib/Athena/ChipObject/tAI.h
diff --git a/hal/Athena/src/main/native/ChipObject/tAO.h b/hal/lib/Athena/ChipObject/tAO.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tAO.h
rename to hal/lib/Athena/ChipObject/tAO.h
diff --git a/hal/Athena/src/main/native/ChipObject/tAccel.h b/hal/lib/Athena/ChipObject/tAccel.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tAccel.h
rename to hal/lib/Athena/ChipObject/tAccel.h
diff --git a/hal/Athena/src/main/native/ChipObject/tAccumulator.h b/hal/lib/Athena/ChipObject/tAccumulator.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tAccumulator.h
rename to hal/lib/Athena/ChipObject/tAccumulator.h
diff --git a/hal/Athena/src/main/native/ChipObject/tAlarm.h b/hal/lib/Athena/ChipObject/tAlarm.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tAlarm.h
rename to hal/lib/Athena/ChipObject/tAlarm.h
diff --git a/hal/Athena/src/main/native/ChipObject/tAnalogTrigger.h b/hal/lib/Athena/ChipObject/tAnalogTrigger.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tAnalogTrigger.h
rename to hal/lib/Athena/ChipObject/tAnalogTrigger.h
diff --git a/hal/Athena/src/main/native/ChipObject/tBIST.h b/hal/lib/Athena/ChipObject/tBIST.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tBIST.h
rename to hal/lib/Athena/ChipObject/tBIST.h
diff --git a/hal/Athena/src/main/native/ChipObject/tCounter.h b/hal/lib/Athena/ChipObject/tCounter.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tCounter.h
rename to hal/lib/Athena/ChipObject/tCounter.h
diff --git a/hal/Athena/src/main/native/ChipObject/tDIO.h b/hal/lib/Athena/ChipObject/tDIO.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tDIO.h
rename to hal/lib/Athena/ChipObject/tDIO.h
diff --git a/hal/Athena/src/main/native/ChipObject/tDMA.h b/hal/lib/Athena/ChipObject/tDMA.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tDMA.h
rename to hal/lib/Athena/ChipObject/tDMA.h
diff --git a/hal/Athena/src/main/native/ChipObject/tDMAManager.h b/hal/lib/Athena/ChipObject/tDMAManager.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tDMAManager.h
rename to hal/lib/Athena/ChipObject/tDMAManager.h
diff --git a/hal/Athena/src/main/native/ChipObject/tEncoder.h b/hal/lib/Athena/ChipObject/tEncoder.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tEncoder.h
rename to hal/lib/Athena/ChipObject/tEncoder.h
diff --git a/hal/Athena/src/main/native/ChipObject/tGlobal.h b/hal/lib/Athena/ChipObject/tGlobal.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tGlobal.h
rename to hal/lib/Athena/ChipObject/tGlobal.h
diff --git a/hal/Athena/src/main/native/ChipObject/tInterrupt.h b/hal/lib/Athena/ChipObject/tInterrupt.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tInterrupt.h
rename to hal/lib/Athena/ChipObject/tInterrupt.h
diff --git a/hal/Athena/src/main/native/ChipObject/tInterruptManager.h b/hal/lib/Athena/ChipObject/tInterruptManager.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tInterruptManager.h
rename to hal/lib/Athena/ChipObject/tInterruptManager.h
diff --git a/hal/Athena/src/main/native/ChipObject/tPWM.h b/hal/lib/Athena/ChipObject/tPWM.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tPWM.h
rename to hal/lib/Athena/ChipObject/tPWM.h
diff --git a/hal/Athena/src/main/native/ChipObject/tPower.h b/hal/lib/Athena/ChipObject/tPower.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tPower.h
rename to hal/lib/Athena/ChipObject/tPower.h
diff --git a/hal/Athena/src/main/native/ChipObject/tRelay.h b/hal/lib/Athena/ChipObject/tRelay.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tRelay.h
rename to hal/lib/Athena/ChipObject/tRelay.h
diff --git a/hal/Athena/src/main/native/ChipObject/tSPI.h b/hal/lib/Athena/ChipObject/tSPI.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tSPI.h
rename to hal/lib/Athena/ChipObject/tSPI.h
diff --git a/hal/Athena/src/main/native/ChipObject/tSysWatchdog.h b/hal/lib/Athena/ChipObject/tSysWatchdog.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tSysWatchdog.h
rename to hal/lib/Athena/ChipObject/tSysWatchdog.h
diff --git a/hal/Athena/src/main/native/ChipObject/tSystem.h b/hal/lib/Athena/ChipObject/tSystem.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tSystem.h
rename to hal/lib/Athena/ChipObject/tSystem.h
diff --git a/hal/Athena/src/main/native/ChipObject/tSystemInterface.h b/hal/lib/Athena/ChipObject/tSystemInterface.h
similarity index 100%
rename from hal/Athena/src/main/native/ChipObject/tSystemInterface.h
rename to hal/lib/Athena/ChipObject/tSystemInterface.h
diff --git a/hal/Athena/src/main/native/Digital.cpp b/hal/lib/Athena/Digital.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Digital.cpp
rename to hal/lib/Athena/Digital.cpp
diff --git a/hal/Athena/src/main/native/HAL.cpp b/hal/lib/Athena/HAL.cpp
similarity index 98%
rename from hal/Athena/src/main/native/HAL.cpp
rename to hal/lib/Athena/HAL.cpp
index 84a96f6dd9..1cc25049c2 100644
--- a/hal/Athena/src/main/native/HAL.cpp
+++ b/hal/lib/Athena/HAL.cpp
@@ -9,7 +9,7 @@
#include "NetworkCommunication/LoadOut.h"
#include "ChipObject/nInterfaceGlobals.h"
-// XXX: What to do with solenoids? const uint32_t solenoid_kNumDO7_0Elements = tSolenoid::kNumDO7_0Elements;
+const uint32_t solenoid_kNumDO7_0Elements = 0;
const uint32_t dio_kNumSystems = tDIO::kNumSystems;
const uint32_t interrupt_kNumSystems = tInterrupt::kNumSystems;
const uint32_t kSystemClockTicksPerMicrosecond = 40;
diff --git a/hal/Athena/src/main/native/Interrupts.cpp b/hal/lib/Athena/Interrupts.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Interrupts.cpp
rename to hal/lib/Athena/Interrupts.cpp
diff --git a/hal/Athena/src/main/include/NetworkCommunication/AICalibration.h b/hal/lib/Athena/NetworkCommunication/AICalibration.h
similarity index 100%
rename from hal/Athena/src/main/include/NetworkCommunication/AICalibration.h
rename to hal/lib/Athena/NetworkCommunication/AICalibration.h
diff --git a/hal/Athena/src/main/include/NetworkCommunication/CANInterfacePlugin.h b/hal/lib/Athena/NetworkCommunication/CANInterfacePlugin.h
similarity index 100%
rename from hal/Athena/src/main/include/NetworkCommunication/CANInterfacePlugin.h
rename to hal/lib/Athena/NetworkCommunication/CANInterfacePlugin.h
diff --git a/hal/Athena/src/main/include/NetworkCommunication/FRCComm.h b/hal/lib/Athena/NetworkCommunication/FRCComm.h
similarity index 100%
rename from hal/Athena/src/main/include/NetworkCommunication/FRCComm.h
rename to hal/lib/Athena/NetworkCommunication/FRCComm.h
diff --git a/hal/Athena/src/main/include/NetworkCommunication/JaguarCANDriver.h b/hal/lib/Athena/NetworkCommunication/JaguarCANDriver.h
similarity index 100%
rename from hal/Athena/src/main/include/NetworkCommunication/JaguarCANDriver.h
rename to hal/lib/Athena/NetworkCommunication/JaguarCANDriver.h
diff --git a/hal/Athena/src/main/include/NetworkCommunication/LoadOut.h b/hal/lib/Athena/NetworkCommunication/LoadOut.h
similarity index 100%
rename from hal/Athena/src/main/include/NetworkCommunication/LoadOut.h
rename to hal/lib/Athena/NetworkCommunication/LoadOut.h
diff --git a/hal/Athena/src/main/include/NetworkCommunication/UsageReporting.h b/hal/lib/Athena/NetworkCommunication/UsageReporting.h
similarity index 100%
rename from hal/Athena/src/main/include/NetworkCommunication/UsageReporting.h
rename to hal/lib/Athena/NetworkCommunication/UsageReporting.h
diff --git a/hal/Athena/src/main/native/Notifier.cpp b/hal/lib/Athena/Notifier.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Notifier.cpp
rename to hal/lib/Athena/Notifier.cpp
diff --git a/hal/Athena/src/main/native/Port.h b/hal/lib/Athena/Port.h
similarity index 100%
rename from hal/Athena/src/main/native/Port.h
rename to hal/lib/Athena/Port.h
diff --git a/hal/Athena/src/main/native/Semaphore.cpp b/hal/lib/Athena/Semaphore.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Semaphore.cpp
rename to hal/lib/Athena/Semaphore.cpp
diff --git a/hal/Athena/src/main/native/Solenoid.cpp b/hal/lib/Athena/Solenoid.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Solenoid.cpp
rename to hal/lib/Athena/Solenoid.cpp
diff --git a/hal/Athena/src/main/native/Task.cpp b/hal/lib/Athena/Task.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Task.cpp
rename to hal/lib/Athena/Task.cpp
diff --git a/hal/Athena/src/main/native/Utilities.cpp b/hal/lib/Athena/Utilities.cpp
similarity index 100%
rename from hal/Athena/src/main/native/Utilities.cpp
rename to hal/lib/Athena/Utilities.cpp
diff --git a/hal/Athena/src/main/native/cpp/Resource.cpp b/hal/lib/Athena/cpp/Resource.cpp
similarity index 100%
rename from hal/Athena/src/main/native/cpp/Resource.cpp
rename to hal/lib/Athena/cpp/Resource.cpp
diff --git a/hal/Athena/src/main/native/cpp/StackTrace.cpp b/hal/lib/Athena/cpp/StackTrace.cpp
similarity index 100%
rename from hal/Athena/src/main/native/cpp/StackTrace.cpp
rename to hal/lib/Athena/cpp/StackTrace.cpp
diff --git a/hal/Athena/src/main/native/cpp/Synchronized.cpp b/hal/lib/Athena/cpp/Synchronized.cpp
similarity index 100%
rename from hal/Athena/src/main/native/cpp/Synchronized.cpp
rename to hal/lib/Athena/cpp/Synchronized.cpp
diff --git a/hal/Athena/src/main/native/i2clib/i2c-lib.h b/hal/lib/Athena/i2clib/i2c-lib.h
similarity index 100%
rename from hal/Athena/src/main/native/i2clib/i2c-lib.h
rename to hal/lib/Athena/i2clib/i2c-lib.h
diff --git a/hal/Athena/src/main/native/i2clib/i2clib/environs.h b/hal/lib/Athena/i2clib/i2clib/environs.h
similarity index 100%
rename from hal/Athena/src/main/native/i2clib/i2clib/environs.h
rename to hal/lib/Athena/i2clib/i2clib/environs.h
diff --git a/hal/Athena/src/main/native/spilib/spi-lib.h b/hal/lib/Athena/spilib/spi-lib.h
similarity index 100%
rename from hal/Athena/src/main/native/spilib/spi-lib.h
rename to hal/lib/Athena/spilib/spi-lib.h
diff --git a/hal/pom.xml b/hal/pom.xml
deleted file mode 100644
index 77425c1f76..0000000000
--- a/hal/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.hal
- edu.wpi.first.wpilib.hal
- pom
- 0.1.0-SNAPSHOT
-
-
- include
- Athena
-
-
diff --git a/maven-utilities/athena/cpp-executable/pom.xml b/maven-utilities/athena/cpp-executable/pom.xml
deleted file mode 100644
index bf4e6aeb38..0000000000
--- a/maven-utilities/athena/cpp-executable/pom.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.templates.athena
- cpp-executable
- 0.1.0-SNAPSHOT
- pom
-
-
- UTF-8
- UTF-8
-
-
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- 1.0-alpha-7
- true
-
-
- arm-none-linux-gnueabi-g++
-
- -O0 -g3 -Wall
-
-
- arm-none-linux-gnueabi-g++
-
- -ldl -lpthread
-
-
-
-
- src/main/native
-
- **/*.cpp
-
-
-
-
-
-
-
-
-
-
-
- jenkins
-
-
- myrepository
- file:${local-repository}
-
-
-
-
-
diff --git a/maven-utilities/athena/pom.xml b/maven-utilities/athena/pom.xml
index ef42499ff1..c038384970 100644
--- a/maven-utilities/athena/pom.xml
+++ b/maven-utilities/athena/pom.xml
@@ -8,9 +8,6 @@
0.1.0-SNAPSHOT
- static-library
- shared-library
- cpp-executable
library-jar
diff --git a/maven-utilities/athena/shared-library/pom.xml b/maven-utilities/athena/shared-library/pom.xml
deleted file mode 100644
index f1f9d49c92..0000000000
--- a/maven-utilities/athena/shared-library/pom.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.templates.athena
- shared-library
- 0.1.0-SNAPSHOT
- pom
-
-
- UTF-8
- UTF-8
-
-
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- 1.0-alpha-7
- true
-
-
- arm-none-linux-gnueabi-g++
-
- -march=armv7-a -mcpu=cortex-a9 -mfloat-abi=softfp -fPIC
-
-
- -O0 -g3 -Wall
-
-
- arm-none-linux-gnueabi-g++
-
- -shared
-
-
- -ldl -lpthread
-
-
-
-
- src/main/native
-
- **/*.cpp
-
-
-
- src/main/include
-
-
- true
-
-
-
-
-
-
-
-
-
-
- jenkins
-
-
- myrepository
- file:${local-repository}
-
-
-
-
-
diff --git a/maven-utilities/athena/static-library/pom.xml b/maven-utilities/athena/static-library/pom.xml
deleted file mode 100644
index 95417b6e49..0000000000
--- a/maven-utilities/athena/static-library/pom.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.templates.athena
- static-library
- 0.1.0-SNAPSHOT
- pom
-
-
- UTF-8
- UTF-8
-
-
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- 1.0-alpha-7
- true
-
-
- arm-none-linux-gnueabi-g++
-
- -march=armv7-a -mcpu=cortex-a9 -mfloat-abi=softfp -fPIC
-
-
- -O0 -g3 -Wall
-
-
- arm-none-linux-gnueabi-ar*
-
- -r
-
-
-
-
- src/main/native
-
- **/*.cpp
-
-
-
- src/main/include
-
-
- true
-
-
-
-
-
-
-
-
- org.eclipse.m2e
- lifecycle-mapping
- 1.0.0
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- [0.0,)
-
- unzipinc
- initialize
- compile
- link
- javah
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- jenkins
-
-
- myrepository
- file:${local-repository}
-
-
-
-
-
diff --git a/networktables/.gitignore b/networktables/.gitignore
index 0cd54c0a43..9e93842499 100644
--- a/networktables/.gitignore
+++ b/networktables/.gitignore
@@ -2,4 +2,5 @@
target/
build/
dist/
-/OutlineViewer/nbproject/private/
\ No newline at end of file
+cpp/build/
+/OutlineViewer/nbproject/private/
diff --git a/networktables/cpp/.cproject b/networktables/cpp/.cproject
deleted file mode 100644
index 8b65368a1b..0000000000
--- a/networktables/cpp/.cproject
+++ /dev/null
@@ -1,182 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/networktables/cpp/.project b/networktables/cpp/.project
deleted file mode 100644
index 16da7e8d4b..0000000000
--- a/networktables/cpp/.project
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
- NewNetworkTables
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- org.eclipse.m2e.core.maven2Nature
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.core.ccnature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
- edu.wpi.first.wpilib.plugins.core.nature.FRCProjectNature
-
-
diff --git a/networktables/cpp/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/networktables/cpp/.settings/org.eclipse.cdt.managedbuilder.core.prefs
deleted file mode 100644
index 6c86b026a4..0000000000
--- a/networktables/cpp/.settings/org.eclipse.cdt.managedbuilder.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/CPATH/delimiter=\:
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/CPATH/operation=remove
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/CPLUS_INCLUDE_PATH/delimiter=\:
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/CPLUS_INCLUDE_PATH/operation=remove
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/C_INCLUDE_PATH/delimiter=\:
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/C_INCLUDE_PATH/operation=remove
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/append=true
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/appendContributed=true
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/append=true
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.cross.exe.debug.418253318/appendContributed=true
diff --git a/networktables/cpp/Athena/pom.xml b/networktables/cpp/Athena/pom.xml
deleted file mode 100644
index 08e685bab1..0000000000
--- a/networktables/cpp/Athena/pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.networktables.cpp
- libNetworkTablesAthena
- a
-
-
- edu.wpi.first.wpilib.templates.athena
- static-library
- 0.1.0-SNAPSHOT
- ../../../maven-utilities/athena/static-library/pom.xml
-
-
-
-
- edu.wpi.first.wpilib.networktables.cpp
- include
- 0.1.0-SNAPSHOT
- inczip
-
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
-
-
-
- src/main/native
-
- **/*.cpp
-
-
-
- ../parent/src/main/native
-
- **/*.cpp
-
-
-
-
-
-
-
-
diff --git a/networktables/cpp/CMakeLists.txt b/networktables/cpp/CMakeLists.txt
new file mode 100644
index 0000000000..b110e0061c
--- /dev/null
+++ b/networktables/cpp/CMakeLists.txt
@@ -0,0 +1,13 @@
+cmake_minimum_required(VERSION 2.8)
+project(NetworkTables)
+
+file(GLOB_RECURSE SRC_TARGET_FILES lib/Athena/*.cpp)
+file(GLOB_RECURSE SRC_SHARE_FILES lib/share/*.cpp)
+include_directories(include)
+add_library(NetworkTables SHARED ${SRC_SHARE_FILES} ${SRC_TARGET_FILES})
+target_link_libraries(NetworkTables ${NI_LIBS})
+INSTALL(TARGETS NetworkTables LIBRARY DESTINATION lib)
+INSTALL(DIRECTORY include DESTINATION ${CMAKE_INSTALL_PREFIX})
+# lib/ c gcc_s ld-linux
+# usr/lib stdc++
+# NiRioSrv
diff --git a/networktables/cpp/include/src/main/include/NTErrorBase.h b/networktables/cpp/include/NTErrorBase.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/NTErrorBase.h
rename to networktables/cpp/include/NTErrorBase.h
diff --git a/networktables/cpp/include/src/main/include/OSAL/Synchronized.h b/networktables/cpp/include/OSAL/Synchronized.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/OSAL/Synchronized.h
rename to networktables/cpp/include/OSAL/Synchronized.h
diff --git a/networktables/cpp/include/src/main/include/OSAL/Task.h b/networktables/cpp/include/OSAL/Task.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/OSAL/Task.h
rename to networktables/cpp/include/OSAL/Task.h
diff --git a/networktables/cpp/include/src/main/include/networktables/NetworkTable.h b/networktables/cpp/include/networktables/NetworkTable.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables/NetworkTable.h
rename to networktables/cpp/include/networktables/NetworkTable.h
diff --git a/networktables/cpp/include/src/main/include/networktables/NetworkTableConnectionListenerAdapter.h b/networktables/cpp/include/networktables/NetworkTableConnectionListenerAdapter.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables/NetworkTableConnectionListenerAdapter.h
rename to networktables/cpp/include/networktables/NetworkTableConnectionListenerAdapter.h
diff --git a/networktables/cpp/include/src/main/include/networktables/NetworkTableKeyListenerAdapter.h b/networktables/cpp/include/networktables/NetworkTableKeyListenerAdapter.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables/NetworkTableKeyListenerAdapter.h
rename to networktables/cpp/include/networktables/NetworkTableKeyListenerAdapter.h
diff --git a/networktables/cpp/include/src/main/include/networktables/NetworkTableListenerAdapter.h b/networktables/cpp/include/networktables/NetworkTableListenerAdapter.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables/NetworkTableListenerAdapter.h
rename to networktables/cpp/include/networktables/NetworkTableListenerAdapter.h
diff --git a/networktables/cpp/include/src/main/include/networktables/NetworkTableMode.h b/networktables/cpp/include/networktables/NetworkTableMode.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables/NetworkTableMode.h
rename to networktables/cpp/include/networktables/NetworkTableMode.h
diff --git a/networktables/cpp/include/src/main/include/networktables/NetworkTableProvider.h b/networktables/cpp/include/networktables/NetworkTableProvider.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables/NetworkTableProvider.h
rename to networktables/cpp/include/networktables/NetworkTableProvider.h
diff --git a/networktables/cpp/include/src/main/include/networktables/NetworkTableSubListenerAdapter.h b/networktables/cpp/include/networktables/NetworkTableSubListenerAdapter.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables/NetworkTableSubListenerAdapter.h
rename to networktables/cpp/include/networktables/NetworkTableSubListenerAdapter.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/AbstractNetworkTableEntryStore.h b/networktables/cpp/include/networktables2/AbstractNetworkTableEntryStore.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/AbstractNetworkTableEntryStore.h
rename to networktables/cpp/include/networktables2/AbstractNetworkTableEntryStore.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/FlushableOutgoingEntryReceiver.h b/networktables/cpp/include/networktables2/FlushableOutgoingEntryReceiver.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/FlushableOutgoingEntryReceiver.h
rename to networktables/cpp/include/networktables2/FlushableOutgoingEntryReceiver.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/IncomingEntryReceiver.h b/networktables/cpp/include/networktables2/IncomingEntryReceiver.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/IncomingEntryReceiver.h
rename to networktables/cpp/include/networktables2/IncomingEntryReceiver.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/NetworkTableEntry.h b/networktables/cpp/include/networktables2/NetworkTableEntry.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/NetworkTableEntry.h
rename to networktables/cpp/include/networktables2/NetworkTableEntry.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/NetworkTableMessageType.h b/networktables/cpp/include/networktables2/NetworkTableMessageType.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/NetworkTableMessageType.h
rename to networktables/cpp/include/networktables2/NetworkTableMessageType.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/NetworkTableNode.h b/networktables/cpp/include/networktables2/NetworkTableNode.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/NetworkTableNode.h
rename to networktables/cpp/include/networktables2/NetworkTableNode.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/OutgoingEntryReceiver.h b/networktables/cpp/include/networktables2/OutgoingEntryReceiver.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/OutgoingEntryReceiver.h
rename to networktables/cpp/include/networktables2/OutgoingEntryReceiver.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/TableKeyExistsWithDifferentTypeException.h b/networktables/cpp/include/networktables2/TableKeyExistsWithDifferentTypeException.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/TableKeyExistsWithDifferentTypeException.h
rename to networktables/cpp/include/networktables2/TableKeyExistsWithDifferentTypeException.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/TransactionDirtier.h b/networktables/cpp/include/networktables2/TransactionDirtier.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/TransactionDirtier.h
rename to networktables/cpp/include/networktables2/TransactionDirtier.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/WriteManager.h b/networktables/cpp/include/networktables2/WriteManager.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/WriteManager.h
rename to networktables/cpp/include/networktables2/WriteManager.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/client/ClientConnectionAdapter.h b/networktables/cpp/include/networktables2/client/ClientConnectionAdapter.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/client/ClientConnectionAdapter.h
rename to networktables/cpp/include/networktables2/client/ClientConnectionAdapter.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/client/ClientConnectionListenerManager.h b/networktables/cpp/include/networktables2/client/ClientConnectionListenerManager.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/client/ClientConnectionListenerManager.h
rename to networktables/cpp/include/networktables2/client/ClientConnectionListenerManager.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/client/ClientConnectionState.h b/networktables/cpp/include/networktables2/client/ClientConnectionState.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/client/ClientConnectionState.h
rename to networktables/cpp/include/networktables2/client/ClientConnectionState.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/client/ClientNetworkTableEntryStore.h b/networktables/cpp/include/networktables2/client/ClientNetworkTableEntryStore.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/client/ClientNetworkTableEntryStore.h
rename to networktables/cpp/include/networktables2/client/ClientNetworkTableEntryStore.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/client/NetworkTableClient.h b/networktables/cpp/include/networktables2/client/NetworkTableClient.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/client/NetworkTableClient.h
rename to networktables/cpp/include/networktables2/client/NetworkTableClient.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/connection/BadMessageException.h b/networktables/cpp/include/networktables2/connection/BadMessageException.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/connection/BadMessageException.h
rename to networktables/cpp/include/networktables2/connection/BadMessageException.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/connection/ConnectionAdapter.h b/networktables/cpp/include/networktables2/connection/ConnectionAdapter.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/connection/ConnectionAdapter.h
rename to networktables/cpp/include/networktables2/connection/ConnectionAdapter.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/connection/ConnectionMonitorThread.h b/networktables/cpp/include/networktables2/connection/ConnectionMonitorThread.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/connection/ConnectionMonitorThread.h
rename to networktables/cpp/include/networktables2/connection/ConnectionMonitorThread.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/connection/DataIOStream.h b/networktables/cpp/include/networktables2/connection/DataIOStream.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/connection/DataIOStream.h
rename to networktables/cpp/include/networktables2/connection/DataIOStream.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/connection/NetworkTableConnection.h b/networktables/cpp/include/networktables2/connection/NetworkTableConnection.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/connection/NetworkTableConnection.h
rename to networktables/cpp/include/networktables2/connection/NetworkTableConnection.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/NetworkTableServer.h b/networktables/cpp/include/networktables2/server/NetworkTableServer.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/NetworkTableServer.h
rename to networktables/cpp/include/networktables2/server/NetworkTableServer.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/ServerAdapterManager.h b/networktables/cpp/include/networktables2/server/ServerAdapterManager.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/ServerAdapterManager.h
rename to networktables/cpp/include/networktables2/server/ServerAdapterManager.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/ServerConnectionAdapter.h b/networktables/cpp/include/networktables2/server/ServerConnectionAdapter.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/ServerConnectionAdapter.h
rename to networktables/cpp/include/networktables2/server/ServerConnectionAdapter.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/ServerConnectionList.h b/networktables/cpp/include/networktables2/server/ServerConnectionList.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/ServerConnectionList.h
rename to networktables/cpp/include/networktables2/server/ServerConnectionList.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/ServerConnectionState.h b/networktables/cpp/include/networktables2/server/ServerConnectionState.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/ServerConnectionState.h
rename to networktables/cpp/include/networktables2/server/ServerConnectionState.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/ServerIncomingConnectionListener.h b/networktables/cpp/include/networktables2/server/ServerIncomingConnectionListener.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/ServerIncomingConnectionListener.h
rename to networktables/cpp/include/networktables2/server/ServerIncomingConnectionListener.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/ServerIncomingStreamMonitor.h b/networktables/cpp/include/networktables2/server/ServerIncomingStreamMonitor.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/ServerIncomingStreamMonitor.h
rename to networktables/cpp/include/networktables2/server/ServerIncomingStreamMonitor.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/server/ServerNetworkTableEntryStore.h b/networktables/cpp/include/networktables2/server/ServerNetworkTableEntryStore.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/server/ServerNetworkTableEntryStore.h
rename to networktables/cpp/include/networktables2/server/ServerNetworkTableEntryStore.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/stream/FDIOStream.h b/networktables/cpp/include/networktables2/stream/FDIOStream.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/stream/FDIOStream.h
rename to networktables/cpp/include/networktables2/stream/FDIOStream.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/stream/IOStream.h b/networktables/cpp/include/networktables2/stream/IOStream.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/stream/IOStream.h
rename to networktables/cpp/include/networktables2/stream/IOStream.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/stream/IOStreamFactory.h b/networktables/cpp/include/networktables2/stream/IOStreamFactory.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/stream/IOStreamFactory.h
rename to networktables/cpp/include/networktables2/stream/IOStreamFactory.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/stream/IOStreamProvider.h b/networktables/cpp/include/networktables2/stream/IOStreamProvider.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/stream/IOStreamProvider.h
rename to networktables/cpp/include/networktables2/stream/IOStreamProvider.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/stream/SocketServerStreamProvider.h b/networktables/cpp/include/networktables2/stream/SocketServerStreamProvider.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/stream/SocketServerStreamProvider.h
rename to networktables/cpp/include/networktables2/stream/SocketServerStreamProvider.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/stream/SocketStreamFactory.h b/networktables/cpp/include/networktables2/stream/SocketStreamFactory.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/stream/SocketStreamFactory.h
rename to networktables/cpp/include/networktables2/stream/SocketStreamFactory.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/stream/SocketStreams.h b/networktables/cpp/include/networktables2/stream/SocketStreams.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/stream/SocketStreams.h
rename to networktables/cpp/include/networktables2/stream/SocketStreams.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/thread/DefaultThreadManager.h b/networktables/cpp/include/networktables2/thread/DefaultThreadManager.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/thread/DefaultThreadManager.h
rename to networktables/cpp/include/networktables2/thread/DefaultThreadManager.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/thread/NTThread.h b/networktables/cpp/include/networktables2/thread/NTThread.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/thread/NTThread.h
rename to networktables/cpp/include/networktables2/thread/NTThread.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/thread/NTThreadManager.h b/networktables/cpp/include/networktables2/thread/NTThreadManager.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/thread/NTThreadManager.h
rename to networktables/cpp/include/networktables2/thread/NTThreadManager.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/thread/PeriodicRunnable.h b/networktables/cpp/include/networktables2/thread/PeriodicRunnable.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/thread/PeriodicRunnable.h
rename to networktables/cpp/include/networktables2/thread/PeriodicRunnable.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/ArrayData.h b/networktables/cpp/include/networktables2/type/ArrayData.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/ArrayData.h
rename to networktables/cpp/include/networktables2/type/ArrayData.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/ArrayEntryType.h b/networktables/cpp/include/networktables2/type/ArrayEntryType.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/ArrayEntryType.h
rename to networktables/cpp/include/networktables2/type/ArrayEntryType.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/BooleanArray.h b/networktables/cpp/include/networktables2/type/BooleanArray.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/BooleanArray.h
rename to networktables/cpp/include/networktables2/type/BooleanArray.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/ComplexData.h b/networktables/cpp/include/networktables2/type/ComplexData.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/ComplexData.h
rename to networktables/cpp/include/networktables2/type/ComplexData.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/ComplexEntryType.h b/networktables/cpp/include/networktables2/type/ComplexEntryType.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/ComplexEntryType.h
rename to networktables/cpp/include/networktables2/type/ComplexEntryType.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/DefaultEntryTypes.h b/networktables/cpp/include/networktables2/type/DefaultEntryTypes.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/DefaultEntryTypes.h
rename to networktables/cpp/include/networktables2/type/DefaultEntryTypes.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/NetworkTableEntryType.h b/networktables/cpp/include/networktables2/type/NetworkTableEntryType.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/NetworkTableEntryType.h
rename to networktables/cpp/include/networktables2/type/NetworkTableEntryType.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/NetworkTableEntryTypeManager.h b/networktables/cpp/include/networktables2/type/NetworkTableEntryTypeManager.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/NetworkTableEntryTypeManager.h
rename to networktables/cpp/include/networktables2/type/NetworkTableEntryTypeManager.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/NumberArray.h b/networktables/cpp/include/networktables2/type/NumberArray.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/NumberArray.h
rename to networktables/cpp/include/networktables2/type/NumberArray.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/type/StringArray.h b/networktables/cpp/include/networktables2/type/StringArray.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/type/StringArray.h
rename to networktables/cpp/include/networktables2/type/StringArray.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/util/EOFException.h b/networktables/cpp/include/networktables2/util/EOFException.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/util/EOFException.h
rename to networktables/cpp/include/networktables2/util/EOFException.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/util/IOException.h b/networktables/cpp/include/networktables2/util/IOException.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/util/IOException.h
rename to networktables/cpp/include/networktables2/util/IOException.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/util/IllegalStateException.h b/networktables/cpp/include/networktables2/util/IllegalStateException.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/util/IllegalStateException.h
rename to networktables/cpp/include/networktables2/util/IllegalStateException.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/util/StringCache.h b/networktables/cpp/include/networktables2/util/StringCache.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/util/StringCache.h
rename to networktables/cpp/include/networktables2/util/StringCache.h
diff --git a/networktables/cpp/include/src/main/include/networktables2/util/System.h b/networktables/cpp/include/networktables2/util/System.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/networktables2/util/System.h
rename to networktables/cpp/include/networktables2/util/System.h
diff --git a/networktables/cpp/include/pom.xml b/networktables/cpp/include/pom.xml
deleted file mode 100644
index 01497e4e3a..0000000000
--- a/networktables/cpp/include/pom.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.networktables.cpp
- include
- a
-
-
- edu.wpi.first.wpilib.templates
- include
- 0.1.0-SNAPSHOT
- ../../../maven-utilities/include
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
-
-
-
-
diff --git a/networktables/cpp/include/src/main/include/tables/IRemote.h b/networktables/cpp/include/tables/IRemote.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/tables/IRemote.h
rename to networktables/cpp/include/tables/IRemote.h
diff --git a/networktables/cpp/include/src/main/include/tables/IRemoteConnectionListener.h b/networktables/cpp/include/tables/IRemoteConnectionListener.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/tables/IRemoteConnectionListener.h
rename to networktables/cpp/include/tables/IRemoteConnectionListener.h
diff --git a/networktables/cpp/include/src/main/include/tables/ITable.h b/networktables/cpp/include/tables/ITable.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/tables/ITable.h
rename to networktables/cpp/include/tables/ITable.h
diff --git a/networktables/cpp/include/src/main/include/tables/ITableListener.h b/networktables/cpp/include/tables/ITableListener.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/tables/ITableListener.h
rename to networktables/cpp/include/tables/ITableListener.h
diff --git a/networktables/cpp/include/src/main/include/tables/ITableProvider.h b/networktables/cpp/include/tables/ITableProvider.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/tables/ITableProvider.h
rename to networktables/cpp/include/tables/ITableProvider.h
diff --git a/networktables/cpp/include/src/main/include/tables/TableKeyNotDefinedException.h b/networktables/cpp/include/tables/TableKeyNotDefinedException.h
similarity index 100%
rename from networktables/cpp/include/src/main/include/tables/TableKeyNotDefinedException.h
rename to networktables/cpp/include/tables/TableKeyNotDefinedException.h
diff --git a/networktables/cpp/Athena/src/main/native/OSAL/Synchronized.cpp b/networktables/cpp/lib/Athena/OSAL/Synchronized.cpp
similarity index 100%
rename from networktables/cpp/Athena/src/main/native/OSAL/Synchronized.cpp
rename to networktables/cpp/lib/Athena/OSAL/Synchronized.cpp
diff --git a/networktables/cpp/Athena/src/main/native/OSAL/System.cpp b/networktables/cpp/lib/Athena/OSAL/System.cpp
similarity index 100%
rename from networktables/cpp/Athena/src/main/native/OSAL/System.cpp
rename to networktables/cpp/lib/Athena/OSAL/System.cpp
diff --git a/networktables/cpp/Athena/src/main/native/networktables2/stream/FDIOStream.cpp b/networktables/cpp/lib/Athena/networktables2/stream/FDIOStream.cpp
similarity index 100%
rename from networktables/cpp/Athena/src/main/native/networktables2/stream/FDIOStream.cpp
rename to networktables/cpp/lib/Athena/networktables2/stream/FDIOStream.cpp
diff --git a/networktables/cpp/Athena/src/main/native/networktables2/stream/SocketServerStreamProvider.cpp b/networktables/cpp/lib/Athena/networktables2/stream/SocketServerStreamProvider.cpp
similarity index 100%
rename from networktables/cpp/Athena/src/main/native/networktables2/stream/SocketServerStreamProvider.cpp
rename to networktables/cpp/lib/Athena/networktables2/stream/SocketServerStreamProvider.cpp
diff --git a/networktables/cpp/Athena/src/main/native/networktables2/stream/SocketStreamFactory.cpp b/networktables/cpp/lib/Athena/networktables2/stream/SocketStreamFactory.cpp
similarity index 100%
rename from networktables/cpp/Athena/src/main/native/networktables2/stream/SocketStreamFactory.cpp
rename to networktables/cpp/lib/Athena/networktables2/stream/SocketStreamFactory.cpp
diff --git a/networktables/cpp/Athena/src/main/native/networktables2/stream/SocketStreams.cpp b/networktables/cpp/lib/Athena/networktables2/stream/SocketStreams.cpp
similarity index 100%
rename from networktables/cpp/Athena/src/main/native/networktables2/stream/SocketStreams.cpp
rename to networktables/cpp/lib/Athena/networktables2/stream/SocketStreams.cpp
diff --git a/networktables/cpp/Athena/src/main/native/networktables2/thread/DefaultThreadManager.cpp b/networktables/cpp/lib/Athena/networktables2/thread/DefaultThreadManager.cpp
similarity index 100%
rename from networktables/cpp/Athena/src/main/native/networktables2/thread/DefaultThreadManager.cpp
rename to networktables/cpp/lib/Athena/networktables2/thread/DefaultThreadManager.cpp
diff --git a/networktables/cpp/Desktop/pom.xml b/networktables/cpp/lib/Desktop/pom.xml
similarity index 100%
rename from networktables/cpp/Desktop/pom.xml
rename to networktables/cpp/lib/Desktop/pom.xml
diff --git a/networktables/cpp/Desktop/src/test/ant/ant/cpptasks.jar b/networktables/cpp/lib/Desktop/src/test/ant/ant/cpptasks.jar
similarity index 100%
rename from networktables/cpp/Desktop/src/test/ant/ant/cpptasks.jar
rename to networktables/cpp/lib/Desktop/src/test/ant/ant/cpptasks.jar
diff --git a/networktables/cpp/Desktop/src/test/ant/build.properties b/networktables/cpp/lib/Desktop/src/test/ant/build.properties
similarity index 100%
rename from networktables/cpp/Desktop/src/test/ant/build.properties
rename to networktables/cpp/lib/Desktop/src/test/ant/build.properties
diff --git a/networktables/cpp/Desktop/src/test/ant/build.xml b/networktables/cpp/lib/Desktop/src/test/ant/build.xml
similarity index 100%
rename from networktables/cpp/Desktop/src/test/ant/build.xml
rename to networktables/cpp/lib/Desktop/src/test/ant/build.xml
diff --git a/networktables/cpp/Desktop/src/test/ant/test.xml b/networktables/cpp/lib/Desktop/src/test/ant/test.xml
similarity index 100%
rename from networktables/cpp/Desktop/src/test/ant/test.xml
rename to networktables/cpp/lib/Desktop/src/test/ant/test.xml
diff --git a/networktables/cpp/Desktop/src/test/native/broken-tests/ConnectionListTests.cpp b/networktables/cpp/lib/Desktop/src/test/native/broken-tests/ConnectionListTests.cpp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/broken-tests/ConnectionListTests.cpp
rename to networktables/cpp/lib/Desktop/src/test/native/broken-tests/ConnectionListTests.cpp
diff --git a/networktables/cpp/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockNetworkTableEntry.h b/networktables/cpp/lib/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockNetworkTableEntry.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockNetworkTableEntry.h
rename to networktables/cpp/lib/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockNetworkTableEntry.h
diff --git a/networktables/cpp/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockOutgoingEntryReceiver.h b/networktables/cpp/lib/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockOutgoingEntryReceiver.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockOutgoingEntryReceiver.h
rename to networktables/cpp/lib/Desktop/src/test/native/broken-tests/include/mocks/networktables2/MockOutgoingEntryReceiver.h
diff --git a/networktables/cpp/Desktop/src/test/native/broken-tests/tests/networktables2/util/UStringTest.cpp b/networktables/cpp/lib/Desktop/src/test/native/broken-tests/tests/networktables2/util/UStringTest.cpp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/broken-tests/tests/networktables2/util/UStringTest.cpp
rename to networktables/cpp/lib/Desktop/src/test/native/broken-tests/tests/networktables2/util/UStringTest.cpp
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/include/ByteArrayIOStream.h b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/ByteArrayIOStream.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/include/ByteArrayIOStream.h
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/ByteArrayIOStream.h
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/include/TesterTemplate.h b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/TesterTemplate.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/include/TesterTemplate.h
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/TesterTemplate.h
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/IOStreamProviderMock.h b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/IOStreamProviderMock.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/IOStreamProviderMock.h
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/IOStreamProviderMock.h
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/MockServerConnectionAdapter.h b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/MockServerConnectionAdapter.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/MockServerConnectionAdapter.h
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/MockServerConnectionAdapter.h
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadManagerMock.h b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadManagerMock.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadManagerMock.h
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadManagerMock.h
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadMock.h b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadMock.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadMock.h
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NTThreadMock.h
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NetworkTableEntry.h b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NetworkTableEntry.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NetworkTableEntry.h
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/include/mocks/networktables2/NetworkTableEntry.h
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/tests/ByteArrayIOStream.cpp b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/tests/ByteArrayIOStream.cpp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/tests/ByteArrayIOStream.cpp
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/tests/ByteArrayIOStream.cpp
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/tests/networktables2/server/ServerTest.cpp b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/tests/networktables2/server/ServerTest.cpp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/tests/networktables2/server/ServerTest.cpp
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/tests/networktables2/server/ServerTest.cpp
diff --git a/networktables/cpp/Desktop/src/test/native/desktop-test/tests/networktables2/type/EntryTypeTest.cpp b/networktables/cpp/lib/Desktop/src/test/native/desktop-test/tests/networktables2/type/EntryTypeTest.cpp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/desktop-test/tests/networktables2/type/EntryTypeTest.cpp
rename to networktables/cpp/lib/Desktop/src/test/native/desktop-test/tests/networktables2/type/EntryTypeTest.cpp
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/CHANGES b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/CHANGES
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/CHANGES
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/CHANGES
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/CMakeLists.txt b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/CMakeLists.txt
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/CMakeLists.txt
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/CMakeLists.txt
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/CONTRIBUTORS b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/CONTRIBUTORS
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/CONTRIBUTORS
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/CONTRIBUTORS
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/COPYING b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/COPYING
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/COPYING
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/COPYING
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/Makefile.am b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/Makefile.am
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/Makefile.am
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/Makefile.am
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/Makefile.in b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/Makefile.in
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/Makefile.in
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/Makefile.in
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/README b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/README
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/README
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/README
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/aclocal.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/aclocal.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/aclocal.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/aclocal.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/config.guess b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/config.guess
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/config.guess
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/config.guess
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/config.h.in b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/config.h.in
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/config.h.in
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/config.h.in
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/config.sub b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/config.sub
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/config.sub
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/config.sub
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/depcomp b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/depcomp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/depcomp
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/depcomp
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/install-sh b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/install-sh
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/install-sh
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/install-sh
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/ltmain.sh b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/ltmain.sh
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/ltmain.sh
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/ltmain.sh
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/missing b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/missing
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/build-aux/missing
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/build-aux/missing
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/configure b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/configure
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/configure
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/configure
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/configure.ac b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/configure.ac
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/configure.ac
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/configure.ac
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock-gtest-all.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock-gtest-all.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock-gtest-all.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock-gtest-all.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock/gmock.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock/gmock.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock/gmock.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock/gmock.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock_main.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock_main.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock_main.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gmock_main.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gtest/gtest.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gtest/gtest.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/fused-src/gtest/gtest.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/fused-src/gtest/gtest.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/CHANGES b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/CHANGES
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/CHANGES
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/CHANGES
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/CMakeLists.txt b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/CMakeLists.txt
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/CMakeLists.txt
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/CMakeLists.txt
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/CONTRIBUTORS b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/CONTRIBUTORS
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/CONTRIBUTORS
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/CONTRIBUTORS
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/COPYING b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/COPYING
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/COPYING
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/COPYING
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.am b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.am
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.am
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.am
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.in b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.in
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.in
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/Makefile.in
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/README b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/README
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/README
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/README
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/aclocal.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/aclocal.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/aclocal.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/aclocal.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.guess b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.guess
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.guess
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.guess
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.h.in b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.h.in
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.h.in
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.h.in
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.sub b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.sub
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.sub
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/config.sub
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/depcomp b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/depcomp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/depcomp
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/depcomp
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/install-sh b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/install-sh
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/install-sh
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/install-sh
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/ltmain.sh b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/ltmain.sh
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/ltmain.sh
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/ltmain.sh
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/missing b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/missing
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/missing
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/build-aux/missing
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/cmake/internal_utils.cmake b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/cmake/internal_utils.cmake
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/cmake/internal_utils.cmake
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/cmake/internal_utils.cmake
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.cbproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.cbproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.cbproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.cbproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.groupproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.groupproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.groupproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest.groupproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_all.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_all.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_all.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_all.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_link.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_link.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_link.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_link.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_main.cbproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_main.cbproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_main.cbproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_main.cbproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_unittest.cbproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_unittest.cbproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_unittest.cbproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/codegear/gtest_unittest.cbproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/configure b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/configure
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/configure
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/configure
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/configure.ac b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/configure.ac
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/configure.ac
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/configure.ac
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest-all.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest-all.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest-all.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest-all.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest_main.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest_main.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest_main.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/fused-src/gtest/gtest_main.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-death-test.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-death-test.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-death-test.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-death-test.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-message.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-message.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-message.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-message.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-param-test.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-printers.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-printers.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-printers.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-printers.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-spi.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-spi.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-spi.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-spi.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-test-part.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-test-part.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-test-part.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-test-part.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-typed-test.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-typed-test.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-typed-test.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest-typed-test.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_pred_impl.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_pred_impl.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_pred_impl.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_pred_impl.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_prod.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_prod.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_prod.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/gtest_prod.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-death-test-internal.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-death-test-internal.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-death-test-internal.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-death-test-internal.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-filepath.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-filepath.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-filepath.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-filepath.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util-generated.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-param-util.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-string.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-string.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-string.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-string.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-tuple.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/include/gtest/internal/gtest-type-util.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/acx_pthread.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/acx_pthread.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/acx_pthread.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/acx_pthread.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/gtest.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/gtest.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/gtest.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/gtest.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/libtool.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/libtool.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/libtool.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/libtool.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltoptions.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltoptions.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltoptions.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltoptions.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltsugar.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltsugar.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltsugar.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltsugar.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltversion.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltversion.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltversion.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/ltversion.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/lt~obsolete.m4 b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/lt~obsolete.m4
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/m4/lt~obsolete.m4
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/m4/lt~obsolete.m4
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/make/Makefile b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/make/Makefile
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/make/Makefile
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/make/Makefile
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.sln b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.sln
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.sln
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.sln
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest-md.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.sln b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.sln
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.sln
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.sln
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main-md.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main-md.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main-md.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main-md.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_main.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test-md.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test-md.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test-md.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test-md.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_prod_test.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest-md.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest-md.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest-md.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest-md.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/msvc/gtest_unittest.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/prime_tables.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/prime_tables.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/prime_tables.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/prime_tables.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample10_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample10_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample10_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample10_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample1_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample2_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3-inl.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3-inl.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3-inl.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3-inl.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample3_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample4_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample5_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample5_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample5_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample5_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample6_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample6_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample6_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample6_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample7_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample7_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample7_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample7_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample8_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample8_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample8_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample8_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample9_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample9_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample9_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/samples/sample9_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/fuse_gtest_files.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/fuse_gtest_files.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/fuse_gtest_files.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/fuse_gtest_files.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gen_gtest_pred_impl.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gen_gtest_pred_impl.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gen_gtest_pred_impl.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gen_gtest_pred_impl.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gtest-config.in b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gtest-config.in
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gtest-config.in
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/gtest-config.in
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/pump.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/pump.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/pump.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/pump.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/test/Makefile b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/test/Makefile
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/test/Makefile
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/scripts/test/Makefile
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-all.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-all.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-all.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-all.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-death-test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-death-test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-death-test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-death-test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-filepath.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-filepath.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-filepath.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-filepath.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-internal-inl.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-internal-inl.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-internal-inl.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-internal-inl.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-port.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-port.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-port.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-port.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-printers.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-printers.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-printers.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-printers.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-test-part.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-test-part.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-test-part.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-test-part.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-typed-test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-typed-test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-typed-test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest-typed-test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest_main.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest_main.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest_main.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/src/gtest_main.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_ex_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_ex_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_ex_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_ex_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-death-test_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-filepath_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-filepath_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-filepath_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-filepath_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-linked_ptr_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-linked_ptr_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-linked_ptr_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-linked_ptr_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-listener_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-listener_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-listener_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-listener_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-message_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-message_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-message_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-message_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-options_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-options_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-options_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-options_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test2_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test2_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test2_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test2_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-param-test_test.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-port_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-port_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-port_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-port_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-printers_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-printers_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-printers_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-printers_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-test-part_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-test-part_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-test-part_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-test-part_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-tuple_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-tuple_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-tuple_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-tuple_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test2_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test2_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test2_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test2_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-typed-test_test.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-unittest-api_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-unittest-api_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-unittest-api_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest-unittest-api_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_all_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_all_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_all_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_all_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_break_on_failure_unittest_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_catch_exceptions_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_color_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_env_var_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_environment_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_environment_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_environment_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_environment_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_filter_unittest_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_help_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_list_tests_unittest_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_main_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_main_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_main_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_main_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_no_test_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_no_test_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_no_test_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_no_test_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_golden_lin.txt b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_golden_lin.txt
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_golden_lin.txt
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_output_test_golden_lin.txt
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_pred_impl_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_pred_impl_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_pred_impl_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_pred_impl_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_prod_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_prod_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_prod_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_prod_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_repeat_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_repeat_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_repeat_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_repeat_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_shuffle_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_sole_header_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_sole_header_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_sole_header_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_sole_header_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_stress_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_stress_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_stress_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_stress_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_test_utils.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_test_utils.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_test_utils.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_test_utils.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_ex_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_ex_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_ex_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_ex_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_throw_on_failure_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_uninitialized_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_unittest.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_unittest.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_unittest.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_unittest.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile1_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile1_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile1_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile1_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile2_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile2_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile2_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfile2_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfiles_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfiles_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfiles_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_outfiles_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_output_unittest_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_test_utils.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_test_utils.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_test_utils.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/gtest_xml_test_utils.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/test/production.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/DebugProject.xcconfig b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/DebugProject.xcconfig
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/DebugProject.xcconfig
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/DebugProject.xcconfig
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/FrameworkTarget.xcconfig b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/FrameworkTarget.xcconfig
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/FrameworkTarget.xcconfig
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/FrameworkTarget.xcconfig
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/General.xcconfig b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/General.xcconfig
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/General.xcconfig
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/General.xcconfig
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/ReleaseProject.xcconfig b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/ReleaseProject.xcconfig
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/ReleaseProject.xcconfig
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/ReleaseProject.xcconfig
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/StaticLibraryTarget.xcconfig b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/StaticLibraryTarget.xcconfig
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/StaticLibraryTarget.xcconfig
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/StaticLibraryTarget.xcconfig
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/TestTarget.xcconfig b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/TestTarget.xcconfig
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/TestTarget.xcconfig
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Config/TestTarget.xcconfig
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Resources/Info.plist b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Resources/Info.plist
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Resources/Info.plist
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Resources/Info.plist
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/Info.plist b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/Info.plist
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/Info.plist
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/Info.plist
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/runtests.sh b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/runtests.sh
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/runtests.sh
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/runtests.sh
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Samples/FrameworkSample/widget_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/runtests.sh b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/runtests.sh
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/runtests.sh
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/runtests.sh
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/versiongenerate.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/versiongenerate.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/versiongenerate.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/Scripts/versiongenerate.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/gtest.xcodeproj/project.pbxproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/gtest.xcodeproj/project.pbxproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/gtest.xcodeproj/project.pbxproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/gtest/xcode/gtest.xcodeproj/project.pbxproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-actions.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-actions.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-actions.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-actions.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-cardinalities.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-cardinalities.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-cardinalities.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-cardinalities.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-actions.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-matchers.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-generated-nice-strict.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-matchers.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-matchers.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-matchers.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-matchers.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-more-actions.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-more-actions.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-more-actions.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-more-actions.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-spec-builders.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-spec-builders.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-spec-builders.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock-spec-builders.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/gmock.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h.pump b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h.pump
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h.pump
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h.pump
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-port.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-port.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-port.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/include/gmock/internal/gmock-port.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/make/Makefile b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/make/Makefile
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/make/Makefile
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/make/Makefile
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.sln b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.sln
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.sln
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.sln
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_config.vsprops b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_config.vsprops
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_config.vsprops
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_config.vsprops
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_main.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_main.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_main.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_main.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_test.vcproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_test.vcproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_test.vcproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2005/gmock_test.vcproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.sln b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.sln
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.sln
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.sln
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.vcxproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.vcxproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.vcxproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock.vcxproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_config.props b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_config.props
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_config.props
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_config.props
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_main.vcxproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_main.vcxproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_main.vcxproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_main.vcxproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_test.vcxproj b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_test.vcxproj
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_test.vcxproj
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/msvc/2010/gmock_test.vcxproj
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/fuse_gmock_files.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/fuse_gmock_files.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/fuse_gmock_files.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/fuse_gmock_files.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/COPYING b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/COPYING
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/COPYING
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/COPYING
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README.cppclean b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README.cppclean
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README.cppclean
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/README.cppclean
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/__init__.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/__init__.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/__init__.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/__init__.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/ast.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/ast.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/ast.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/ast.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/gmock_class.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/gmock_class.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/gmock_class.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/gmock_class.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/keywords.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/keywords.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/keywords.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/keywords.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/tokenize.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/tokenize.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/tokenize.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/tokenize.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/utils.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/utils.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/utils.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/cpp/utils.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/gmock_gen.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/gmock_gen.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/generator/gmock_gen.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/generator/gmock_gen.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/gmock-config.in b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/gmock-config.in
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/scripts/gmock-config.in
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/scripts/gmock-config.in
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-all.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-all.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-all.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-all.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-cardinalities.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-cardinalities.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-cardinalities.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-cardinalities.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-internal-utils.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-internal-utils.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-internal-utils.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-internal-utils.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-matchers.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-matchers.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-matchers.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-matchers.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-spec-builders.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-spec-builders.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock-spec-builders.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock-spec-builders.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock_main.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock_main.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/src/gmock_main.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/src/gmock_main.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-actions_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-actions_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-actions_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-actions_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-cardinalities_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-cardinalities_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-cardinalities_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-cardinalities_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-actions_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-actions_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-actions_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-actions_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-function-mockers_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-function-mockers_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-function-mockers_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-function-mockers_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-internal-utils_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-internal-utils_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-internal-utils_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-internal-utils_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-matchers_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-matchers_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-matchers_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-generated-matchers_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-internal-utils_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-internal-utils_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-internal-utils_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-internal-utils_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-matchers_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-matchers_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-matchers_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-matchers_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-more-actions_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-more-actions_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-more-actions_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-more-actions_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-nice-strict_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-nice-strict_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-nice-strict_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-nice-strict_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-port_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-port_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-port_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-port_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-spec-builders_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-spec-builders_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock-spec-builders_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock-spec-builders_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_all_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_all_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_all_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_all_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_leak_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_link2_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_link2_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_link2_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_link2_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.h b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.h
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.h
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_link_test.h
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test.py
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_golden.txt b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_golden.txt
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_golden.txt
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_output_test_golden.txt
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_test.cc b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_test.cc
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_test.cc
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_test.cc
diff --git a/networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_test_utils.py b/networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_test_utils.py
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/gmock-1.6.0/test/gmock_test_utils.py
rename to networktables/cpp/lib/Desktop/src/test/native/gmock-1.6.0/test/gmock_test_utils.py
diff --git a/networktables/cpp/Desktop/src/test/native/test-client/test-client.cpp b/networktables/cpp/lib/Desktop/src/test/native/test-client/test-client.cpp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/test-client/test-client.cpp
rename to networktables/cpp/lib/Desktop/src/test/native/test-client/test-client.cpp
diff --git a/networktables/cpp/Desktop/src/test/native/test-server/test-server.cpp b/networktables/cpp/lib/Desktop/src/test/native/test-server/test-server.cpp
similarity index 100%
rename from networktables/cpp/Desktop/src/test/native/test-server/test-server.cpp
rename to networktables/cpp/lib/Desktop/src/test/native/test-server/test-server.cpp
diff --git a/networktables/cpp/Win32/src/main/native/OSAL/Synchronized.cpp b/networktables/cpp/lib/Win32/src/main/native/OSAL/Synchronized.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/OSAL/Synchronized.cpp
rename to networktables/cpp/lib/Win32/src/main/native/OSAL/Synchronized.cpp
diff --git a/networktables/cpp/Win32/src/main/native/OSAL/System.cpp b/networktables/cpp/lib/Win32/src/main/native/OSAL/System.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/OSAL/System.cpp
rename to networktables/cpp/lib/Win32/src/main/native/OSAL/System.cpp
diff --git a/networktables/cpp/Win32/src/main/native/OSAL/Task.cpp b/networktables/cpp/lib/Win32/src/main/native/OSAL/Task.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/OSAL/Task.cpp
rename to networktables/cpp/lib/Win32/src/main/native/OSAL/Task.cpp
diff --git a/networktables/cpp/Win32/src/main/native/networktables2/stream/FDIOStream.cpp b/networktables/cpp/lib/Win32/src/main/native/networktables2/stream/FDIOStream.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/networktables2/stream/FDIOStream.cpp
rename to networktables/cpp/lib/Win32/src/main/native/networktables2/stream/FDIOStream.cpp
diff --git a/networktables/cpp/Win32/src/main/native/networktables2/stream/SocketServerStreamProvider.cpp b/networktables/cpp/lib/Win32/src/main/native/networktables2/stream/SocketServerStreamProvider.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/networktables2/stream/SocketServerStreamProvider.cpp
rename to networktables/cpp/lib/Win32/src/main/native/networktables2/stream/SocketServerStreamProvider.cpp
diff --git a/networktables/cpp/Win32/src/main/native/networktables2/stream/SocketStreamFactory.cpp b/networktables/cpp/lib/Win32/src/main/native/networktables2/stream/SocketStreamFactory.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/networktables2/stream/SocketStreamFactory.cpp
rename to networktables/cpp/lib/Win32/src/main/native/networktables2/stream/SocketStreamFactory.cpp
diff --git a/networktables/cpp/Win32/src/main/native/networktables2/stream/SocketStreams.cpp b/networktables/cpp/lib/Win32/src/main/native/networktables2/stream/SocketStreams.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/networktables2/stream/SocketStreams.cpp
rename to networktables/cpp/lib/Win32/src/main/native/networktables2/stream/SocketStreams.cpp
diff --git a/networktables/cpp/Win32/src/main/native/networktables2/thread/DefaultThreadManager.cpp b/networktables/cpp/lib/Win32/src/main/native/networktables2/thread/DefaultThreadManager.cpp
similarity index 100%
rename from networktables/cpp/Win32/src/main/native/networktables2/thread/DefaultThreadManager.cpp
rename to networktables/cpp/lib/Win32/src/main/native/networktables2/thread/DefaultThreadManager.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables/NetworkTable.cpp b/networktables/cpp/lib/share/networktables/NetworkTable.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables/NetworkTable.cpp
rename to networktables/cpp/lib/share/networktables/NetworkTable.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables/NetworkTableConnectionListenerAdapter.cpp b/networktables/cpp/lib/share/networktables/NetworkTableConnectionListenerAdapter.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables/NetworkTableConnectionListenerAdapter.cpp
rename to networktables/cpp/lib/share/networktables/NetworkTableConnectionListenerAdapter.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables/NetworkTableKeyListenerAdapter.cpp b/networktables/cpp/lib/share/networktables/NetworkTableKeyListenerAdapter.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables/NetworkTableKeyListenerAdapter.cpp
rename to networktables/cpp/lib/share/networktables/NetworkTableKeyListenerAdapter.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables/NetworkTableListenerAdapter.cpp b/networktables/cpp/lib/share/networktables/NetworkTableListenerAdapter.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables/NetworkTableListenerAdapter.cpp
rename to networktables/cpp/lib/share/networktables/NetworkTableListenerAdapter.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables/NetworkTableMode.cpp b/networktables/cpp/lib/share/networktables/NetworkTableMode.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables/NetworkTableMode.cpp
rename to networktables/cpp/lib/share/networktables/NetworkTableMode.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables/NetworkTableProvider.cpp b/networktables/cpp/lib/share/networktables/NetworkTableProvider.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables/NetworkTableProvider.cpp
rename to networktables/cpp/lib/share/networktables/NetworkTableProvider.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables/NetworkTableSubListenerAdapter.cpp b/networktables/cpp/lib/share/networktables/NetworkTableSubListenerAdapter.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables/NetworkTableSubListenerAdapter.cpp
rename to networktables/cpp/lib/share/networktables/NetworkTableSubListenerAdapter.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/AbstractNetworkTableEntryStore.cpp b/networktables/cpp/lib/share/networktables2/AbstractNetworkTableEntryStore.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/AbstractNetworkTableEntryStore.cpp
rename to networktables/cpp/lib/share/networktables2/AbstractNetworkTableEntryStore.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/NetworkTableEntry.cpp b/networktables/cpp/lib/share/networktables2/NetworkTableEntry.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/NetworkTableEntry.cpp
rename to networktables/cpp/lib/share/networktables2/NetworkTableEntry.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/NetworkTableNode.cpp b/networktables/cpp/lib/share/networktables2/NetworkTableNode.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/NetworkTableNode.cpp
rename to networktables/cpp/lib/share/networktables2/NetworkTableNode.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/OutgoingEntryReciever.cpp b/networktables/cpp/lib/share/networktables2/OutgoingEntryReciever.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/OutgoingEntryReciever.cpp
rename to networktables/cpp/lib/share/networktables2/OutgoingEntryReciever.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/TableKeyExistsWithDifferentTypeException.cpp b/networktables/cpp/lib/share/networktables2/TableKeyExistsWithDifferentTypeException.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/TableKeyExistsWithDifferentTypeException.cpp
rename to networktables/cpp/lib/share/networktables2/TableKeyExistsWithDifferentTypeException.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/TransactionDirtier.cpp b/networktables/cpp/lib/share/networktables2/TransactionDirtier.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/TransactionDirtier.cpp
rename to networktables/cpp/lib/share/networktables2/TransactionDirtier.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/WriteManager.cpp b/networktables/cpp/lib/share/networktables2/WriteManager.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/WriteManager.cpp
rename to networktables/cpp/lib/share/networktables2/WriteManager.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/client/ClientConnectionAdapter.cpp b/networktables/cpp/lib/share/networktables2/client/ClientConnectionAdapter.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/client/ClientConnectionAdapter.cpp
rename to networktables/cpp/lib/share/networktables2/client/ClientConnectionAdapter.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/client/ClientConnectionState.cpp b/networktables/cpp/lib/share/networktables2/client/ClientConnectionState.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/client/ClientConnectionState.cpp
rename to networktables/cpp/lib/share/networktables2/client/ClientConnectionState.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/client/ClientNetworkTableEntryStore.cpp b/networktables/cpp/lib/share/networktables2/client/ClientNetworkTableEntryStore.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/client/ClientNetworkTableEntryStore.cpp
rename to networktables/cpp/lib/share/networktables2/client/ClientNetworkTableEntryStore.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/client/NetworkTableClient.cpp b/networktables/cpp/lib/share/networktables2/client/NetworkTableClient.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/client/NetworkTableClient.cpp
rename to networktables/cpp/lib/share/networktables2/client/NetworkTableClient.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/connection/BadMessageException.cpp b/networktables/cpp/lib/share/networktables2/connection/BadMessageException.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/connection/BadMessageException.cpp
rename to networktables/cpp/lib/share/networktables2/connection/BadMessageException.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/connection/ConnectionMonitorThread.cpp b/networktables/cpp/lib/share/networktables2/connection/ConnectionMonitorThread.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/connection/ConnectionMonitorThread.cpp
rename to networktables/cpp/lib/share/networktables2/connection/ConnectionMonitorThread.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/connection/DataIOStream.cpp b/networktables/cpp/lib/share/networktables2/connection/DataIOStream.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/connection/DataIOStream.cpp
rename to networktables/cpp/lib/share/networktables2/connection/DataIOStream.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/connection/NetworkTableConnection.cpp b/networktables/cpp/lib/share/networktables2/connection/NetworkTableConnection.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/connection/NetworkTableConnection.cpp
rename to networktables/cpp/lib/share/networktables2/connection/NetworkTableConnection.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/server/NetworkTableServer.cpp b/networktables/cpp/lib/share/networktables2/server/NetworkTableServer.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/server/NetworkTableServer.cpp
rename to networktables/cpp/lib/share/networktables2/server/NetworkTableServer.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/server/ServerConnectionAdapter.cpp b/networktables/cpp/lib/share/networktables2/server/ServerConnectionAdapter.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/server/ServerConnectionAdapter.cpp
rename to networktables/cpp/lib/share/networktables2/server/ServerConnectionAdapter.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/server/ServerConnectionList.cpp b/networktables/cpp/lib/share/networktables2/server/ServerConnectionList.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/server/ServerConnectionList.cpp
rename to networktables/cpp/lib/share/networktables2/server/ServerConnectionList.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/server/ServerConnectionState.cpp b/networktables/cpp/lib/share/networktables2/server/ServerConnectionState.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/server/ServerConnectionState.cpp
rename to networktables/cpp/lib/share/networktables2/server/ServerConnectionState.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/server/ServerIncomingStreamMonitor.cpp b/networktables/cpp/lib/share/networktables2/server/ServerIncomingStreamMonitor.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/server/ServerIncomingStreamMonitor.cpp
rename to networktables/cpp/lib/share/networktables2/server/ServerIncomingStreamMonitor.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/server/ServerNetworkTableEntryStore.cpp b/networktables/cpp/lib/share/networktables2/server/ServerNetworkTableEntryStore.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/server/ServerNetworkTableEntryStore.cpp
rename to networktables/cpp/lib/share/networktables2/server/ServerNetworkTableEntryStore.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/ArrayData.cpp b/networktables/cpp/lib/share/networktables2/type/ArrayData.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/ArrayData.cpp
rename to networktables/cpp/lib/share/networktables2/type/ArrayData.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/ArrayEntryType.cpp b/networktables/cpp/lib/share/networktables2/type/ArrayEntryType.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/ArrayEntryType.cpp
rename to networktables/cpp/lib/share/networktables2/type/ArrayEntryType.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/BooleanArray.cpp b/networktables/cpp/lib/share/networktables2/type/BooleanArray.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/BooleanArray.cpp
rename to networktables/cpp/lib/share/networktables2/type/BooleanArray.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/ComplexData.cpp b/networktables/cpp/lib/share/networktables2/type/ComplexData.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/ComplexData.cpp
rename to networktables/cpp/lib/share/networktables2/type/ComplexData.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/ComplexEntryType.cpp b/networktables/cpp/lib/share/networktables2/type/ComplexEntryType.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/ComplexEntryType.cpp
rename to networktables/cpp/lib/share/networktables2/type/ComplexEntryType.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/DefaultEntryTypes.cpp b/networktables/cpp/lib/share/networktables2/type/DefaultEntryTypes.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/DefaultEntryTypes.cpp
rename to networktables/cpp/lib/share/networktables2/type/DefaultEntryTypes.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/NetworkTableEntryType.cpp b/networktables/cpp/lib/share/networktables2/type/NetworkTableEntryType.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/NetworkTableEntryType.cpp
rename to networktables/cpp/lib/share/networktables2/type/NetworkTableEntryType.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/NetworkTableEntryTypeManager.cpp b/networktables/cpp/lib/share/networktables2/type/NetworkTableEntryTypeManager.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/NetworkTableEntryTypeManager.cpp
rename to networktables/cpp/lib/share/networktables2/type/NetworkTableEntryTypeManager.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/NumberArray.cpp b/networktables/cpp/lib/share/networktables2/type/NumberArray.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/NumberArray.cpp
rename to networktables/cpp/lib/share/networktables2/type/NumberArray.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/type/StringArray.cpp b/networktables/cpp/lib/share/networktables2/type/StringArray.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/type/StringArray.cpp
rename to networktables/cpp/lib/share/networktables2/type/StringArray.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/util/EOFException.cpp b/networktables/cpp/lib/share/networktables2/util/EOFException.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/util/EOFException.cpp
rename to networktables/cpp/lib/share/networktables2/util/EOFException.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/util/IOException.cpp b/networktables/cpp/lib/share/networktables2/util/IOException.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/util/IOException.cpp
rename to networktables/cpp/lib/share/networktables2/util/IOException.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/util/IllegalStateException.cpp b/networktables/cpp/lib/share/networktables2/util/IllegalStateException.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/util/IllegalStateException.cpp
rename to networktables/cpp/lib/share/networktables2/util/IllegalStateException.cpp
diff --git a/networktables/cpp/parent/src/main/native/networktables2/util/StringCache.cpp b/networktables/cpp/lib/share/networktables2/util/StringCache.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/networktables2/util/StringCache.cpp
rename to networktables/cpp/lib/share/networktables2/util/StringCache.cpp
diff --git a/networktables/cpp/parent/src/main/native/tables/TableKeyNotDefinedException.cpp b/networktables/cpp/lib/share/tables/TableKeyNotDefinedException.cpp
similarity index 100%
rename from networktables/cpp/parent/src/main/native/tables/TableKeyNotDefinedException.cpp
rename to networktables/cpp/lib/share/tables/TableKeyNotDefinedException.cpp
diff --git a/networktables/cpp/parent/pom.xml b/networktables/cpp/parent/pom.xml
deleted file mode 100644
index 9a5f0a59da..0000000000
--- a/networktables/cpp/parent/pom.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.networktables.cpp
- parent
- pom
- 0.1.0-SNAPSHOT
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- 1.0-alpha-7
- true
-
-
-
- src/main/native
-
- **/*.cpp
-
-
-
- ../parent/src/main/native
-
- **/*.cpp
-
-
-
-
- -Wall -O3 -Wextra -Wno-unused-parameter -pedantic -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized
-
-
-
-
-
-
-
diff --git a/networktables/cpp/pom.xml b/networktables/cpp/pom.xml
deleted file mode 100644
index 67e984f58e..0000000000
--- a/networktables/cpp/pom.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.networktables
- cpp
- pom
- 0.1.0-SNAPSHOT
-
-
- include
- Athena
-
-
-
-
- desktop
-
- false
-
-
- parent
- Desktop
-
-
-
-
diff --git a/networktables/pom.xml b/networktables/pom.xml
index 79fadb3983..f79cf70ca3 100644
--- a/networktables/pom.xml
+++ b/networktables/pom.xml
@@ -8,7 +8,6 @@
0.1.0-SNAPSHOT
- cpp
java
diff --git a/ni-libraries/README.org b/ni-libraries/README.org
deleted file mode 100644
index c95e4b1737..0000000000
--- a/ni-libraries/README.org
+++ /dev/null
@@ -1,11 +0,0 @@
-
-* Purpose
-This project provides the NI =*.so= files that need to be linked
-against to build programs in a Maven friendly way. It use =cp= or
-=copy= as a fake linker to copy the =so= files as Maven artifacts.
-
-* Building and Installing with Maven
-To build everything with Maven:
-1. Run the following maven command:
- =mvn clean install=
-2. Success
diff --git a/ni-libraries/libFRC_FPGA_ChipObject/libFRC_FPGA_ChipObject.so b/ni-libraries/libFRC_FPGA_ChipObject.so.1
similarity index 100%
rename from ni-libraries/libFRC_FPGA_ChipObject/libFRC_FPGA_ChipObject.so
rename to ni-libraries/libFRC_FPGA_ChipObject.so.1
diff --git a/ni-libraries/libFRC_FPGA_ChipObject/pom.xml b/ni-libraries/libFRC_FPGA_ChipObject/pom.xml
deleted file mode 100644
index a540b4e5ae..0000000000
--- a/ni-libraries/libFRC_FPGA_ChipObject/pom.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- 4.0.0
- libFRC_FPGA_ChipObject
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
-
- com.ni.first.libraries
- libNiFpgaLv
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libNiRioSrv
- 0.1.0-SNAPSHOT
- so
-
-
-
-
- libFRC_FPGA_ChipObject.so
-
-
diff --git a/ni-libraries/libFRC_NetworkCommunication/libFRC_NetworkCommunication.so b/ni-libraries/libFRC_NetworkCommunication.so.1
similarity index 100%
rename from ni-libraries/libFRC_NetworkCommunication/libFRC_NetworkCommunication.so
rename to ni-libraries/libFRC_NetworkCommunication.so.1
diff --git a/ni-libraries/libFRC_NetworkCommunication/pom.xml b/ni-libraries/libFRC_NetworkCommunication/pom.xml
deleted file mode 100644
index bfb1f732d8..0000000000
--- a/ni-libraries/libFRC_NetworkCommunication/pom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
- 4.0.0
- libFRC_NetworkCommunication
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
-
- com.ni.first.libraries
- libFRC_FPGA_ChipObject
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libNiFpga
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libni_emb
- 0.1.0-SNAPSHOT
- so
-
-
-
-
- libFRC_NetworkCommunication.so
-
-
diff --git a/ni-libraries/libNiFpga/libNiFpga.so b/ni-libraries/libNiFpga.so.13
similarity index 100%
rename from ni-libraries/libNiFpga/libNiFpga.so
rename to ni-libraries/libNiFpga.so.13
diff --git a/ni-libraries/libNiFpga/pom.xml b/ni-libraries/libNiFpga/pom.xml
deleted file mode 100644
index 1f3a91f112..0000000000
--- a/ni-libraries/libNiFpga/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 4.0.0
- libNiFpga
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
- libNiFpga.so
-
-
diff --git a/ni-libraries/libNiFpgaLv/libNiFpgaLv.so b/ni-libraries/libNiFpgaLv.so.13
similarity index 100%
rename from ni-libraries/libNiFpgaLv/libNiFpgaLv.so
rename to ni-libraries/libNiFpgaLv.so.13
diff --git a/ni-libraries/libNiFpgaLv/pom.xml b/ni-libraries/libNiFpgaLv/pom.xml
deleted file mode 100644
index 2989312fe6..0000000000
--- a/ni-libraries/libNiFpgaLv/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 4.0.0
- libNiFpgaLv
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
- libNiFpgaLv.so
-
-
diff --git a/ni-libraries/libNiRioSrv/libNiRioSrv.so b/ni-libraries/libNiRioSrv.so.13
similarity index 100%
rename from ni-libraries/libNiRioSrv/libNiRioSrv.so
rename to ni-libraries/libNiRioSrv.so.13
diff --git a/ni-libraries/libNiRioSrv/pom.xml b/ni-libraries/libNiRioSrv/pom.xml
deleted file mode 100644
index d379c34dae..0000000000
--- a/ni-libraries/libNiRioSrv/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 4.0.0
- libNiRioSrv
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
- libNiRioSrv.so
-
-
diff --git a/ni-libraries/libRoboRIO_FRC_ChipObject/libRoboRIO_FRC_ChipObject.so b/ni-libraries/libRoboRIO_FRC_ChipObject.so.1
similarity index 100%
rename from ni-libraries/libRoboRIO_FRC_ChipObject/libRoboRIO_FRC_ChipObject.so
rename to ni-libraries/libRoboRIO_FRC_ChipObject.so.1
diff --git a/ni-libraries/libRoboRIO_FRC_ChipObject/pom.xml b/ni-libraries/libRoboRIO_FRC_ChipObject/pom.xml
deleted file mode 100644
index 1a3cbfe430..0000000000
--- a/ni-libraries/libRoboRIO_FRC_ChipObject/pom.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- 4.0.0
- libRoboRIO_FRC_ChipObject
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
-
- com.ni.first.libraries
- libNiFpgaLv
- 0.1.0-SNAPSHOT
- so
-
-
- com.ni.first.libraries
- libNiRioSrv
- 0.1.0-SNAPSHOT
- so
-
-
-
-
- libRoboRIO_FRC_ChipObject.so
-
-
diff --git a/ni-libraries/libfrccansae/libfrccansae.so b/ni-libraries/libfrccansae/libfrccansae.so
deleted file mode 100644
index 7de8dc3885..0000000000
Binary files a/ni-libraries/libfrccansae/libfrccansae.so and /dev/null differ
diff --git a/ni-libraries/libfrccansae/pom.xml b/ni-libraries/libfrccansae/pom.xml
deleted file mode 100644
index 4a3d847c38..0000000000
--- a/ni-libraries/libfrccansae/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 4.0.0
- libfrccansae
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
- libfrccansae.so
-
-
diff --git a/ni-libraries/libi2c/libi2c.so b/ni-libraries/libi2c.so.1
similarity index 100%
rename from ni-libraries/libi2c/libi2c.so
rename to ni-libraries/libi2c.so.1
diff --git a/ni-libraries/libi2c/pom.xml b/ni-libraries/libi2c/pom.xml
deleted file mode 100644
index d74a5b91de..0000000000
--- a/ni-libraries/libi2c/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 4.0.0
- libi2c
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
- libi2c.so
-
-
diff --git a/ni-libraries/libni_emb/libni_emb.so b/ni-libraries/libni_emb.so.6
similarity index 100%
rename from ni-libraries/libni_emb/libni_emb.so
rename to ni-libraries/libni_emb.so.6
diff --git a/ni-libraries/libni_emb/pom.xml b/ni-libraries/libni_emb/pom.xml
deleted file mode 100644
index 89c8f22340..0000000000
--- a/ni-libraries/libni_emb/pom.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
- 4.0.0
- libni_emb
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
-
-
- com.ni.first.libraries
- libni_rtlog
- 0.1.0-SNAPSHOT
- so
-
-
-
-
- libni_emb.so
-
-
diff --git a/ni-libraries/libni_rtlog/libni_rtlog.so b/ni-libraries/libni_rtlog.so.2
similarity index 100%
rename from ni-libraries/libni_rtlog/libni_rtlog.so
rename to ni-libraries/libni_rtlog.so.2
diff --git a/ni-libraries/libni_rtlog/pom.xml b/ni-libraries/libni_rtlog/pom.xml
deleted file mode 100644
index 13dc7e2c50..0000000000
--- a/ni-libraries/libni_rtlog/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 4.0.0
- libni_rtlog
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
- libni_rtlog.so
-
-
diff --git a/ni-libraries/libnirio_emb_can/libnirio_emb_can.so b/ni-libraries/libnirio_emb_can.so.14
similarity index 100%
rename from ni-libraries/libnirio_emb_can/libnirio_emb_can.so
rename to ni-libraries/libnirio_emb_can.so.14
diff --git a/ni-libraries/libnirio_emb_can/pom.xml b/ni-libraries/libnirio_emb_can/pom.xml
deleted file mode 100644
index 1b7debb317..0000000000
--- a/ni-libraries/libnirio_emb_can/pom.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
- 4.0.0
- libnirio_emb_can
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
-
-
- com.ni.first.libraries
- libni_rtlog
- 0.1.0-SNAPSHOT
- so
-
-
-
-
- libnirio_emb_can.so
-
-
diff --git a/ni-libraries/libspi/libspi.so b/ni-libraries/libspi.so.1
similarity index 100%
rename from ni-libraries/libspi/libspi.so
rename to ni-libraries/libspi.so.1
diff --git a/ni-libraries/libspi/pom.xml b/ni-libraries/libspi/pom.xml
deleted file mode 100644
index d362cdedf1..0000000000
--- a/ni-libraries/libspi/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- 4.0.0
- libspi
- so
-
-
- com.ni.first.libraries
- parent
- 0.1.0-SNAPSHOT
- ../parent
-
-
-
- libspi.so
-
-
diff --git a/ni-libraries/libvisa.so b/ni-libraries/libvisa.so
new file mode 100644
index 0000000000..9edd2eaa0b
Binary files /dev/null and b/ni-libraries/libvisa.so differ
diff --git a/ni-libraries/parent/pom.xml b/ni-libraries/parent/pom.xml
deleted file mode 100644
index 63b7f9869a..0000000000
--- a/ni-libraries/parent/pom.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
- 4.0.0
- com.ni.first.libraries
- parent
- pom
- 0.1.0-SNAPSHOT
-
-
- UTF-8
- UTF-8
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- 1.0-alpha-7
- true
-
- ar
- echo
- cp
-
-
- ${library}
-
-
-
-
-
-
-
-
- windows-builder
-
-
- Windows
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- true
-
- copy
-
-
-
-
-
-
-
diff --git a/ni-libraries/pom.xml b/ni-libraries/pom.xml
deleted file mode 100644
index 69c08da92b..0000000000
--- a/ni-libraries/pom.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- 4.0.0
- com.ni.first.libraries
- com.ni.first.libraries
- pom
- 0.1.0-SNAPSHOT
-
-
- parent
- libFRC_NetworkCommunication
- libRoboRIO_FRC_ChipObject
- libFRC_FPGA_ChipObject
- libNiFpga
- libni_emb
- libNiFpgaLv
- libNiRioSrv
- libni_rtlog
- libnirio_emb_can
- libfrccansae
- libi2c
- libspi
-
-
diff --git a/pom.xml b/pom.xml
index 6f3a67f23e..7f55040250 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,51 +1,46 @@
-
- 4.0.0
- edu.wpi.first.wpilib
- aggregator-pom
- 1.0.0
- pom
-
-
- eclipse-plugins
- hal
- maven-utilities
- networktables
- ni-libraries
- wpilibc
- wpilibj
-
-
-
-
-
- org.apache.maven.plugins
- maven-enforcer-plugin
- 1.3.1
-
-
- enforce-maven
-
- enforce
-
-
-
-
-
- [3.0.0,3.1.0), (3.1.0,)
- WPILib has been tested with Maven 3.0.0+.
+ [3.0.0,3.1.0), (3.1.0,)
+ WPILib has been tested with Maven 3.0.0+.
Note: Maven 3.1.0 is not supported due to Maven bug MNG-5503 (http://jira.codehaus.org/browse/MNG-5503). Please upgrade
to Maven 3.1.1 or later.
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/wpilibc/.cproject b/wpilibc/.cproject
deleted file mode 100644
index 97b7354a84..0000000000
--- a/wpilibc/.cproject
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/wpilibc/.project b/wpilibc/.project
deleted file mode 100644
index 134c1cd73d..0000000000
--- a/wpilibc/.project
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- WPILib
-
-
-
-
-
- com.windriver.ide.core.wrbuilder
-
-
-
-
-
- com.windriver.ide.core.wrnature
- com.windriver.ide.core.wrcorenature
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.core.ccnature
-
-
diff --git a/wpilibc/.settings/Makefile b/wpilibc/.settings/Makefile
deleted file mode 100644
index bc1916495a..0000000000
--- a/wpilibc/.settings/Makefile
+++ /dev/null
@@ -1,2184 +0,0 @@
-# Wind River Workbench generated Makefile.
-# Do not edit!!!
-#
-# The file ".wrmakefile" is the template used by the Wind River Workbench to
-# generate the makefiles of this project. Add user-specific build targets and
-# make rules only(!) in this project's ".wrmakefile" file. These will then be
-# automatically dumped into the makefiles.
-
-WIND_HOME := $(subst \,/,$(WIND_HOME))
-WIND_BASE := $(subst \,/,$(WIND_BASE))
-WIND_USR := $(subst \,/,$(WIND_USR))
-
-all : pre_build main_all post_build
-
-_clean ::
- @echo "make: removing targets and objects of `pwd`"
-
-TRACE=0
-TRACEON=$(TRACE:0=@)
-TRACE_FLAG=$(TRACEON:1=)
-
-MAKEFILE := Makefile
-
-BUILD_SPEC = PPC603gnu
-DEBUG_MODE = 1
-SRC_DIR := .
-BUILD_ROOT_DIR :=
-PRJ_ROOT_DIR := C:/windriver/workspace/WPILib
-WS_ROOT_DIR := C:/windriver/workspace
-
-ALL_BUILD_SPECS := PPC32diab PPC32gnu PPC32sfdiab PPC32sfgnu \
- PPC403diab PPC403gnu PPC405diab PPC405gnu \
- PPC405sfdiab PPC405sfgnu PPC440diab PPC440gnu \
- PPC440sfdiab PPC440sfgnu PPC603diab PPC603gnu \
- PPC604diab PPC604gnu PPC85XXdiab PPC85XXgnu \
- PPC85XXsfdiab PPC85XXsfgnu PPC860sfdiab PPC860sfgnu \
- SIMLINUXdiab SIMLINUXgnu SIMNTdiab SIMNTgnu \
- SIMSPARCSOLARISdiab SIMSPARCSOLARISgnu
-ENABLED_BUILD_SPECS := PPC603gnu
-
-ifeq ($(BUILD_SPEC),PPC32diab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC32diab_DEBUG
-else
-OBJ_DIR := PPC32diab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC32gnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC32gnu_DEBUG
-else
-OBJ_DIR := PPC32gnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC32sfdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC32sfdiab_DEBUG
-else
-OBJ_DIR := PPC32sfdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC32sfgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC32sfgnu_DEBUG
-else
-OBJ_DIR := PPC32sfgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC403diab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC403diab_DEBUG
-else
-OBJ_DIR := PPC403diab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC403gnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC403gnu_DEBUG
-else
-OBJ_DIR := PPC403gnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC405diab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC405diab_DEBUG
-else
-OBJ_DIR := PPC405diab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC405gnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC405gnu_DEBUG
-else
-OBJ_DIR := PPC405gnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC405sfdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC405sfdiab_DEBUG
-else
-OBJ_DIR := PPC405sfdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC405sfgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC405sfgnu_DEBUG
-else
-OBJ_DIR := PPC405sfgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC440diab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC440diab_DEBUG
-else
-OBJ_DIR := PPC440diab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC440gnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC440gnu_DEBUG
-else
-OBJ_DIR := PPC440gnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC440sfdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC440sfdiab_DEBUG
-else
-OBJ_DIR := PPC440sfdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC440sfgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC440sfgnu_DEBUG
-else
-OBJ_DIR := PPC440sfgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC603diab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC603diab_DEBUG
-else
-OBJ_DIR := PPC603diab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC603gnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC603gnu_DEBUG
-else
-OBJ_DIR := PPC603gnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC604diab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC604diab_DEBUG
-else
-OBJ_DIR := PPC604diab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC604gnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC604gnu_DEBUG
-else
-OBJ_DIR := PPC604gnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC85XXdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC85XXdiab_DEBUG
-else
-OBJ_DIR := PPC85XXdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC85XXgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC85XXgnu_DEBUG
-else
-OBJ_DIR := PPC85XXgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC85XXsfdiab_DEBUG
-else
-OBJ_DIR := PPC85XXsfdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC85XXsfgnu_DEBUG
-else
-OBJ_DIR := PPC85XXsfgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC860sfdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC860sfdiab_DEBUG
-else
-OBJ_DIR := PPC860sfdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),PPC860sfgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := PPC860sfgnu_DEBUG
-else
-OBJ_DIR := PPC860sfgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := SIMLINUXdiab_DEBUG
-else
-OBJ_DIR := SIMLINUXdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := SIMLINUXgnu_DEBUG
-else
-OBJ_DIR := SIMLINUXgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),SIMNTdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := SIMNTdiab_DEBUG
-else
-OBJ_DIR := SIMNTdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),SIMNTgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := SIMNTgnu_DEBUG
-else
-OBJ_DIR := SIMNTgnu
-endif
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISdiab)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := SIMSPARCSOLARISdiab_DEBUG
-else
-OBJ_DIR := SIMSPARCSOLARISdiab
-endif
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu)
-ifeq ($(DEBUG_MODE),1)
-OBJ_DIR := SIMSPARCSOLARISgnu_DEBUG
-else
-OBJ_DIR := SIMSPARCSOLARISgnu
-endif
-endif
-
-ifeq ($(BUILD_SPEC),PPC32diab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC32gnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC32sfdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC32sfgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC403diab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC403gnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC405diab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC405gnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC405sfdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC405sfgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC440diab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC440gnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC440sfdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC440sfgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC603diab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC603gnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC604diab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC604gnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC85XXdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC85XXgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC860sfdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),PPC860sfgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),SIMNTdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),SIMNTgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISdiab)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu)
-SUBDIRS :=
-OBJECTS :=
-
-PROJECT_TARGETS := $(OBJECTS)
-
-SUB_OBJECTS :=
-SUB_TARGETS :=
-endif
-
-PROJECT_TYPE = DKM
-DEFINES =
-EXPAND_DBG = 0
-
-ifeq ($(BUILD_SPEC),PPC32diab)
-VX_CPU_FAMILY = ppc
-CPU = PPC32
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPCFH:vxworks63 -Xstmw-slow -DPPC32_fp60x
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC32gnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC32
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mhard-float -mstrict-align -mno-implicit-fp -DPPC32_fp60x
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC32sfdiab)
-VX_CPU_FAMILY = ppc
-CPU = PPC32
-TOOL_FAMILY = diab
-TOOL = sfdiab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPCFS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC32sfgnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC32
-TOOL_FAMILY = gnu
-TOOL = sfgnu
-TOOL_PATH =
-CC_ARCH_SPEC = -msoft-float -mstrict-align
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC403diab)
-VX_CPU_FAMILY = ppc
-CPU = PPC403
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC403FS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC403gnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC403
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=403 -mstrict-align -msoft-float
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC405diab)
-VX_CPU_FAMILY = ppc
-CPU = PPC405
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC405FS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC405gnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC405
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=405 -mstrict-align -msoft-float
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC405sfdiab)
-VX_CPU_FAMILY = ppc
-CPU = PPC405
-TOOL_FAMILY = diab
-TOOL = sfdiab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC405FS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC405sfgnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC405
-TOOL_FAMILY = gnu
-TOOL = sfgnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=405 -mstrict-align -msoft-float
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC440diab)
-VX_CPU_FAMILY = ppc
-CPU = PPC440
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC440FH:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC440gnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC440
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=440 -mstrict-align -msoft-float
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC440sfdiab)
-VX_CPU_FAMILY = ppc
-CPU = PPC440
-TOOL_FAMILY = diab
-TOOL = sfdiab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC440FS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC440sfgnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC440
-TOOL_FAMILY = gnu
-TOOL = sfgnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=440 -mstrict-align -msoft-float
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC603diab)
-VX_CPU_FAMILY = ppc
-CPU = PPC603
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC603FH:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC603gnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC603
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=603 -mstrict-align -mno-implicit-fp -mlongcall
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I.. -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC604diab)
-VX_CPU_FAMILY = ppc
-CPU = PPC604
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC604FH:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC604gnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC604
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=604 -mstrict-align -mno-implicit-fp
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC85XXdiab)
-VX_CPU_FAMILY = ppc
-CPU = PPC85XX
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPCE500FS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC85XXgnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC85XX
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=8540 -mstrict-align -msoft-float -mabi=no-spe
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC85XXsfdiab)
-VX_CPU_FAMILY = ppc
-CPU = PPC85XX
-TOOL_FAMILY = diab
-TOOL = sfdiab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPCE500FS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC85XXsfgnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC85XX
-TOOL_FAMILY = gnu
-TOOL = sfgnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=8540 -mstrict-align -msoft-float -mabi=no-spe
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC860sfdiab)
-VX_CPU_FAMILY = ppc
-CPU = PPC860
-TOOL_FAMILY = diab
-TOOL = sfdiab
-TOOL_PATH =
-CC_ARCH_SPEC = -tPPC860FS:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),PPC860sfgnu)
-VX_CPU_FAMILY = ppc
-CPU = PPC860
-TOOL_FAMILY = gnu
-TOOL = sfgnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mcpu=860 -mstrict-align -msoft-float
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),SIMLINUXdiab)
-VX_CPU_FAMILY = simlinux
-CPU = SIMLINUX
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tX86LH:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),SIMLINUXgnu)
-VX_CPU_FAMILY = simlinux
-CPU = SIMLINUX
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mtune=i486 -march=i486
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),SIMNTdiab)
-VX_CPU_FAMILY = simpc
-CPU = SIMNT
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tX86LH:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),SIMNTgnu)
-VX_CPU_FAMILY = simpc
-CPU = SIMNT
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC = -mtune=i486 -march=i486
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISdiab)
-VX_CPU_FAMILY = simso
-CPU = SIMSPARCSOLARIS
-TOOL_FAMILY = diab
-TOOL = diab
-TOOL_PATH =
-CC_ARCH_SPEC = -tSPARCFH:vxworks63
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu)
-VX_CPU_FAMILY = simso
-CPU = SIMSPARCSOLARIS
-TOOL_FAMILY = gnu
-TOOL = gnu
-TOOL_PATH =
-CC_ARCH_SPEC =
-LIBPATH =
-LIBS =
-
-IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip
-
-IDE_LIBRARIES =
-endif
-
-
-ifeq ($(BUILD_SPEC),PPC32diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xstsw-slow -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC403diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC403gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC603diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC603gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC604diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC604gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC860sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC860sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -nostdlib -fno-builtin -fno-defer-pop
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMNTdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMNTgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -nostdlib -fno-builtin -fno-defer-pop
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C-Compiler = -g
-else
-DEBUGFLAGS_C-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.c
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccsparc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xstsw-slow -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xstsw-slow -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xstsw-slow -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xstsw-slow -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC403diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC403gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC603diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC603gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG) $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL -D'SVN_REV="$(shell svnversion -n ..)"' $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG) $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL -D'SVN_REV="$(shell svnversion -n ..)"' $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG) $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL -D'SVN_REV="$(shell svnversion -n ..)"' $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG) $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL -D'SVN_REV="$(shell svnversion -n ..)"' $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC604diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC604gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC860sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC860sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -nostdlib -fno-builtin -fno-defer-pop
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMNTdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMNTgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -nostdlib -fno-builtin -fno-defer-pop
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_C++-Compiler = -g
-else
-DEBUGFLAGS_C++-Compiler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccsparc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.C
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccsparc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cxx
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccsparc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.cc
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccsparc $(DEBUGFLAGS_C++-Compiler) $(CC_ARCH_SPEC) -ansi -Wall -MD -MP $(ADDED_C++FLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xstsw-slow -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC32sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC403diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC403gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC405sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC440sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC603diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC603gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC604diab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC604gnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC85XXsfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC860sfdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),PPC860sfgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccppc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Wa,-Xmnem-mit -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMLINUXgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -nostdlib -fno-builtin -fno-defer-pop
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMNTdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Wa,-Xmnem-mit -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMNTgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -nostdlib -fno-builtin -fno-defer-pop
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccpentium $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISdiab)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -XO -Xsize-opt
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xpreprocess-assembly -Xcpp-no-space -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-ifeq ($(BUILD_SPEC),SIMSPARCSOLARISgnu)
-ifeq ($(DEBUG_MODE),1)
-DEBUGFLAGS_Assembler = -g
-else
-DEBUGFLAGS_Assembler = -O2 -fstrength-reduce -fno-builtin
-endif
-$(OBJ_DIR)/%.o : $(SRC_DIR)/%.s
- $(TRACE_FLAG)echo "building $@"; $(TOOL_PATH)ccsparc $(DEBUGFLAGS_Assembler) $(CC_ARCH_SPEC) -ansi -xassembler-with-cpp -MD -MP $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
-
-endif
-
-
-
-
-
--include $(PRJ_ROOT_DIR)/*.makefile
-
--include *.makefile
-
-main_all : external_build $(PROJECT_TARGETS)
- @echo "make: built targets of `pwd`"
-
-# entry point for extending the build
-external_build ::
- @echo ""
-
-# main entry point for pre processing prior to the build
-pre_build :: $(PRE_BUILD_STEP) generate_sources
- @echo ""
-
-# entry point for generating sources prior to the build
-generate_sources ::
- @echo ""
-
-# main entry point for post processing after the build
-post_build :: $(POST_BUILD_STEP) deploy_output
- @echo ""
-
-# entry point for deploying output after the build
-deploy_output ::
- @echo ""
-
-clean :: external_clean $(CLEAN_STEP) _clean
-
-# entry point for extending the build clean
-external_clean ::
- @echo ""
diff --git a/wpilibc/.settings/org.eclipse.ltk.core.refactoring.prefs b/wpilibc/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index f59d2e6968..0000000000
--- a/wpilibc/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Tue Sep 14 17:17:39 EDT 2010
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/wpilibc/.wrmakefile b/wpilibc/.wrmakefile
deleted file mode 100644
index 6ad1e05a50..0000000000
--- a/wpilibc/.wrmakefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# The file ".wrmakefile" is the template used by the Wind River Workbench to
-# generate the makefiles of this project. Add user-specific build targets and
-# make rules only(!) in this project's ".wrmakefile" file. These will then be
-# automatically dumped into the makefiles.
-
-WIND_HOME := $(subst \,/,$(WIND_HOME))
-WIND_BASE := $(subst \,/,$(WIND_BASE))
-WIND_USR := $(subst \,/,$(WIND_USR))
-
-all : pre_build main_all post_build
-
-_clean ::
- @echo "make: removing targets and objects of `pwd`"
-
-%IDE_GENERATED%
-
--include $(PRJ_ROOT_DIR)/*.makefile
-
--include *.makefile
-
-main_all : external_build $(PROJECT_TARGETS)
- @echo "make: built targets of `pwd`"
-
-# entry point for extending the build
-external_build ::
- @echo ""
-
-# main entry point for pre processing prior to the build
-pre_build :: $(PRE_BUILD_STEP) generate_sources
- @echo ""
-
-# entry point for generating sources prior to the build
-generate_sources ::
- @echo ""
-
-# main entry point for post processing after the build
-post_build :: $(POST_BUILD_STEP) deploy_output
- @echo ""
-
-# entry point for deploying output after the build
-deploy_output ::
- @echo ""
-
-clean :: external_clean $(CLEAN_STEP) _clean
-
-# entry point for extending the build clean
-external_clean ::
- @echo ""
diff --git a/wpilibc/.wrproject b/wpilibc/.wrproject
deleted file mode 100644
index d148c97164..0000000000
--- a/wpilibc/.wrproject
+++ /dev/null
@@ -1,1414 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/wpilibc/Athena/pom.xml b/wpilibc/Athena/pom.xml
deleted file mode 100644
index 11c0c993ed..0000000000
--- a/wpilibc/Athena/pom.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib.cpp
- libWPILibAthena
- a
-
-
- edu.wpi.first.wpilib.templates.athena
- static-library
- 0.1.0-SNAPSHOT
- ../../maven-utilities/athena/static-library/pom.xml
-
-
-
-
- edu.wpi.first.wpilib.hal
- include
- 0.1.0-SNAPSHOT
- inczip
-
-
- edu.wpi.first.wpilib.networktables.cpp
- include
- 0.1.0-SNAPSHOT
- inczip
-
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
-
-
-
- ../src/main/native
-
- **/*.cpp
-
-
- Vision/*
-
-
-
- ../src/main/include
-
-
- true
-
-
-
-
-
-
-
diff --git a/wpilibc/CMakeLists.txt b/wpilibc/CMakeLists.txt
new file mode 100644
index 0000000000..f93cd46cd1
--- /dev/null
+++ b/wpilibc/CMakeLists.txt
@@ -0,0 +1,13 @@
+cmake_minimum_required(VERSION 2.8)
+project(WPILib)
+
+file(GLOB_RECURSE SRC_FILES lib/*.cpp)
+include_directories(include/ ${HAL_API_INCLUDES} ${NWT_API_INCLUDES})
+add_library(WPILibAthena SHARED ${SRC_FILES})
+target_link_libraries(WPILibAthena HALAthena NetworkTables ${NI_LIBS})
+INSTALL(TARGETS WPILibAthena LIBRARY DESTINATION lib)
+INSTALL(DIRECTORY include DESTINATION ${CMAKE_INSTALL_PREFIX})
+# lib/ c m gcc_s ld-linux
+# usr/lib stdc++
+# ni_emb
+# HAL NWT
diff --git a/wpilibc/Eclipse.cproject b/wpilibc/Eclipse.cproject
deleted file mode 100644
index 8447cbb650..0000000000
--- a/wpilibc/Eclipse.cproject
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/wpilibc/Eclipse.project b/wpilibc/Eclipse.project
deleted file mode 100644
index 2a7f5d16c0..0000000000
--- a/wpilibc/Eclipse.project
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
- WPILib
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
-
- org.eclipse.cdt.core.cnature
- org.eclipse.cdt.core.ccnature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
-
-
diff --git a/wpilibc/Makefile b/wpilibc/Makefile
deleted file mode 100644
index 598ecf39c8..0000000000
--- a/wpilibc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# force powerpc compilers
-CXX=powerpc-wrs-vxworks-g++
-AR=powerpc-wrs-vxworks-ar
-
-CPPFILES := $(shell find -name '*.cpp' | sort | sed 's/\.\///g')
-OBJS = $(CPPFILES:.cpp=.o)
-
-WPILib.a: $(OBJS)
- @echo " [AR] WPILib.a"
- @$(AR) crus WPILib.a $(OBJS)
-
-%.o: %.cpp
- @echo " [G++] "$?
- @mkdir -p `dirname Debug/$@`
- @$(CXX) -o $@ -c $? -g -I. -mcpu=603 -mstrict-align -mlongcall -Wall -DTOOL=GNU -D'SVN_REV="3623+1"' -std=c++11
-
-clean-objects:
- @$(foreach obf, $(shell find -name '*.o' | sort | sed 's/\.\///g'), echo " [RM] "$(obf);rm -rf $(obf);)
-
-clean-wpilib:
- @echo " [RM] WPILib.a"
- @rm -rf WPILib.a
-
-clean: clean-objects clean-wpilib
-
-install:
- mkdir -p $(DESTDIR)$(PREFIX)/lib
- cp WPILib.a $(DESTDIR)$(PREFIX)/lib/libWPILib.a
- $(foreach hdir,$(shell find -name '*.h' | sed 's/\.\///g' | xargs -L 1 dirname | sort | uniq),mkdir -p $(DESTDIR)$(PREFIX)/include/WPILib/$(hdir);)
- $(foreach header, $(shell find -name '*.h' | sed 's/\.\///g'), cp $(header) $(DESTDIR)$(PREFIX)/include/WPILib/$(header);)
-
-rebuild: clean all
-
-all: WPILib.a
diff --git a/wpilibc/src/main/include/ADXL345_I2C.h b/wpilibc/include/ADXL345_I2C.h
similarity index 100%
rename from wpilibc/src/main/include/ADXL345_I2C.h
rename to wpilibc/include/ADXL345_I2C.h
diff --git a/wpilibc/src/main/include/ADXL345_SPI.h b/wpilibc/include/ADXL345_SPI.h
similarity index 100%
rename from wpilibc/src/main/include/ADXL345_SPI.h
rename to wpilibc/include/ADXL345_SPI.h
diff --git a/wpilibc/src/main/include/Accelerometer.h b/wpilibc/include/Accelerometer.h
similarity index 100%
rename from wpilibc/src/main/include/Accelerometer.h
rename to wpilibc/include/Accelerometer.h
diff --git a/wpilibc/src/main/include/AnalogChannel.h b/wpilibc/include/AnalogChannel.h
similarity index 100%
rename from wpilibc/src/main/include/AnalogChannel.h
rename to wpilibc/include/AnalogChannel.h
diff --git a/wpilibc/src/main/include/AnalogModule.h b/wpilibc/include/AnalogModule.h
similarity index 100%
rename from wpilibc/src/main/include/AnalogModule.h
rename to wpilibc/include/AnalogModule.h
diff --git a/wpilibc/src/main/include/AnalogTrigger.h b/wpilibc/include/AnalogTrigger.h
similarity index 100%
rename from wpilibc/src/main/include/AnalogTrigger.h
rename to wpilibc/include/AnalogTrigger.h
diff --git a/wpilibc/src/main/include/AnalogTriggerOutput.h b/wpilibc/include/AnalogTriggerOutput.h
similarity index 100%
rename from wpilibc/src/main/include/AnalogTriggerOutput.h
rename to wpilibc/include/AnalogTriggerOutput.h
diff --git a/wpilibc/src/main/include/Base.h b/wpilibc/include/Base.h
similarity index 100%
rename from wpilibc/src/main/include/Base.h
rename to wpilibc/include/Base.h
diff --git a/wpilibc/src/main/include/Buttons/AnalogIOButton.h b/wpilibc/include/Buttons/AnalogIOButton.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/AnalogIOButton.h
rename to wpilibc/include/Buttons/AnalogIOButton.h
diff --git a/wpilibc/src/main/include/Buttons/Button.h b/wpilibc/include/Buttons/Button.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/Button.h
rename to wpilibc/include/Buttons/Button.h
diff --git a/wpilibc/src/main/include/Buttons/ButtonScheduler.h b/wpilibc/include/Buttons/ButtonScheduler.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/ButtonScheduler.h
rename to wpilibc/include/Buttons/ButtonScheduler.h
diff --git a/wpilibc/src/main/include/Buttons/CancelButtonScheduler.h b/wpilibc/include/Buttons/CancelButtonScheduler.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/CancelButtonScheduler.h
rename to wpilibc/include/Buttons/CancelButtonScheduler.h
diff --git a/wpilibc/src/main/include/Buttons/DigitalIOButton.h b/wpilibc/include/Buttons/DigitalIOButton.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/DigitalIOButton.h
rename to wpilibc/include/Buttons/DigitalIOButton.h
diff --git a/wpilibc/src/main/include/Buttons/HeldButtonScheduler.h b/wpilibc/include/Buttons/HeldButtonScheduler.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/HeldButtonScheduler.h
rename to wpilibc/include/Buttons/HeldButtonScheduler.h
diff --git a/wpilibc/src/main/include/Buttons/InternalButton.h b/wpilibc/include/Buttons/InternalButton.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/InternalButton.h
rename to wpilibc/include/Buttons/InternalButton.h
diff --git a/wpilibc/src/main/include/Buttons/JoystickButton.h b/wpilibc/include/Buttons/JoystickButton.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/JoystickButton.h
rename to wpilibc/include/Buttons/JoystickButton.h
diff --git a/wpilibc/src/main/include/Buttons/NetworkButton.h b/wpilibc/include/Buttons/NetworkButton.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/NetworkButton.h
rename to wpilibc/include/Buttons/NetworkButton.h
diff --git a/wpilibc/src/main/include/Buttons/PressedButtonScheduler.h b/wpilibc/include/Buttons/PressedButtonScheduler.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/PressedButtonScheduler.h
rename to wpilibc/include/Buttons/PressedButtonScheduler.h
diff --git a/wpilibc/src/main/include/Buttons/ReleasedButtonScheduler.h b/wpilibc/include/Buttons/ReleasedButtonScheduler.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/ReleasedButtonScheduler.h
rename to wpilibc/include/Buttons/ReleasedButtonScheduler.h
diff --git a/wpilibc/src/main/include/Buttons/ToggleButtonScheduler.h b/wpilibc/include/Buttons/ToggleButtonScheduler.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/ToggleButtonScheduler.h
rename to wpilibc/include/Buttons/ToggleButtonScheduler.h
diff --git a/wpilibc/src/main/include/Buttons/Trigger.h b/wpilibc/include/Buttons/Trigger.h
similarity index 100%
rename from wpilibc/src/main/include/Buttons/Trigger.h
rename to wpilibc/include/Buttons/Trigger.h
diff --git a/wpilibc/src/main/include/CAN/JaguarCANDriver.h b/wpilibc/include/CAN/JaguarCANDriver.h
similarity index 100%
rename from wpilibc/src/main/include/CAN/JaguarCANDriver.h
rename to wpilibc/include/CAN/JaguarCANDriver.h
diff --git a/wpilibc/src/main/include/CAN/can_proto.h b/wpilibc/include/CAN/can_proto.h
similarity index 100%
rename from wpilibc/src/main/include/CAN/can_proto.h
rename to wpilibc/include/CAN/can_proto.h
diff --git a/wpilibc/src/main/include/CANJaguar.h b/wpilibc/include/CANJaguar.h
similarity index 100%
rename from wpilibc/src/main/include/CANJaguar.h
rename to wpilibc/include/CANJaguar.h
diff --git a/wpilibc/src/main/include/Commands/Command.h b/wpilibc/include/Commands/Command.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/Command.h
rename to wpilibc/include/Commands/Command.h
diff --git a/wpilibc/src/main/include/Commands/CommandGroup.h b/wpilibc/include/Commands/CommandGroup.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/CommandGroup.h
rename to wpilibc/include/Commands/CommandGroup.h
diff --git a/wpilibc/src/main/include/Commands/CommandGroupEntry.h b/wpilibc/include/Commands/CommandGroupEntry.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/CommandGroupEntry.h
rename to wpilibc/include/Commands/CommandGroupEntry.h
diff --git a/wpilibc/src/main/include/Commands/PIDCommand.h b/wpilibc/include/Commands/PIDCommand.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/PIDCommand.h
rename to wpilibc/include/Commands/PIDCommand.h
diff --git a/wpilibc/src/main/include/Commands/PIDSubsystem.h b/wpilibc/include/Commands/PIDSubsystem.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/PIDSubsystem.h
rename to wpilibc/include/Commands/PIDSubsystem.h
diff --git a/wpilibc/src/main/include/Commands/PrintCommand.h b/wpilibc/include/Commands/PrintCommand.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/PrintCommand.h
rename to wpilibc/include/Commands/PrintCommand.h
diff --git a/wpilibc/src/main/include/Commands/Scheduler.h b/wpilibc/include/Commands/Scheduler.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/Scheduler.h
rename to wpilibc/include/Commands/Scheduler.h
diff --git a/wpilibc/src/main/include/Commands/StartCommand.h b/wpilibc/include/Commands/StartCommand.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/StartCommand.h
rename to wpilibc/include/Commands/StartCommand.h
diff --git a/wpilibc/src/main/include/Commands/Subsystem.h b/wpilibc/include/Commands/Subsystem.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/Subsystem.h
rename to wpilibc/include/Commands/Subsystem.h
diff --git a/wpilibc/src/main/include/Commands/WaitCommand.h b/wpilibc/include/Commands/WaitCommand.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/WaitCommand.h
rename to wpilibc/include/Commands/WaitCommand.h
diff --git a/wpilibc/src/main/include/Commands/WaitForChildren.h b/wpilibc/include/Commands/WaitForChildren.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/WaitForChildren.h
rename to wpilibc/include/Commands/WaitForChildren.h
diff --git a/wpilibc/src/main/include/Commands/WaitUntilCommand.h b/wpilibc/include/Commands/WaitUntilCommand.h
similarity index 100%
rename from wpilibc/src/main/include/Commands/WaitUntilCommand.h
rename to wpilibc/include/Commands/WaitUntilCommand.h
diff --git a/wpilibc/src/main/include/Compressor.h b/wpilibc/include/Compressor.h
similarity index 100%
rename from wpilibc/src/main/include/Compressor.h
rename to wpilibc/include/Compressor.h
diff --git a/wpilibc/src/main/include/Controller.h b/wpilibc/include/Controller.h
similarity index 100%
rename from wpilibc/src/main/include/Controller.h
rename to wpilibc/include/Controller.h
diff --git a/wpilibc/src/main/include/Counter.h b/wpilibc/include/Counter.h
similarity index 100%
rename from wpilibc/src/main/include/Counter.h
rename to wpilibc/include/Counter.h
diff --git a/wpilibc/src/main/include/CounterBase.h b/wpilibc/include/CounterBase.h
similarity index 100%
rename from wpilibc/src/main/include/CounterBase.h
rename to wpilibc/include/CounterBase.h
diff --git a/wpilibc/src/main/include/Dashboard.h b/wpilibc/include/Dashboard.h
similarity index 100%
rename from wpilibc/src/main/include/Dashboard.h
rename to wpilibc/include/Dashboard.h
diff --git a/wpilibc/src/main/include/DashboardBase.h b/wpilibc/include/DashboardBase.h
similarity index 100%
rename from wpilibc/src/main/include/DashboardBase.h
rename to wpilibc/include/DashboardBase.h
diff --git a/wpilibc/src/main/include/DigitalInput.h b/wpilibc/include/DigitalInput.h
similarity index 100%
rename from wpilibc/src/main/include/DigitalInput.h
rename to wpilibc/include/DigitalInput.h
diff --git a/wpilibc/src/main/include/DigitalModule.h b/wpilibc/include/DigitalModule.h
similarity index 100%
rename from wpilibc/src/main/include/DigitalModule.h
rename to wpilibc/include/DigitalModule.h
diff --git a/wpilibc/src/main/include/DigitalOutput.h b/wpilibc/include/DigitalOutput.h
similarity index 100%
rename from wpilibc/src/main/include/DigitalOutput.h
rename to wpilibc/include/DigitalOutput.h
diff --git a/wpilibc/src/main/include/DigitalSource.h b/wpilibc/include/DigitalSource.h
similarity index 100%
rename from wpilibc/src/main/include/DigitalSource.h
rename to wpilibc/include/DigitalSource.h
diff --git a/wpilibc/src/main/include/DoubleSolenoid.h b/wpilibc/include/DoubleSolenoid.h
similarity index 100%
rename from wpilibc/src/main/include/DoubleSolenoid.h
rename to wpilibc/include/DoubleSolenoid.h
diff --git a/wpilibc/src/main/include/DriverStation.h b/wpilibc/include/DriverStation.h
similarity index 100%
rename from wpilibc/src/main/include/DriverStation.h
rename to wpilibc/include/DriverStation.h
diff --git a/wpilibc/src/main/include/DriverStationEnhancedIO.h b/wpilibc/include/DriverStationEnhancedIO.h
similarity index 100%
rename from wpilibc/src/main/include/DriverStationEnhancedIO.h
rename to wpilibc/include/DriverStationEnhancedIO.h
diff --git a/wpilibc/src/main/include/DriverStationLCD.h b/wpilibc/include/DriverStationLCD.h
similarity index 100%
rename from wpilibc/src/main/include/DriverStationLCD.h
rename to wpilibc/include/DriverStationLCD.h
diff --git a/wpilibc/src/main/include/Encoder.h b/wpilibc/include/Encoder.h
similarity index 100%
rename from wpilibc/src/main/include/Encoder.h
rename to wpilibc/include/Encoder.h
diff --git a/wpilibc/src/main/include/Error.h b/wpilibc/include/Error.h
similarity index 100%
rename from wpilibc/src/main/include/Error.h
rename to wpilibc/include/Error.h
diff --git a/wpilibc/src/main/include/ErrorBase.h b/wpilibc/include/ErrorBase.h
similarity index 100%
rename from wpilibc/src/main/include/ErrorBase.h
rename to wpilibc/include/ErrorBase.h
diff --git a/wpilibc/src/main/include/GearTooth.h b/wpilibc/include/GearTooth.h
similarity index 100%
rename from wpilibc/src/main/include/GearTooth.h
rename to wpilibc/include/GearTooth.h
diff --git a/wpilibc/src/main/include/GenericHID.h b/wpilibc/include/GenericHID.h
similarity index 100%
rename from wpilibc/src/main/include/GenericHID.h
rename to wpilibc/include/GenericHID.h
diff --git a/wpilibc/src/main/include/Gyro.h b/wpilibc/include/Gyro.h
similarity index 100%
rename from wpilibc/src/main/include/Gyro.h
rename to wpilibc/include/Gyro.h
diff --git a/wpilibc/src/main/include/HiTechnicColorSensor.h b/wpilibc/include/HiTechnicColorSensor.h
similarity index 100%
rename from wpilibc/src/main/include/HiTechnicColorSensor.h
rename to wpilibc/include/HiTechnicColorSensor.h
diff --git a/wpilibc/src/main/include/HiTechnicCompass.h b/wpilibc/include/HiTechnicCompass.h
similarity index 100%
rename from wpilibc/src/main/include/HiTechnicCompass.h
rename to wpilibc/include/HiTechnicCompass.h
diff --git a/wpilibc/src/main/include/I2C.h b/wpilibc/include/I2C.h
similarity index 100%
rename from wpilibc/src/main/include/I2C.h
rename to wpilibc/include/I2C.h
diff --git a/wpilibc/src/main/include/InterruptableSensorBase.h b/wpilibc/include/InterruptableSensorBase.h
similarity index 100%
rename from wpilibc/src/main/include/InterruptableSensorBase.h
rename to wpilibc/include/InterruptableSensorBase.h
diff --git a/wpilibc/src/main/include/IterativeRobot.h b/wpilibc/include/IterativeRobot.h
similarity index 100%
rename from wpilibc/src/main/include/IterativeRobot.h
rename to wpilibc/include/IterativeRobot.h
diff --git a/wpilibc/src/main/include/Jaguar.h b/wpilibc/include/Jaguar.h
similarity index 100%
rename from wpilibc/src/main/include/Jaguar.h
rename to wpilibc/include/Jaguar.h
diff --git a/wpilibc/src/main/include/Joystick.h b/wpilibc/include/Joystick.h
similarity index 100%
rename from wpilibc/src/main/include/Joystick.h
rename to wpilibc/include/Joystick.h
diff --git a/wpilibc/src/main/include/Kinect.h b/wpilibc/include/Kinect.h
similarity index 100%
rename from wpilibc/src/main/include/Kinect.h
rename to wpilibc/include/Kinect.h
diff --git a/wpilibc/src/main/include/KinectStick.h b/wpilibc/include/KinectStick.h
similarity index 100%
rename from wpilibc/src/main/include/KinectStick.h
rename to wpilibc/include/KinectStick.h
diff --git a/wpilibc/src/main/include/LiveWindow/LiveWindow.h b/wpilibc/include/LiveWindow/LiveWindow.h
similarity index 100%
rename from wpilibc/src/main/include/LiveWindow/LiveWindow.h
rename to wpilibc/include/LiveWindow/LiveWindow.h
diff --git a/wpilibc/src/main/include/LiveWindow/LiveWindowSendable.h b/wpilibc/include/LiveWindow/LiveWindowSendable.h
similarity index 100%
rename from wpilibc/src/main/include/LiveWindow/LiveWindowSendable.h
rename to wpilibc/include/LiveWindow/LiveWindowSendable.h
diff --git a/wpilibc/src/main/include/LiveWindow/LiveWindowStatusListener.h b/wpilibc/include/LiveWindow/LiveWindowStatusListener.h
similarity index 100%
rename from wpilibc/src/main/include/LiveWindow/LiveWindowStatusListener.h
rename to wpilibc/include/LiveWindow/LiveWindowStatusListener.h
diff --git a/wpilibc/src/main/include/Module.h b/wpilibc/include/Module.h
similarity index 100%
rename from wpilibc/src/main/include/Module.h
rename to wpilibc/include/Module.h
diff --git a/wpilibc/src/main/include/MotorSafety.h b/wpilibc/include/MotorSafety.h
similarity index 100%
rename from wpilibc/src/main/include/MotorSafety.h
rename to wpilibc/include/MotorSafety.h
diff --git a/wpilibc/src/main/include/MotorSafetyHelper.h b/wpilibc/include/MotorSafetyHelper.h
similarity index 100%
rename from wpilibc/src/main/include/MotorSafetyHelper.h
rename to wpilibc/include/MotorSafetyHelper.h
diff --git a/wpilibc/src/main/include/NetworkCommunication/AICalibration.h b/wpilibc/include/NetworkCommunication/AICalibration.h
similarity index 100%
rename from wpilibc/src/main/include/NetworkCommunication/AICalibration.h
rename to wpilibc/include/NetworkCommunication/AICalibration.h
diff --git a/wpilibc/src/main/include/NetworkCommunication/FRCComm.h b/wpilibc/include/NetworkCommunication/FRCComm.h
similarity index 100%
rename from wpilibc/src/main/include/NetworkCommunication/FRCComm.h
rename to wpilibc/include/NetworkCommunication/FRCComm.h
diff --git a/wpilibc/src/main/include/NetworkCommunication/LoadOut.h b/wpilibc/include/NetworkCommunication/LoadOut.h
similarity index 100%
rename from wpilibc/src/main/include/NetworkCommunication/LoadOut.h
rename to wpilibc/include/NetworkCommunication/LoadOut.h
diff --git a/wpilibc/src/main/include/NetworkCommunication/UsageReporting.h b/wpilibc/include/NetworkCommunication/UsageReporting.h
similarity index 100%
rename from wpilibc/src/main/include/NetworkCommunication/UsageReporting.h
rename to wpilibc/include/NetworkCommunication/UsageReporting.h
diff --git a/wpilibc/src/main/include/NetworkCommunication/symModuleLink.h b/wpilibc/include/NetworkCommunication/symModuleLink.h
similarity index 100%
rename from wpilibc/src/main/include/NetworkCommunication/symModuleLink.h
rename to wpilibc/include/NetworkCommunication/symModuleLink.h
diff --git a/wpilibc/src/main/include/Notifier.h b/wpilibc/include/Notifier.h
similarity index 100%
rename from wpilibc/src/main/include/Notifier.h
rename to wpilibc/include/Notifier.h
diff --git a/wpilibc/src/main/include/PIDController.h b/wpilibc/include/PIDController.h
similarity index 100%
rename from wpilibc/src/main/include/PIDController.h
rename to wpilibc/include/PIDController.h
diff --git a/wpilibc/src/main/include/PIDOutput.h b/wpilibc/include/PIDOutput.h
similarity index 100%
rename from wpilibc/src/main/include/PIDOutput.h
rename to wpilibc/include/PIDOutput.h
diff --git a/wpilibc/src/main/include/PIDSource.h b/wpilibc/include/PIDSource.h
similarity index 100%
rename from wpilibc/src/main/include/PIDSource.h
rename to wpilibc/include/PIDSource.h
diff --git a/wpilibc/src/main/include/PWM.h b/wpilibc/include/PWM.h
similarity index 100%
rename from wpilibc/src/main/include/PWM.h
rename to wpilibc/include/PWM.h
diff --git a/wpilibc/src/main/include/Preferences.h b/wpilibc/include/Preferences.h
similarity index 100%
rename from wpilibc/src/main/include/Preferences.h
rename to wpilibc/include/Preferences.h
diff --git a/wpilibc/src/main/include/Relay.h b/wpilibc/include/Relay.h
similarity index 100%
rename from wpilibc/src/main/include/Relay.h
rename to wpilibc/include/Relay.h
diff --git a/wpilibc/src/main/include/Resource.h b/wpilibc/include/Resource.h
similarity index 100%
rename from wpilibc/src/main/include/Resource.h
rename to wpilibc/include/Resource.h
diff --git a/wpilibc/src/main/include/RobotBase.h b/wpilibc/include/RobotBase.h
similarity index 100%
rename from wpilibc/src/main/include/RobotBase.h
rename to wpilibc/include/RobotBase.h
diff --git a/wpilibc/src/main/include/RobotDrive.h b/wpilibc/include/RobotDrive.h
similarity index 100%
rename from wpilibc/src/main/include/RobotDrive.h
rename to wpilibc/include/RobotDrive.h
diff --git a/wpilibc/src/main/include/SPI.h b/wpilibc/include/SPI.h
similarity index 100%
rename from wpilibc/src/main/include/SPI.h
rename to wpilibc/include/SPI.h
diff --git a/wpilibc/src/main/include/SafePWM.h b/wpilibc/include/SafePWM.h
similarity index 100%
rename from wpilibc/src/main/include/SafePWM.h
rename to wpilibc/include/SafePWM.h
diff --git a/wpilibc/src/main/include/SensorBase.h b/wpilibc/include/SensorBase.h
similarity index 100%
rename from wpilibc/src/main/include/SensorBase.h
rename to wpilibc/include/SensorBase.h
diff --git a/wpilibc/src/main/include/SerialPort.h b/wpilibc/include/SerialPort.h
similarity index 100%
rename from wpilibc/src/main/include/SerialPort.h
rename to wpilibc/include/SerialPort.h
diff --git a/wpilibc/src/main/include/Servo.h b/wpilibc/include/Servo.h
similarity index 100%
rename from wpilibc/src/main/include/Servo.h
rename to wpilibc/include/Servo.h
diff --git a/wpilibc/src/main/include/SimpleRobot.h b/wpilibc/include/SimpleRobot.h
similarity index 100%
rename from wpilibc/src/main/include/SimpleRobot.h
rename to wpilibc/include/SimpleRobot.h
diff --git a/wpilibc/src/main/include/Skeleton.h b/wpilibc/include/Skeleton.h
similarity index 100%
rename from wpilibc/src/main/include/Skeleton.h
rename to wpilibc/include/Skeleton.h
diff --git a/wpilibc/src/main/include/SmartDashboard/NamedSendable.h b/wpilibc/include/SmartDashboard/NamedSendable.h
similarity index 100%
rename from wpilibc/src/main/include/SmartDashboard/NamedSendable.h
rename to wpilibc/include/SmartDashboard/NamedSendable.h
diff --git a/wpilibc/src/main/include/SmartDashboard/Sendable.h b/wpilibc/include/SmartDashboard/Sendable.h
similarity index 100%
rename from wpilibc/src/main/include/SmartDashboard/Sendable.h
rename to wpilibc/include/SmartDashboard/Sendable.h
diff --git a/wpilibc/src/main/include/SmartDashboard/SendableChooser.h b/wpilibc/include/SmartDashboard/SendableChooser.h
similarity index 100%
rename from wpilibc/src/main/include/SmartDashboard/SendableChooser.h
rename to wpilibc/include/SmartDashboard/SendableChooser.h
diff --git a/wpilibc/src/main/include/SmartDashboard/SmartDashboard.h b/wpilibc/include/SmartDashboard/SmartDashboard.h
similarity index 100%
rename from wpilibc/src/main/include/SmartDashboard/SmartDashboard.h
rename to wpilibc/include/SmartDashboard/SmartDashboard.h
diff --git a/wpilibc/src/main/include/Solenoid.h b/wpilibc/include/Solenoid.h
similarity index 100%
rename from wpilibc/src/main/include/Solenoid.h
rename to wpilibc/include/Solenoid.h
diff --git a/wpilibc/src/main/include/SolenoidBase.h b/wpilibc/include/SolenoidBase.h
similarity index 100%
rename from wpilibc/src/main/include/SolenoidBase.h
rename to wpilibc/include/SolenoidBase.h
diff --git a/wpilibc/src/main/include/SpeedController.h b/wpilibc/include/SpeedController.h
similarity index 100%
rename from wpilibc/src/main/include/SpeedController.h
rename to wpilibc/include/SpeedController.h
diff --git a/wpilibc/src/main/include/Talon.h b/wpilibc/include/Talon.h
similarity index 100%
rename from wpilibc/src/main/include/Talon.h
rename to wpilibc/include/Talon.h
diff --git a/wpilibc/src/main/include/Task.h b/wpilibc/include/Task.h
similarity index 100%
rename from wpilibc/src/main/include/Task.h
rename to wpilibc/include/Task.h
diff --git a/wpilibc/src/main/include/Timer.h b/wpilibc/include/Timer.h
similarity index 100%
rename from wpilibc/src/main/include/Timer.h
rename to wpilibc/include/Timer.h
diff --git a/wpilibc/src/main/include/Ultrasonic.h b/wpilibc/include/Ultrasonic.h
similarity index 100%
rename from wpilibc/src/main/include/Ultrasonic.h
rename to wpilibc/include/Ultrasonic.h
diff --git a/wpilibc/src/main/include/Utility.h b/wpilibc/include/Utility.h
similarity index 100%
rename from wpilibc/src/main/include/Utility.h
rename to wpilibc/include/Utility.h
diff --git a/wpilibc/src/main/include/Victor.h b/wpilibc/include/Victor.h
similarity index 100%
rename from wpilibc/src/main/include/Victor.h
rename to wpilibc/include/Victor.h
diff --git a/wpilibc/src/main/include/WPIErrors.h b/wpilibc/include/WPIErrors.h
similarity index 100%
rename from wpilibc/src/main/include/WPIErrors.h
rename to wpilibc/include/WPIErrors.h
diff --git a/wpilibc/src/main/include/WPILib.h b/wpilibc/include/WPILib.h
similarity index 100%
rename from wpilibc/src/main/include/WPILib.h
rename to wpilibc/include/WPILib.h
diff --git a/wpilibc/src/main/include/nivision.h b/wpilibc/include/nivision.h
similarity index 100%
rename from wpilibc/src/main/include/nivision.h
rename to wpilibc/include/nivision.h
diff --git a/wpilibc/src/main/include/pcre.h b/wpilibc/include/pcre.h
similarity index 100%
rename from wpilibc/src/main/include/pcre.h
rename to wpilibc/include/pcre.h
diff --git a/wpilibc/src/main/include/visa/visa.h b/wpilibc/include/visa/visa.h
similarity index 100%
rename from wpilibc/src/main/include/visa/visa.h
rename to wpilibc/include/visa/visa.h
diff --git a/wpilibc/src/main/include/visa/visatype.h b/wpilibc/include/visa/visatype.h
similarity index 100%
rename from wpilibc/src/main/include/visa/visatype.h
rename to wpilibc/include/visa/visatype.h
diff --git a/wpilibc/src/main/native/ADXL345_I2C.cpp b/wpilibc/lib/ADXL345_I2C.cpp
similarity index 100%
rename from wpilibc/src/main/native/ADXL345_I2C.cpp
rename to wpilibc/lib/ADXL345_I2C.cpp
diff --git a/wpilibc/src/main/native/ADXL345_SPI.cpp b/wpilibc/lib/ADXL345_SPI.cpp
similarity index 100%
rename from wpilibc/src/main/native/ADXL345_SPI.cpp
rename to wpilibc/lib/ADXL345_SPI.cpp
diff --git a/wpilibc/src/main/native/Accelerometer.cpp b/wpilibc/lib/Accelerometer.cpp
similarity index 100%
rename from wpilibc/src/main/native/Accelerometer.cpp
rename to wpilibc/lib/Accelerometer.cpp
diff --git a/wpilibc/src/main/native/AnalogChannel.cpp b/wpilibc/lib/AnalogChannel.cpp
similarity index 100%
rename from wpilibc/src/main/native/AnalogChannel.cpp
rename to wpilibc/lib/AnalogChannel.cpp
diff --git a/wpilibc/src/main/native/AnalogModule.cpp b/wpilibc/lib/AnalogModule.cpp
similarity index 100%
rename from wpilibc/src/main/native/AnalogModule.cpp
rename to wpilibc/lib/AnalogModule.cpp
diff --git a/wpilibc/src/main/native/AnalogTrigger.cpp b/wpilibc/lib/AnalogTrigger.cpp
similarity index 100%
rename from wpilibc/src/main/native/AnalogTrigger.cpp
rename to wpilibc/lib/AnalogTrigger.cpp
diff --git a/wpilibc/src/main/native/AnalogTriggerOutput.cpp b/wpilibc/lib/AnalogTriggerOutput.cpp
similarity index 100%
rename from wpilibc/src/main/native/AnalogTriggerOutput.cpp
rename to wpilibc/lib/AnalogTriggerOutput.cpp
diff --git a/wpilibc/src/main/native/Buttons/AnalogIOButton.cpp b/wpilibc/lib/Buttons/AnalogIOButton.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/AnalogIOButton.cpp
rename to wpilibc/lib/Buttons/AnalogIOButton.cpp
diff --git a/wpilibc/src/main/native/Buttons/Button.cpp b/wpilibc/lib/Buttons/Button.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/Button.cpp
rename to wpilibc/lib/Buttons/Button.cpp
diff --git a/wpilibc/src/main/native/Buttons/ButtonScheduler.cpp b/wpilibc/lib/Buttons/ButtonScheduler.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/ButtonScheduler.cpp
rename to wpilibc/lib/Buttons/ButtonScheduler.cpp
diff --git a/wpilibc/src/main/native/Buttons/CancelButtonScheduler.cpp b/wpilibc/lib/Buttons/CancelButtonScheduler.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/CancelButtonScheduler.cpp
rename to wpilibc/lib/Buttons/CancelButtonScheduler.cpp
diff --git a/wpilibc/src/main/native/Buttons/DigitalIOButton.cpp b/wpilibc/lib/Buttons/DigitalIOButton.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/DigitalIOButton.cpp
rename to wpilibc/lib/Buttons/DigitalIOButton.cpp
diff --git a/wpilibc/src/main/native/Buttons/HeldButtonScheduler.cpp b/wpilibc/lib/Buttons/HeldButtonScheduler.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/HeldButtonScheduler.cpp
rename to wpilibc/lib/Buttons/HeldButtonScheduler.cpp
diff --git a/wpilibc/src/main/native/Buttons/InternalButton.cpp b/wpilibc/lib/Buttons/InternalButton.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/InternalButton.cpp
rename to wpilibc/lib/Buttons/InternalButton.cpp
diff --git a/wpilibc/src/main/native/Buttons/JoystickButton.cpp b/wpilibc/lib/Buttons/JoystickButton.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/JoystickButton.cpp
rename to wpilibc/lib/Buttons/JoystickButton.cpp
diff --git a/wpilibc/src/main/native/Buttons/NetworkButton.cpp b/wpilibc/lib/Buttons/NetworkButton.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/NetworkButton.cpp
rename to wpilibc/lib/Buttons/NetworkButton.cpp
diff --git a/wpilibc/src/main/native/Buttons/PressedButtonScheduler.cpp b/wpilibc/lib/Buttons/PressedButtonScheduler.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/PressedButtonScheduler.cpp
rename to wpilibc/lib/Buttons/PressedButtonScheduler.cpp
diff --git a/wpilibc/src/main/native/Buttons/ReleasedButtonScheduler.cpp b/wpilibc/lib/Buttons/ReleasedButtonScheduler.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/ReleasedButtonScheduler.cpp
rename to wpilibc/lib/Buttons/ReleasedButtonScheduler.cpp
diff --git a/wpilibc/src/main/native/Buttons/ToggleButtonScheduler.cpp b/wpilibc/lib/Buttons/ToggleButtonScheduler.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/ToggleButtonScheduler.cpp
rename to wpilibc/lib/Buttons/ToggleButtonScheduler.cpp
diff --git a/wpilibc/src/main/native/Buttons/Trigger.cpp b/wpilibc/lib/Buttons/Trigger.cpp
similarity index 100%
rename from wpilibc/src/main/native/Buttons/Trigger.cpp
rename to wpilibc/lib/Buttons/Trigger.cpp
diff --git a/wpilibc/src/main/native/CANJaguar.cpp b/wpilibc/lib/CANJaguar.cpp
similarity index 100%
rename from wpilibc/src/main/native/CANJaguar.cpp
rename to wpilibc/lib/CANJaguar.cpp
diff --git a/wpilibc/src/main/native/Commands/Command.cpp b/wpilibc/lib/Commands/Command.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/Command.cpp
rename to wpilibc/lib/Commands/Command.cpp
diff --git a/wpilibc/src/main/native/Commands/CommandGroup.cpp b/wpilibc/lib/Commands/CommandGroup.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/CommandGroup.cpp
rename to wpilibc/lib/Commands/CommandGroup.cpp
diff --git a/wpilibc/src/main/native/Commands/CommandGroupEntry.cpp b/wpilibc/lib/Commands/CommandGroupEntry.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/CommandGroupEntry.cpp
rename to wpilibc/lib/Commands/CommandGroupEntry.cpp
diff --git a/wpilibc/src/main/native/Commands/PIDCommand.cpp b/wpilibc/lib/Commands/PIDCommand.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/PIDCommand.cpp
rename to wpilibc/lib/Commands/PIDCommand.cpp
diff --git a/wpilibc/src/main/native/Commands/PIDSubsystem.cpp b/wpilibc/lib/Commands/PIDSubsystem.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/PIDSubsystem.cpp
rename to wpilibc/lib/Commands/PIDSubsystem.cpp
diff --git a/wpilibc/src/main/native/Commands/PrintCommand.cpp b/wpilibc/lib/Commands/PrintCommand.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/PrintCommand.cpp
rename to wpilibc/lib/Commands/PrintCommand.cpp
diff --git a/wpilibc/src/main/native/Commands/Scheduler.cpp b/wpilibc/lib/Commands/Scheduler.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/Scheduler.cpp
rename to wpilibc/lib/Commands/Scheduler.cpp
diff --git a/wpilibc/src/main/native/Commands/StartCommand.cpp b/wpilibc/lib/Commands/StartCommand.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/StartCommand.cpp
rename to wpilibc/lib/Commands/StartCommand.cpp
diff --git a/wpilibc/src/main/native/Commands/Subsystem.cpp b/wpilibc/lib/Commands/Subsystem.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/Subsystem.cpp
rename to wpilibc/lib/Commands/Subsystem.cpp
diff --git a/wpilibc/src/main/native/Commands/WaitCommand.cpp b/wpilibc/lib/Commands/WaitCommand.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/WaitCommand.cpp
rename to wpilibc/lib/Commands/WaitCommand.cpp
diff --git a/wpilibc/src/main/native/Commands/WaitForChildren.cpp b/wpilibc/lib/Commands/WaitForChildren.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/WaitForChildren.cpp
rename to wpilibc/lib/Commands/WaitForChildren.cpp
diff --git a/wpilibc/src/main/native/Commands/WaitUntilCommand.cpp b/wpilibc/lib/Commands/WaitUntilCommand.cpp
similarity index 100%
rename from wpilibc/src/main/native/Commands/WaitUntilCommand.cpp
rename to wpilibc/lib/Commands/WaitUntilCommand.cpp
diff --git a/wpilibc/src/main/native/Compressor.cpp b/wpilibc/lib/Compressor.cpp
similarity index 100%
rename from wpilibc/src/main/native/Compressor.cpp
rename to wpilibc/lib/Compressor.cpp
diff --git a/wpilibc/src/main/native/Counter.cpp b/wpilibc/lib/Counter.cpp
similarity index 100%
rename from wpilibc/src/main/native/Counter.cpp
rename to wpilibc/lib/Counter.cpp
diff --git a/wpilibc/src/main/native/Dashboard.cpp b/wpilibc/lib/Dashboard.cpp
similarity index 100%
rename from wpilibc/src/main/native/Dashboard.cpp
rename to wpilibc/lib/Dashboard.cpp
diff --git a/wpilibc/src/main/native/DigitalInput.cpp b/wpilibc/lib/DigitalInput.cpp
similarity index 100%
rename from wpilibc/src/main/native/DigitalInput.cpp
rename to wpilibc/lib/DigitalInput.cpp
diff --git a/wpilibc/src/main/native/DigitalModule.cpp b/wpilibc/lib/DigitalModule.cpp
similarity index 100%
rename from wpilibc/src/main/native/DigitalModule.cpp
rename to wpilibc/lib/DigitalModule.cpp
diff --git a/wpilibc/src/main/native/DigitalOutput.cpp b/wpilibc/lib/DigitalOutput.cpp
similarity index 100%
rename from wpilibc/src/main/native/DigitalOutput.cpp
rename to wpilibc/lib/DigitalOutput.cpp
diff --git a/wpilibc/src/main/native/DigitalSource.cpp b/wpilibc/lib/DigitalSource.cpp
similarity index 100%
rename from wpilibc/src/main/native/DigitalSource.cpp
rename to wpilibc/lib/DigitalSource.cpp
diff --git a/wpilibc/src/main/native/DoubleSolenoid.cpp b/wpilibc/lib/DoubleSolenoid.cpp
similarity index 100%
rename from wpilibc/src/main/native/DoubleSolenoid.cpp
rename to wpilibc/lib/DoubleSolenoid.cpp
diff --git a/wpilibc/src/main/native/DriverStation.cpp b/wpilibc/lib/DriverStation.cpp
similarity index 100%
rename from wpilibc/src/main/native/DriverStation.cpp
rename to wpilibc/lib/DriverStation.cpp
diff --git a/wpilibc/src/main/native/DriverStationEnhancedIO.cpp b/wpilibc/lib/DriverStationEnhancedIO.cpp
similarity index 100%
rename from wpilibc/src/main/native/DriverStationEnhancedIO.cpp
rename to wpilibc/lib/DriverStationEnhancedIO.cpp
diff --git a/wpilibc/src/main/native/DriverStationLCD.cpp b/wpilibc/lib/DriverStationLCD.cpp
similarity index 100%
rename from wpilibc/src/main/native/DriverStationLCD.cpp
rename to wpilibc/lib/DriverStationLCD.cpp
diff --git a/wpilibc/src/main/native/Encoder.cpp b/wpilibc/lib/Encoder.cpp
similarity index 100%
rename from wpilibc/src/main/native/Encoder.cpp
rename to wpilibc/lib/Encoder.cpp
diff --git a/wpilibc/src/main/native/Error.cpp b/wpilibc/lib/Error.cpp
similarity index 100%
rename from wpilibc/src/main/native/Error.cpp
rename to wpilibc/lib/Error.cpp
diff --git a/wpilibc/src/main/native/ErrorBase.cpp b/wpilibc/lib/ErrorBase.cpp
similarity index 100%
rename from wpilibc/src/main/native/ErrorBase.cpp
rename to wpilibc/lib/ErrorBase.cpp
diff --git a/wpilibc/src/main/native/GearTooth.cpp b/wpilibc/lib/GearTooth.cpp
similarity index 100%
rename from wpilibc/src/main/native/GearTooth.cpp
rename to wpilibc/lib/GearTooth.cpp
diff --git a/wpilibc/src/main/native/Gyro.cpp b/wpilibc/lib/Gyro.cpp
similarity index 100%
rename from wpilibc/src/main/native/Gyro.cpp
rename to wpilibc/lib/Gyro.cpp
diff --git a/wpilibc/src/main/native/HiTechnicColorSensor.cpp b/wpilibc/lib/HiTechnicColorSensor.cpp
similarity index 100%
rename from wpilibc/src/main/native/HiTechnicColorSensor.cpp
rename to wpilibc/lib/HiTechnicColorSensor.cpp
diff --git a/wpilibc/src/main/native/HiTechnicCompass.cpp b/wpilibc/lib/HiTechnicCompass.cpp
similarity index 100%
rename from wpilibc/src/main/native/HiTechnicCompass.cpp
rename to wpilibc/lib/HiTechnicCompass.cpp
diff --git a/wpilibc/src/main/native/I2C.cpp b/wpilibc/lib/I2C.cpp
similarity index 100%
rename from wpilibc/src/main/native/I2C.cpp
rename to wpilibc/lib/I2C.cpp
diff --git a/wpilibc/src/main/native/InterruptableSensorBase.cpp b/wpilibc/lib/InterruptableSensorBase.cpp
similarity index 100%
rename from wpilibc/src/main/native/InterruptableSensorBase.cpp
rename to wpilibc/lib/InterruptableSensorBase.cpp
diff --git a/wpilibc/src/main/native/IterativeRobot.cpp b/wpilibc/lib/IterativeRobot.cpp
similarity index 100%
rename from wpilibc/src/main/native/IterativeRobot.cpp
rename to wpilibc/lib/IterativeRobot.cpp
diff --git a/wpilibc/src/main/native/Jaguar.cpp b/wpilibc/lib/Jaguar.cpp
similarity index 100%
rename from wpilibc/src/main/native/Jaguar.cpp
rename to wpilibc/lib/Jaguar.cpp
diff --git a/wpilibc/src/main/native/Joystick.cpp b/wpilibc/lib/Joystick.cpp
similarity index 100%
rename from wpilibc/src/main/native/Joystick.cpp
rename to wpilibc/lib/Joystick.cpp
diff --git a/wpilibc/src/main/native/Kinect.cpp b/wpilibc/lib/Kinect.cpp
similarity index 100%
rename from wpilibc/src/main/native/Kinect.cpp
rename to wpilibc/lib/Kinect.cpp
diff --git a/wpilibc/src/main/native/KinectStick.cpp b/wpilibc/lib/KinectStick.cpp
similarity index 100%
rename from wpilibc/src/main/native/KinectStick.cpp
rename to wpilibc/lib/KinectStick.cpp
diff --git a/wpilibc/src/main/native/LiveWindow/LiveWindow.cpp b/wpilibc/lib/LiveWindow/LiveWindow.cpp
similarity index 100%
rename from wpilibc/src/main/native/LiveWindow/LiveWindow.cpp
rename to wpilibc/lib/LiveWindow/LiveWindow.cpp
diff --git a/wpilibc/src/main/native/LiveWindow/LiveWindowStatusListener.cpp b/wpilibc/lib/LiveWindow/LiveWindowStatusListener.cpp
similarity index 100%
rename from wpilibc/src/main/native/LiveWindow/LiveWindowStatusListener.cpp
rename to wpilibc/lib/LiveWindow/LiveWindowStatusListener.cpp
diff --git a/wpilibc/src/main/native/Module.cpp b/wpilibc/lib/Module.cpp
similarity index 100%
rename from wpilibc/src/main/native/Module.cpp
rename to wpilibc/lib/Module.cpp
diff --git a/wpilibc/src/main/native/MotorSafetyHelper.cpp b/wpilibc/lib/MotorSafetyHelper.cpp
similarity index 100%
rename from wpilibc/src/main/native/MotorSafetyHelper.cpp
rename to wpilibc/lib/MotorSafetyHelper.cpp
diff --git a/wpilibc/src/main/native/Notifier.cpp b/wpilibc/lib/Notifier.cpp
similarity index 100%
rename from wpilibc/src/main/native/Notifier.cpp
rename to wpilibc/lib/Notifier.cpp
diff --git a/wpilibc/src/main/native/PIDController.cpp b/wpilibc/lib/PIDController.cpp
similarity index 100%
rename from wpilibc/src/main/native/PIDController.cpp
rename to wpilibc/lib/PIDController.cpp
diff --git a/wpilibc/src/main/native/PWM.cpp b/wpilibc/lib/PWM.cpp
similarity index 100%
rename from wpilibc/src/main/native/PWM.cpp
rename to wpilibc/lib/PWM.cpp
diff --git a/wpilibc/src/main/native/Preferences.cpp b/wpilibc/lib/Preferences.cpp
similarity index 99%
rename from wpilibc/src/main/native/Preferences.cpp
rename to wpilibc/lib/Preferences.cpp
index f492f97216..76379ec23f 100644
--- a/wpilibc/src/main/native/Preferences.cpp
+++ b/wpilibc/lib/Preferences.cpp
@@ -13,9 +13,6 @@
#include
#include
-/** Private NI function needed to write to the VxWorks target */
-extern "C" int Priv_SetWriteFileAllowed(uint32_t enable);
-
/** The Preferences table name */
static const char *kTableName = "Preferences";
/** The value of the save field */
@@ -537,7 +534,6 @@ void Preferences::WriteTaskRun()
giveSemaphore(m_fileOpStarted);
FILE *file = NULL;
- Priv_SetWriteFileAllowed(1);
file = fopen(kFileName, "w");
fputs("[Preferences]\n", file);
diff --git a/wpilibc/src/main/native/Relay.cpp b/wpilibc/lib/Relay.cpp
similarity index 100%
rename from wpilibc/src/main/native/Relay.cpp
rename to wpilibc/lib/Relay.cpp
diff --git a/wpilibc/src/main/native/Resource.cpp b/wpilibc/lib/Resource.cpp
similarity index 100%
rename from wpilibc/src/main/native/Resource.cpp
rename to wpilibc/lib/Resource.cpp
diff --git a/wpilibc/src/main/native/RobotBase.cpp b/wpilibc/lib/RobotBase.cpp
similarity index 100%
rename from wpilibc/src/main/native/RobotBase.cpp
rename to wpilibc/lib/RobotBase.cpp
diff --git a/wpilibc/src/main/native/RobotDrive.cpp b/wpilibc/lib/RobotDrive.cpp
similarity index 100%
rename from wpilibc/src/main/native/RobotDrive.cpp
rename to wpilibc/lib/RobotDrive.cpp
diff --git a/wpilibc/src/main/native/SPI.cpp b/wpilibc/lib/SPI.cpp
similarity index 100%
rename from wpilibc/src/main/native/SPI.cpp
rename to wpilibc/lib/SPI.cpp
diff --git a/wpilibc/src/main/native/SafePWM.cpp b/wpilibc/lib/SafePWM.cpp
similarity index 100%
rename from wpilibc/src/main/native/SafePWM.cpp
rename to wpilibc/lib/SafePWM.cpp
diff --git a/wpilibc/src/main/native/SensorBase.cpp b/wpilibc/lib/SensorBase.cpp
similarity index 100%
rename from wpilibc/src/main/native/SensorBase.cpp
rename to wpilibc/lib/SensorBase.cpp
diff --git a/wpilibc/src/main/native/SerialPort.cpp b/wpilibc/lib/SerialPort.cpp
similarity index 100%
rename from wpilibc/src/main/native/SerialPort.cpp
rename to wpilibc/lib/SerialPort.cpp
diff --git a/wpilibc/src/main/native/Servo.cpp b/wpilibc/lib/Servo.cpp
similarity index 100%
rename from wpilibc/src/main/native/Servo.cpp
rename to wpilibc/lib/Servo.cpp
diff --git a/wpilibc/src/main/native/SimpleRobot.cpp b/wpilibc/lib/SimpleRobot.cpp
similarity index 100%
rename from wpilibc/src/main/native/SimpleRobot.cpp
rename to wpilibc/lib/SimpleRobot.cpp
diff --git a/wpilibc/src/main/native/SmartDashboard/SendableChooser.cpp b/wpilibc/lib/SmartDashboard/SendableChooser.cpp
similarity index 100%
rename from wpilibc/src/main/native/SmartDashboard/SendableChooser.cpp
rename to wpilibc/lib/SmartDashboard/SendableChooser.cpp
diff --git a/wpilibc/src/main/native/SmartDashboard/SmartDashboard.cpp b/wpilibc/lib/SmartDashboard/SmartDashboard.cpp
similarity index 100%
rename from wpilibc/src/main/native/SmartDashboard/SmartDashboard.cpp
rename to wpilibc/lib/SmartDashboard/SmartDashboard.cpp
diff --git a/wpilibc/src/main/native/Solenoid.cpp b/wpilibc/lib/Solenoid.cpp
similarity index 100%
rename from wpilibc/src/main/native/Solenoid.cpp
rename to wpilibc/lib/Solenoid.cpp
diff --git a/wpilibc/src/main/native/SolenoidBase.cpp b/wpilibc/lib/SolenoidBase.cpp
similarity index 100%
rename from wpilibc/src/main/native/SolenoidBase.cpp
rename to wpilibc/lib/SolenoidBase.cpp
diff --git a/wpilibc/src/main/native/Talon.cpp b/wpilibc/lib/Talon.cpp
similarity index 100%
rename from wpilibc/src/main/native/Talon.cpp
rename to wpilibc/lib/Talon.cpp
diff --git a/wpilibc/src/main/native/Task.cpp b/wpilibc/lib/Task.cpp
similarity index 100%
rename from wpilibc/src/main/native/Task.cpp
rename to wpilibc/lib/Task.cpp
diff --git a/wpilibc/src/main/native/Timer.cpp b/wpilibc/lib/Timer.cpp
similarity index 100%
rename from wpilibc/src/main/native/Timer.cpp
rename to wpilibc/lib/Timer.cpp
diff --git a/wpilibc/src/main/native/Ultrasonic.cpp b/wpilibc/lib/Ultrasonic.cpp
similarity index 100%
rename from wpilibc/src/main/native/Ultrasonic.cpp
rename to wpilibc/lib/Ultrasonic.cpp
diff --git a/wpilibc/src/main/native/Utility.cpp b/wpilibc/lib/Utility.cpp
similarity index 100%
rename from wpilibc/src/main/native/Utility.cpp
rename to wpilibc/lib/Utility.cpp
diff --git a/wpilibc/src/main/native/Victor.cpp b/wpilibc/lib/Victor.cpp
similarity index 100%
rename from wpilibc/src/main/native/Victor.cpp
rename to wpilibc/lib/Victor.cpp
diff --git a/wpilibc/pom.xml b/wpilibc/pom.xml
deleted file mode 100644
index a4c9c42287..0000000000
--- a/wpilibc/pom.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
- 4.0.0
- edu.wpi.first.wpilib
- cpp
- pom
- 0.1.0-SNAPSHOT
-
-
- Athena
-
-
diff --git a/wpilibc/src/main/include/Vision/AxisCamera.h b/wpilibc/src/main/include/Vision/AxisCamera.h
deleted file mode 100644
index c6939536d2..0000000000
--- a/wpilibc/src/main/include/Vision/AxisCamera.h
+++ /dev/null
@@ -1,114 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __AXIS_CAMERA_H__
-#define __AXIS_CAMERA_H__
-
-#include "HAL/HAL.h"
-#include
-#include
-
-#include "Vision/AxisCameraParams.h"
-#if JAVA_CAMERA_LIB != 1
-#include "Vision/ColorImage.h"
-#include "Vision/HSLImage.h"
-#endif
-#include "nivision.h"
-#include
-#include "Task.h"
-#include "HAL/Semaphore.h"
-
-class PCVideoServer;
-
-/**
- * AxisCamera class.
- * This class handles everything about the Axis 206 FRC Camera.
- * It starts up 2 tasks each using a different connection to the camera:
- * - image reading task that reads images repeatedly from the camera
- * - parameter handler task in the base class that monitors for changes to
- * parameters and updates the camera
- */
-class AxisCamera : public AxisCameraParams
-{
-private:
- explicit AxisCamera(const char *cameraIP);
-public:
- virtual ~AxisCamera();
- static AxisCamera& GetInstance(const char *cameraIP = NULL);
- static void DeleteInstance();
-
- bool IsFreshImage();
- SEMAPHORE_ID GetNewImageSem();
-
- int GetImage(Image *imaqImage);
-#if JAVA_CAMERA_LIB != 1
- int GetImage(ColorImage *image);
- HSLImage *GetImage();
-#endif
-
- int CopyJPEG(char **destImage, int &destImageSize, int &destImageBufferSize);
-
-private:
- static int s_ImageStreamTaskFunction(AxisCamera *thisPtr);
- int ImageStreamTaskFunction();
-
- int ReadImagesFromCamera();
- void UpdatePublicImageFromCamera(char *imgBuffer, int imgSize);
-
- virtual void RestartCameraTask();
-
- static AxisCamera *_instance;
- int m_cameraSocket;
- typedef std::set SemSet_t;
- SemSet_t m_newImageSemSet;
-
- char* m_protectedImageBuffer;
- int m_protectedImageBufferLength;
- int m_protectedImageSize;
- MUTEX_ID m_protectedImageSem;
- bool m_freshImage;
-
- Task m_imageStreamTask;
-
- PCVideoServer *m_videoServer;
-};
-
-#if JAVA_CAMERA_LIB == 1
-#ifdef __cplusplus
-extern "C" {
-#endif
- void AxisCameraStart(const char *IPAddress);
- int AxisCameraGetImage(Image *image);
- void AxisCameraDeleteInstance();
- int AxisCameraFreshImage();
-
- // Mid-stream gets & writes
- void AxisCameraWriteBrightness(int brightness);
- int AxisCameraGetBrightness();
- void AxisCameraWriteWhiteBalance(AxisCameraParams::WhiteBalance_t whiteBalance);
- AxisCameraParams::WhiteBalance_t AxisCameraGetWhiteBalance();
- void AxisCameraWriteColorLevel(int colorLevel);
- int AxisCameraGetColorLevel();
- void AxisCameraWriteExposureControl(AxisCameraParams::Exposure_t exposure);
- AxisCameraParams::Exposure_t AxisCameraGetExposureControl();
- void AxisCameraWriteExposurePriority(int exposurePriority);
- int AxisCameraGetExposurePriority();
- void AxisCameraWriteMaxFPS(int maxFPS);
- int AxisCameraGetMaxFPS();
-
- // New-Stream gets & writes
- void AxisCameraWriteResolution(AxisCameraParams::Resolution_t resolution);
- AxisCameraParams::Resolution_t AxisCameraGetResolution();
- void AxisCameraWriteCompression(int compression);
- int AxisCameraGetCompression();
- void AxisCameraWriteRotation(AxisCameraParams::Rotation_t rotation);
- AxisCameraParams::Rotation_t AxisCameraGetRotation();
-#ifdef __cplusplus
-}
-#endif
-#endif // JAVA_CAMERA_LIB == 1
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/AxisCameraParams.h b/wpilibc/src/main/include/Vision/AxisCameraParams.h
deleted file mode 100644
index 2986bfc0a9..0000000000
--- a/wpilibc/src/main/include/Vision/AxisCameraParams.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __AXIS_CAMERA_PARAMS_H__
-#define __AXIS_CAMERA_PARAMS_H__
-
-#include "EnumCameraParameter.h"
-#include "ErrorBase.h"
-#include "IntCameraParameter.h"
-#include "Task.h"
-#include "HAL/Semaphore.h"
-#include
-
-/**
- * AxisCameraParams class.
- * This class handles parameter configuration the Axis 206 Ethernet Camera.
- * It starts up a tasks with an independent connection to the camera that monitors
- * for changes to parameters and updates the camera.
- * It is only separate from AxisCamera to isolate the parameter code from the image streaming code.
- */
-class AxisCameraParams : public ErrorBase
-{
-public:
- typedef enum Exposure_t {kExposure_Automatic, kExposure_Hold, kExposure_FlickerFree50Hz, kExposure_FlickerFree60Hz} Exposure;
- typedef enum WhiteBalance_t {kWhiteBalance_Automatic, kWhiteBalance_Hold, kWhiteBalance_FixedOutdoor1, kWhiteBalance_FixedOutdoor2, kWhiteBalance_FixedIndoor, kWhiteBalance_FixedFlourescent1, kWhiteBalance_FixedFlourescent2} WhiteBalance;
- typedef enum Resolution_t {kResolution_640x480, kResolution_640x360, kResolution_320x240, kResolution_160x120} Resolution;
- typedef enum Rotation_t {kRotation_0, kRotation_180} Rotation;
-
-protected:
- AxisCameraParams(const char* ipAddress);
- virtual ~AxisCameraParams();
-
-public:
- // Mid-stream gets & writes
- void WriteBrightness(int);
- int GetBrightness();
- void WriteWhiteBalance(WhiteBalance_t whiteBalance);
- WhiteBalance_t GetWhiteBalance();
- void WriteColorLevel(int);
- int GetColorLevel();
- void WriteExposureControl(Exposure_t);
- Exposure_t GetExposureControl();
- void WriteExposurePriority(int);
- int GetExposurePriority();
- void WriteMaxFPS(int);
- int GetMaxFPS();
-
- // New-Stream gets & writes (i.e. require restart)
- void WriteResolution(Resolution_t);
- Resolution_t GetResolution();
- void WriteCompression(int);
- int GetCompression();
- void WriteRotation(Rotation_t);
- Rotation_t GetRotation();
-
-protected:
- virtual void RestartCameraTask() = 0;
- int CreateCameraSocket(const char *requestString);
-
- static int s_ParamTaskFunction(AxisCameraParams* thisPtr);
- int ParamTaskFunction();
-
- int UpdateCamParam(const char *param);
- int ReadCamParams();
-
- Task m_paramTask;
- uint32_t m_ipAddress; // IPv4
- SEMAPHORE_ID m_paramChangedSem;
- SEMAPHORE_ID m_socketPossessionSem;
-
- //Camera Properties
- IntCameraParameter *m_brightnessParam;
- IntCameraParameter *m_compressionParam;
- IntCameraParameter *m_exposurePriorityParam;
- IntCameraParameter *m_colorLevelParam;
- IntCameraParameter *m_maxFPSParam;
- EnumCameraParameter *m_rotationParam;
- EnumCameraParameter *m_resolutionParam;
- EnumCameraParameter *m_exposureControlParam;
- EnumCameraParameter *m_whiteBalanceParam;
-
- // A vector to access all properties simply.
- typedef std::vector ParameterVector_t;
- ParameterVector_t m_parameters;
-};
-
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/BinaryImage.h b/wpilibc/src/main/include/Vision/BinaryImage.h
deleted file mode 100644
index 23a8557392..0000000000
--- a/wpilibc/src/main/include/Vision/BinaryImage.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __BINARY_IMAGE_H__
-#define __BINARY_IMAGE_H__
-
-#include "MonoImage.h"
-/**
- * Included for ParticleAnalysisReport definition
- * TODO: Eliminate this dependency!
- */
-#include "Vision2009/VisionAPI.h"
-
-#include
-#include
-using namespace std;
-
-class BinaryImage : public MonoImage
-{
-public:
- BinaryImage();
- virtual ~BinaryImage();
- int GetNumberParticles();
- ParticleAnalysisReport GetParticleAnalysisReport(int particleNumber);
- void GetParticleAnalysisReport(int particleNumber, ParticleAnalysisReport *par);
- vector* GetOrderedParticleAnalysisReports();
- BinaryImage *RemoveSmallObjects(bool connectivity8, int erosions);
- BinaryImage *RemoveLargeObjects(bool connectivity8, int erosions);
- BinaryImage *ConvexHull(bool connectivity8);
- BinaryImage *ParticleFilter(ParticleFilterCriteria2 *criteria, int criteriaCount);
- virtual void Write(const char *fileName);
-private:
- bool ParticleMeasurement(int particleNumber, MeasurementType whatToMeasure, int *result);
- bool ParticleMeasurement(int particleNumber, MeasurementType whatToMeasure, double *result);
- static double NormalizeFromRange(double position, int range);
- static bool CompareParticleSizes(ParticleAnalysisReport particle1, ParticleAnalysisReport particle2);
-};
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/ColorImage.h b/wpilibc/src/main/include/Vision/ColorImage.h
deleted file mode 100644
index af71ce96b4..0000000000
--- a/wpilibc/src/main/include/Vision/ColorImage.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __COLOR_IMAGE_H__
-#define __COLOR_IMAGE_H__
-
-#include "ImageBase.h"
-#include "BinaryImage.h"
-#include "Threshold.h"
-
-class ColorImage : public ImageBase
-{
-public:
- ColorImage(ImageType type);
- virtual ~ColorImage();
- BinaryImage *ThresholdRGB(int redLow, int redHigh, int greenLow, int greenHigh, int blueLow, int blueHigh);
- BinaryImage *ThresholdHSL(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int luminenceLow, int luminenceHigh);
- BinaryImage *ThresholdHSV(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int valueHigh, int valueLow);
- BinaryImage *ThresholdHSI(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int intensityLow, int intensityHigh);
- BinaryImage *ThresholdRGB(Threshold &threshold);
- BinaryImage *ThresholdHSL(Threshold &threshold);
- BinaryImage *ThresholdHSV(Threshold &threshold);
- BinaryImage *ThresholdHSI(Threshold &threshold);
- MonoImage *GetRedPlane();
- MonoImage *GetGreenPlane();
- MonoImage *GetBluePlane();
- MonoImage *GetHSLHuePlane();
- MonoImage *GetHSVHuePlane();
- MonoImage *GetHSIHuePlane();
- MonoImage *GetHSLSaturationPlane();
- MonoImage *GetHSVSaturationPlane();
- MonoImage *GetHSISaturationPlane();
- MonoImage *GetLuminancePlane();
- MonoImage *GetValuePlane();
- MonoImage *GetIntensityPlane();
- void ReplaceRedPlane(MonoImage *plane);
- void ReplaceGreenPlane(MonoImage *plane);
- void ReplaceBluePlane(MonoImage *plane);
- void ReplaceHSLHuePlane(MonoImage *plane);
- void ReplaceHSVHuePlane(MonoImage *plane);
- void ReplaceHSIHuePlane(MonoImage *plane);
- void ReplaceHSLSaturationPlane(MonoImage *plane);
- void ReplaceHSVSaturationPlane(MonoImage *plane);
- void ReplaceHSISaturationPlane(MonoImage *plane);
- void ReplaceLuminancePlane(MonoImage *plane);
- void ReplaceValuePlane(MonoImage *plane);
- void ReplaceIntensityPlane(MonoImage *plane);
- void ColorEqualize();
- void LuminanceEqualize();
-
-private:
- BinaryImage *ComputeThreshold(ColorMode colorMode, int low1, int high1, int low2, int high2, int low3, int high3);
- void Equalize(bool allPlanes);
- MonoImage * ExtractColorPlane(ColorMode mode, int planeNumber);
- MonoImage * ExtractFirstColorPlane(ColorMode mode);
- MonoImage * ExtractSecondColorPlane(ColorMode mode);
- MonoImage * ExtractThirdColorPlane(ColorMode mode);
- void ReplacePlane(ColorMode mode, MonoImage *plane, int planeNumber);
- void ReplaceFirstColorPlane(ColorMode mode, MonoImage *plane);
- void ReplaceSecondColorPlane(ColorMode mode, MonoImage *plane);
- void ReplaceThirdColorPlane(ColorMode mode, MonoImage *plane);
-};
-
-#endif
-
diff --git a/wpilibc/src/main/include/Vision/EnumCameraParameter.h b/wpilibc/src/main/include/Vision/EnumCameraParameter.h
deleted file mode 100644
index 543209f5c9..0000000000
--- a/wpilibc/src/main/include/Vision/EnumCameraParameter.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __ENUM_CAMERA_PARAMETER_H__
-#define __ENUM_CAMERA_PARAMETER_H__
-
-#include "IntCameraParameter.h"
-
-/**
- * Enumerated camera parameter.
- * This class represents a camera parameter that takes an enumerated type for a value.
- */
-class EnumCameraParameter: public IntCameraParameter
-{
-private:
- const char *const*m_enumValues;
- int m_numChoices;
-
-public:
- EnumCameraParameter(const char *setString, const char *getString, bool requiresRestart, const char *const*choices, int numChoices);
- virtual bool CheckChanged(bool &changed, char *param);
- virtual void GetParamFromString(const char *string, int stringLength);
-};
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/HSLImage.h b/wpilibc/src/main/include/Vision/HSLImage.h
deleted file mode 100644
index fb365adb9e..0000000000
--- a/wpilibc/src/main/include/Vision/HSLImage.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __HSL_IMAGE_H__
-#define __HSL_IMAGE_H__
-
-#include "ColorImage.h"
-
-/**
- * A color image represented in HSL color space at 3 bytes per pixel.
- */
-class HSLImage : public ColorImage
-{
-public:
- HSLImage();
- HSLImage(const char *fileName);
- virtual ~HSLImage();
-};
-
-#endif
-
diff --git a/wpilibc/src/main/include/Vision/ImageBase.h b/wpilibc/src/main/include/Vision/ImageBase.h
deleted file mode 100644
index 6a45ec1876..0000000000
--- a/wpilibc/src/main/include/Vision/ImageBase.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __IMAGE_BASE_H__
-#define __IMAGE_BASE_H__
-
-#include
-#include "nivision.h"
-#include "ErrorBase.h"
-
-#define DEFAULT_BORDER_SIZE 3
-
-class ImageBase : public ErrorBase
-{
-public:
- ImageBase(ImageType type);
- virtual ~ImageBase();
- virtual void Write(const char *fileName);
- int GetHeight();
- int GetWidth();
- Image *GetImaqImage();
-protected:
- Image *m_imaqImage;
-};
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/IntCameraParameter.h b/wpilibc/src/main/include/Vision/IntCameraParameter.h
deleted file mode 100644
index f4a5abb7d0..0000000000
--- a/wpilibc/src/main/include/Vision/IntCameraParameter.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __INT_CAMERA_PARAMETER_H__
-#define __INT_CAMERA_PARAMETER_H__
-
-#include "HAL/HAL.h"
-
-/**
- * Integer camera parameter.
- * This class represents a camera parameter that takes an integer value.
- */
-class IntCameraParameter
-{
-protected:
- const char *m_setString;
- const char *m_getString;
- bool m_changed;
- bool m_requiresRestart;
- int m_value; // parameter value
-
- int SearchForParam(const char *pattern, const char *searchString, int searchStringLen, char *result);
-
-public:
- IntCameraParameter(const char *setString, const char *getString, bool requiresRestart);
- virtual ~IntCameraParameter(){}
- int GetValue();
- void SetValue(int value);
- virtual bool CheckChanged(bool &changed, char *param);
- virtual void GetParamFromString(const char *string, int stringLength);
-};
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/MonoImage.h b/wpilibc/src/main/include/Vision/MonoImage.h
deleted file mode 100644
index 277ff3a7e0..0000000000
--- a/wpilibc/src/main/include/Vision/MonoImage.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __MONO_IMAGE_H__
-#define __MONO_IMAGE_H__
-
-#include "ImageBase.h"
-
-#include
-
-using namespace std;
-
-class MonoImage : public ImageBase
-{
-public:
- MonoImage();
- virtual ~MonoImage();
-
- vector * DetectEllipses(EllipseDescriptor *ellipseDescriptor,
- CurveOptions *curveOptions,
- ShapeDetectionOptions *shapeDetectionOptions,
- ROI *roi);
- vector * DetectEllipses(EllipseDescriptor *ellipseDescriptor);
-};
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/PCVideoServer.h b/wpilibc/src/main/include/Vision/PCVideoServer.h
deleted file mode 100644
index 869223d5df..0000000000
--- a/wpilibc/src/main/include/Vision/PCVideoServer.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __PC_VIDEO_SERVER_H__
-#define __PC_VIDEO_SERVER_H__
-
-#include "Task.h"
-#include
-
-/** port for sending video to laptop */
-#define VIDEO_TO_PC_PORT 1180
-
-/**
- * Class the serves images to the PC.
- */
-class PCVideoServer : public ErrorBase {
-
-public:
- PCVideoServer();
- ~PCVideoServer();
- unsigned int Release();
- void Start();
- void Stop();
-
-private:
- static int s_ServerTask(PCVideoServer *thisPtr);
- int ServerTask();
- int StartServerTask();
-
- Task m_serverTask;
- SEMAPHORE_ID m_newImageSem;
- bool m_stopServer;
-};
-
-#endif
-
diff --git a/wpilibc/src/main/include/Vision/RGBImage.h b/wpilibc/src/main/include/Vision/RGBImage.h
deleted file mode 100644
index a92dc5822a..0000000000
--- a/wpilibc/src/main/include/Vision/RGBImage.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __RGB_IMAGE_H__
-#define __RGB_IMAGE_H__
-
-#include "ColorImage.h"
-
-/**
- * A color image represented in RGB color space at 3 bytes per pixel.
- */
-class RGBImage : public ColorImage
-{
-public:
- RGBImage();
- RGBImage(const char *fileName);
- virtual ~RGBImage();
-};
-
-#endif
diff --git a/wpilibc/src/main/include/Vision/Threshold.h b/wpilibc/src/main/include/Vision/Threshold.h
deleted file mode 100644
index c38d7ca6a6..0000000000
--- a/wpilibc/src/main/include/Vision/Threshold.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#ifndef __THRESHOLD_H__
-#define __THRESHOLD_H__
-
-/**
- * Color threshold values.
- * This object represnts the threshold values for any type of color object
- * that is used in a threshhold operation. It simplifies passing values
- * around in a program for color detection.
- */
-class Threshold
-{
-public:
- int plane1Low;
- int plane1High;
- int plane2Low;
- int plane2High;
- int plane3Low;
- int plane3High;
- Threshold(int plane1Low, int plane1High,
- int plane2Low, int plane2High,
- int plane3Low, int plane3High);
-};
-
-#endif
diff --git a/wpilibc/src/main/native/Vision/AxisCamera.cpp b/wpilibc/src/main/native/Vision/AxisCamera.cpp
deleted file mode 100644
index 398cd38765..0000000000
--- a/wpilibc/src/main/native/Vision/AxisCamera.cpp
+++ /dev/null
@@ -1,502 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "Vision/AxisCamera.h"
-
-#include
-#include "NetworkCommunication/UsageReporting.h"
-#include "HAL/cpp/Synchronized.h"
-#include "Vision/PCVideoServer.h"
-#include "WPIErrors.h"
-
-/** Private NI function to decode JPEG */
-IMAQ_FUNC int Priv_ReadJPEGString_C(Image* _image, const unsigned char* _string, uint32_t _stringLength);
-
-// Max packet without jumbo frames is 1500... add 36 because??
-#define kMaxPacketSize 1536
-#define kImageBufferAllocationIncrement 1000
-
-AxisCamera *AxisCamera::_instance = NULL;
-
-/**
- * AxisCamera constructor
- */
-AxisCamera::AxisCamera(const char *ipAddress)
- : AxisCameraParams(ipAddress)
- , m_cameraSocket(ERROR)
- , m_protectedImageBuffer(NULL)
- , m_protectedImageBufferLength(0)
- , m_protectedImageSize(0)
- , m_protectedImageSem(NULL)
- , m_freshImage(false)
- , m_imageStreamTask("cameraTask", (FUNCPTR)s_ImageStreamTaskFunction)
- , m_videoServer(NULL)
-{
- m_protectedImageSem = initializeMutex(SEMAPHORE_Q_PRIORITY | SEMAPHORE_INVERSION_SAFE | SEMAPHORE_DELETE_SAFE);
-
-#if JAVA_CAMERA_LIB != 1
- nUsageReporting::report(nUsageReporting::kResourceType_AxisCamera, ipAddress == NULL ? 1 : 2);
-#endif
-
- if (!StatusIsFatal())
- m_imageStreamTask.Start((int)this);
-}
-
-/**
- * Destructor
- */
-AxisCamera::~AxisCamera()
-{
- delete m_videoServer;
- m_videoServer = NULL;
-
- m_imageStreamTask.Stop();
- close(m_cameraSocket);
-
- SemSet_t::iterator it = m_newImageSemSet.begin();
- SemSet_t::iterator end = m_newImageSemSet.end();
- for (;it != end; it++)
- {
- deleteSemaphore(*it);
- }
- m_newImageSemSet.clear();
-
- deleteMutex(m_protectedImageSem);
-}
-
-/**
- * Get a pointer to the AxisCamera object, if the object does not exist, create it
- * To use the camera on port 2 of a cRIO-FRC, pass "192.168.0.90" to the first GetInstance call.
- * @return reference to AxisCamera object
- */
-AxisCamera &AxisCamera::GetInstance(const char *cameraIP)
-{
- if (NULL == _instance)
- {
- _instance = new AxisCamera(cameraIP);
-
- _instance->m_videoServer = new PCVideoServer();
- }
-
- return *_instance;
-}
-
-/**
- * Called by Java to delete the camera... how thoughtful
- */
-void AxisCamera::DeleteInstance()
-{
- delete _instance;
- _instance = NULL;
-}
-
-/**
- * Return true if the latest image from the camera has not been retrieved by calling GetImage() yet.
- * @return true if the image has not been retrieved yet.
- */
-bool AxisCamera::IsFreshImage()
-{
- return m_freshImage;
-}
-
-/**
- * Get the semaphore to be used to synchronize image access with camera acquisition
- *
- * Call semTake on the returned semaphore to block until a new image is acquired.
- *
- * The semaphore is owned by the AxisCamera class and will be deleted when the class is destroyed.
- * @return A semaphore to notify when new image is received
- */
-SEMAPHORE_ID AxisCamera::GetNewImageSem()
-{
- SEMAPHORE_ID sem = initializeSemaphore(SEMAPHORE_Q_PRIORITY, SEMAPHORE_EMPTY);
- m_newImageSemSet.insert(sem);
- return sem;
-}
-
-/**
- * Get an image from the camera and store it in the provided image.
- * @param image The imaq image to store the result in. This must be an HSL or RGB image
- * This function is called by Java.
- * @return 1 upon success, zero on a failure
- */
-int AxisCamera::GetImage(Image* imaqImage)
-{
- if (m_protectedImageBuffer == NULL)
- return 0;
- Synchronized sync(m_protectedImageSem);
- Priv_ReadJPEGString_C(imaqImage,
- (unsigned char*)m_protectedImageBuffer, m_protectedImageSize);
- m_freshImage = false;
- return 1;
-}
-
-#if JAVA_CAMERA_LIB != 1
-/**
- * Get an image from the camera and store it in the provided image.
- * @param image The image to store the result in. This must be an HSL or RGB image
- * @return 1 upon success, zero on a failure
- */
-int AxisCamera::GetImage(ColorImage* image)
-{
- return GetImage(image->GetImaqImage());
-}
-
-/**
- * Instantiate a new image object and fill it with the latest image from the camera.
- *
- * The returned pointer is owned by the caller and is their responsibility to delete.
- * @return a pointer to an HSLImage object
- */
-HSLImage* AxisCamera::GetImage()
-{
- HSLImage *image = new HSLImage();
- GetImage(image);
- return image;
-}
-#endif
-
-/**
- * Copy an image into an existing buffer.
- * This copies an image into an existing buffer rather than creating a new image
- * in memory. That way a new image is only allocated when the image being copied is
- * larger than the destination.
- * This method is called by the PCVideoServer class.
- * @param imageData The destination image.
- * @param numBytes The size of the destination image.
- * @return 0 if failed (no source image or no memory), 1 if success.
- */
-int AxisCamera::CopyJPEG(char **destImage, int &destImageSize, int &destImageBufferSize)
-{
- Synchronized sync(m_protectedImageSem);
- if (destImage == NULL)
- wpi_setWPIErrorWithContext(NullParameter, "destImage must not be NULL");
-
- if (m_protectedImageBuffer == NULL || m_protectedImageSize <= 0)
- return 0; // if no source image
-
- if (destImageBufferSize < m_protectedImageSize) // if current destination buffer too small
- {
- if (*destImage != NULL) delete [] *destImage;
- destImageBufferSize = m_protectedImageSize + kImageBufferAllocationIncrement;
- *destImage = new char[destImageBufferSize];
- if (*destImage == NULL) return 0;
- }
- // copy this image into destination buffer
- if (*destImage == NULL)
- {
- wpi_setWPIErrorWithContext(NullParameter, "*destImage must not be NULL");
- }
- // TODO: Is this copy realy necessary... perhaps we can simply transmit while holding the protected buffer
- memcpy(*destImage, m_protectedImageBuffer, m_protectedImageSize);
- destImageSize = m_protectedImageSize;
- return 1;
-}
-
-/**
- * Static interface that will cause an instantiation if necessary.
- * This static stub is directly spawned as a task to read images from the camera.
- */
-int AxisCamera::s_ImageStreamTaskFunction(AxisCamera *thisPtr)
-{
- return thisPtr->ImageStreamTaskFunction();
-}
-
-/**
- * Task spawned by AxisCamera constructor to receive images from cam
- * If setNewImageSem has been called, this function does a semGive on each new image
- * Images can be accessed by calling getImage()
- */
-int AxisCamera::ImageStreamTaskFunction()
-{
- // Loop on trying to setup the camera connection. This happens in a background
- // thread so it shouldn't effect the operation of user programs.
- while (1)
- {
- const char *requestString = "GET /mjpg/video.mjpg HTTP/1.1\n\
-User-Agent: HTTPStreamClient\n\
-Connection: Keep-Alive\n\
-Cache-Control: no-cache\n\
-Authorization: Basic RlJDOkZSQw==\n\n";
- takeSemaphore(m_socketPossessionSem, SEMAPHORE_WAIT_FOREVER);
- m_cameraSocket = CreateCameraSocket(requestString);
- if (m_cameraSocket == ERROR)
- {
- // Don't hammer the camera if it isn't ready.
- giveSemaphore(m_socketPossessionSem);
- delayTicks(1000);
- }
- else
- {
- ReadImagesFromCamera();
- }
- }
- return 0;
-}
-
-/**
- * This function actually reads the images from the camera.
- */
-int AxisCamera::ReadImagesFromCamera()
-{
- char *imgBuffer = NULL;
- int imgBufferLength = 0;
- //Infinite loop, task deletion handled by taskDeleteHook
- // Socket cleanup handled by destructor
-
- // TODO: these recv calls must be non-blocking. Otherwise if the camera
- // fails during a read, the code hangs and never retries when the camera comes
- // back up.
-
- int counter = 2;
- while (1)
- {
- char initialReadBuffer[kMaxPacketSize] = "";
- char intermediateBuffer[1];
- char *trailingPtr = initialReadBuffer;
- int trailingCounter = 0;
- while (counter)
- {
- // TODO: fix me... this cannot be the most efficient way to approach this, reading one byte at a time.
- if(recv(m_cameraSocket, intermediateBuffer, 1, 0) == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to read image header");
- close (m_cameraSocket);
- return ERROR;
- }
- strncat(initialReadBuffer, intermediateBuffer, 1);
- // trailingCounter ensures that we start looking for the 4 byte string after
- // there is at least 4 bytes total. Kind of obscure.
- // look for 2 blank lines (\r\n)
- if (NULL != strstr(trailingPtr, "\r\n\r\n"))
- {
- --counter;
- }
- if (++trailingCounter >= 4)
- {
- trailingPtr++;
- }
- }
- counter = 1;
- char *contentLength = strstr(initialReadBuffer, "Content-Length: ");
- if (contentLength == NULL)
- {
- wpi_setWPIErrorWithContext(IncompatibleMode, "No content-length token found in packet");
- close(m_cameraSocket);
- return ERROR;
- }
- contentLength = contentLength + 16; // skip past "content length"
- int readLength = atol(contentLength); // get the image byte count
-
- // Make sure buffer is large enough
- if (imgBufferLength < readLength)
- {
- if (imgBuffer) delete[] imgBuffer;
- imgBufferLength = readLength + kImageBufferAllocationIncrement;
- imgBuffer = new char[imgBufferLength];
- if (imgBuffer == NULL)
- {
- imgBufferLength = 0;
- continue;
- }
- }
-
- // Read the image data for "Content-Length" bytes
- int bytesRead = 0;
- int remaining = readLength;
- while(bytesRead < readLength)
- {
- int bytesThisRecv = recv(m_cameraSocket, &imgBuffer[bytesRead], remaining, 0);
- bytesRead += bytesThisRecv;
- remaining -= bytesThisRecv;
- }
- // Update image
- UpdatePublicImageFromCamera(imgBuffer, readLength);
- if (takeSemaphore(m_paramChangedSem, SEMAPHORE_NO_WAIT) == OK)
- {
- // params need to be updated: close the video stream; release the camera.
- close(m_cameraSocket);
- giveSemaphore(m_socketPossessionSem);
- return 0;
- }
- }
-}
-
-/**
- * Copy the image from private buffer to shared buffer.
- * @param imgBuffer The buffer containing the image
- * @param bufLength The length of the image
- */
-void AxisCamera::UpdatePublicImageFromCamera(char *imgBuffer, int imgSize)
-{
- {
- Synchronized sync(m_protectedImageSem);
-
- // Adjust the buffer size if current destination buffer is too small.
- if (m_protectedImageBufferLength < imgSize)
- {
- if (m_protectedImageBuffer != NULL) delete [] m_protectedImageBuffer;
- m_protectedImageBufferLength = imgSize + kImageBufferAllocationIncrement;
- m_protectedImageBuffer = new char[m_protectedImageBufferLength];
- if (m_protectedImageBuffer == NULL)
- {
- m_protectedImageBufferLength = 0;
- return;
- }
- }
-
- memcpy(m_protectedImageBuffer, imgBuffer, imgSize);
- m_protectedImageSize = imgSize;
- }
-
- m_freshImage = true;
- // Notify everyone who is interested.
- SemSet_t::iterator it = m_newImageSemSet.begin();
- SemSet_t::iterator end = m_newImageSemSet.end();
- for (;it != end; it++)
- {
- giveSemaphore(*it);
- }
-}
-
-/**
- * Implement the pure virtual interface so that when parameter changes require a restart, the image task can be bounced.
- */
-void AxisCamera::RestartCameraTask()
-{
- m_imageStreamTask.Stop();
- m_imageStreamTask.Start((int)this);
-}
-
-#if JAVA_CAMERA_LIB == 1
-
-// C bindings used by Java
-// These need to stay as is or Java has to change
-
-void AxisCameraStart(const char *IPAddress)
-{
-#ifdef SVN_REV
- if (strlen(SVN_REV))
- {
- printf("JavaCameraLib was compiled from SVN revision %s\n", SVN_REV);
- }
- else
- {
- printf("JavaCameraLib was compiled from a location that is not source controlled.\n");
- }
-#else
- printf("JavaCameraLib was compiled without -D'SVN_REV=nnnn'\n");
-#endif
- AxisCamera::GetInstance(IPAddress);
-}
-
-int AxisCameraGetImage (Image* image)
-{
- return AxisCamera::GetInstance().GetImage(image);
-}
-
-void AxisCameraWriteBrightness(int brightness)
-{
- AxisCamera::GetInstance().WriteBrightness(brightness);
-}
-
-int AxisCameraGetBrightness()
-{
- return AxisCamera::GetInstance().GetBrightness();
-}
-
-void AxisCameraWriteWhiteBalance(AxisCameraParams::WhiteBalance_t whiteBalance)
-{
- AxisCamera::GetInstance().WriteWhiteBalance(whiteBalance);
-}
-
-AxisCameraParams::WhiteBalance_t AxisCameraGetWhiteBalance()
-{
- return AxisCamera::GetInstance().GetWhiteBalance();
-}
-
-void AxisCameraWriteColorLevel(int colorLevel)
-{
- AxisCamera::GetInstance().WriteColorLevel(colorLevel);
-}
-
-int AxisCameraGetColorLevel()
-{
- return AxisCamera::GetInstance().GetColorLevel();
-}
-
-void AxisCameraWriteExposureControl(AxisCameraParams::Exposure_t exposure)
-{
- AxisCamera::GetInstance().WriteExposureControl(exposure);
-}
-
-AxisCameraParams::Exposure_t AxisCameraGetExposureControl()
-{
- return AxisCamera::GetInstance().GetExposureControl();
-}
-
-void AxisCameraWriteExposurePriority(int exposure)
-{
- AxisCamera::GetInstance().WriteExposurePriority(exposure);
-}
-
-int AxisCameraGetExposurePriority()
-{
- return AxisCamera::GetInstance().GetExposurePriority();
-}
-
-void AxisCameraWriteMaxFPS(int maxFPS)
-{
- AxisCamera::GetInstance().WriteMaxFPS(maxFPS);
-}
-
-int AxisCameraGetMaxFPS()
-{
- return AxisCamera::GetInstance().GetMaxFPS();
-}
-
-void AxisCameraWriteResolution(AxisCameraParams::Resolution_t resolution)
-{
- AxisCamera::GetInstance().WriteResolution(resolution);
-}
-
-AxisCameraParams::Resolution_t AxisCameraGetResolution()
-{
- return AxisCamera::GetInstance().GetResolution();
-}
-
-void AxisCameraWriteCompression(int compression)
-{
- AxisCamera::GetInstance().WriteCompression(compression);
-}
-
-int AxisCameraGetCompression()
-{
- return AxisCamera::GetInstance().GetCompression();
-}
-
-void AxisCameraWriteRotation(AxisCameraParams::Rotation_t rotation)
-{
- AxisCamera::GetInstance().WriteRotation(rotation);
-}
-
-AxisCameraParams::Rotation_t AxisCameraGetRotation()
-{
- return AxisCamera::GetInstance().GetRotation();
-}
-
-void AxisCameraDeleteInstance()
-{
- AxisCamera::DeleteInstance();
-}
-
-int AxisCameraFreshImage()
-{
- return AxisCamera::GetInstance().IsFreshImage();
-}
-
-#endif // JAVA_CAMERA_LIB == 1
-
diff --git a/wpilibc/src/main/native/Vision/AxisCameraParams.cpp b/wpilibc/src/main/native/Vision/AxisCameraParams.cpp
deleted file mode 100644
index 9c353fece4..0000000000
--- a/wpilibc/src/main/native/Vision/AxisCameraParams.cpp
+++ /dev/null
@@ -1,469 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "Vision/AxisCameraParams.h"
-
-#include "Vision/AxisCamera.h"
-#include
-#include "pcre.h"
-#include
-#include
-#include "HAL/cpp/Synchronized.h"
-#include "Timer.h"
-#include "Utility.h"
-#include "WPIErrors.h"
-
-#if JAVA_CAMERA_LIB != 1
-#include "DriverStation.h"
-#endif
-
-static const char *const kRotationChoices[] = {"0", "180"};
-static const char *const kResolutionChoices[] = {"640x480", "640x360", "320x240", "160x120"};
-static const char *const kExposureControlChoices[] = { "automatic", "hold", "flickerfree50", "flickerfree60" };
-static const char *const kWhiteBalanceChoices[] = { "auto", "holdwb", "fixed_outdoor1",
- "fixed_outdoor2", "fixed_indoor", "fixed_fluor1", "fixed_fluor2" };
-
-/**
- * AxisCamera constructor
- */
-AxisCameraParams::AxisCameraParams(const char* ipAddress)
- : m_paramTask("paramTask", (FUNCPTR) s_ParamTaskFunction)
- , m_paramChangedSem (NULL)
- , m_socketPossessionSem (NULL)
- , m_brightnessParam (NULL)
- , m_compressionParam (NULL)
- , m_exposurePriorityParam (NULL)
- , m_colorLevelParam (NULL)
- , m_maxFPSParam (NULL)
- , m_rotationParam (NULL)
- , m_resolutionParam (NULL)
- , m_exposureControlParam (NULL)
- , m_whiteBalanceParam (NULL)
-{
- if (ipAddress == NULL || strlen(ipAddress) == 0)
- {
-#if JAVA_CAMERA_LIB == 1
- wpi_setWPIErrorWithContext(ParameterOutOfRange, "IP Address must be specified");
- return;
-#else
- DriverStation *ds = DriverStation::GetInstance();
- ds->WaitForData();
- uint16_t teamNumber = ds->GetTeamNumber();
- char cameraIP[16];
- snprintf(cameraIP, 16, "10.%d.%d.11", teamNumber / 100, teamNumber % 100);
- m_ipAddress = inet_addr(cameraIP);
-#endif
- }
- else
- {
- m_ipAddress = inet_addr((char*)ipAddress);
- }
-
- if (m_ipAddress == (u_long)ERROR)
- {
- wpi_setErrnoError();
- return;
- }
-
- m_brightnessParam = new IntCameraParameter("ImageSource.I0.Sensor.Brightness=%i",
- "root.ImageSource.I0.Sensor.Brightness=(.*)", false);
- m_parameters.push_back(m_brightnessParam);
- m_colorLevelParam = new IntCameraParameter("ImageSource.I0.Sensor.ColorLevel=%i",
- "root.ImageSource.I0.Sensor.ColorLevel=(.*)", false);
- m_parameters.push_back(m_colorLevelParam);
- m_exposurePriorityParam = new IntCameraParameter("ImageSource.I0.Sensor.exposurePriority=%i",
- "root.ImageSource.I0.Sensor.ExposurePriority=(.*)", false);
- m_parameters.push_back(m_exposurePriorityParam);
- m_compressionParam = new IntCameraParameter("Image.I0.Appearance.Compression=%i",
- "root.Image.I0.Appearance.Compression=(.*)", true);
- m_parameters.push_back(m_compressionParam);
- m_maxFPSParam = new IntCameraParameter("Image.I0.Stream.FPS=%i",
- "root.Image.I0.Stream.FPS=(.*)", false);
- m_parameters.push_back(m_maxFPSParam);
- m_rotationParam = new EnumCameraParameter("Image.I0.Appearance.Rotation=%s",
- "root.Image.I0.Appearance.Rotation=(.*)", true, kRotationChoices, sizeof(kRotationChoices)/sizeof(kRotationChoices[0]));
- m_parameters.push_back(m_rotationParam);
- m_resolutionParam = new EnumCameraParameter("Image.I0.Appearance.Resolution=%s",
- "root.Image.I0.Appearance.Resolution=(.*)", true, kResolutionChoices, sizeof(kResolutionChoices)/sizeof(kResolutionChoices[0]));
- m_parameters.push_back(m_resolutionParam);
- m_exposureControlParam = new EnumCameraParameter("ImageSource.I0.Sensor.Exposure=%s",
- "root.ImageSource.I0.Sensor.Exposure=(.*)", false, kExposureControlChoices, sizeof(kExposureControlChoices)/sizeof(kExposureControlChoices[0]));
- m_parameters.push_back(m_exposureControlParam);
- m_whiteBalanceParam = new EnumCameraParameter("ImageSource.IO.Sensor.WhiteBalance=%s",
- "root.ImageSource.I0.Sensor.WhiteBalance=(.*)", false, kWhiteBalanceChoices, sizeof(kWhiteBalanceChoices)/sizeof(kWhiteBalanceChoices[0]));
- m_parameters.push_back(m_whiteBalanceParam);
-
- m_paramChangedSem = initializeSemaphore(SEMAPHORE_Q_PRIORITY, SEMAPHORE_EMPTY);
- m_socketPossessionSem = initializeSemaphore(SEMAPHORE_Q_PRIORITY, SEMAPHORE_FULL);
-
- m_paramTask.Start((int)this);
-}
-
-/**
- * Destructor
- */
-AxisCameraParams::~AxisCameraParams()
-{
- m_paramTask.Stop();
-
- deleteSemaphore(m_socketPossessionSem);
- deleteSemaphore(m_paramChangedSem);
-
- delete m_whiteBalanceParam;
- delete m_exposureControlParam;
- delete m_resolutionParam;
- delete m_rotationParam;
- delete m_maxFPSParam;
- delete m_compressionParam;
- delete m_exposurePriorityParam;
- delete m_colorLevelParam;
- delete m_brightnessParam;
-}
-
-/**
- * Static function to start the parameter updating task
- */
-int AxisCameraParams::s_ParamTaskFunction(AxisCameraParams* thisPtr)
-{
- return thisPtr->ParamTaskFunction();
-}
-
-/**
- * Main loop of the parameter task.
- * This loop runs continuously checking parameters from the camera for
- * posted changes and updating them if necessary.
- */
-// TODO: need to synchronize the actual setting of parameters (the assignment statement)
-int AxisCameraParams::ParamTaskFunction()
-{
- static bool firstTime = true;
-
- while (true)
- {
- takeSemaphore(m_socketPossessionSem, SEMAPHORE_WAIT_FOREVER);
- if (firstTime)
- {
- while (ReadCamParams() == 0);
- firstTime = false;
- }
- bool restartRequired = false;
-
- ParameterVector_t::iterator it = m_parameters.begin();
- ParameterVector_t::iterator end = m_parameters.end();
- for(; it != end; it++)
- {
- bool changed = false;
- char param[150];
- restartRequired |= (*it)->CheckChanged(changed, param);
- if (changed)
- {
- UpdateCamParam(param);
- }
- }
- if (restartRequired)
- {
- RestartCameraTask();
- }
- giveSemaphore(m_socketPossessionSem);
- }
- return 0;
-}
-
-/**
- * Write the brightness value to the camera.
- * @param brightness valid values 0 .. 100
- */
-void AxisCameraParams::WriteBrightness(int brightness)
-{
- m_brightnessParam->SetValue(brightness);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Get the brightness value.
- * @return Brightness value from the camera.
- */
-int AxisCameraParams::GetBrightness()
-{
- return m_brightnessParam->GetValue();
-}
-
-/**
- * Set the white balance value.
- * @param whiteBalance Valid values from the WhiteBalance_t enum.
- */
-void AxisCameraParams::WriteWhiteBalance(WhiteBalance_t whiteBalance)
-{
- m_whiteBalanceParam->SetValue(whiteBalance);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Retrieve the current white balance parameter.
- * @return The white balance value.
- */
-AxisCameraParams::WhiteBalance_t AxisCameraParams::GetWhiteBalance()
-{
- return (WhiteBalance_t) m_whiteBalanceParam->GetValue();
-}
-
-/**
- * Write the color level to the camera.
- * @param colorLevel valid values are 0 .. 100
- */
-void AxisCameraParams::WriteColorLevel(int colorLevel)
-{
- m_colorLevelParam->SetValue(colorLevel);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Retrieve the color level from the camera.
- * @Returns the camera color level.
- */
-int AxisCameraParams::GetColorLevel()
-{
- return m_colorLevelParam->GetValue();
-}
-
-/**
- * Write the exposure control value to the camera.
- * @param exposureControl A mode to write in the Exposure_t enum.
- */
-void AxisCameraParams::WriteExposureControl(Exposure_t exposureControl)
-{
- m_exposureControlParam->SetValue(exposureControl);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Get the exposure value from the camera.
- * @returns the exposure value from the camera.
- */
-AxisCameraParams::Exposure_t AxisCameraParams::GetExposureControl()
-{
- return (Exposure_t) m_exposureControlParam->GetValue();
-}
-
-/**
- * Write resolution value to camera.
- * @param resolution The camera resolution value to write to the camera. Use the Resolution_t enum.
- */
-void AxisCameraParams::WriteResolution(Resolution_t resolution)
-{
- m_resolutionParam->SetValue(resolution);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Get the resolution value from the camera.
- * @returns resultion value for the camera.
- */
-AxisCameraParams::Resolution_t AxisCameraParams::GetResolution()
-{
- return (Resolution_t) m_resolutionParam->GetValue();
-}
-
-/**
- * Write the exposre priority value to the camera.
- * @param exposurePriority Valid values are 0, 50, 100.
- * 0 = Prioritize image quality
- * 50 = None
- * 100 = Prioritize frame rate
- */
-void AxisCameraParams::WriteExposurePriority(int exposurePriority)
-{
- m_exposurePriorityParam->SetValue(exposurePriority);
- giveSemaphore(m_paramChangedSem);
-}
-
-int AxisCameraParams::GetExposurePriority()
-{
- return m_exposurePriorityParam->GetValue();
-}
-
-/**
- * Write the rotation value to the camera.
- * If you mount your camera upside down, use this to adjust the image for you.
- * @param rotation The image from the Rotation_t enum in AxisCameraParams (kRotation_0 or kRotation_180)
- */
-void AxisCameraParams::WriteRotation(Rotation_t rotation)
-{
- m_rotationParam->SetValue(rotation);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Get the rotation value from the camera.
- * @return The rotation value from the camera (Rotation_t).
- */
-AxisCameraParams::Rotation_t AxisCameraParams::GetRotation()
-{
- return (Rotation_t) m_rotationParam->GetValue();
-}
-
-/**
- * Write the compression value to the camera.
- * @param compression Values between 0 and 100.
- */
-
-void AxisCameraParams::WriteCompression(int compression)
-{
- m_compressionParam->SetValue(compression);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Get the compression value from the camera.
- * @return The cached compression value from the camera.
- */
-int AxisCameraParams::GetCompression()
-{
- return m_compressionParam->GetValue();
-}
-
-/**
- * Write the maximum frames per second that the camera should send
- * Write 0 to send as many as possible.
- * @param maxFPS The number of frames the camera should send in a second, exposure permitting.
- */
-void AxisCameraParams::WriteMaxFPS(int maxFPS)
-{
- m_maxFPSParam->SetValue(maxFPS);
- giveSemaphore(m_paramChangedSem);
-}
-
-/**
- * Get the max number of frames per second that the camera will send
- * @return Maximum frames per second.
- */
-int AxisCameraParams::GetMaxFPS()
-{
- return m_maxFPSParam->GetValue();
-}
-
-/**
- * Update a camera parameter.
- * Write a camera parameter to the camera when it has bene changed.
- * @param param the string to insert into the http request.
- * @returns 0 if it failed, otherwise nonzero.
- */
-int AxisCameraParams::UpdateCamParam(const char* param)
-{
- const char *requestString =
- "GET /axis-cgi/admin/param.cgi?action=update&%s HTTP/1.1\n\
-User-Agent: HTTPStreamClient\n\
-Connection: Keep-Alive\n\
-Cache-Control: no-cache\n\
-Authorization: Basic RlJDOkZSQw==\n\n";
- char completedRequest[1024];
- sprintf(completedRequest, requestString, param);
- // Send request
- int camSocket = CreateCameraSocket(completedRequest);
- if (camSocket == ERROR)
- {
- printf("UpdateCamParam failed: %s\n", param);
- return 0;
- }
- close(camSocket);
- return 1;
-}
-
-/**
- * Read the full param list from camera, use regular expressions to find the bits we care about
- * assign values to member variables.
- */
-int AxisCameraParams::ReadCamParams()
-{
- const char * requestString =
- "GET /axis-cgi/admin/param.cgi?action=list HTTP/1.1\n\
-User-Agent: HTTPStreamClient\n\
-Connection: Keep-Alive\n\
-Cache-Control: no-cache\n\
-Authorization: Basic RlJDOkZSQw==\n\n";
-
- int camSocket = CreateCameraSocket(requestString);
- if (camSocket == ERROR)
- {
- return 0;
- }
- // Allocate on the heap since it is very large and only needed once
- char *readBuffer = new char[27000];
- int totalRead = 0;
- while (1)
- {
- wpi_assert(totalRead < 26000);
- int bytesRead = recv(camSocket, &readBuffer[totalRead], 1000, 0);
- if (bytesRead == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to read image header");
- close(camSocket);
- return 0;
- }
- else if (bytesRead <= 0)
- {
- break;
- }
- totalRead += bytesRead;
- }
- readBuffer[totalRead] = '\0';
-
- ParameterVector_t::iterator it = m_parameters.begin();
- ParameterVector_t::iterator end = m_parameters.end();
- for(; it != end; it++)
- {
- (*it)->GetParamFromString(readBuffer, totalRead);
- }
- close(camSocket);
- delete [] readBuffer;
- return 1;
-}
-
-/*
- * Create a socket connected to camera
- * Used to create a connection to the camera by both AxisCameraParams and AxisCamera.
- * @param requestString The initial request string to send upon successful connection.
- * @return ERROR if failed, socket handle if successful.
- */
-int AxisCameraParams::CreateCameraSocket(const char *requestString)
-{
- int sockAddrSize;
- struct sockaddr_in serverAddr;
- int camSocket;
- /* create socket */
- if ((camSocket = socket(AF_INET, SOCK_STREAM, 0)) == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to create the camera socket");
- return ERROR;
- }
-
- sockAddrSize = sizeof(struct sockaddr_in);
- bzero((char *) &serverAddr, sockAddrSize);
- serverAddr.sin_family = AF_INET;
- serverAddr.sin_len = (u_char) sockAddrSize;
- serverAddr.sin_port = htons(80);
-
- serverAddr.sin_addr.s_addr = m_ipAddress;
-
- /* connect to server */
- struct timeval connectTimeout;
- connectTimeout.tv_sec = 5;
- connectTimeout.tv_usec = 0;
- if (connectWithTimeout(camSocket, (struct sockaddr *) &serverAddr, sockAddrSize, &connectTimeout) == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to connect to the camera");
- close(camSocket);
- return ERROR;
- }
- int sent = send(camSocket, requestString, strlen(requestString), 0);
- if (sent == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to send a request to the camera");
- close(camSocket);
- return ERROR;
- }
- return camSocket;
-}
diff --git a/wpilibc/src/main/native/Vision/BinaryImage.cpp b/wpilibc/src/main/native/Vision/BinaryImage.cpp
deleted file mode 100644
index f4cd1bbae0..0000000000
--- a/wpilibc/src/main/native/Vision/BinaryImage.cpp
+++ /dev/null
@@ -1,223 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "BinaryImage.h"
-#include "WPIErrors.h"
-#include
-
-/** Private NI function needed to write to the VxWorks target */
-IMAQ_FUNC int Priv_SetWriteFileAllowed(uint32_t enable);
-
-BinaryImage::BinaryImage() : MonoImage()
-{
-}
-
-BinaryImage::~BinaryImage()
-{
-}
-
-/**
- * Get then number of particles for the image.
- * @returns the number of particles found for the image.
- */
-int BinaryImage::GetNumberParticles()
-{
- int numParticles = 0;
- int success = imaqCountParticles(m_imaqImage, 1, &numParticles);
- wpi_setImaqErrorWithContext(success, "Error counting particles");
- return numParticles;
-}
-
-/**
- * Get a single particle analysis report.
- * Get one (of possibly many) particle analysis reports for an image.
- * @param particleNumber Which particle analysis report to return.
- * @returns the selected particle analysis report
- */
-ParticleAnalysisReport BinaryImage::GetParticleAnalysisReport(int particleNumber)
-{
- ParticleAnalysisReport par;
- GetParticleAnalysisReport(particleNumber, &par);
- return par;
-}
-
-/**
- * Get a single particle analysis report.
- * Get one (of possibly many) particle analysis reports for an image.
- * This version could be more efficient when copying many reports.
- * @param particleNumber Which particle analysis report to return.
- * @param par the selected particle analysis report
- */
-void BinaryImage::GetParticleAnalysisReport(int particleNumber, ParticleAnalysisReport *par)
-{
- int success;
- int numParticles = 0;
-
- success = imaqGetImageSize(m_imaqImage, &par->imageWidth, &par->imageHeight);
- wpi_setImaqErrorWithContext(success, "Error getting image size");
- if (StatusIsFatal())
- return;
-
- success = imaqCountParticles(m_imaqImage, 1, &numParticles);
- wpi_setImaqErrorWithContext(success, "Error counting particles");
- if (StatusIsFatal())
- return;
-
- if (particleNumber >= numParticles)
- {
- wpi_setWPIErrorWithContext(ParameterOutOfRange, "particleNumber");
- return;
- }
-
- par->particleIndex = particleNumber;
- // Don't bother measuring the rest of the particle if one fails
- bool good = ParticleMeasurement(particleNumber, IMAQ_MT_CENTER_OF_MASS_X, &par->center_mass_x);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_CENTER_OF_MASS_Y, &par->center_mass_y);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_AREA, &par->particleArea);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_BOUNDING_RECT_TOP, &par->boundingRect.top);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_BOUNDING_RECT_LEFT, &par->boundingRect.left);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_BOUNDING_RECT_HEIGHT, &par->boundingRect.height);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_BOUNDING_RECT_WIDTH, &par->boundingRect.width);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_AREA_BY_IMAGE_AREA, &par->particleToImagePercent);
- good = good && ParticleMeasurement(particleNumber, IMAQ_MT_AREA_BY_PARTICLE_AND_HOLES_AREA, &par->particleQuality);
-
- if (good)
- {
- /* normalized position (-1 to 1) */
- par->center_mass_x_normalized = NormalizeFromRange(par->center_mass_x, par->imageWidth);
- par->center_mass_y_normalized = NormalizeFromRange(par->center_mass_y, par->imageHeight);
- }
-}
-
-
-/**
- * Get an ordered vector of particles for the image.
- * Create a vector of particle analysis reports sorted by size for an image.
- * The vector contains the actual report structures.
- * @returns a pointer to the vector of particle analysis reports. The caller must delete the
- * vector when finished using it.
- */
-vector* BinaryImage::GetOrderedParticleAnalysisReports()
-{
- vector* particles = new vector;
- int particleCount = GetNumberParticles();
- for(int particleIndex = 0; particleIndex < particleCount; particleIndex++)
- {
- particles->push_back(GetParticleAnalysisReport(particleIndex));
- }
- // TODO: This is pretty inefficient since each compare in the sort copies
- // both reports being compared... do it manually instead... while we're
- // at it, we should provide a version that allows a preallocated buffer of
- // ParticleAnalysisReport structures
- sort(particles->begin(), particles->end(), CompareParticleSizes);
- return particles;
-}
-
-/**
- * Write a binary image to flash.
- * Writes the binary image to flash on the cRIO for later inspection.
- * @param fileName the name of the image file written to the flash.
- */
-void BinaryImage::Write(const char *fileName)
-{
- RGBValue colorTable[256];
- Priv_SetWriteFileAllowed(1);
- memset(colorTable, 0, sizeof(colorTable));
- colorTable[0].R = 0;
- colorTable[1].R = 255;
- colorTable[0].G = colorTable[1].G = 0;
- colorTable[0].B = colorTable[1].B = 0;
- colorTable[0].alpha = colorTable[1].alpha = 0;
- imaqWriteFile(m_imaqImage, fileName, colorTable);
-}
-
-/**
- * Measure a single parameter for an image.
- * Get the measurement for a single parameter about an image by calling the imaqMeasureParticle
- * function for the selected parameter.
- * @param particleNumber which particle in the set of particles
- * @param whatToMeasure the imaq MeasurementType (what to measure)
- * @param result the value of the measurement
- * @returns false on failure, true on success
- */
-bool BinaryImage::ParticleMeasurement(int particleNumber, MeasurementType whatToMeasure, int *result)
-{
- double resultDouble;
- bool success = ParticleMeasurement(particleNumber, whatToMeasure, &resultDouble);
- *result = (int)resultDouble;
- return success;
-}
-
-/**
- * Measure a single parameter for an image.
- * Get the measurement for a single parameter about an image by calling the imaqMeasureParticle
- * function for the selected parameter.
- * @param particleNumber which particle in the set of particles
- * @param whatToMeasure the imaq MeasurementType (what to measure)
- * @param result the value of the measurement
- * @returns true on failure, false on success
- */
-bool BinaryImage::ParticleMeasurement(int particleNumber, MeasurementType whatToMeasure, double *result)
-{
- int success;
- success = imaqMeasureParticle(m_imaqImage, particleNumber, 0, whatToMeasure, result);
- wpi_setImaqErrorWithContext(success, "Error measuring particle");
- return !StatusIsFatal();
-}
-
-//Normalizes to [-1,1]
-double BinaryImage::NormalizeFromRange(double position, int range)
-{
- return (position * 2.0 / (double)range) - 1.0;
-}
-
-/**
- * The compare helper function for sort.
- * This function compares two particle analysis reports as a helper for the sort function.
- * @param particle1 The first particle to compare
- * @param particle2 the second particle to compare
- * @returns true if particle1 is greater than particle2
- */
-bool BinaryImage::CompareParticleSizes(ParticleAnalysisReport particle1, ParticleAnalysisReport particle2)
-{
- //we want descending sort order
- return particle1.particleToImagePercent > particle2.particleToImagePercent;
-}
-
-BinaryImage *BinaryImage::RemoveSmallObjects(bool connectivity8, int erosions)
-{
- BinaryImage *result = new BinaryImage();
- int success = imaqSizeFilter(result->GetImaqImage(), m_imaqImage, connectivity8, erosions, IMAQ_KEEP_LARGE, NULL);
- wpi_setImaqErrorWithContext(success, "Error in RemoveSmallObjects");
- return result;
-}
-
-BinaryImage *BinaryImage::RemoveLargeObjects(bool connectivity8, int erosions)
-{
- BinaryImage *result = new BinaryImage();
- int success = imaqSizeFilter(result->GetImaqImage(), m_imaqImage, connectivity8, erosions, IMAQ_KEEP_SMALL, NULL);
- wpi_setImaqErrorWithContext(success, "Error in RemoveLargeObjects");
- return result;
-}
-
-BinaryImage *BinaryImage::ConvexHull(bool connectivity8)
-{
- BinaryImage *result = new BinaryImage();
- int success = imaqConvexHull(result->GetImaqImage(), m_imaqImage, connectivity8);
- wpi_setImaqErrorWithContext(success, "Error in convex hull operation");
- return result;
-}
-
-BinaryImage *BinaryImage::ParticleFilter(ParticleFilterCriteria2 *criteria, int criteriaCount)
-{
- BinaryImage *result = new BinaryImage();
- int numParticles;
- ParticleFilterOptions2 filterOptions = {0, 0, 0, 1};
- int success = imaqParticleFilter4(result->GetImaqImage(), m_imaqImage, criteria, criteriaCount, &filterOptions, NULL, &numParticles);
- wpi_setImaqErrorWithContext(success, "Error in particle filter operation");
- return result;
-}
-
diff --git a/wpilibc/src/main/native/Vision/ColorImage.cpp b/wpilibc/src/main/native/Vision/ColorImage.cpp
deleted file mode 100644
index 24c44f493b..0000000000
--- a/wpilibc/src/main/native/Vision/ColorImage.cpp
+++ /dev/null
@@ -1,465 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "ColorImage.h"
-
-#include "WPIErrors.h"
-
-ColorImage::ColorImage(ImageType type) : ImageBase(type)
-{
-}
-
-ColorImage::~ColorImage()
-{
-}
-
-/**
- * Perform a threshold operation on a ColorImage.
- * Perform a threshold operation on a ColorImage using the ColorMode supplied
- * as a parameter.
- * @param colorMode The type of colorspace this operation should be performed in
- * @returns a pointer to a binary image
- */
-BinaryImage *ColorImage::ComputeThreshold(ColorMode colorMode,
- int low1, int high1,
- int low2, int high2,
- int low3, int high3)
-{
- BinaryImage *result = new BinaryImage();
- Range range1 = {low1, high1},
- range2 = {low2, high2},
- range3 = {low3, high3};
-
- int success = imaqColorThreshold(result->GetImaqImage(), m_imaqImage, 1, colorMode, &range1, &range2, &range3);
- wpi_setImaqErrorWithContext(success, "ImaqThreshold error");
- return result;
-}
-
-/**
- * Perform a threshold in RGB space.
- * @param redLow Red low value
- * @param redHigh Red high value
- * @param greenLow Green low value
- * @param greenHigh Green high value
- * @param blueLow Blue low value
- * @param blueHigh Blue high value
- * @returns A pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdRGB(int redLow, int redHigh, int greenLow, int greenHigh, int blueLow, int blueHigh)
-{
- return ComputeThreshold(IMAQ_RGB, redLow, redHigh, greenLow, greenHigh, blueLow, blueHigh);
-}
-
-/**
- * Perform a threshold in RGB space.
- * @param threshold a reference to the Threshold object to use.
- * @returns A pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdRGB(Threshold &t)
-{
- return ComputeThreshold(IMAQ_RGB, t.plane1Low, t.plane1High,
- t.plane2Low, t.plane2High,
- t.plane3Low, t.plane3High);
-}
-
-/**
- * Perform a threshold in HSL space.
- * @param hueLow Low value for hue
- * @param hueHigh High value for hue
- * @param saturationLow Low value for saturation
- * @param saturationHigh High value for saturation
- * @param luminenceLow Low value for luminence
- * @param luminenceHigh High value for luminence
- * @returns a pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdHSL(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int luminenceLow, int luminenceHigh)
-{
- return ComputeThreshold(IMAQ_HSL, hueLow, hueHigh, saturationLow, saturationHigh, luminenceLow, luminenceHigh);
-}
-
-/**
- * Perform a threshold in HSL space.
- * @param threshold a reference to the Threshold object to use.
- * @returns A pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdHSL(Threshold &t)
-{
- return ComputeThreshold(IMAQ_HSL, t.plane1Low, t.plane1High,
- t.plane2Low, t.plane2High,
- t.plane3Low, t.plane3High);
-}
-
-/**
- * Perform a threshold in HSV space.
- * @param hueLow Low value for hue
- * @param hueHigh High value for hue
- * @param saturationLow Low value for saturation
- * @param saturationHigh High value for saturation
- * @param valueLow Low value
- * @param valueHigh High value
- * @returns a pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdHSV(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int valueLow, int valueHigh)
-{
- return ComputeThreshold(IMAQ_HSV, hueLow, hueHigh, saturationLow, saturationHigh, valueLow, valueHigh);
-}
-
-/**
- * Perform a threshold in HSV space.
- * @param threshold a reference to the Threshold object to use.
- * @returns A pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdHSV(Threshold &t)
-{
- return ComputeThreshold(IMAQ_HSV, t.plane1Low, t.plane1High,
- t.plane2Low, t.plane2High,
- t.plane3Low, t.plane3High);
-}
-
-/**
- * Perform a threshold in HSI space.
- * @param hueLow Low value for hue
- * @param hueHigh High value for hue
- * @param saturationLow Low value for saturation
- * @param saturationHigh High value for saturation
- * @param valueLow Low intensity
- * @param valueHigh High intensity
- * @returns a pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdHSI(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int intensityLow, int intensityHigh)
-{
- return ComputeThreshold(IMAQ_HSI, hueLow, hueHigh, saturationLow, saturationHigh, intensityLow, intensityHigh);
-}
-
-/**
- * Perform a threshold in HSI space.
- * @param threshold a reference to the Threshold object to use.
- * @returns A pointer to a BinaryImage that represents the result of the threshold operation.
- */
-BinaryImage *ColorImage::ThresholdHSI(Threshold &t)
-{
- return ComputeThreshold(IMAQ_HSI, t.plane1Low, t.plane1High,
- t.plane2Low, t.plane2High,
- t.plane3Low, t.plane3High);
-}
-
-/**
- * Extract a color plane from the image
- * @param mode The ColorMode to use for the plane extraction
- * @param planeNumber Which plane is to be extracted
- * @returns A pointer to a MonoImage that represents the extracted plane.
- */
-MonoImage *ColorImage::ExtractColorPlane(ColorMode mode, int planeNumber)
-{
- MonoImage *result = new MonoImage();
- if (m_imaqImage == NULL)
- wpi_setWPIError(NullParameter);
- int success = imaqExtractColorPlanes(m_imaqImage,
- mode,
- (planeNumber == 1) ? result->GetImaqImage() : NULL,
- (planeNumber == 2) ? result->GetImaqImage() : NULL,
- (planeNumber == 3) ? result->GetImaqImage() : NULL);
- wpi_setImaqErrorWithContext(success, "Imaq ExtractColorPlanes failed");
- return result;
-}
-
-/*
- * Extract the first color plane for an image.
- * @param mode The color mode in which to operate
- * @returns a pointer to a MonoImage that is the extracted plane.
- */
-MonoImage *ColorImage::ExtractFirstColorPlane(ColorMode mode)
-{
- return ExtractColorPlane(mode, 1);
-}
-
-/*
- * Extract the second color plane for an image.
- * @param mode The color mode in which to operate
- * @returns a pointer to a MonoImage that is the extracted plane.
- */
-MonoImage *ColorImage::ExtractSecondColorPlane(ColorMode mode)
-{
- return ExtractColorPlane(mode, 2);
-}
-
-/*
- * Extract the third color plane for an image.
- * @param mode The color mode in which to operate
- * @returns a pointer to a MonoImage that is the extracted plane.
- */
-MonoImage *ColorImage::ExtractThirdColorPlane(ColorMode mode)
-{
- return ExtractColorPlane(mode, 3);
-}
-
-/*
- * Extract the red plane from an RGB image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetRedPlane()
-{
- return ExtractFirstColorPlane(IMAQ_RGB);
-}
-
-/*
- * Extract the green plane from an RGB image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetGreenPlane()
-{
- return ExtractSecondColorPlane(IMAQ_RGB);
-}
-
-/*
- * Extract the blue plane from an RGB image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetBluePlane()
-{
- return ExtractThirdColorPlane(IMAQ_RGB);
-}
-
-/*
- * Extract the Hue plane from an HSL image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetHSLHuePlane()
-{
- return ExtractFirstColorPlane(IMAQ_HSL);
-}
-
-/*
- * Extract the Hue plane from an HSV image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetHSVHuePlane()
-{
- return ExtractFirstColorPlane(IMAQ_HSV);
-}
-
-/*
- * Extract the Hue plane from an HSI image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetHSIHuePlane()
-{
- return ExtractFirstColorPlane(IMAQ_HSI);
-}
-
-/*
- * Extract the Luminance plane from an HSL image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetLuminancePlane()
-{
- return ExtractThirdColorPlane(IMAQ_HSL);
-}
-
-/*
- * Extract the Value plane from an HSV image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetValuePlane()
-{
- return ExtractThirdColorPlane(IMAQ_HSV);
-}
-
-/*
- * Extract the Intensity plane from an HSI image.
- * @returns a pointer to a MonoImage that is the extraced plane.
- */
-MonoImage *ColorImage::GetIntensityPlane()
-{
- return ExtractThirdColorPlane(IMAQ_HSI);
-}
-
-/**
- * Replace a plane in the ColorImage with a MonoImage
- * Replaces a single plane in the image with a MonoImage
- * @param mode The ColorMode in which to operate
- * @param plane The pointer to the replacement plane as a MonoImage
- * @param planeNumber The plane number (1, 2, 3) to replace
- */
-void ColorImage::ReplacePlane(ColorMode mode, MonoImage *plane, int planeNumber) {
- int success = imaqReplaceColorPlanes(m_imaqImage,
- (const Image*) m_imaqImage,
- mode,
- (planeNumber == 1) ? plane->GetImaqImage() : NULL,
- (planeNumber == 2) ? plane->GetImaqImage() : NULL,
- (planeNumber == 3) ? plane->GetImaqImage() : NULL);
- wpi_setImaqErrorWithContext(success, "Imaq ReplaceColorPlanes failed");
-}
-
-/**
- * Replace the first color plane with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceFirstColorPlane(ColorMode mode, MonoImage *plane)
-{
- ReplacePlane(mode, plane, 1);
-}
-
-/**
- * Replace the second color plane with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceSecondColorPlane(ColorMode mode, MonoImage *plane)
-{
- ReplacePlane(mode, plane, 2);
-}
-
-/**
- * Replace the third color plane with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceThirdColorPlane(ColorMode mode, MonoImage *plane)
-{
- ReplacePlane(mode, plane, 3);
-}
-
-/**
- * Replace the red color plane with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceRedPlane(MonoImage *plane)
-{
- ReplaceFirstColorPlane(IMAQ_RGB, plane);
-}
-
-/**
- * Replace the green color plane with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceGreenPlane(MonoImage *plane)
-{
- ReplaceSecondColorPlane(IMAQ_RGB, plane);
-}
-
-/**
- * Replace the blue color plane with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceBluePlane(MonoImage *plane)
-{
- ReplaceThirdColorPlane(IMAQ_RGB, plane);
-}
-
-
-/**
- * Replace the Hue color plane in a HSL image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceHSLHuePlane(MonoImage *plane)
-{
- return ReplaceFirstColorPlane(IMAQ_HSL, plane);
-}
-
-/**
- * Replace the Hue color plane in a HSV image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceHSVHuePlane(MonoImage *plane)
-{
- return ReplaceFirstColorPlane(IMAQ_HSV, plane);
-}
-
-/**
- * Replace the first Hue plane in a HSI image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceHSIHuePlane(MonoImage *plane)
-{
- return ReplaceFirstColorPlane(IMAQ_HSI, plane);
-}
-
-/**
- * Replace the Saturation color plane in an HSL image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceHSLSaturationPlane(MonoImage *plane)
-{
- return ReplaceSecondColorPlane(IMAQ_HSL, plane);
-}
-
-/**
- * Replace the Saturation color plane in a HSV image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceHSVSaturationPlane(MonoImage *plane)
-{
- return ReplaceSecondColorPlane(IMAQ_HSV, plane);
-}
-
-/**
- * Replace the Saturation color plane in a HSI image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceHSISaturationPlane(MonoImage *plane)
-{
- return ReplaceSecondColorPlane(IMAQ_HSI, plane);
-}
-
-/**
- * Replace the Luminance color plane in an HSL image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceLuminancePlane(MonoImage *plane)
-{
- return ReplaceThirdColorPlane(IMAQ_HSL, plane);
-}
-
-/**
- * Replace the Value color plane in an HSV with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceValuePlane(MonoImage *plane)
-{
- return ReplaceThirdColorPlane(IMAQ_HSV, plane);
-}
-
-/**
- * Replace the Intensity color plane in a HSI image with a MonoImage.
- * @param mode The color mode in which to operate.
- * @param plane A pointer to a MonoImage that will replace the specified color plane.
- */
-void ColorImage::ReplaceIntensityPlane(MonoImage *plane)
-{
- return ReplaceThirdColorPlane(IMAQ_HSI, plane);
-}
-
-//TODO: frcColorEqualize(Image* dest, const Image* source, int colorEqualization) needs to be modified
-//The colorEqualization parameter is discarded and is set to TRUE in the call to imaqColorEqualize.
-void ColorImage::Equalize(bool allPlanes)
-{
- // Note that this call uses NI-defined TRUE and FALSE
- int success = imaqColorEqualize(m_imaqImage, (const Image*) m_imaqImage, (allPlanes) ? TRUE : FALSE);
- wpi_setImaqErrorWithContext(success, "Imaq ColorEqualize error");
-}
-
-void ColorImage::ColorEqualize()
-{
- Equalize(true);
-}
-
-void ColorImage::LuminanceEqualize()
-{
- Equalize(false);
-}
diff --git a/wpilibc/src/main/native/Vision/EnumCameraParameter.cpp b/wpilibc/src/main/native/Vision/EnumCameraParameter.cpp
deleted file mode 100644
index 3801836fbb..0000000000
--- a/wpilibc/src/main/native/Vision/EnumCameraParameter.cpp
+++ /dev/null
@@ -1,67 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "EnumCameraParameter.h"
-#include
-#include
-
-/**
- * Constructor for an enumeration camera parameter.
- * Enumeration camera parameters have lists of value choices and strings that go
- * with them. There are also C++ enumerations to go along with them.
- * @param setString The string for an HTTP request to set the value.
- * @param getString The string for an HTTP request to get the value.
- * @param choices An array of strings of the parameter choices set in the http strings.
- * @param numChoices The number of choices in the enumeration set.
- */
-EnumCameraParameter::EnumCameraParameter(const char *setString, const char *getString, bool requiresRestart,
- const char *const*choices, int numChoices)
- : IntCameraParameter(setString, getString, requiresRestart)
-{
- m_enumValues = choices;
- m_numChoices = numChoices;
-}
-
-/*
- * Check if an enumeration camera parameter has changed.
- * Check if the parameter has changed and update the camera if it has. This is called
- * from a loop in the parameter checker task.
- * @returns true if the camera needs to restart
- */
-bool EnumCameraParameter::CheckChanged(bool &changed, char *param)
-{
- changed = m_changed;
- if (m_changed)
- {
- m_changed = false;
- sprintf(param, m_setString, m_enumValues[m_value]);
- return m_requiresRestart;
- }
- return false;
-}
-
-/**
- * Extract the parameter value from a string.
- * Extract the parameter value from the camera status message.
- * @param string The string returned from the camera.
- * @param length The length of the string from the camera.
- */
-void EnumCameraParameter::GetParamFromString(const char *string, int stringLength)
-{
- char resultString[50];
- if (SearchForParam(m_getString, string, stringLength, resultString) < 0) return;
- for (int i = 0; i < m_numChoices; i++)
- {
- if (strcmp(resultString, m_enumValues[i]) == 0)
- {
- if (!m_changed) // don't change parameter that's been set in code
- {
- m_value = i;
- }
- }
- }
-}
-
diff --git a/wpilibc/src/main/native/Vision/HSLImage.cpp b/wpilibc/src/main/native/Vision/HSLImage.cpp
deleted file mode 100644
index fec283ac4f..0000000000
--- a/wpilibc/src/main/native/Vision/HSLImage.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "HSLImage.h"
-
-/**
- * Create a new image that uses the Hue, Saturation, and Luminance planes.
- */
-HSLImage::HSLImage() : ColorImage(IMAQ_IMAGE_HSL)
-{
-}
-
-/**
- * Create a new image by loading a file.
- * @param fileName The path of the file to load.
- */
-HSLImage::HSLImage(const char *fileName) : ColorImage(IMAQ_IMAGE_HSL)
-{
- int success = imaqReadFile(m_imaqImage, fileName, NULL, NULL);
- wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
-}
-
-HSLImage::~HSLImage()
-{
-}
diff --git a/wpilibc/src/main/native/Vision/ImageBase.cpp b/wpilibc/src/main/native/Vision/ImageBase.cpp
deleted file mode 100644
index 769d2bcbe0..0000000000
--- a/wpilibc/src/main/native/Vision/ImageBase.cpp
+++ /dev/null
@@ -1,77 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "ImageBase.h"
-#include "nivision.h"
-
-/** Private NI function needed to write to the VxWorks target */
-IMAQ_FUNC int Priv_SetWriteFileAllowed(uint32_t enable);
-
-/**
- * Create a new instance of an ImageBase.
- * Imagebase is the base of all the other image classes. The constructor
- * creates any type of image and stores the pointer to it in the class.
- * @param type The type of image to create
- */
-ImageBase::ImageBase(ImageType type)
-{
- m_imaqImage = imaqCreateImage(type, DEFAULT_BORDER_SIZE);
-}
-
-/**
- * Frees memory associated with an ImageBase.
- * Destructor frees the imaq image allocated with the class.
- */
-ImageBase::~ImageBase()
-{
- if(m_imaqImage)
- imaqDispose(m_imaqImage);
-}
-
-/**
- * Writes an image to a file with the given filename.
- * Write the image to a file in the flash on the cRIO.
- * @param fileName The name of the file to write
- */
-void ImageBase::Write(const char *fileName)
-{
- Priv_SetWriteFileAllowed(1);
- int success = imaqWriteFile(m_imaqImage, fileName, NULL);
- wpi_setImaqErrorWithContext(success, "Imaq Image writeFile error");
-}
-
-/**
- * Gets the height of an image.
- * @return The height of the image in pixels.
- */
-int ImageBase::GetHeight()
-{
- int height;
- imaqGetImageSize(m_imaqImage, NULL, &height);
- return height;
-}
-
-/**
- * Gets the width of an image.
- * @return The width of the image in pixels.
- */
-int ImageBase::GetWidth()
-{
- int width;
- imaqGetImageSize(m_imaqImage, &width, NULL);
- return width;
-}
-
-/**
- * Access the internal IMAQ Image data structure.
- *
- * @return A pointer to the internal IMAQ Image data structure.
- */
-Image *ImageBase::GetImaqImage()
-{
- return m_imaqImage;
-}
-
diff --git a/wpilibc/src/main/native/Vision/IntCameraParameter.cpp b/wpilibc/src/main/native/Vision/IntCameraParameter.cpp
deleted file mode 100644
index af7ff2cd23..0000000000
--- a/wpilibc/src/main/native/Vision/IntCameraParameter.cpp
+++ /dev/null
@@ -1,111 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "IntCameraParameter.h"
-#include "pcre.h"
-#include
-#include
-
-/**
- * Constructor for an integer camera parameter.
- * @param setString The string to set a value in the HTTP request
- * @param getString The string to retrieve a value in the HTTP request
- */
-IntCameraParameter::IntCameraParameter(const char *setString, const char *getString, bool requiresRestart)
-{
- m_changed = false;
- m_value = 0;
- m_setString = setString;
- m_getString = getString;
- m_requiresRestart = requiresRestart;
-}
-
-/**
- * Get a value for a camera parameter.
- * @returns The camera parameter cached valued.
- */
-int IntCameraParameter::GetValue()
-{
- return m_value;
-}
-
-/**
- * Set a value for a camera parameter.
- * Mark the value for change. The value will be updated in the parameter
- * change loop.
- */
-void IntCameraParameter::SetValue(int value)
-{
- m_value = value;
- m_changed = true;
-}
-
-/**
- * Check if a parameter has changed and update.
- * Check if a parameter has changed and send the update string if it
- * has changed. This is called from the loop in the parameter task loop.
- * @returns true if the camera needs to restart
- */
-bool IntCameraParameter::CheckChanged(bool &changed, char *param)
-{
- changed = m_changed;
- if (m_changed)
- {
- sprintf(param, m_setString, m_value);
- m_changed = false;
- return m_requiresRestart;
- }
- return false;
-}
-
-/**
- * Get a parameter value from the string.
- * Get a parameter value from the camera status string. If it has been changed
- * been changed by the program, then don't update it. Program values have
- * precedence over those written in the camera.
- */
-void IntCameraParameter::GetParamFromString(const char *string, int stringLength)
-{
- char resultString[150];
- if (SearchForParam(m_getString, string, stringLength, resultString) >= 0)
- {
- if (!m_changed) m_value = atoi(resultString);
- }
-}
-
-/**
- * @param pattern: the regular expression
- * @param searchString the text to search
- * @param searchStringLen the length of searchString
- * @param result buffer to put resulting text into, must be pre-allocated
- */
-int IntCameraParameter::SearchForParam(const char *pattern, const char *searchString, int searchStringLen, char *result)
-{
- int vectorLen = 10;
- int resultVector[vectorLen];
- const char *error;
- int erroffset;
- pcre *compiledPattern = pcre_compile(
- pattern, //"root.Image.I0.Appearance.Resolution=(.*)",
- PCRE_CASELESS,
- &error, // for error message
- &erroffset, // for error offset
- NULL); // use default character tables
- int rc;
- rc = pcre_exec(compiledPattern,
- NULL,
- searchString,
- searchStringLen,
- 0,
- 0,
- resultVector, //locations of submatches
- vectorLen); //size of ovector
- int length = resultVector[3] - resultVector[2];
- memcpy(result, &searchString[resultVector[2]], length);
- result[length] = '\0';
- return rc;
-}
-
diff --git a/wpilibc/src/main/native/Vision/MonoImage.cpp b/wpilibc/src/main/native/Vision/MonoImage.cpp
deleted file mode 100644
index f1e0022ea1..0000000000
--- a/wpilibc/src/main/native/Vision/MonoImage.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "MonoImage.h"
-#include "nivision.h"
-
-MonoImage::MonoImage() : ImageBase(IMAQ_IMAGE_U8)
-{
-}
-
-MonoImage::~MonoImage()
-{
-}
-
-/**
- * Look for ellipses in an image.
- * Given some input parameters, look for any number of ellipses in an image.
- * @param ellipseDescriptor Ellipse descriptor
- * @param curveOptions Curve options
- * @param shapeDetectionOptions Shape detection options
- * @param roi Region of Interest
- * @returns a vector of EllipseMatch structures (0 length vector on no match)
- */
-vector * MonoImage::DetectEllipses(
- EllipseDescriptor *ellipseDescriptor, CurveOptions *curveOptions,
- ShapeDetectionOptions *shapeDetectionOptions, ROI *roi)
-{
- int numberOfMatches;
- EllipseMatch *e = imaqDetectEllipses(m_imaqImage, ellipseDescriptor,
- curveOptions, shapeDetectionOptions, roi, &numberOfMatches);
- vector *ellipses = new vector;
- if (e == NULL)
- {
- return ellipses;
- }
- for (int i = 0; i < numberOfMatches; i++)
- {
- ellipses->push_back(e[i]);
- }
- imaqDispose(e);
- return ellipses;
-}
-
-vector * MonoImage::DetectEllipses(
- EllipseDescriptor *ellipseDescriptor)
-{
- vector *ellipses = DetectEllipses(ellipseDescriptor, NULL,
- NULL, NULL);
- return ellipses;
-}
diff --git a/wpilibc/src/main/native/Vision/PCVideoServer.cpp b/wpilibc/src/main/native/Vision/PCVideoServer.cpp
deleted file mode 100644
index 9437a7505f..0000000000
--- a/wpilibc/src/main/native/Vision/PCVideoServer.cpp
+++ /dev/null
@@ -1,283 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "HAL/HAL.h"
-
-#include "PCVideoServer.h"
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-#include "NetworkCommunication/UsageReporting.h"
-#include "Task.h"
-#include "Timer.h"
-#include "Vision/AxisCamera.h"
-#include "WPIErrors.h"
-
-/**
- * @brief Implements an object that automatically does a close on a
- * camera socket on destruction.
- */
-class ScopedSocket {
-public:
- ScopedSocket(int camSock)
- : m_camSock(camSock)
- {
- }
-
- ~ScopedSocket() {
- if (m_camSock != ERROR) {
- close(m_camSock);
- }
- }
- // Cast to int allows you to pass this to any function that
- // takes the socket as an int.
- operator int() const {
- return m_camSock;
- }
-
-private:
- int m_camSock;
-};
-
-//============================================================================
-// PCVideoServer
-//============================================================================
-
-/**
- * @brief Constructor.
- */
-PCVideoServer::PCVideoServer()
- : m_serverTask("PCVideoServer", (FUNCPTR)s_ServerTask)
- , m_newImageSem (NULL)
- , m_stopServer (false)
-{
- AxisCamera &cam = AxisCamera::GetInstance();
- m_newImageSem = cam.GetNewImageSem();
- if (!cam.StatusIsFatal())
- {
- StartServerTask();
- }
- else
- {
- CloneError(&cam);
- }
-}
-
-/**
- * @brief Destructor.
- * Stop serving images and destroy this class.
- */
-PCVideoServer::~PCVideoServer()
-{
- // Stop the images to PC server.
- Stop();
- // Clear the error so that you can use this object to make a connection to
- // the VIDEO_TO_PC_PORT to stop the ImageToPCServer if it is waiting to
- // accept connections from a PC.
- ClearError();
- // Open a socket.
- int camSock = socket(AF_INET, SOCK_STREAM, 0);
- if (camSock == ERROR)
- {
- wpi_setErrnoError();
- return;
- }
- ScopedSocket scopedCamSock(camSock);
- // If successful
- if (!StatusIsFatal())
- {
- // Create a connection to the localhost.
- struct sockaddr_in selfAddr;
- int sockAddrSize = sizeof(selfAddr);
- bzero ((char *) &selfAddr, sockAddrSize);
- selfAddr.sin_family = AF_INET;
- selfAddr.sin_len = (u_char) sockAddrSize;
- selfAddr.sin_port = htons (VIDEO_TO_PC_PORT);
-
- if (( (int)(selfAddr.sin_addr.s_addr = inet_addr (const_cast("localhost")) ) != ERROR) ||
- ( (int)(selfAddr.sin_addr.s_addr = hostGetByName (const_cast("localhost")) ) != ERROR))
- {
- struct timeval connectTimeout;
- connectTimeout.tv_sec = 1;
- connectTimeout.tv_usec = 0;
- connectWithTimeout(camSock, (struct sockaddr *) &selfAddr, sockAddrSize, &connectTimeout);
- }
- }
-}
-
-/**
- * Start the task that is responsible for sending images to the PC.
- */
-int PCVideoServer::StartServerTask()
-{
- if (StatusIsFatal())
- {
- return -1;
- }
- int id = 0;
- m_stopServer = false;
- // Check for prior copy of running task
- int oldId = taskNameToId((char*)m_serverTask.GetName());
- if(oldId != ERROR)
- {
- // TODO: Report error. You are in a bad state.
- taskDelete(oldId);
- }
-
- // spawn video server task
- // this is done to ensure that the task is spawned with the
- // floating point context save parameter.
- bool started = m_serverTask.Start((int)this);
-
- id = m_serverTask.GetID();
-
- if (!started)
- {
- wpi_setWPIError(TaskError);
- return id;
- }
- delayTicks(1);
- return id;
-}
-
-/**
- * @brief Start sending images to the PC.
- */
-void PCVideoServer::Start()
-{
- StartServerTask();
-}
-
-/**
- * @brief Stop sending images to the PC.
- */
-void PCVideoServer::Stop()
-{
- m_stopServer = true;
-}
-
-/**
- * Static stub for kicking off the server task
- */
-int PCVideoServer::s_ServerTask(PCVideoServer *thisPtr)
-{
- return thisPtr->ServerTask();
-}
-
-/**
- * @brief Initialize the socket and serve images to the PC.
- * This is the task that serves images to the PC in a loop. This runs
- * as a separate task.
- */
-int PCVideoServer::ServerTask()
-{
- /* Setup to PC sockets */
- struct sockaddr_in serverAddr;
- int sockAddrSize = sizeof(serverAddr);
- int pcSock = ERROR;
- bzero ((char *) &serverAddr, sockAddrSize);
- serverAddr.sin_len = (u_char) sockAddrSize;
- serverAddr.sin_family = AF_INET;
- serverAddr.sin_port = htons (VIDEO_TO_PC_PORT);
- serverAddr.sin_addr.s_addr = htonl (INADDR_ANY);
-
- int success;
- while (true)
- {
- taskSafe();
- // Create the socket.
- if ((pcSock = socket (AF_INET, SOCK_STREAM, 0)) == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to create the PCVideoServer socket");
- continue;
- }
- // Set the TCP socket so that it can be reused if it is in the wait state.
- int reuseAddr = 1;
- setsockopt(pcSock, SOL_SOCKET, SO_REUSEADDR, reinterpret_cast(&reuseAddr), sizeof(reuseAddr));
- // Bind socket to local address.
- if (bind (pcSock, (struct sockaddr *) &serverAddr, sockAddrSize) == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to bind the PCVideoServer port");
- close (pcSock);
- continue;
- }
- // Create queue for client connection requests.
- if (listen (pcSock, 1) == ERROR)
- {
- wpi_setErrnoErrorWithContext("Failed to listen on the PCVideoServer port");
- close (pcSock);
- continue;
- }
-
- struct sockaddr_in clientAddr;
- int clientAddrSize;
- int newPCSock = accept (pcSock, reinterpret_cast(&clientAddr), &clientAddrSize);
- if (newPCSock == ERROR)
- {
- close(pcSock);
- continue;
- }
- //TODO: check camera error
-
- // Report usage when there is actually a connection.
- nUsageReporting::report(nUsageReporting::kResourceType_PCVideoServer, 0);
-
- int numBytes = 0;
- int imageDataSize = 0;
- char* imageData = NULL;
-
- while(!m_stopServer)
- {
- success = takeSemaphore(m_newImageSem, 1000);
- if (success == ERROR)
- {
- // If the semTake timed out, there are no new images from the camera.
- continue;
- }
- success = AxisCamera::GetInstance().CopyJPEG(&imageData, numBytes, imageDataSize);
- if (!success)
- {
- // No point in running too fast -
- Wait(1.0);
- // If camera is not initialzed you will get failure and
- // the timestamp is invalid. Reset this value and try again.
- continue;
- }
-
- // Write header to PC
- static const char header[4]={1,0,0,0};
- int headerSend = write(newPCSock, const_cast(header), 4);
-
- // Write image length to PC
- int lengthSend = write(newPCSock, reinterpret_cast(&numBytes), 4);
-
- // Write image to PC
- int sent = write (newPCSock, imageData, numBytes);
-
- // The PC probably closed connection. Get out of here
- // and try listening again.
- if (headerSend == ERROR || lengthSend == ERROR || sent == ERROR)
- {
- break;
- }
- }
- // Clean up
- delete [] imageData;
- close (newPCSock);
- newPCSock = ERROR;
- close (pcSock);
- pcSock = ERROR;
- taskUnsafe();
- Wait(0.1);
- }
- return (OK);
-}
-
diff --git a/wpilibc/src/main/native/Vision/RGBImage.cpp b/wpilibc/src/main/native/Vision/RGBImage.cpp
deleted file mode 100644
index a5386a0929..0000000000
--- a/wpilibc/src/main/native/Vision/RGBImage.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "RGBImage.h"
-
-/**
- * Create a new image that uses Red, Green, and Blue planes.
- */
-RGBImage::RGBImage() : ColorImage(IMAQ_IMAGE_RGB)
-{
-}
-
-/**
- * Create a new image by loading a file.
- * @param fileName The path of the file to load.
- */
-RGBImage::RGBImage(const char *fileName) : ColorImage(IMAQ_IMAGE_RGB)
-{
- int success = imaqReadFile(m_imaqImage, fileName, NULL, NULL);
- wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
-}
-
-RGBImage::~RGBImage()
-{
-}
diff --git a/wpilibc/src/main/native/Vision/Threshold.cpp b/wpilibc/src/main/native/Vision/Threshold.cpp
deleted file mode 100644
index 8d428e4a39..0000000000
--- a/wpilibc/src/main/native/Vision/Threshold.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-/*----------------------------------------------------------------------------*/
-/* Copyright (c) FIRST 2008. All Rights Reserved. */
-/* Open Source Software - may be modified and shared by FRC teams. The code */
-/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
-/*----------------------------------------------------------------------------*/
-
-#include "Threshold.h"
-
-Threshold::Threshold(int new_plane1Low, int new_plane1High, int new_plane2Low,
- int new_plane2High, int new_plane3Low, int new_plane3High)
-{
- plane1Low = new_plane1Low;
- plane1High = new_plane1High;
- plane2Low = new_plane2Low;
- plane2High = new_plane2High;
- plane3Low = new_plane3Low;
- plane3High = new_plane3High;
-}
diff --git a/wpilibc/src/main/scripts/CopyWPILibToUpdateDirectory.cmd b/wpilibc/src/main/scripts/CopyWPILibToUpdateDirectory.cmd
deleted file mode 100644
index 7e0f220391..0000000000
--- a/wpilibc/src/main/scripts/CopyWPILibToUpdateDirectory.cmd
+++ /dev/null
@@ -1,83 +0,0 @@
-rem cd C:\WindRiver\workspace\WorkbenchUpdate
-cd ..\..\WorkbenchUpdate
-
-
-mkdir vxworks-6.3\target\h\WPILib\Buttons
-mkdir vxworks-6.3\target\h\WPILib\CAN
-mkdir vxworks-6.3\target\h\WPILib\ChipObject
-mkdir vxworks-6.3\target\h\WPILib\CInterfaces
-mkdir vxworks-6.3\target\h\WPILib\Commands
-mkdir vxworks-6.3\target\h\WPILib\NetworkCommunication
-mkdir vxworks-6.3\target\h\WPILib\SmartDashboard
-mkdir vxworks-6.3\target\h\WPILib\visa
-mkdir vxworks-6.3\target\h\WPILib\Vision
-mkdir vxworks-6.3\target\h\WPILib\Vision2009
-
-mkdir vxworks-6.3\target\h\WPILib\LiveWindow
-mkdir vxworks-6.3\target\h\WPILib\networktables
-mkdir vxworks-6.3\target\h\WPILib\tables
-mkdir vxworks-6.3\target\h\WPILib\networktables2
-mkdir vxworks-6.3\target\h\WPILib\networktables2\client
-mkdir vxworks-6.3\target\h\WPILib\networktables2\connection
-mkdir vxworks-6.3\target\h\WPILib\networktables2\server
-mkdir vxworks-6.3\target\h\WPILib\networktables2\stream
-mkdir vxworks-6.3\target\h\WPILib\networktables2\thread
-mkdir vxworks-6.3\target\h\WPILib\networktables2\type
-mkdir vxworks-6.3\target\h\WPILib\networktables2\util
-
-
-del vxworks-6.3\target\h\WPIlib\*.h
-del vxworks-6.3\target\h\WPIlib\Buttons\*.h
-del vxworks-6.3\target\h\WPIlib\CAN\*.h
-del vxworks-6.3\target\h\WPIlib\ChipObject\*.h
-del vxworks-6.3\target\h\WPIlib\CInterfaces\*.h
-del vxworks-6.3\target\h\WPIlib\Commands\*.h
-del vxworks-6.3\target\h\WPIlib\NetworkCommunication\*.h
-del vxworks-6.3\target\h\WPIlib\SmartDashboard\*.h
-del vxworks-6.3\target\h\WPIlib\visa\*.h
-del vxworks-6.3\target\h\WPIlib\Vision\*.h
-del vxworks-6.3\target\h\WPIlib\Vision2009\*.h
-
-del vxworks-6.3\target\h\WPIlib\LiveWindow\*.h
-del vxworks-6.3\target\h\WPIlib\networktables\*.h
-del vxworks-6.3\target\h\WPIlib\tables\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\client\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\connection\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\server\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\stream\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\thread\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\type\*.h
-del vxworks-6.3\target\h\WPIlib\networktables2\util\*.h
-
-del vxworks-6.3\target\lib\WPILib.a
-
-
-copy C:\WindRiver\workspace\WPILib\*.h vxworks-6.3\target\h\WPILib
-copy C:\WindRiver\workspace\WPILib\Buttons\*.h vxworks-6.3\target\h\WPILib\Buttons
-copy C:\WindRiver\workspace\WPILib\CAN\*.h vxworks-6.3\target\h\WPILib\CAN
-copy C:\WindRiver\workspace\WPILib\ChipObject\*.h vxworks-6.3\target\h\WPILib\ChipObject
-copy C:\WindRiver\workspace\WPILib\CInterfaces\*.h vxworks-6.3\target\h\WPILib\CInterfaces
-copy C:\WindRiver\workspace\WPILib\Commands\*.h vxworks-6.3\target\h\WPILib\Commands
-copy C:\WindRiver\workspace\WPILib\NetworkCommunication\*.h vxworks-6.3\target\h\WPILib\NetworkCommunication
-copy C:\WindRiver\workspace\WPILib\SmartDashboard\*.h vxworks-6.3\target\h\WPILib\SmartDashboard
-copy C:\WindRiver\workspace\WPILib\visa\*.h vxworks-6.3\target\h\WPILib\visa
-copy C:\WindRiver\workspace\WPILib\Vision\*.h vxworks-6.3\target\h\WPILib\Vision
-copy C:\WindRiver\workspace\WPILib\Vision2009\*.h vxworks-6.3\target\h\WPILib\Vision2009
-
-copy C:\WindRiver\workspace\WPILib\LiveWindow\*.h vxworks-6.3\target\h\WPILib\LiveWindow
-copy C:\WindRiver\workspace\WPILib\networktables\*.h vxworks-6.3\target\h\WPILib\networktables
-copy C:\WindRiver\workspace\WPILib\tables\*.h vxworks-6.3\target\h\WPILib\tables
-copy C:\WindRiver\workspace\WPILib\networktables2\*.h vxworks-6.3\target\h\WPILib\networktables2
-copy C:\WindRiver\workspace\WPILib\networktables2\client\*.h vxworks-6.3\target\h\WPILib\networktables2\client
-copy C:\WindRiver\workspace\WPILib\networktables2\connection\*.h vxworks-6.3\target\h\WPILib\networktables2\connection
-copy C:\WindRiver\workspace\WPILib\networktables2\server\*.h vxworks-6.3\target\h\WPILib\networktables2\server
-copy C:\WindRiver\workspace\WPILib\networktables2\stream\*.h vxworks-6.3\target\h\WPILib\networktables2\stream
-copy C:\WindRiver\workspace\WPILib\networktables2\thread\*.h vxworks-6.3\target\h\WPILib\networktables2\thread
-copy C:\WindRiver\workspace\WPILib\networktables2\type\*.h vxworks-6.3\target\h\WPILib\networktables2\type
-copy C:\WindRiver\workspace\WPILib\networktables2\util\*.h vxworks-6.3\target\h\WPILib\networktables2\util
-
-
-copy C:\WindRiver\workspace\WPILib\PPC603gnu\WPILib\Debug\WPILib.a vxworks-6.3\target\lib
-
-cd C:\WindRiver\workspace\WPILib\Scripts
diff --git a/wpilibc/src/main/scripts/updateBuiltInLibrary.cmd b/wpilibc/src/main/scripts/updateBuiltInLibrary.cmd
deleted file mode 100644
index ebbbcffc8c..0000000000
--- a/wpilibc/src/main/scripts/updateBuiltInLibrary.cmd
+++ /dev/null
@@ -1,61 +0,0 @@
-cd C:\WindRiver\vxworks-6.3\target
-
-rd /s /q h\WPILib
-
-mkdir h\WPILib
-mkdir h\WPILib\Buttons
-mkdir h\WPILib\CAN
-mkdir h\WPILib\ChipObject
-mkdir h\WPILib\CInterfaces
-mkdir h\WPILib\Commands
-mkdir h\WPILib\NetworkCommunication
-mkdir h\WPILib\SmartDashboard
-mkdir h\WPILib\visa
-mkdir h\WPILib\Vision
-mkdir h\WPILib\Vision2009
-
-mkdir h\WPILib\LiveWindow
-mkdir h\WPILib\networktables
-mkdir h\WPILib\tables
-mkdir h\WPILib\networktables2
-mkdir h\WPILib\networktables2\client
-mkdir h\WPILib\networktables2\connection
-mkdir h\WPILib\networktables2\server
-mkdir h\WPILib\networktables2\stream
-mkdir h\WPILib\networktables2\thread
-mkdir h\WPILib\networktables2\type
-mkdir h\WPILib\networktables2\util
-
-
-
-copy c:\WindRiver\workspace\WPILib\*.h h\WPILib
-copy c:\WindRiver\workspace\WPILib\Buttons\*.h h\WPILib\Buttons
-copy c:\WindRiver\workspace\WPILib\CAN\*.h h\WPILib\CAN
-copy c:\WindRiver\workspace\WPILib\ChipObject\*.h h\WPILib\ChipObject
-copy C:\WindRiver\workspace\WPILib\CInterfaces\*.h h\WPILib\CInterfaces
-copy C:\WindRiver\workspace\WPILib\Commands\*.h h\WPILib\Commands
-copy C:\WindRiver\workspace\WPILib\NetworkCommunication\*.h h\WPILib\NetworkCommunication
-copy C:\WindRiver\workspace\WPILib\SmartDashboard\*.h h\WPILib\SmartDashboard
-copy c:\WindRiver\workspace\WPILib\visa\*.h h\WPILib\visa
-copy c:\WindRiver\workspace\WPILib\Vision\*.h h\WPILib\Vision
-copy c:\WindRiver\workspace\WPILib\Vision2009\*.h h\WPILib\Vision2009
-
-copy C:\WindRiver\workspace\WPILib\LiveWindow\*.h h\WPILib\LiveWindow
-copy C:\WindRiver\workspace\WPILib\networktables\*.h h\WPILib\networktables
-copy C:\WindRiver\workspace\WPILib\tables\*.h h\WPILib\tables
-copy C:\WindRiver\workspace\WPILib\networktables2\*.h h\WPILib\networktables2
-copy C:\WindRiver\workspace\WPILib\networktables2\client\*.h h\WPILib\networktables2\client
-copy C:\WindRiver\workspace\WPILib\networktables2\connection\*.h h\WPILib\networktables2\connection
-copy C:\WindRiver\workspace\WPILib\networktables2\server\*.h h\WPILib\networktables2\server
-copy C:\WindRiver\workspace\WPILib\networktables2\stream\*.h h\WPILib\networktables2\stream
-copy C:\WindRiver\workspace\WPILib\networktables2\thread\*.h h\WPILib\networktables2\thread
-copy C:\WindRiver\workspace\WPILib\networktables2\type\*.h h\WPILib\networktables2\type
-copy C:\WindRiver\workspace\WPILib\networktables2\util\*.h h\WPILib\networktables2\util
-
-
-
-copy C:\WindRiver\workspace\WPILib\PPC603gnu\WPILib\Debug\WPILib.a lib
-
-rem copy c:\WindRiver\workspace\WorkbenchUpdate\frc_20*.zip c:\WindRiver\WPILib\cRIO_Images
-
-cd \WindRiver\workspace\WPILib\Scripts
diff --git a/wpilibj/wpilibJava/.gitignore b/wpilibj/wpilibJava/.gitignore
new file mode 100644
index 0000000000..535c157308
--- /dev/null
+++ b/wpilibj/wpilibJava/.gitignore
@@ -0,0 +1,2 @@
+*~
+target/
\ No newline at end of file
diff --git a/wpilibj/wpilibJavaFinal/.gitignore b/wpilibj/wpilibJavaFinal/.gitignore
new file mode 100644
index 0000000000..535c157308
--- /dev/null
+++ b/wpilibj/wpilibJavaFinal/.gitignore
@@ -0,0 +1,2 @@
+*~
+target/
\ No newline at end of file
diff --git a/wpilibj/wpilibJavaFinal/pom.xml b/wpilibj/wpilibJavaFinal/pom.xml
index b7f02a7a22..e44991c850 100644
--- a/wpilibj/wpilibJavaFinal/pom.xml
+++ b/wpilibj/wpilibJavaFinal/pom.xml
@@ -37,7 +37,7 @@
edu.wpi.first.wpilibj
wpilibJavaJNI
0.1.0-SNAPSHOT
- so
+ jar
@@ -78,7 +78,7 @@
edu.wpi.first.wpilibj
wpilibJavaJNI
0.1.0-SNAPSHOT
- so
+ jar
libwpilibJavaJNI.so
${project.build.directory}/classes/linux-arm
diff --git a/wpilibj/wpilibJavaJNI/.gitignore b/wpilibj/wpilibJavaJNI/.gitignore
new file mode 100644
index 0000000000..535c157308
--- /dev/null
+++ b/wpilibj/wpilibJavaJNI/.gitignore
@@ -0,0 +1,2 @@
+*~
+target/
\ No newline at end of file
diff --git a/wpilibj/wpilibJavaJNI/CMakeLists.txt b/wpilibj/wpilibJavaJNI/CMakeLists.txt
new file mode 100644
index 0000000000..444ec087ae
--- /dev/null
+++ b/wpilibj/wpilibJavaJNI/CMakeLists.txt
@@ -0,0 +1,23 @@
+cmake_minimum_required(VERSION 2.8)
+project(WPILibJavaJNI)
+
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat=2 -Wextra")
+SET(CMAKE_SKIP_BUILD_RPATH TRUE)
+file(GLOB_RECURSE NI_LIBS ../../ni-libraries/*.so)
+get_filename_component(HAL_API_INCLUDES ../../hal/include REALPATH)
+## depends on libFRC_NetComm, halAthena Hal incl, wpilibJava (jar)
+# this file requires embeddedJDKHome to be set
+# all the h files must be generated, in target/include
+
+file(GLOB_RECURSE SRC_FILES lib/*.cpp)
+include_directories(target/include ${embeddedJDKHome}/include ${embeddedJDKHome}/include/linux ${HAL_API_INCLUDES})
+add_library(wpilibJavaJNI SHARED ${SRC_FILES})
+find_library(HAL_LIB libHALAthena.so target/lib)
+add_library(HALAthena UNKNOWN IMPORTED)
+set_property(TARGET HALAthena PROPERTY IMPORTED_LOCATION ${HAL_LIB})
+target_link_libraries(wpilibJavaJNI HALAthena ${NI_LIBS})
+INSTALL(TARGETS wpilibJavaJNI LIBRARY DESTINATION target)
+# lib/ c m gcc_s ld-linux
+# usr/lib stdc++
+# FRC_NetworkCommunication NiFpgaLv RoboRIO_FRC_ChipObject
+
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/AnalogJNI.cpp b/wpilibj/wpilibJavaJNI/lib/AnalogJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/AnalogJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/AnalogJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/CANJNI.cpp b/wpilibj/wpilibJavaJNI/lib/CANJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/CANJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/CANJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/CounterJNI.cpp b/wpilibj/wpilibJavaJNI/lib/CounterJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/CounterJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/CounterJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/DIOJNI.cpp b/wpilibj/wpilibJavaJNI/lib/DIOJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/DIOJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/DIOJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/EncoderJNI.cpp b/wpilibj/wpilibJavaJNI/lib/EncoderJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/EncoderJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/EncoderJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/FRCNetworkCommunicationsLibrary.cpp b/wpilibj/wpilibJavaJNI/lib/FRCNetworkCommunicationsLibrary.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/FRCNetworkCommunicationsLibrary.cpp
rename to wpilibj/wpilibJavaJNI/lib/FRCNetworkCommunicationsLibrary.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/HALUtil.cpp b/wpilibj/wpilibJavaJNI/lib/HALUtil.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/HALUtil.cpp
rename to wpilibj/wpilibJavaJNI/lib/HALUtil.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/I2CJNI.cpp b/wpilibj/wpilibJavaJNI/lib/I2CJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/I2CJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/I2CJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/InterruptJNI.cpp b/wpilibj/wpilibJavaJNI/lib/InterruptJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/InterruptJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/InterruptJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/JNIWrapper.cpp b/wpilibj/wpilibJavaJNI/lib/JNIWrapper.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/JNIWrapper.cpp
rename to wpilibj/wpilibJavaJNI/lib/JNIWrapper.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/PWMJNI.cpp b/wpilibj/wpilibJavaJNI/lib/PWMJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/PWMJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/PWMJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/RelayJNI.cpp b/wpilibj/wpilibJavaJNI/lib/RelayJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/RelayJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/RelayJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/src/main/native/SPIJNI.cpp b/wpilibj/wpilibJavaJNI/lib/SPIJNI.cpp
similarity index 100%
rename from wpilibj/wpilibJavaJNI/src/main/native/SPIJNI.cpp
rename to wpilibj/wpilibJavaJNI/lib/SPIJNI.cpp
diff --git a/wpilibj/wpilibJavaJNI/pom.xml b/wpilibj/wpilibJavaJNI/pom.xml
index e69b093e62..94c829d612 100644
--- a/wpilibj/wpilibJavaJNI/pom.xml
+++ b/wpilibj/wpilibJavaJNI/pom.xml
@@ -1,143 +1,228 @@
-
- 4.0.0
- wpilibJavaJNI
- edu.wpi.first.wpilibj
- 0.1.0-SNAPSHOT
- so
-
-
- edu.wpi.first.wpilib.templates.athena
- shared-library
- 0.1.0-SNAPSHOT
- ../../maven-utilities/athena/shared-library/pom.xml
-
-
-
-
- com.ni.first.libraries
- libFRC_NetworkCommunication
- so
- 0.1.0-SNAPSHOT
-
-
- edu.wpi.first.wpilib.hal
- libHALAthena
- 0.1.0-SNAPSHOT
- a
-
-
- edu.wpi.first.wpilib.hal
- include
- 0.1.0-SNAPSHOT
- inczip
-
-
- edu.wpi.first.wpilibj
- wpilibJava
- 0.1.0-SNAPSHOT
- jar
-
-
-
-
+
+ 4.0.0
+ wpilibJavaJNI
+ edu.wpi.first.wpilibj
+ 0.1.0-SNAPSHOT
+
+
+ edu.wpi.first.wpilib.cmake
+ cpp-root
+ 1.0.0
+ jar
+
+
+ edu.wpi.first.wpilibj
+ wpilibJava
+ 0.1.0-SNAPSHOT
+ jar
+
+
+
-
+
-
-
- ${user.home}${file.separator}jdk-linux-arm-vfp-sflt${file.separator}jdk1.7.0_45
- ${embeddedJDKHome}${file.separator}include
-
-
-
-
-
- org.apache.maven.plugins
- maven-enforcer-plugin
- 1.3.1
-
-
- enforce-property
-
- enforce
-
-
-
-
-
- ${embeddedJDKIncludePath}
-
- A copy of the 'Linux ARM v6/v7 Soft Float ABI' JDK must be extracted to '${embeddedJDKHome}' and
+
+ ${user.home}${file.separator}jdk-linux-arm-vfp-sflt${file.separator}jdk1.7.0_45
+ Unix Makefiles
+ ${embeddedJDKHome}${file.separator}include
+
+
+
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ 1.3.1
+
+
+ enforce-property
+
+ enforce
+
+
+
+
+
+ ${embeddedJDKIncludePath}
+
+ A copy of the 'Linux ARM v6/v7 Soft Float ABI' JDK must be extracted to '${embeddedJDKHome}' and
the folder '${embeddedJDKIncludePath}' must exist to build this module. You must use Java 7 u45. This JDK may be downloaded from
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u45-oth-JPR. To override
this default location, specify a value for the 'embeddedJDKHome' property at the command line, like 'mvn -DembeddedJDKHome=path/to/jdk'
-
-
- true
-
-
-
-
-
- org.codehaus.mojo
- native-maven-plugin
- 1.0-alpha-7
- true
-
- linux
- ${embeddedJDKIncludePath}
-
-
- src/main/native
-
- **/*.cpp
-
-
-
-
-
-
- javah
- generate-sources
+
+
+ true
+
+
+
+
+
+ org.codehaus.mojo
+ native-maven-plugin
+ 1.0-alpha-7
+ true
-
-
- edu.wpi.first.wpilibj.can.CANJNI
- edu.wpi.first.wpilibj.communication.FRCNetworkCommunicationsLibrary
- edu.wpi.first.wpilibj.hal.HALUtil
- edu.wpi.first.wpilibj.hal.JNIWrapper
- edu.wpi.first.wpilibj.hal.AnalogJNI
- edu.wpi.first.wpilibj.hal.CounterJNI
- edu.wpi.first.wpilibj.hal.DIOJNI
- edu.wpi.first.wpilibj.hal.EncoderJNI
- edu.wpi.first.wpilibj.hal.I2CJNI
- edu.wpi.first.wpilibj.hal.InterruptJNI
- edu.wpi.first.wpilibj.hal.PWMJNI
- edu.wpi.first.wpilibj.hal.RelayJNI
- edu.wpi.first.wpilibj.hal.SPIJNI
-
-
-
-
+
+ edu.wpi.first.wpilibj.can.CANJNI
+ edu.wpi.first.wpilibj.communication.FRCNetworkCommunicationsLibrary
+ edu.wpi.first.wpilibj.hal.HALUtil
+ edu.wpi.first.wpilibj.hal.JNIWrapper
+ edu.wpi.first.wpilibj.hal.AnalogJNI
+ edu.wpi.first.wpilibj.hal.CounterJNI
+ edu.wpi.first.wpilibj.hal.DIOJNI
+ edu.wpi.first.wpilibj.hal.EncoderJNI
+ edu.wpi.first.wpilibj.hal.I2CJNI
+ edu.wpi.first.wpilibj.hal.InterruptJNI
+ edu.wpi.first.wpilibj.hal.PWMJNI
+ edu.wpi.first.wpilibj.hal.RelayJNI
+ edu.wpi.first.wpilibj.hal.SPIJNI
+
+
+
+
- linux
- ${project.build.directory}/jni/include
- default
- true
+ linux
+ ${project.build.directory}/include
+ default
+ true
+
+
+ javah
+
+
+
+
+
+
+ com.googlecode.cmake-maven-project
+ cmake-maven-plugin
+ 2.8.11-b4
+
+
+ cmake
+ generate-resources
+
+ generate
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+ cmake2
+ generate-resources
+
+ compile
+
+
+ install
+
+
+
+
+ .
+ ${project.build.directory}/cmake
+ ${project.build.directory}/cmake
+ ${cmakeGenerator}
+ release
-
- javah
-
-
-
-
-
-
-
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 2.8
+
+
+
+ fetch-cpp-zip-dependencies
+ process-sources
+
+ copy-dependencies
+
+
+
+
+ edu.wpi.first.wpilib.cmake
+ cpp-root
+ 1.0.0
+ jar
+ cpp-root.jar
+
+
+ ${project.build.directory}
+ false
+ true
+ false
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+ 1.7
+
+
+
+ set-version-info
+
+ run
+
+ process-sources
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+ unzip-cpp-includes
+ compile
+
+ run
+
+
+
+
+
+
+
+
+
+
+