Compounds having the following formula (I) and their preparation and methods of their use in the preparation of medicaments for treating conditions or diseases including those responsive to the inhibition of TANK binding kinase 1 (TBK1) and I-Kappa-B kinase (IKKε) are disclosed: