delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
Message-ID: | <5648C097.5020506@xs4all.nl> |
Date: | Sun, 15 Nov 2015 18:27:51 +0100 |
From: | "Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 |
MIME-Version: | 1.0 |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] build system handles files starting with pcb- in |
some special way? | |
References: | <CAC4O8c8-b+=FCF17W+8_bkQDQdwXJ6bufp9X+nViz346Y4vVJQ AT mail DOT gmail DOT com> <20151114234238 DOT 19176 DOT qmail AT stuge DOT se> <CAC4O8c-AA1+eujeMWhPnwRGX0k=Hu_07BCh8DZaDHDRS5_s+qQ AT mail DOT gmail DOT com> |
In-Reply-To: | <CAC4O8c-AA1+eujeMWhPnwRGX0k=Hu_07BCh8DZaDHDRS5_s+qQ@mail.gmail.com> |
Reply-To: | geda-user AT delorie DOT com |
Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > > On Sat, Nov 14, 2015 at 2:42 PM, Peter Stuge (peter AT stuge DOT se > <mailto:peter AT stuge DOT se>) [via geda-user AT delorie DOT com > <mailto:geda-user AT delorie DOT com>] <geda-user AT delorie DOT com > <mailto:geda-user AT delorie DOT com>> wrote: > > Britton Kerin (britton DOT kerin AT gmail DOT com > <mailto:britton DOT kerin AT gmail DOT com>) [via geda-user AT delorie DOT com > <mailto:geda-user AT delorie DOT com>] wrote: > > I tried to make a file pcb-foo.c and the build system seemed to > always > > think its o-file was up to date, and seemed to never compile the file > > itself (I think the .o was just a dependency build or something). > > After autoreconf etc. of course. Renaming it seemed to fix the > problem. > > How did you adjust Makefile.am to include this file in a _SOURCES > variable for automake? > > > Does the build system treat files starting with pcb- in some > special way? > > automake+libtool need to know about source files. I would expect your > source file would be compiled to pcb-pcb-foo.o if correctly added to > a _SOURCES variable. > > > I added them in with the other source names in in src/Makefile.am. > The odd thing is there's at > least one other source file with the same form (pcb-printf.c) and that > one works fine. I guess it > might be the fact that I also had a source file with the same name > sans pcb- prefix. Hi, Please add the filename to "po/POTFILES.in" too ;-) Kind regards, Bert Timmerman.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |