Add extract-files and setup-makefiles

Change-Id: Ie59fb5bd40fa82bf398bd6380cd202fbcccb910a