From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b8f434beacb55075 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!fdn.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <43875DB6.8050606@obry.net> Date: Fri, 25 Nov 2005 19:53:42 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Georg Bauhaus Subject: Re: autotools and ada References: <43842543$2_1@x-privat.org> <9fxhf.934$Hk1.734@newsread1.news.pas.earthlink.net> <87psoon6j6.fsf@willow.rfc1149.net> <1132941809.10202.122.camel@sonnenregen> In-Reply-To: <1132941809.10202.122.camel@sonnenregen> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 25 Nov 2005 19:53:44 CET NNTP-Posting-Host: 82.124.113.148 X-Trace: 1132944824 news.wanadoo.fr 6666 82.124.113.148:2890 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:6620 Date: 2005-11-25T19:53:44+01:00 List-Id: Georg, > This work can be alleviated in Unix(-like) environments only. > > $ variable=`program1 | program2 'parameters'` No this can't be :) One interresting feature of Makefile is that it "documents" the build processes: how to configure the project, how to build the differents modules (some can be C, Java, Ada...), how to build a distrib tarball, how to install the project, how to run non regression tests... and lot more. You'll probably agree that it is far better to do: $ make build test Than to look at the documentation or remmember a set of commands to do the same... and this also avoid procedure mistakes... you know that you are running the tests the very same way each time! Using the makefiles to build automatically projects using cron-script or running the tests is then quite easy... Frankly I do not see what is wrong with makefile and Ada. It is quite easy to use and brings a lot to the project. Lot of mess that C/C++ projects needs for files dependancies are not needed here, neither the right CC, CFLAGS or whatever. Use the make tools from your Ada vendor (gnatmake for example). Now you can use makefile without the autotools which I find quite hard to grasp ;) Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595