Cut the eggplants into... and deep fry until soft. If you don't want to deep fry the eggplants, you can bake them in a 210˚C for 15 minutes or until they're soft.
Combine 1 tbs oil, tomato, shallots, garlic, and chillis and blend with a submersion mixer.
Heat the rest of the oil in a wok/pan and fry the chilli paste until fragrant.
Add the tamarind paste mixture, sugar and kaffir lime leaves. Cook on medium heat until reduced to half and the mixture has rendered some oil, about 20 minutes.
Toss the eggplants in the chilli sauce, being careful not to break them.