Drop DEPS_LIB/INCLUDE

Change-Id: I1ec70df75949ac29f94d4e87625ad9a1b1485a55
Reviewed-on: http://review.couchbase.org/35134
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>
MB-10731 Link failure on Ubuntu due to missing rtmp

Change-Id: Ib06f85cfbcdb6b21cb244614ab5fa6ca0974a976
Reviewed-on: http://review.couchbase.org/35211
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Use CMake as our primary build system

Modified Makefile to provide backward compatibility /
convenience methods to build the system. In order to
make it "portable" I've added a GNUmakefile that
gnu make will pick up and set the default values
before using Makefile.

Change-Id: I3247dbfb653810636f580863c77951e008b536c9
Reviewed-on: http://review.couchbase.org/35044
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Don't use repo for clean-xfd

Change-Id: I8aa571e603ba05f185fea9cd65d27bc3def0e976
Reviewed-on: http://review.couchbase.org/35356
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Set PROJECT in the topmost CMakeLists.txt

Change-Id: I74ad557c4493e82dc608070ae46dcbe7ba44e96b
Reviewed-on: http://review.couchbase.org/35358
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add dependency for build/Makefile for compile

Change-Id: Iab2c8ec53a6d0f97ae84b544626a320748ae756a
Reviewed-on: http://review.couchbase.org/35361
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
added otp macro

Change-Id: I05677460dd8cc25700da8bfe6d4bb40faec19401
Reviewed-on: http://review.couchbase.org/35368
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Pass through PRODUCT_VERSION

Change-Id: Ia2576b4b449393c9649437ef6020d716fbdcc8c6
Reviewed-on: http://review.couchbase.org/35420
Reviewed-by: Eric Limare <eric.limare@couchbase.com>
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>
Added install target in GNUmakefile

Change-Id: I9fa4d3d7ef17cf918bea5747e8a3c3ae9a277392
Reviewed-on: http://review.couchbase.org/35437
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Set the default build type to Debug

May be overridden with BUILD_TYPE set to:
  Debug, Release, RelWithDebInfo or MinSizeRel

Additional options may be passed as:
  EXTRA_CMAKE_OPTIONS

Change-Id: I3047cc97f0c398e9a13866f981ef5d4330490a58
Reviewed-on: http://review.couchbase.org/35488
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Fixup problems with space in pwd

Change-Id: I3884a2fa97126d065fb24a3fc63fdfa9c5db471c
Reviewed-on: http://review.couchbase.org/35501
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Document windows setup

Change-Id: If3116beb31430d8d88ab5241fd6bfaa251e89b3c