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]" 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: <20151114234238 DOT 19176 DOT qmail AT stuge DOT se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > ) [via geda-user AT delorie DOT com > ] > wrote: > > Britton Kerin (britton DOT kerin AT gmail DOT com > ) [via 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.