Experimental Physics and Industrial Control System
|
On 5/26/23 7:21 AM, timesir wrote:
Thanks for you reply.
I found than when I make a <top> area. When matched into
epics-base/configure/RULES_BUILD, the
"$(filter-out $(wildcard *$(DEP)), $(HDEPENDS_FILES)): |
$(COMMON_INC)" statement will be first matched instead of
"all" or "install" target. Could you explain it?
In the version of RULES_BUILD that we deliver with Base the all:
target is defined before that line, so no I can't explain what you
describe. Have you modified that or any of the other files at all?
Did you create your top area using the makeBaseApp.pl script or some
other way?
- Andrew
PS: Please continue to reply to the tech-talk list so others such as
Simon can help you as well, I might not be able to respond to
further emails myself for a while.
On 5/25/23 9:20 AM, Simon Rose via
Tech-talk wrote:
Actually we moved away from creating the .d files at the
same time as compiling the .c/.cc/.cpp files in Base 3.15,
now there we have separate build rules for the .d files —
see lines 238-248 vs 257-267 of RULES_BUILD. Make works
better if you have only one output file generated by each
rule, and there are situations where the build avoids
recreating the .d files unnecessarily.
- Andrew
Dear
community:
%$(DEP):%.c
@$(RM) $@
$(HDEPENDS.c) $<
How to understand these makefile statement from
epics-base/configure/RULES_BUILD file? Especially
what's the meaning of HDEPENDS?
--
Complexity is free, it's Simplicity that takes work.
--
Complexity is free, it's Simplicity that takes work.
|
- References:
- makefile question about HDEPENDS timesir via Tech-talk
- Re: makefile question about HDEPENDS Simon Rose via Tech-talk
- Re: makefile question about HDEPENDS Andrew Johnson via Tech-talk
- Navigate by Date:
- Prev:
Re: Re:RE: no bin file Mark Rivers via Tech-talk
- Next:
Making mbbo record write string value instead of index Sobhani, Alex 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
2025
- Navigate by Thread:
- Prev:
Re: makefile question about HDEPENDS Andrew Johnson via Tech-talk
- Next:
opc ua Sinclair, John 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
2025
|
ANJ, 26 May 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
·
Download
·
Search
·
IRMIS
·
Talk
·
Documents
·
Links
·
Licensing
·
|