Hi Lewis,
On 12/11/2014 11:54 AM, J. Lewis Muir wrote:
>
> On Darwin, with EPICS Base 3.14.12.4, I'd like to create and install a C
> header file that has some @VAR@ macros expanded using the INC, EXPAND,
> and EXPAND_VARS build system variables as described in the EPICS Base
> 3.14 release notes, but the build fails with the following error:
>
> ===
> make[3]: *** No rule to make target `../O.Common/favorites.h', needed by `inc'. Stop.
> ===
I can get this to work if I replace your:
> EXPAND_VARS += FAVCOLOR=red
> EXPAND += favorites.h@
> INC += favorites.h
with this:
> EXPAND_VARS += FAVCOLOR=red
> EXPAND += favorites.h@
> INSTALL_INC += $(INSTALL_INCLUDE)/favorites.h
There are some special rules for include files listed in INC which
assume that they will get created in the O.Common build directory
instead of O.$(T_A) if they can't be found in the regular source
directories. Setting INSTALL_INC directly prevents those rules from
being applied.
HTH,
- Andrew
--
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling
- References:
- Build system EXPAND not working with INC J. Lewis Muir
- Navigate by Date:
- Prev:
asyn R4-25 available Mark Rivers
- Next:
Re: connecting EPICS to a Beckhoff PLC [SEC=UNCLASSIFIED] Torsten Bögershausen
- 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
- Navigate by Thread:
- Prev:
Build system EXPAND not working with INC J. Lewis Muir
- Next:
asyn R4-25 available Mark Rivers
- 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
|