EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
<== Date ==> <== Thread ==>

Subject: Re: Stopping DB and DBD files being copied to top level
From: Michael Davidsaver via Tech-talk <[email protected]>
To: "Wells, Alex (DLSLtd,RAL,LSCI)" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 31 Jul 2025 15:06:18 -0500
On 7/31/25 06:24, Wells, Alex (DLSLtd,RAL,LSCI) via Tech-talk wrote:
Hi Tech Talk,

I'm currently trying to build what is in effect two IOCs inside one EPICS folder structure. This is to allow a shared EPICS configuration folder (and various scripts), but keeping the two IOC builds separate inside their own "App" folders.

This works quite well for the executables as I can use the "TESTPROD_IOC" variable, which causes the executables to only be built into the "App/src/O.$(T_A)" directory. However, there is no similar variable for DB or DBD. This results in my top level directory ending up with "db" and "dbd" folders, full of built files from both my IOCs which I do not want. Especially as some file names conflict and they override eachother.

Is there any way to modify the Makefiles to stop this behaviour?


For .dbd files, there is a pattern involving $(TARGETS) and $(DBDDEPENDS_FILES).


https://github.com/epics-base/epics-base/blob/007df69726ae6c7711985a59491f078b7b55dab5/modules/database/test/std/rec/Makefile#L23-L26



References:
Stopping DB and DBD files being copied to top level Wells, Alex (DLSLtd,RAL,LSCI) via Tech-talk

Navigate by Date:
Prev: Stopping DB and DBD files being copied to top level Wells, Alex (DLSLtd,RAL,LSCI) via Tech-talk
Next: Re: Stopping DB and DBD files being copied to top level Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
Navigate by Thread:
Prev: Stopping DB and DBD files being copied to top level Wells, Alex (DLSLtd,RAL,LSCI) via Tech-talk
Next: Re: Stopping DB and DBD files being copied to top level Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·