Extract proprietaries & setup makefiles

Change-Id: Ic41fd91fd847ea3324bb4fa11d7fbe120c5fe351