Add a gnumakefiles

Change-Id: Id7785ba042ebf3a146ca23a3b9baf04b33513c5a
Reviewed-on: http://review.couchbase.org/35184
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>