The present invention is directed to compounds of formula I-II and pharmaceutically acceptable salts, esters, and prodrugs thereof which are inhibitors of syk and/or JAK kinase. The present invention is also directed to intermediates used in making such compounds, the preparation of such a compound, pharmaceutical compositions containing such a compound, methods of inhibition syk and/or JAK kinase activity, methods of inhibition the platelet aggregation, and methods to prevent or treat a number of conditions mediated at least in part by syk and/or JAK kinase activity, such as undesired thrombosis and Non Hodgkin's Lymphoma.