Add make macro to replace vendor files

Change-Id: Iadef1c75e213674d89807c5f9f23796b8b7b9c7e