#
# ServerU PLCM Utility
#
# ServerU - http://www.ServerU.com.br http://www.ServerU.us
# PLCM with 2 lines with 4 keys pad model Netmap L100 & Netmap L800
#
# Developed and teste for/on FreeBSD RELENG_8, RELENG_9, RELENG_10
#
# This Makefile requires /usr/src/ because we will use the very same stub
# for modules compiling on FreeBSD. We will also compile the whole thing
# with clang prefferably. -- Patrick Tracanelli
#
For FreeBSD 7, 8, 9 and 10 64bits (FreeBSD/amd64)

Build the kernel module:
	make

Build plcm utility for scripting and controlling LCM and Keypad
	make serveru-plcm-util

Build plcm daemon sample code. This daemon actually does nothing useful
other than detecting what was pressed and writting it to LCM, 
but it's a skeleton so you can make your own custom daemon. 
	make serveru-plcmd

!!! Important!!! FreeBSD's /src/src must exist and be up to date
because this plcm driver kernel module is written as a /sys/modules stub
and therefore depends on the FreeBSD tool chain to get built.

Changelog:
- v0.1 Fri Nov 29 22:57:42 BRST 2013
  Publicly available version, tested for over one year and in production
  use beginning from ProApps 1.4.3 and FreeBSD 8.

- v0.2 Thu Nov  6 17:43:07 BRST 2014
  General code and tar ball cleanup. Added serveru-plcmd to the tar ball,
  it's a daemon sample written in C, very useful if you want to take full
  advantage of ServerU keypad and LCM and write a custom daemon.



