a method for synthesis of diarylpyrimidine non - nucleoside reverse transcriptase inhibitor such as etravirine is provided typically , etravirine is synthesized by the steps of a condensing 2 , 4 , 6 - trichlorpyrimidine with 3 , 5 - dimethyl - 4 - hydroxybenzonitrile to obtain compound , b condensing compound with 4 - aminobenzonitrile to obtain compound , c ammonolysis of compound to get compound , d halogenation of compound to get etravirine .