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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [makefile] adding a library to an EPICS application
From: Pavel Maslov <[email protected]>
To: Mark Rivers <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 20 Dec 2012 15:49:02 +0400
Oh yeah!
It was just in the email. Not only that, but I had made another silly mistake.
So DB_INSTALLS += $(TOP)/xxxApp/Db/TDS.proto was the solution!
Thank you all!


On Thu, Dec 20, 2012 at 3:46 PM, Mark Rivers <[email protected]> wrote:
> DB_INSTALLS += $(TOP)/TEKApp/DB/TDS.proto             //does not work

It looks like there is a typo there, it should be Db not DB.  Was that just in the e-mail?

Mark


________________________________
From: [email protected] [[email protected]] on behalf of Pavel Maslov [[email protected]]
Sent: Thursday, December 20, 2012 5:41 AM
To: Ralph Lange
Cc: EPICS Tech Talk
Subject: Re: [makefile] adding a library to an EPICS application

That wouldn't work either.

DB_INSTALLS += TDS.db                                               //works
DB_INSTALLS += $(TOP)/TEKApp/DB/TDS.proto             //does not work

make[3]: Entering directory `/root/applications/epics/apps/TEK2/TEKApp/Db/O.linux-x86'
make[3]: *** No rule to make target `../../../TEKApp/DB/TDS.proto', needed by `../../../db/TDS.proto'.  Stop.




On Thu, Dec 20, 2012 at 2:00 PM, Ralph Lange <[email protected]<mailto:[email protected]>> wrote:
On 20.12.2012 10:37, Pavel Maslov wrote:
Thanks everyone!
And particularly, MArk and Andrew! Your insights have helped a lot!

Let me ask you one more question. Perhaps, Andrew will give a rightaway answer. What makefile command (in $(TOP)/xxxApp/Db/Makefile) can I use to copy an arbitrary file (in my case $(TOP)/xxxApp/Db/TDS.proto) to $(TOP)/db.

DB_INSTALLS += TDS.proto doesn't work.
Any other thoughts?

According to the Application Developer's Guide (section 4.7), you need to specify the full path, i.e.

DB_INSTALLS += $(TOP)/xxxApp/Db/TDS.proto

Did you try that?

~Ralph




--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01



--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01

Replies:
Re: [makefile] adding a library to an EPICS application Pavel Maslov
References:
[makefile] adding a library to an EPICS application Pavel Maslov
RE: [makefile] adding a library to an EPICS application Mark Rivers
Re: [makefile] adding a library to an EPICS application Andrew Johnson
Re: [makefile] adding a library to an EPICS application Martin Konrad
Re: [makefile] adding a library to an EPICS application Pavel Maslov
Re: [makefile] adding a library to an EPICS application Ralph Lange
Re: [makefile] adding a library to an EPICS application Pavel Maslov
RE: [makefile] adding a library to an EPICS application Mark Rivers

Navigate by Date:
Prev: RE: [makefile] adding a library to an EPICS application Mark Rivers
Next: Re: [makefile] adding a library to an EPICS application Pavel Maslov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: [makefile] adding a library to an EPICS application Mark Rivers
Next: Re: [makefile] adding a library to an EPICS application Pavel Maslov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·