From unknown Thu Aug 21 12:10:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8921 <8921@debbugs.gnu.org> To: bug#8921 <8921@debbugs.gnu.org> Subject: Status: side stepping automake limitations with custom dependencies Reply-To: bug#8921 <8921@debbugs.gnu.org> Date: Thu, 21 Aug 2025 19:10:35 +0000 retitle 8921 side stepping automake limitations with custom dependencies reassign 8921 automake submitter 8921 Mike Frysinger severity 8921 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 22 19:59:13 2011 Received: (at submit) by debbugs.gnu.org; 22 Jun 2011 23:59:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZXKC-00068D-2R for submit@debbugs.gnu.org; Wed, 22 Jun 2011 19:59:13 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZXKA-00067z-6L for submit@debbugs.gnu.org; Wed, 22 Jun 2011 19:59:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZXK4-0000Jo-6F for submit@debbugs.gnu.org; Wed, 22 Jun 2011 19:59:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:35195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZXK4-0000Jk-4m for submit@debbugs.gnu.org; Wed, 22 Jun 2011 19:59:04 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZXK2-0003yb-Re for bug-automake@gnu.org; Wed, 22 Jun 2011 19:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZXK1-0000JV-Pj for bug-automake@gnu.org; Wed, 22 Jun 2011 19:59:02 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:47771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZXK1-0000JL-II for bug-automake@gnu.org; Wed, 22 Jun 2011 19:59:01 -0400 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 378062AC038; Wed, 22 Jun 2011 23:58:59 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: bug-automake@gnu.org Subject: side stepping automake limitations with custom dependencies Date: Wed, 22 Jun 2011 19:58:59 -0400 User-Agent: KMail/1.13.7 (Linux/2.6.39; KDE/4.6.3; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4620599.Qcv1i5fpNs"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201106221959.00089.vapier@gentoo.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit Cc: Jie Zhang X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) --nextPart4620599.Qcv1i5fpNs Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable i'm working on a project (urjtag) that has yacc/lex files in it. and other= =20 files in the directory depend on the generated output from yacc/lex. so th= e=20 automake file looks something like: libbsdl_la_SOURCES =3D \ vhdl_bison.y \ bsdl_bison.y \ bsdl.c \ bsdl_sem.c libbsdl_flex_la_SOURCES =3D \ vhdl_flex.l \ bsdl_flex.l since the bison(yacc) files depend on the output of the flex(lex) files, we= =20 want to express the dependency: libbsdl_flex_la-vhdl_flex.o: vhdl_bison.h libbsdl_flex_la-bsdl_flex.o: bsdl_bison.h but with this, we hit an ugly limitation in automake itself. FTFM: http://sources.redhat.com/automake/automake.html#Extending [quote] Note that Automake does not make any distinction between rules with commands and rules that only specify dependencies. So it is not possible to append new dependencies to an automake-defined target without redefining the entire rule. [/quote] i happened to notice though that automake only parses exact semantic matche= s. =20 it cannot handle going through variables. so i tried out: $(libbsdl_la_OBJECTS): bsdl_bison.h vhdl_bison.h ignoring the minor fact that a few extra objects depend on the headers than= =20 necessary, i get nice behavior: automake generates the compile rules for me= ,=20 and i get to express the dependency to make so parallel builds dont fail. is this an undocumented feature ? or a bug that'll get fixed at some point= ? =20 we've been using this for a few years now without problems, but past behavi= or=20 does not guarantee future behavior ... =2Dmike --nextPart4620599.Qcv1i5fpNs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJOAoHEAAoJEEFjO5/oN/WBJlYP/1FiG9zACSSVREAZkgkt8nV+ 131qBcLuPc7fOLTMNvaY7CPmnFxqcdfQUl+gyYcLlLQS1cEZibxPOPYCT+mYDx11 ZXp3W5RjcMcavgzDbxuDJ+31fypAYsomY3ypt8MHN4LIu+fq701yA1BtI9nTEblf sx0GmS9suecE+1LeSWruauKOS5upTZ1V0VgyCiooyPg5R+QhWC0pRXaDOUj/CxHh wOw1ZXiGf5zKYwYbxZ2SvOg8K8Q74KgLUB94fxMB8zwZJE7hmly5Qaj80UIgxW8w 9jablUOA/iGyJc8iJ7FBoIxsZ1jfhAhM28BbkAulkYO/khj3tGvq7jhz9yxLURBR yKGZ40TXxuiPF6y4XOe9A84CZncwLwPsHg9YcqRGMQhW4K3HnDG4PTw5uctlp3zz 5Ns7YaSQ7ltjWyD/CuK4FSTrfdVwa4nvLcVsmpRJFs/E9WGa1S5/jUwn2vDL3yu3 Q+9oM5OZN+VFHxyuQjhNoojlrZuGFHjBEBd0aHhgzFc+aaSkXSsOukr41uusNcYf Rwgn7APn2HOdflVgRQi2cd+iAmKB06rb+sHNnNthdQ1Az9/V7NE9eUZxDy+Knf08 M+egy5k6zAjXlS0lXU4R3RP081jdjiFEH17BDOpO5GvLbxd6UG3pNe70xPL3Is1x HIMWelEFGrcmMs5ay8WK =RZLl -----END PGP SIGNATURE----- --nextPart4620599.Qcv1i5fpNs-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 22 20:07:45 2011 Received: (at submit) by debbugs.gnu.org; 23 Jun 2011 00:07:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZXST-00076k-32 for submit@debbugs.gnu.org; Wed, 22 Jun 2011 20:07:45 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZXSQ-00076O-Gb for submit@debbugs.gnu.org; Wed, 22 Jun 2011 20:07:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZXSK-0001tF-7x for submit@debbugs.gnu.org; Wed, 22 Jun 2011 20:07:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:46620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZXSK-0001sr-64 for submit@debbugs.gnu.org; Wed, 22 Jun 2011 20:07:36 -0400 Received: from eggs.gnu.org ([140.186.70.92]:57714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZXSJ-00053E-0R for bug-automake@gnu.org; Wed, 22 Jun 2011 20:07:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZXSG-0001sD-Jf for bug-automake@gnu.org; Wed, 22 Jun 2011 20:07:34 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:39340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZXSG-0001s8-Di for bug-automake@gnu.org; Wed, 22 Jun 2011 20:07:32 -0400 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6D7EB2AC03E; Thu, 23 Jun 2011 00:07:31 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: bug-automake@gnu.org Subject: Re: bug#8921: side stepping automake limitations with custom dependencies Date: Wed, 22 Jun 2011 20:07:30 -0400 User-Agent: KMail/1.13.7 (Linux/2.6.39; KDE/4.6.3; x86_64; ; ) References: <201106221959.00089.vapier@gentoo.org> In-Reply-To: <201106221959.00089.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1974394.kNSzUeLtUU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201106222007.32264.vapier@gentoo.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit Cc: Jie Zhang , 8921@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) --nextPart1974394.kNSzUeLtUU Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit ah blah, i meant automake@gnu.org. i dont know how to close bugs with this e- mail system, so if someone could do that for me, that'd be cool ... -mike --nextPart1974394.kNSzUeLtUU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJOAoPEAAoJEEFjO5/oN/WBThMQAJ4vNz8fHoF9oOgrxqhwhRW+ 3u5d8/CqHZTg0nAnEXHj6CjrkKXL4hK5zyE1/gfnCa4hVkDFMFfGS7KH3AJNZnHm mRsV1k4J90qQKfK8MK4FEicycUEVbUUy+RZwo2i+xQN5T1MuTRrmKwdz6Q9CjuJw qgWYLrpn50SljsWJasK2J3SfvFVEUFw1u7wBvZyZqyGzIHe2+ZawOPI2XtuPM3x3 34oljbfTyzkrUDl6S+RnEcIPio4Egjq+V7su+85yYChr/JMM73Gug2eMthJwWyrj tSauCyOqlG2usCZab9BPvUB+KWkDYFkxX0vt2MMdYHyQRq40TuFkS1qY3kdkH3Ly ArXqE7BuZZFwpTyMSFROao/WrGKmxyst4ZC3xuL2OEnsfshDf43+iN5/zDo/2pkF ymFq9jUfyA8VsN+yYPxOytKAYrZ2PRTvH2pih7VInE7h++VlMdhorMk1/5RBR7tp +7VcEtaaZoU4G79CQI5xzOdK383fwBKecFmt9Ys0GfgMTatDcP6zaRqENm+TkqRU /McKR8/Pk3wxbRL1Z6rSovyagVYZ+U1g3gOWnWz6PSrT+WUx9WcYC3ia3KPgc3Vf keDvijjh9RtLM7BYD++NpNAbAbuU49vwHtNpYh2oqKDFDyPieQGlq1Yo3ZAVjgiS DO3z5r1AQfGEjd301CQm =xaLw -----END PGP SIGNATURE----- --nextPart1974394.kNSzUeLtUU-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 23 01:44:52 2011 Received: (at 8921-done) by debbugs.gnu.org; 23 Jun 2011 05:44:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZcii-00066k-Et for submit@debbugs.gnu.org; Thu, 23 Jun 2011 01:44:52 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QZcig-00066W-9b for 8921-done@debbugs.gnu.org; Thu, 23 Jun 2011 01:44:51 -0400 Received: (qmail 30126 invoked by uid 0); 23 Jun 2011 05:44:44 -0000 Received: from 77.58.247.232 by www016.gmx.net with HTTP; Thu, 23 Jun 2011 07:44:40 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Thu, 23 Jun 2011 07:44:41 +0200 From: "Ralf Wildenhues" In-Reply-To: <201106222007.32264.vapier@gentoo.org> Message-ID: <20110623054441.303520@gmx.net> MIME-Version: 1.0 References: <201106221959.00089.vapier@gentoo.org> <201106222007.32264.vapier@gentoo.org> Subject: Re: bug#8921: side stepping automake limitations with custom dependencies To: Mike Frysinger X-Authenticated: #13673931 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Mutt-Fcc: ~/Mail/outbox X-Mutt-References: <201106222007.32264.vapier@gentoo.org> X-Priority: 3 X-Provags-ID: V01U2FsdGVkX192gcEhRw92zYyFIXMYGJUHi1G54Z+zIRI2weqGs3 krAxHMgEF2WV7LWNGgd7VFncDPequiW8Wq6w== Content-Transfer-Encoding: 8bit X-GMX-UID: p79gGtdWbXB+Wq7X4jQ2xTYiLyUmZYgZ X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8921-done Cc: jzhang918@gmail.com, 8921-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Hi Mike, * Mike Frysinger wrote on Thu, Jun 23, 2011 at 02:07:30AM CEST: > ah blah, i meant automake@gnu.org. i dont know how to close bugs with this e- > mail system, so if someone could do that for me, that'd be cool ... Write to BUG-done@... Done. ;-) Cheers, Ralf From unknown Thu Aug 21 12:10:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 21 Jul 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 09:26:13 2011 Received: (at control) by debbugs.gnu.org; 6 Oct 2011 13:26:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBnxk-0007pF-6u for submit@debbugs.gnu.org; Thu, 06 Oct 2011 09:26:12 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBnxZ-0007ok-A7 for control@debbugs.gnu.org; Thu, 06 Oct 2011 09:26:07 -0400 Received: by bkaq10 with SMTP id q10so3114521bka.3 for ; Thu, 06 Oct 2011 06:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=xcSTjG/pQSUutVpDmTUX/hc+Fyzcf76hXDmUH2RPFWk=; b=j4C1BHNgyWgSGuyuM2OCYR0tiPO9XzVY4t8i8L6YgMshmxrVQ7uK95hg+Tfs6DOvc0 7qUHw8jFThFZpO5BWHDQ8mdOzd17LXzJmg9TZY/OgbZnTQURj1GSjV9iK9scuN1m593Q DwzYzUQsoQSnEst115F4UZlwwrOc8Axe5bWyI= Received: by 10.204.129.10 with SMTP id m10mr585074bks.210.1317907546530; Thu, 06 Oct 2011 06:25:46 -0700 (PDT) Received: from bigio.localnet (host251-97-dynamic.21-79-r.retail.telecomitalia.it. [79.21.97.251]) by mx.google.com with ESMTPS id j16sm5561076bks.3.2011.10.06.06.25.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Oct 2011 06:25:45 -0700 (PDT) From: Stefano Lattarini To: control@debbugs.gnu.org Subject: automake bug#8921 Date: Thu, 6 Oct 2011 15:25:34 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110061525.35046.stefano.lattarini@gmail.com> X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) tags 8921 notabug thanks