how to port a package to huge source code having its own make and compilers

In general for intalling a package like we do
./configure, make , make install
But if we want to integrate the package with a huge source base
what are the things to be taken care

could some one have a light on purpose of ./configure , make and make install
along with above question.
I need it urgently
would some one spare some time to help me out in this

-----Post Update-----

could some one help me in understanding on this .I need it urgently

-----Post Update-----

could some one help me in understanding on this .I need it urgently

-----Post Update-----

Is there no one to help me in this.or the question itself is not understandable

-----Post Update-----

Is there no one to help me in this.or the question itself is not understandable

The question is understandable but very broad in its nature.