Limit cycles of a class of generalized LiƩnard polynomial equations