Code reorganization and indentation

Moved motor code to separate source file, and added a few GNU style line-breaks
in function declarations.

Signed-off-by: Morten Hustveit <mortehu@google.com>
Moved TX buffer refill code into TX block

This change is mostly aesthetic.

Signed-off-by: Morten Hustveit <mortehu@google.com>
Switch to using autotools

This way we get automatic header dependency tracking, and an avenue to expand
support to more platforms.

Signed-off-by: Morten Hustveit <mortehu@google.com>
Added dummy port to GNU/Linux

The point of this port is just to ensure that the code and build scripts work
on multiple platforms.  It may be expanded in the future to run unit tests.

Signed-off-by: Morten Hustveit <mortehu@google.com>
Added install rule for Uno32

Signed-off-by: Morten Hustveit <mortehu@google.com>