From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16342 invoked by alias); 11 Jul 2011 17:20:44 -0000 Received: (qmail 16307 invoked by uid 22791); 11 Jul 2011 17:20:43 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Jul 2011 17:20:23 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 89A502AC1B2; Mon, 11 Jul 2011 17:20:22 +0000 (UTC) From: Mike Frysinger To: Doug Evans Subject: Re: sim: using automake Date: Mon, 11 Jul 2011 17:20:00 -0000 User-Agent: KMail/1.13.7 (Linux/2.6.39; KDE/4.6.3; x86_64; ; ) Cc: Tom Tromey , gdb@sourceware.org References: <201107080344.p683iRUq024788@ignucius.se.axis.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3144656.LtNlib84oK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201107111320.22250.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00066.txt.bz2 --nextPart3144656.LtNlib84oK Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1609 On Monday, July 11, 2011 12:38:13 Doug Evans wrote: > On Mon, Jul 11, 2011 at 7:57 AM, Tom Tromey wrote: > >>>>>> "Mike" =3D=3D Mike Frysinger writes: > > Mike> ive been bit by this multiple times, and it always seemed crazy to > > Mike> me that we still do manual dependency management. many of the > > Mike> other sourceware projects have converted to automake and dropped > > Mike> the hardcoded lists, so is there anything holding back the sim dir > > Mike> other than someone doing it ? > >=20 > > It seems like an improvement to me. >=20 > "Well ..." > I'd rather not make this transition without a bit more discussion. > [I would prefer to avoid automake.] much of the sourceware tree has converted. seems the only major dirs not=20 using it are newlib/libgloss/gdb/sim. $ ls `find -name Makefile.in | sed 's:[.]in:.am:g'` not saying this means "gdb/sim must convert", just providing more context t= o=20 show that it's inevitable ! :) > One question and one observation: >=20 > Question: can automake handle dependencies on machine generated files? > I think(!) the answer is "no", so automake doesn't solve all problems. i'm not sure what you mean by machine generated files. could you provide=20 specific examples ? > Observation: gdb no longer manually describes dependencies (*1) yet it > doesn't use automake. >=20 > --- > (*1): I realize it's more complicated than that, e.g. source files from > subdirs. just having dependency info in the current dir would be a vast improvement.= =20=20 i'll poke the gdb system to see how it's doing it. -mike --nextPart3144656.LtNlib84oK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJOGzDWAAoJEEFjO5/oN/WBdicQALsB3X/6s6cROHLJ4sj2ip56 /VgY1mgyZhFpi0HHK6kPhWhpgg+617KLA3rsGzAFmvA/luBkxSe1crPN2HK2JNnc pYm0J9eku5udz8h4zuAd8MzMK3FtHlGDNNdKgod9c8PLhyLnd9HBiyrS23E2X9iq Iszndms6+CUNEFqhcni4+VRFxsrduo3MkR0Gri7HK8BB4OZJQsNYwG582wtAMHDc wSfmmsfc6ld4Vp3Ixgk/04BLV12AvQMJKWWwou+Vo81ursRwgOqfciL2Ugtr4P6x gupr+ZkvFy49OhjPBBDSa/fYgSUjEhef2F+XUeIr9r6+ttBVFr6x8aWRxQtIjo8I vbnJth5clBH2VMRacn8F2yyBAzgWvOpgCVOVD8pbJDERfn1c7BA0rxzJ8Vn99/kP dgkBVsez6x+Iavrepz+Wpp9lFxIQwOe+69mSR7D3T6oE9jtZK2lLCwoo54xxAqYJ 35qH0FQJUsLa7YzR/HQgsJ1rpyYFwD116p73ODxXUT3BAbXcJFb1+L6rg1UMtUj4 MoGJVnBig8WahpNYEVexeAVJBlmdJD5OrWUU3cfzMlCCNAFqbFyAjnNMCJPE+Ls2 OeDlyrzCaT1U0TgMYCsYqytbEyhDMltquWHRHQC2tcEuX/X8rHn3xaUxUdzc/1ko pEr1waRDsiiN4P/ko5pM =D1H3 -----END PGP SIGNATURE----- --nextPart3144656.LtNlib84oK--