These are the files you are looking for.
COMPONENTS are the precompiled binaries you want to use.
GLOBAL_DEFINES here you add the definitions you need for certain configurations (look at apps/demo/bt_audio/bt_audio.mk).
VALID_PLATFORMS is a list of the platform targets that are supported for that particular app.
Look into the files above and you'll find your answers. Good luck!