www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/07/01/13:35:35

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Thu, 1 Jul 2021 19:34:44 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] how to find sch-sym depenencies for Makefile
In-Reply-To: <20210701152018.F248283D521B@turkos.aspodata.se>
Message-ID: <alpine.DEB.2.21.2107011920230.3544@nimbus>
References: <20210701152018 DOT F248283D521B AT turkos DOT aspodata DOT se>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-157566138-1625160884=:3544
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Thu, 1 Jul 2021, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
> I want to have a program that finds dependencies between a .sch and the 
> .sch and .sym files it depends on, suitable for makefiles, to write 
> lines like:
> 
> a.sch:	<somewhere>/a.sym <there>/b.sch ...

Ok, so I couldn't resist and hacked together a small backend that doesn't 
have the limitations of `makedepend'; see attached file.  After unzipping, 
move it to PREFIX/lib/xorn/backends/ and run

   $ gnetlist -o deps.mk -p makedep -O cir top_a.sch top_b.sch top_c.sch

You can omit `-O cir' if you are not interested in the .cir dependencies.

Roland

--8323329-157566138-1625160884=:3544
Content-Type: application/gzip; name=gnet_makedep.py.gz
Content-Transfer-Encoding: BASE64
Content-ID: <alpine DOT DEB DOT 2 DOT 21 DOT 2107011934440 DOT 3544 AT nimbus>
Content-Description: 
Content-Disposition: attachment; filename=gnet_makedep.py.gz

H4sICEn53WAAA2duZXRfbWFrZWRlcC5weQDFVE1v2zAMvedXCBgCyYijdccZ
KHrYZadddkyDQraZRJ0tGaLcrMB+/Cg5tpK4HYYOWAUYkqnHr0dSuu2s88xi
zhwsFjXsmOuN2OXMgG80+pwpt8esWDBa1bFmtwSWe/B0FlmU7nQDRrWAdIfg
z6QPynuXxIPcOobVAVrldcW0YUgBQC0CBA8AXpZND53Txg/YIAu4U0AyCjDL
o7XX1g94JreNastaJXdFOsox6lNq54kMOXbKH6QqMeziBb1JTe8mTYleOY9H
TSqBrBXjH/mZhysv43FDW8BnpPCp2M4CQqnqWiTPEwCf29I2l8RHeV8ONM1u
AqWVpaobMJHWlNkkxsuAT05iDBNG2lIOF7JUeMXI6OhJUSmDk6RGnRO7Qpe9
BxQcbe8quOboROtJH9k3Up4jwqqs8doQin1gem+sA2asWcNPapWQYTSBM9WJ
INl3tfIgIk5i12gveM6zNyUTKvTfU0mD9nouqfzy6DRB+BILtsR7w9mSTZ2V
M864fLTaiHEqR56oNf84cC+u0cjQQFk2RkJ88Eo7HtgMz8tfjeCF+/Ex8LZr
4AmahyHKzc02PR/vMqoEdWS7LwUXd8V6c7P+vF1ld/eS/mjUfn3/8jXjxDN9
8/AmI6tbqkNg6O2Vm96Of6lc6q1YvN/M9BAqLgYAAA==

--8323329-157566138-1625160884=:3544--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019