The geometric law of energy conservation is utilized in evaluating the phase transmittance function for axicons with arbitrary distribution of the on-axis intensity. Several simple analytical solutions are presented, and a computer-generated holographic version of the uniform-intensity axicon is examined.