How to modify all Makefiles in a source tree into linux environment

Hi Frndz,

I am new to the makefile generation.

I have a source code which contains makefiles in each sub-directories.
Previously we have used the entire source code in Dtbuild environment to get the executables. Now have to change the current Dtbuild environment to Linux build environment. the make file has to be altered to suite the Linux environment. Please let me know the modifications that I need to follow to do this.

Please let me know how to find the main make file??

Thanks
Waiting for ur valuable reply.....
Rishi

you may have a long way to go .... or not :wink:

1) without knowing any specific details about the software you want to build ,
all I can guarantee is that you have to look for the `configure' script in the top level of the source tree ;

  • `cd' to that dir, and run `./configure' just to see what it does , and then try it with a "--help" option , to know it's alternatives ;

2) it may have been prepd for Linux ( in which case you're lucky ) ... otherwise you'll need to taylor it yourself ;

3) in order to "port" to Linux , you'll have to know the features of your package that are prone to compatibility issues , and - most importantly - you have to know Linux from the programmers standpoint ;

4) anyway , I recommend a look at The Linux Documentation Project for a start ;

good luck , and success !

alexandre botao
Alexandre V. R. Botao | Unix, C/C++, Shell, LDAP, SSL/TLS, SSH, Perl, Java, Python, Security, ...