Are the wings of birds and flies homologous or analogous traits?

Are the wings of birds and flies homologous or analogous traits?
More Phylogenetic Trees Questions: