for installing the NVidia optimized drivers you don't need your kernel source, you need the nvidia_kernel patch.
Now, because your using Mandrake 9.* you can't use NVidias RPMs you have to compile from source.
So, download both the nvidia_glx and nvidia_kernel tar packages and extract the somewhere on your hard drive.
Open up a terminal window and go the the directory you extracted the files too.
Now go into the nvidia kernel directory and become the super user (root) by typeing "su" it will prompt for your root password. Now type "make && make install"
Alot of text will apear on your screen, just wait till everythings done.
Once you have control again go back one directory (cd ..) and the remove that directory (using the "rm" command).
Now go into the nvidia glx directory, do the same "make && make install" command and as before just wait.
Once you have control again go back one directory (cd ..) and the remove that directory (using the "rm" command).
Now go back to nvidia's web site and read up on what you have to do to get the nvidia optimizations to work with xfree.
If you get errors loading up xfree try typing "modprobe NVdriver".
Good luck
