Let the following $T$-periodic signal :

then $$\begin{align}F(x(t))(\omega) =& \int_{-\infty}^\infty x(t) \exp(-i\omega t) \mathrm{d}t = \frac{A}{T} \int_{-\infty}^\infty t \exp(-i \omega t) \mathrm{d}t = \frac{A}{T} \int_{-\infty}^\infty i \frac{\partial{\exp(-i \omega t)}}{{\partial \omega}} \mathrm{d}t \\& =\frac{A}{T} i \frac{\partial}{\partial \omega} \int_{-\infty}^\infty \exp(-i \omega t) \mathrm{d}t =\frac{A}{T} i \frac{\partial \delta (\omega)}{\partial \omega} = i\frac{A \delta '(\omega) }{T}\end{align}$$ after this how can i find the complex form to find the amplitude and phase spectrums