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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: makefile compilation question
From: NICOLE Remi via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 22 May 2023 11:23:00 +0000
Hey there!

From my understanding:

In epics-base/configure/RULES_DIR, you will find:

    $(DIRS) $(dirActionTargets) $(dirArchTargets)
$(dirActionArchTargets):
    	$(MAKE) -C $(dirPart) $(actionArchPart)

which makes it so that 'make myApp.install' will run 'make -C myApp
install'.

and

    $(ARCHS) $(ACTIONS) $(actionArchTargets) :%: \
        $(foreach dir, $(DIRS), $(dir)$(DIVIDER)%)

will make it so that 'install' depends on every '$(dir).install'

Then, in epics-base/configure/RULES, it includes RULES_ARCH, which
conceptually "splits" the build for every wanted architecture, which
then re-includes RULES but the second time, it goes into RULES_BUILD,
which defines rules for building libraries, executables, and so on for
the specified architecture (T_A).

Hope it helps.

-- 
Rémi NICOLE <remi.nicole at cea.fr>
CEA/DRF/IRFU/DIS/LDISC

Replies:
Re: makefile compilation question timesir via Tech-talk
References:
makefile compilation question timesir via Tech-talk

Navigate by Date:
Prev: makefile compilation question timesir via Tech-talk
Next: no bin file lynn 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  <20232024 
Navigate by Thread:
Prev: makefile compilation question timesir via Tech-talk
Next: Re: makefile compilation question timesir 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  <20232024 
ANJ, 22 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·