[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] KDevelop; Single Independant Makefile?
From:       Werner Joss <werner () hoernerfranzracing ! de>
Date:       2002-01-27 18:55:42
[Download RAW message or body]

On Sunday 27 January 2002 22:21, Justin R. Gortner wrote:
> List,
>
> I am using KDevelop under Mandrake Linux (8.1, the newest verison). What I
> am trying to do is have KDevelop generate a single independant makefile, so
> that I can give the single makefile, and my source files for someone else
> to compile. It seems that KDevelop generates Makefile, Makfile.am,
> ../configure.in, etc, etc.
>
> Is there any way I can have KDevelop generate a single independant makefile
> with the proper dependancies? All responses are greatly appriciated. Also,
> I am somewhat new to Linux and KDevelop so please keep that in mind when
> replying. Thanks very much!
>
> Sincerely,
> Justin

Justin,
kdevelop uses autoconf and automake to ensure that your project can be 
compiled/linked on different platforms, the file which controls this is 
<yourproject>.kdevprj - you can setup all necessary information there (such 
as extra libs, install locations etc.).
kdevelop creates the Makefile.am, Makefile.in etc from <yourproject>.kdevprj.
autoconf&automake create the actual Makefile from these files, Makefile 
itself  is of course specitic to the current platform/distribution.
in any case, it is safe to rely on the mentioned framework, all you have to 
provide is a working autoconf+automake.
it would be much harder to generate an independent Makefile otherwise.
HTH
werner
___________________________________________________
This message is from the kde-linux mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic