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 | 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 |
<== 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 |
> DB_INSTALLS += $(TOP)/TEKApp/DB/TDS.proto //does not workIt 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