Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: class library header file naming and install conventions
From: Andrew Johnson <anj@aps.anl.gov>
To: "Jeff Hill" <johill@lanl.gov>
Cc: core-talk@aps.anl.gov
Date: Tue, 15 Mar 2011 10:58:28 -0600
On Tuesday 15 March 2011 11:35:18 Jeff Hill wrote:
> Maybe the library's Makefile looks something like this in the future?
>
> LIBRARY=pdq
>
> INC += pdq.h
> INC_pdq += pdq/Xxxx.h
> INC_pdq += pdq/Yyyy.h

No need, use INC instead of INC_pdq and the current build system does exactly 
what you want:

tux% mkdir xxx
tux% echo Hello > xxx/xxx.h
tux% grep xxx.h Makefile
INC += xxx/xxx.h
tux% make
...
Installing generic include file ../../../include/xxx/xxx.h
mkdir ../../../include/xxx
...

- Andrew
-- 
An error is only a mistake if you don't learn from it.
When you learn something from it, it becomes a lesson.


Replies:
RE: class library header file naming and install conventions Jeff Hill
References:
class library header file naming and install conventions Jeff Hill
RE: class library header file naming and install conventions Jeff Hill
RE: class library header file naming and install conventions Jeff Hill

Navigate by Date:
Prev: Re: class library header file naming and install conventions Ralph Lange
Next: RE: class library header file naming and install conventions Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: RE: class library header file naming and install conventions Jeff Hill
Next: RE: class library header file naming and install conventions Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·