Compare commits

..

1963 Commits

Author SHA1 Message Date
Janet B. Anderson
03bf89c7c2 R3.14.8.1 2005-12-20 14:59:00 +00:00
Janet B. Anderson
b01b09240c Added deprecated EPICS_UPDATE_LEVEL.. 2005-12-20 14:56:46 +00:00
W. Eric Norum
e0887d197e Get rid of a bunch of conditional compile statements. 2005-12-19 22:27:47 +00:00
Andrew Johnson
3191b9b404 Notes about the version number changes. 2005-12-19 21:57:57 +00:00
Janet B. Anderson
147e21b71f Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:42:40 +00:00
Janet B. Anderson
c57beaad68 Win32 changes. 2005-12-19 21:10:30 +00:00
Janet B. Anderson
45685c52d2 Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:09:44 +00:00
Janet B. Anderson
00d8ae7d79 Updated version number description. 2005-12-19 20:28:00 +00:00
Andrew Johnson
d9184abd62 Version numbering system change. 2005-12-16 16:47:52 +00:00
Andrew Johnson
66fbc8b27c R3.14.8.1 changes. 2005-12-15 19:39:03 +00:00
W. Eric Norum
a65943481d Improved epicsThreadGetName() so that it works for all threads, not just those
created by epicsThreadCreate().
2005-12-15 16:49:42 +00:00
Janet B. Anderson
09ea15376f Changed SCRIPT to SCRIPTS in comment. 2005-12-14 15:04:37 +00:00
Marty Kraimer
de797d11e2 fix win32 compiler warnings 2005-12-13 12:57:19 +00:00
Andrew Johnson
6e09e17a23 Moved Marty's latest comments into a "Changes since R3.14.8" section.
Cleaned up some   entities that appeared lower down.
2005-12-12 22:19:01 +00:00
Janet B. Anderson
a0e61daaac Removed epicsShareAPI from epicsStrtod. 2005-12-12 21:27:07 +00:00
Janet B. Anderson
5506587d06 Removed epicsShareAPI where not needed. 2005-12-12 21:26:01 +00:00
Andrew Johnson
225f816f0e epicsShare macro fixes from Mark Rivers (copied from the main trunk). 2005-12-12 21:25:17 +00:00
Marty Kraimer
cdda915248 o and x format should have unsigned args 2005-12-12 20:09:02 +00:00
Marty Kraimer
1a1c4dceb0 changes for libCom/misc 2005-12-12 19:55:34 +00:00
Marty Kraimer
b283cb1fcd clean up epicsStdlib 2005-12-12 19:55:11 +00:00
Marty Kraimer
3499fbe51d get rid of epicsShareAPI; epicsStrtok_r is new; clean up epicsStdlib 2005-12-12 19:54:48 +00:00
Jeff Hill
bd14b17c94 fixed send thread blocks trying to destroy the IIU because the
callback lock was taken without using a callback lock manager
2005-12-08 16:23:15 +00:00
Andrew Johnson
25d861b724 Removed release date, less work to do at the last minute... 2005-11-30 22:29:06 +00:00
Janet B. Anderson
e93f9fd86e Updated path rewriting rules for various OSs. 2005-11-30 21:46:13 +00:00
Janet B. Anderson
f8527e3303 WIN32 directory specification changes. 2005-11-29 22:46:57 +00:00
Janet B. Anderson
cd1d5b3b41 Added override comments for Visual C++ 8.0 or 8.0 express. 2005-11-29 22:45:28 +00:00
Janet B. Anderson
251e628df3 Modified comment. 2005-11-29 22:44:41 +00:00
Janet B. Anderson
ccec1cf8c7 Bug fix for Borland obj installs (all lower case) installs. 2005-11-29 22:44:05 +00:00
Jeff Hill
1d977970a4 fixed spelling 2005-11-29 18:42:34 +00:00
Jeff Hill
f41d1276c3 updated for R3.14.8 2005-11-29 18:34:09 +00:00
Jeff Hill
5d31c721ad fixed msvc++ 8 assert failure.
I had a closer look at the MS and the POSIX doc. It appears that
there is confusion between the two related to how the arguments
are interpreted when the user buffer pointer is null. In the POSIX
doc it clearly states that the count only applies if the user pointer
isn't nill. In the MS doc it clearly states that the count is also the
size of the internally allocated buffer when the user pointer is nill.

It seems that a reasonable compromise will be to specify a buffer
size of BUFSIZ (defined by POSIX and fortunately also by windows).
2005-11-29 17:05:00 +00:00
Janet B. Anderson
8bc5eba28a Visual C++ 2005 changes: lnstall manifest files, clean *.manifest *.exp. 2005-11-29 15:30:23 +00:00
Marty Kraimer
f0b807ecb3 make tags match 2005-11-28 13:22:10 +00:00
Marty Kraimer
7907d9ef66 added notes for Mantis bug fixes for 225,184 2005-11-28 13:20:24 +00:00
Janet B. Anderson
2b43654f35 R3.14.8 2005-11-23 15:33:51 +00:00
Andrew Johnson
9f890d90b4 Added things we know about at release time. 2005-11-22 21:57:16 +00:00
Janet B. Anderson
f4a06313db Removed TD options in call to _fdopen for VISUAL C++ 2005. 2005-11-22 21:52:29 +00:00
Andrew Johnson
dbbb7eb613 Version number and release date set. 2005-11-22 20:59:05 +00:00
Jeff Hill
7c73c4eff9 updated for R3.14.8 2005-11-22 15:43:40 +00:00
Janet B. Anderson
699b3b5d48 Added new host targets info. 2005-11-22 15:06:02 +00:00
Marty Kraimer
2ad879e1d1 simplify output 2005-11-22 13:45:28 +00:00
Jeff Hill
036243c9a2 made win32 stdcall consistent 2005-11-22 00:28:17 +00:00
Jeff Hill
363199adfa fixed bug occurring when interfacing with EPICS 3.11 2005-11-22 00:11:16 +00:00
Janet B. Anderson
37416777e8 Initial version. 2005-11-21 22:19:51 +00:00
Marty Kraimer
33865495c9 better checking for pthread_create 2005-11-21 21:21:12 +00:00
Marty Kraimer
533e99d33c From Benjamin Franksen 2005-11-21 21:17:15 +00:00
cvs2svn
bc0a097c18 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2005-11-21 21:17:14 +00:00
Jeff Hill
cd000c5aff updated for R3.14.8 2005-11-21 20:55:12 +00:00
Janet B. Anderson
a22f10e0fa Added new host and cross targets. Updated source tree size. 2005-11-21 20:33:43 +00:00
Marty Kraimer
472512d0a2 epicsThreadMustCreate instead of epicsThreadCreate 2005-11-21 19:33:44 +00:00
Marty Kraimer
92f32f3c21 new test 2005-11-21 19:09:20 +00:00
Jeff Hill
9cf2c3fd1f renamed README.win32 to readme.MS_Windows 2005-11-21 17:50:05 +00:00
Jeff Hill
4a02edc7ca updated to match R3.14.8 2005-11-21 17:45:43 +00:00
Janet B. Anderson
69d80affb5 Updated comments defining host and cross targets. 2005-11-21 17:14:29 +00:00
Marty Kraimer
7da2de16dc Fix memory leak for priority scheduling 2005-11-21 14:17:49 +00:00
Ralph Lange
f0a18144aa SHRLIB_SEARCH_DIRS -> SHRLIB_SEARCH_FULLPATHDIRS (reflecting changes in the build system) 2005-11-21 09:52:38 +00:00
Ralph Lange
61776f958e += -mt (multithreading) flag for the standard C compiler 2005-11-21 09:30:48 +00:00
Jeff Hill
543a723851 SOCKET_SHUTDOWN_WRITE_SIDE #define no longer required 2005-11-18 23:51:34 +00:00
Jeff Hill
d53b80a61a GNU compile rrequires LL suffix on constants, borland requires no suffix 2005-11-18 00:14:40 +00:00
Andrew Johnson
8230f4b189 Set pthreadInfo->isEpicsThread in the epicsThreadCreate() retry.
This code still has a memory leak if pthread_create() returns EPERM,
which only happens on SMP Linux systems.
2005-11-17 23:15:51 +00:00
Andrew Johnson
0da934250f Leave PACT true if INP/OUT put fails. 2005-11-17 19:16:22 +00:00
Marty Kraimer
50052570e9 run test as thread 2005-11-17 15:55:15 +00:00
Marty Kraimer
f0fbae7d18 calling ca_context_destroy causes crash 2005-11-17 13:42:55 +00:00
Andrew Johnson
f0a579cca3 DSXT Bug: Don't call dsxt->del_record() more than once if there's a failure. 2005-11-16 23:37:33 +00:00
Andrew Johnson
b3092b70ec s/unistd.h/osiUnistd.h/ 2005-11-16 17:24:19 +00:00
Marty Kraimer
40f225ce87 add test for epicsThreadSetPriority 2005-11-16 14:12:43 +00:00
Marty Kraimer
48005bf4ca illegal to change priority for non-epics thread 2005-11-16 14:07:56 +00:00
Andrew Johnson
518ab0c64c Simulation mode patches from Peter Denison (Diamond) 2005-11-15 23:35:34 +00:00
Janet B. Anderson
b17ad0400d Removed chomp of $TOP because cygpath may not be in users`s path. 2005-11-15 22:46:09 +00:00
Janet B. Anderson
059b34c626 Override -DUNIX from CONFIG.Common.UnixCommon. Added readline defines. 2005-11-15 22:22:27 +00:00
Janet B. Anderson
61ff3b1acb Remove references to READLINE as COMANDLINE_LIBRARY. 2005-11-15 22:13:37 +00:00
Andrew Johnson
f0d4c3505f Don't cast to int to subtract pointers. 2005-11-15 22:02:44 +00:00
Andrew Johnson
1277b2aa2f Include unistd.h to remove warning. 2005-11-15 21:53:14 +00:00
Andrew Johnson
2d83858ed1 Wording improvement. 2005-11-15 21:19:44 +00:00
Jeff Hill
8ba5e2fd1c clarrified return from ca_poll, ca_pend_event 2005-11-15 20:22:28 +00:00
Andrew Johnson
cbaea39950 Reduce number of gcc warnings from generated files. 2005-11-15 20:17:59 +00:00
Marty Kraimer
990a0b3ed1 more changes for epicsAtExit handler 2005-11-15 13:15:31 +00:00
Jeff Hill
171977d01f added ca_context_detach 2005-11-14 23:28:09 +00:00
Jeff Hill
05a2ab2893 better sleep quantum estimate 2005-11-14 23:22:16 +00:00
Janet B. Anderson
59d687e021 Dont use READLINE as default comandline library. 2005-11-14 22:35:28 +00:00
Janet B. Anderson
d0bfaba4ed Changed commandline library to READLINE and put cygwin/bin in user's path. 2005-11-14 22:21:35 +00:00
Janet B. Anderson
36db07ab3c Removed the defines which are predefined by compiler. 2005-11-14 22:16:13 +00:00
Janet B. Anderson
dd0eecdc91 Modified comments. 2005-11-14 22:09:32 +00:00
Marty Kraimer
0809007858 add epicsAtExit handler 2005-11-14 20:12:23 +00:00
Marty Kraimer
560bb0fb35 check for ERROR not for 0 2005-11-14 20:05:21 +00:00
Janet B. Anderson
04ae05f13c Fixed comment. 2005-11-14 17:39:15 +00:00
Janet B. Anderson
741e9dcce6 Changed line order and added comment. 2005-11-14 17:37:27 +00:00
Janet B. Anderson
395401711b Set WIND_HOST_TYPE to x86-linux_64. 2005-11-14 17:12:13 +00:00
Jeff Hill
4613bc7d0a net bsd challenged os dont have INADDR_NONE 2005-11-14 17:06:49 +00:00
Jeff Hill
fbc257c9a2 standards unconformant C++ compilers (such as msvs 6.0) dont like
two for loops with the same varaible name in the same scope
2005-11-14 16:29:48 +00:00
Jeff Hill
f01f981e54 standards unconformant C++ compilers (such as msvs 6.0) dont like
a std:: in front of the cal to unexpected()
2005-11-14 16:18:06 +00:00
Jeff Hill
29d179401f standards unconformant C++ compilers (such as msvs 6.0) dont like
two for loops with the same varaible name in the same scope
2005-11-14 16:16:55 +00:00
Jeff Hill
343ecd29e8 removed return of void from void function which makes standards incompliant
compiler bark
2005-11-14 16:14:07 +00:00
Jeff Hill
72d92451a6 removed space in front of #else 2005-11-14 16:12:57 +00:00
Jeff Hill
f85fa7e105 support mingw 2005-11-11 01:48:59 +00:00
Jeff Hill
87dbfb1165 no need to define _x86_ and _win32 for mingw cpp 2005-11-11 01:44:04 +00:00
Jeff Hill
f4aa9c2e33 fix for mantis 153 2005-11-09 23:55:15 +00:00
Jeff Hill
a6957a6ec1 fixed some potential cleanup problems when there is insufficent
memory to finish creating a new client
2005-11-09 01:20:35 +00:00
Jeff Hill
e268286f83 less cpu intensive for soft float cpus 2005-11-08 22:46:31 +00:00
Jeff Hill
e7e46f07f5 less cpu intensive for soft float cpus 2005-11-08 22:41:31 +00:00
Jeff Hill
6f6f1d22cd better fix for mantis 111 2005-11-08 21:25:23 +00:00
Jeff Hill
d50d793467 instantiate server 2005-11-08 16:18:57 +00:00
Ralph Lange
c24db105b8 Clarified output message for one of the tests. 2005-11-08 13:57:17 +00:00
Jeff Hill
f4acd859cc INADD_NONE:<repeater port> based UDP "disconnect" 2005-11-07 17:35:39 +00:00
Jeff Hill
77a023dc39 INADD_NONE:<repeater port> based UDP "disconnect" 2005-11-07 17:11:35 +00:00
Jeff Hill
4fee01b0c7 try INADD_NONE:0 based UDP "disconnect" on various OS 2005-11-07 17:02:20 +00:00
Jeff Hill
3dfe7043ba try INADD_NONE based UDP "disconnect" on various OS 2005-11-07 16:53:35 +00:00
Janet B. Anderson
c16fa4bb78 Added compile and link flags. 2005-11-04 21:07:56 +00:00
Janet B. Anderson
1def6257f3 Override linking with gcc library. 2005-11-04 21:06:06 +00:00
Ralph Lange
1b9ff04b8f Fixed fixes for HP-UX. 2005-11-04 16:00:15 +00:00
Ralph Lange
892f8581b1 Fixed fixes for HP-UX. 2005-11-04 15:54:34 +00:00
Ralph Lange
6820307b60 Fixed warnings for HP-UX. 2005-11-04 15:28:12 +00:00
Ralph Lange
879d1a95bb Fixed warnings for HP-UX. 2005-11-04 14:51:16 +00:00
Ralph Lange
aa84e0a6b0 Fixed warnings for HP-UX. 2005-11-04 14:37:02 +00:00
Ralph Lange
22be6c91e1 Fixed warnings for HP-UX. 2005-11-04 14:20:12 +00:00
Ralph Lange
81df05f19d Updated DST info (for 2006). 2005-11-04 11:44:37 +00:00
Jeff Hill
15cdbfdc8c oops c++ comment in c code 2005-11-03 22:27:04 +00:00
Jeff Hill
5881fc0cfc UDP disconnect to INADDR_LOOPBACK and port 0 because
a UDP connect to AF_UNSPEC only works with modern IP kernel
2005-11-03 22:23:09 +00:00
Janet B. Anderson
63a7e4c72a Initial version. 2005-11-03 20:53:08 +00:00
Janet B. Anderson
604a957bb2 Removed references to TEMPLATE_LINKS. 2005-11-03 16:14:38 +00:00
Jeff Hill
86bc39d824 some progress, more to go 2005-11-01 23:44:51 +00:00
Janet B. Anderson
147270e1fb Fixed errors and typos. 2005-11-01 22:34:13 +00:00
Jeff Hill
422fd9ebd0 use connect to AF_UNSPEC to not allow incomming messages to beacon sock 2005-11-01 20:55:33 +00:00
Janet B. Anderson
d99f868f54 Initial version. 2005-11-01 20:44:15 +00:00
Janet B. Anderson
ef2c8aa973 Added code for linux-x86_64. 2005-11-01 17:26:50 +00:00
Jeff Hill
16caaa4a27 spelling in comment 2005-11-01 16:05:53 +00:00
Jeff Hill
e7aef148f9 fixed warnings on 64 bit architectures 2005-11-01 15:59:05 +00:00
Janet B. Anderson
42f9019c87 Updated files. 2005-11-01 15:34:54 +00:00
Janet B. Anderson
acd7739098 Initial version. 2005-11-01 15:33:32 +00:00
Janet B. Anderson
48fe59aefd Removed posix flags. 2005-10-31 22:36:43 +00:00
Janet B. Anderson
f30a9bf3b4 Removed unused COMMON_TEMPLATES dependancy. 2005-10-31 22:34:34 +00:00
Jeff Hill
6c69138be0 dont pass time stamp to receive watchdog notify 2005-10-31 22:24:38 +00:00
Jeff Hill
c9f43cf50a fix for mantis 111: force recv thread to run first when both receive watchdog
and receive thread are blocking for the preeemptive callback control lock
2005-10-31 22:24:02 +00:00
Jeff Hill
9b146c4de4 fix for mantis 111: force recv thread to run first when both receive watchdog
and receive thread are blocking for the preeemptive callback control lock

I also added a guard in a place that appeared to be not  adaquately
protected.
2005-10-31 22:22:58 +00:00
Jeff Hill
04eaa04246 dont pass time stamp to send timeout notify 2005-10-31 22:22:10 +00:00
Jeff Hill
028ef0c788 dont pass time stamp to probe response notify 2005-10-31 22:20:26 +00:00
Jeff Hill
e0fd23462d dont pass time stamp to beacon notify 2005-10-31 22:19:59 +00:00
Jeff Hill
df16e0238a fix for mantis 111: force recv thread to run first when both receive watchdog
and receive thread are blocking for the preeemptive callback control lock

I also added a guard in a place that appeared to be not  adaquately
protected.
2005-10-31 21:57:14 +00:00
Jeff Hill
4fda53615a added comment 2005-10-31 21:53:36 +00:00
Andrew Johnson
12727edb36 Extended Device Support interface. 2005-10-31 20:54:10 +00:00
Janet B. Anderson
109db70d32 Use EPICS commandline editing. 2005-10-31 19:14:24 +00:00
Marty Kraimer
403f094bd2 add more detail about POSIX thread priorities 2005-10-31 12:41:42 +00:00
Andrew Johnson
b2681f5eb8 Fixed gcc warnings (NULL is a pointer, '\0' is a zero character). 2005-10-28 23:14:06 +00:00
Shifu Xu
8360c29cdb optimize priority scheduling code 2005-10-28 22:12:44 +00:00
Janet B. Anderson
f0a3bc9d2b Changed comments. 2005-10-28 21:33:37 +00:00
Janet B. Anderson
02006d89dd Removed reference to POSIX=YES/NO. 2005-10-28 21:29:21 +00:00
Janet B. Anderson
9520c4be9f Removed references to POSIX=YES/NO. 2005-10-28 21:28:00 +00:00
Janet B. Anderson
89023bee7d Added system library names. 2005-10-28 20:15:19 +00:00
Andrew Johnson
1091a05902 Make prompts more friendly, listing choices where appropriate. 2005-10-28 19:45:08 +00:00
Andrew Johnson
81c052a4e2 Removed epicsList and associated test file - not used or maintained. 2005-10-28 19:36:09 +00:00
Janet B. Anderson
eea13fb653 Initial version. 2005-10-28 18:22:04 +00:00
Andrew Johnson
728794a306 Fixed solaris warning: String literal converted to char* in initialization. 2005-10-28 18:19:47 +00:00
Andrew Johnson
12eca66b80 Oops, dsxt stuff not committed yet, undone part of last change. 2005-10-28 18:08:08 +00:00
Andrew Johnson
fe1a5f35ae Include pdsxt in dbDumpDevice output. 2005-10-28 17:57:12 +00:00
Andrew Johnson
414511890d Added a dbFindDriver() routine, to look up drvet's by name. 2005-10-28 16:15:12 +00:00
Janet B. Anderson
911efd67e4 Initial version. 2005-10-28 15:59:35 +00:00
Andrew Johnson
bffda92e45 Updated to cover recent changes such as default values, and remove things that
were never implemented.
2005-10-28 15:50:21 +00:00
Andrew Johnson
b043efe0c2 Revised and extended tests, convert to standard output format. 2005-10-28 15:42:45 +00:00
Janet B. Anderson
3712b163af Initial version. File contributed by Ernest Williams, SNS. 2005-10-28 15:41:51 +00:00
Janet B. Anderson
8d7fd76d83 Initial version. File contributed by Ernest Williams, SNS 2005-10-28 15:31:46 +00:00
Janet B. Anderson
10b20f017a Moved POSIX thread priority scheduling flag from CONFIG_COMMON. 2005-10-28 13:47:52 +00:00
Janet B. Anderson
0e4213a373 Move POSIX thread priority scheduling flag to libCom Makefile. 2005-10-28 13:46:40 +00:00
Marty Kraimer
7beea091b1 change way to handle EPERM error 2005-10-28 12:59:26 +00:00
Jeff Hill
cd9041afee fixed mantis 175 - example server does not update time stamp for array pv 2005-10-27 23:56:05 +00:00
Jeff Hill
d6c8de87de preserve native type when its a scalar so that enum regression tests
excercise relevant subcomponents of GDD
2005-10-27 23:47:01 +00:00
Jeff Hill
0640cc0995 fixed GDD: aitConvertStringEnum16 does nothing if pEnumStringTable==NULL
mantis 211
2005-10-27 23:38:26 +00:00
Janet B. Anderson
f8cb3e93e8 Initial version. File created by Ernest Williams, SNS 2005-10-27 21:45:18 +00:00
Janet B. Anderson
43ffc23561 Initial version. File created by Ernest Williams, SNS 2005-10-27 21:30:52 +00:00
Marty Kraimer
91fb0ccf59 add priority scheduling 2005-10-27 19:26:24 +00:00
Jeff Hill
773c5ed64f shutdown read side of online notify socket 2005-10-27 15:10:03 +00:00
Jeff Hill
8e0f750509 shutdown read side of online notify socket 2005-10-26 23:25:11 +00:00
Jeff Hill
e300623cab convert size_t to u long and use %lu for 64 bit arch 2005-10-26 22:00:04 +00:00
Jeff Hill
41e6ec4ff9 updated little endian arch list to include defined(_armv4l_) || defined (_X86_64_) 2005-10-26 21:45:54 +00:00
Jeff Hill
126525d626 support for armv4l impure little endian 2005-10-26 21:44:03 +00:00
Janet B. Anderson
3b1583274c Initial version. 2005-10-26 21:13:16 +00:00
Janet B. Anderson
bce31499fa Modified comments regarding usage of nfsMountAll. 2005-10-26 21:04:48 +00:00
Janet B. Anderson
96b099b0c5 Changes for makeDbDepends.pl and other fixes. 2005-10-26 20:55:12 +00:00
Janet B. Anderson
42878e59ba Added note about POSIX thread priority scheduling. 2005-10-26 19:51:10 +00:00
Janet B. Anderson
66ad25b4d3 Modified POSIX thread priority scheduling flag. 2005-10-26 19:39:45 +00:00
Janet B. Anderson
3a20b3973e Modified POSIX thread priority scheduling flag for osdThread.c 2005-10-26 19:39:04 +00:00
Janet B. Anderson
33107042c6 Added use POSIX thread priority scheduling option (YES or NO). Fixed typo. 2005-10-26 19:23:01 +00:00
Janet B. Anderson
bad111d1f1 Added POSIX thread priority scheduling flag 2005-10-26 19:20:22 +00:00
Janet B. Anderson
86a68f9368 Added POSIX thread priority scheduling flag for osdThread.c 2005-10-26 19:18:07 +00:00
Jeff Hill
63337acea2 fixed gcc 4.0 fwd ref problem 2005-10-26 18:48:54 +00:00
Janet B. Anderson
8ef6f1728a Added test for DONT_USE_POSIX_THREAD_PRIORITY_SCHEDULING 2005-10-26 18:41:44 +00:00
Janet B. Anderson
a1b924f855 Made RTEMS and vxWorks comments the same. 2005-10-24 18:56:00 +00:00
Jeff Hill
6e4d206301 restore code closing most open files between fork and exec 2005-10-21 17:02:49 +00:00
Janet B. Anderson
8fd6cd15e1 Added host target win32-x86-debug. 2005-10-14 15:58:17 +00:00
Janet B. Anderson
34e14b69cd Updated host and target lists. 2005-10-14 15:55:10 +00:00
Janet B. Anderson
9fd0a42e5c Initial version. 2005-10-13 18:29:03 +00:00
Andrew Johnson
3edfe6c723 Fixed various formatting issues.
Added stuff on macLib default macro values.
2005-10-13 14:21:36 +00:00
Janet B. Anderson
5cf58254f2 Made commandline application names and iocnames optional.
Added prompt for app/ioc names when not on command line.
Added app name command line option (-p app) for use with -i.
Added user prompt for app name with -i with IOC name as default.
2005-10-05 20:26:53 +00:00
W. Eric Norum
4b10d6ba21 Add RTEMS notes. 2005-09-29 15:49:33 +00:00
W. Eric Norum
3d7ae0b02a Pick NFS server and mount point from PPC bug argument string. 2005-09-29 15:08:10 +00:00
Jeff Hill
d42c47fa85 Added rsrv statistics fetch for vxStats 2005-09-23 15:12:26 +00:00
W. Eric Norum
40c042572f Add rtems shutdown notes. 2005-09-21 18:15:25 +00:00
Ralph Lange
e7c3cf1ca8 Make find() follow soft links. 2005-09-21 15:02:53 +00:00
W. Eric Norum
7891fef3d5 Ensure that rtems_shutdown_executive() gets called even if the main
routine does not return but rather calls exit() either directly or
indirectly (through epicsExit()).
2005-09-21 14:08:32 +00:00
W. Eric Norum
3620fc6de2 Arrange to return to BSP (and likely then to bootstrap ROM) when iocsh terminates. 2005-09-19 21:54:30 +00:00
Janet B. Anderson
0376ee4455 Changes COMMANDLINE_LIBRARY set to READLINE. 2005-09-15 17:55:23 +00:00
Janet B. Anderson
7252572480 Changes for cross builds. 2005-09-15 17:50:44 +00:00
Janet B. Anderson
50bc375aa5 Removed unused STRIP definition. 2005-09-15 17:29:25 +00:00
Janet B. Anderson
05482bc8e1 Unset CMPLR_PREFIX. 2005-09-15 17:28:54 +00:00
Janet B. Anderson
468be263fa Get RTEMS_BASE definition. Unset GNU_TARGET_INCLUDE_DIR. 2005-09-15 17:25:15 +00:00
Janet B. Anderson
d1d431f28c Moved SHRLIB_LDFLAGS and LOADABLE_SHRLIB_LDFLAGS to os files. 2005-09-15 16:54:07 +00:00
Janet B. Anderson
32b1a0c01d Moved SHRLIB_LDFLAGS and LOADABLE_SHRLIB_LDFLAGS to CONFIG.gnuCommon. 2005-09-15 16:18:01 +00:00
Janet B. Anderson
a3732082af Moved common code into new file CONFIG.solarisCommon.solarisCommon. 2005-09-15 16:07:53 +00:00
Janet B. Anderson
962602e7a4 VX_DIR definition now in os/CONFIG_SITE.Common.vxWorksCommon
RTEMS_BASE (and RTEMS_VERSION) now in os/CONFIG_SITE.Common.RTEMS
2005-09-15 15:13:50 +00:00
Marty Kraimer
92ba89fc59 apsEvent support removed from base 2005-09-13 19:50:42 +00:00
Marty Kraimer
c60d84aaf4 remove all apsEvent support from base 2005-09-13 19:43:03 +00:00
Ralph Lange
b48c803148 Suppress bogus HP aCC warnings 2005-09-13 13:41:46 +00:00
Janet B. Anderson
25966c7892 Added -lgcc to shared library builds and static prod builds for gcc 3.4.2. 2005-09-12 19:38:51 +00:00
Janet B. Anderson
28ceac4534 Added LEXOPT+=-8 to allow chars that are not plain 7bit standard ASCII. 2005-09-12 18:43:28 +00:00
Janet B. Anderson
709dfee489 -traditional now only support with the -E option.
-Wtraditional for C code only not C++ code.
-Wmissing-prototypes -Wstrict-prototypes for C code only.
Put STATIC_LDLIBS before ARCH_DEP_LDLIBS in LDLIBS definition.
2005-09-01 21:59:56 +00:00
Janet B. Anderson
429182cb3d -mcpu=' is deprecated. 2005-09-01 21:56:13 +00:00
Jeff Hill
3de9d07514 gcc 4.0 karma 2005-08-31 21:09:27 +00:00
W. Eric Norum
7661dfa662 Make nfsMount command a little more convenient. Create mount point if it's missing. 2005-08-30 14:53:41 +00:00
W. Eric Norum
bb0eea01d0 Fix typo. 2005-08-29 20:21:16 +00:00
W. Eric Norum
f22803c0f6 Allow environment to override default domain. 2005-08-29 20:07:52 +00:00
Andrew Johnson
b54044fdd3 Select record changes. 2005-08-29 19:50:32 +00:00
Andrew Johnson
2c52e191b6 Update value and post monitors on SELN field to indicate which input was
selected, independent of the mechanism used.  New NLST field holds old value.
ANSIfied; converted SELM to use values from generated menu header file.
2005-08-29 19:49:39 +00:00
Andrew Johnson
7370a23053 Described the new dbRecordsOnceOnly variable, originally requested by the BCDA
group.
2005-08-29 19:42:11 +00:00
Andrew Johnson
7f704693aa Make the dbRecordsOnceOnly variable visible in all IOC architectures. 2005-08-29 19:14:13 +00:00
Marty Kraimer
0970e2bfbf change lock mlok to dbScanLock 2005-08-26 11:43:00 +00:00
Marty Kraimer
d8517c7964 drvTS has been unbundled from base 2005-08-25 16:02:05 +00:00
Marty Kraimer
dd2800302f changes for 3.14.8 2005-08-25 13:51:40 +00:00
Marty Kraimer
cc3e5d6f5a remove drvTS 2005-08-25 13:09:03 +00:00
Marty Kraimer
cb47f32517 add test for null tid 2005-08-25 13:07:41 +00:00
Marty Kraimer
90759cb45c allow null value for field that does not exist 2005-08-25 13:05:53 +00:00
Marty Kraimer
dbf5cb50f2 use epicsThreadGetIdSelf instead of taskId 2005-08-25 13:04:51 +00:00
Marty Kraimer
4a4b3dc26c fix bug 2005-08-25 13:04:04 +00:00
Marty Kraimer
f7b6224b73 remove unused code 2005-08-25 13:03:30 +00:00
Janet B. Anderson
27438fead6 Define darwin. Changes to avod warnings, OPT flags, and order of includes. 2005-08-24 21:53:00 +00:00
Janet B. Anderson
09adc87364 Initial version. 2005-08-24 20:21:51 +00:00
Jeff Hill
4ed65f7152 added missing forward ref (fixed gcc 4.0 issue) 2005-08-05 20:41:45 +00:00
Jeff Hill
66893f1ab4 no message 2005-08-05 20:33:22 +00:00
Jeff Hill
44ef58ac4a initialize test values 2005-08-05 20:31:18 +00:00
W. Eric Norum
3dcaf5b7ed RTEMS changes. 2005-07-24 16:15:15 +00:00
W. Eric Norum
bd905a55be Set TZ environment variable from NVRAM. 2005-07-24 16:13:54 +00:00
W. Eric Norum
62d1c16114 Use POSIX TZ environment variable now. 2005-07-20 20:04:44 +00:00
W. Eric Norum
04a31d1bd9 RTEMS changes. 2005-07-20 19:39:07 +00:00
W. Eric Norum
a6eb691955 Set POSIX TZ environment variable from EPICS_TIMEZONE.
Allow for simultaneous local and remote filesystems.
2005-07-20 19:37:31 +00:00
W. Eric Norum
4d3d0dff94 RTEMS changes. 2005-07-09 15:01:01 +00:00
W. Eric Norum
dd966763e9 Add another environment variable. 2005-07-09 14:57:43 +00:00
W. Eric Norum
4811381e7b Clean up after failed redirect. 2005-07-08 21:03:09 +00:00
Janet B. Anderson
3ef6620682 Added nfsCommands@RTEMS. 2005-07-06 22:31:30 +00:00
Janet B. Anderson
deb336e735 Removed nfsCommands@RTEMS 2005-07-06 22:23:39 +00:00
Janet B. Anderson
e1772e0f14 Added 2 nfsCommands@RTEMS files. 2005-07-06 21:58:31 +00:00
W. Eric Norum
7c004cf3c8 Remove extraneous semicolon. New compilers are pickier. 2005-07-06 21:51:47 +00:00
W. Eric Norum
55ad29ffd2 Remove extraneous semicolon. New versions of gcc complain about it. 2005-07-06 21:39:41 +00:00
W. Eric Norum
99fba1364d Set IOC_NAME environment variable from boot parameters. 2005-07-06 21:19:21 +00:00
W. Eric Norum
90ac180dcb Readline is part of Mac OS X now, so use it. 2005-07-02 22:48:52 +00:00
W. Eric Norum
295012c1fa Tiger notes. 2005-06-28 20:35:38 +00:00
W. Eric Norum
eb4dd20921 Use OS-supplied socklent_t. 2005-06-28 20:34:12 +00:00
W. Eric Norum
795a1b91eb Clean up osiSocklen_t typedef. 2005-06-21 15:44:32 +00:00
Janet B. Anderson
ec22708773 Bug fix submitted by Martin Norbury. 2005-06-13 17:44:23 +00:00
Andrew Johnson
fce5dcf4d6 Exclude all .files from printed ioc arch list, not just . and .. 2005-05-26 16:00:58 +00:00
W. Eric Norum
2320cfecf3 Cosmetic. 2005-04-28 17:21:55 +00:00
W. Eric Norum
6cb81d4cc3 Add iocsh command to print amount of available heap space. 2005-04-28 17:08:04 +00:00
W. Eric Norum
486135a552 Assist drvTs by setting environment variable. 2005-04-26 21:18:08 +00:00
Jeff Hill
a113540e50 fixed R3.14.7 wont build for vxWorks 6.0 2005-04-13 17:28:14 +00:00
Jeff Hill
250ca129f3 fixed spelling 2005-04-12 23:25:30 +00:00
Jeff Hill
33c981f6f8 fixed mantis 192 - Concurrency bug in channel access to local DB 2005-04-12 22:41:20 +00:00
Jeff Hill
f5174ef94e fixed ca_host_name() returns name of the local host 2005-04-11 21:38:35 +00:00
Jeff Hill
983b2a3080 fixed UNIX specific problem where non-blocking IO mode was not set for a special socket
that receives only broadcasts
2005-04-11 20:58:14 +00:00
Jeff Hill
649f9f6dc6 make certain that com.dll remains resident for its daemon threads even if the
user explicitly uloads it (from a labView DLL)
2005-04-11 18:29:52 +00:00
Jeff Hill
8b6bce29dc code moved to osdThread.c 2005-04-11 18:19:49 +00:00
Andrew Johnson
68292ed1e6 Added example code that registers a new iocsh command. 2005-04-08 17:48:08 +00:00
Jeff Hill
319e001d1b no longer an owner of this code 2005-03-22 21:49:34 +00:00
Janet B. Anderson
6e21f9d94e Initial version. 2005-03-22 18:58:44 +00:00
Jeff Hill
a4fcecf397 fixed bug where put payload was byte swapped twice 2005-03-21 23:57:28 +00:00
Marty Kraimer
9d44f32057 better error message 2005-03-21 14:44:00 +00:00
Marty Kraimer
4fc9c49ac3 simplify code for free=1 case 2005-03-21 14:28:39 +00:00
Marty Kraimer
b0599e863a The maximum size was initialized to 65636 instead of 65536 2005-03-21 14:17:22 +00:00
Marty Kraimer
3fe2c5f343 errlog crashes if called from interruot context 2005-03-17 20:41:00 +00:00
Andrew Johnson
2dc1e77174 Added dbRecordsOnceOnly variable, to allow users to disable the ability
to define record fields more than once.  Unusual, but occasionally useful.
2005-03-17 15:29:51 +00:00
Janet B. Anderson
ac97549d93 Added rule for TCLLIB. 2005-03-07 15:23:46 +00:00
W. Eric Norum
54ba14953a It's not an error if a directory can't be created because it already exists. 2005-03-04 22:58:07 +00:00
W. Eric Norum
7d4cd6ffb2 Add NFSMOUNT support. 2005-03-03 14:05:46 +00:00
Janet B. Anderson
3e24737c73 Added UNINSTALL_DIRS. 2005-03-01 17:06:26 +00:00
Jeff Hill
39809d9086 posix mutex does not allow mutex to be destroyed that is owned 2005-03-01 15:49:12 +00:00
Janet B. Anderson
f1760c0b76 CC and CCC definitions changed to reflect GNU defaults. 2005-02-25 16:02:57 +00:00
Janet B. Anderson
4b0ba2c7f6 Fixed directory for dbd file. 2005-02-24 14:38:30 +00:00
Janet B. Anderson
64e299dfdb Added st.cmd@Cross files for cross builds. 2005-02-23 22:10:28 +00:00
W. Eric Norum
1aca5dc42a epicsExport.h changes. 2005-02-18 22:17:19 +00:00
W. Eric Norum
333e4aa176 Avoid 'strict-aliasing' warnings. 2005-02-18 22:03:24 +00:00
Jeff Hill
12a08561be fixed DLL symbol export for windows 2005-02-18 18:39:56 +00:00
W. Eric Norum
32b7c0d230 Don't require add-on packages. 2005-02-17 02:21:06 +00:00
W. Eric Norum
d76a8e01c7 Move RTEMS location declaration to user-editable configure/RELEASE file. 2005-02-16 19:01:37 +00:00
Marty Kraimer
b916c750d7 do not call vfprintf twice in same routine. powerPC crashes 2005-02-15 20:02:01 +00:00
Janet B. Anderson
dae13275d0 Updated software version numbers. 2005-02-14 18:16:54 +00:00
Janet B. Anderson
d8946262be Updated required versions of perl and GNU make. 2005-02-14 17:33:00 +00:00
W. Eric Norum
b13edb9927 Add reboot reason. 2005-02-13 22:56:12 +00:00
W. Eric Norum
f706aca3b8 EPICS uses its own logging facilities so don't bother with log_host. 2005-02-13 18:00:52 +00:00
W. Eric Norum
ac1f9a3257 More RTEMS changes. 2005-02-12 19:03:49 +00:00
W. Eric Norum
c0ee7e11e3 Improve grammar in comments. 2005-02-12 17:26:13 +00:00
W. Eric Norum
237337904e RTEMS has again moved. 2005-02-12 17:25:44 +00:00
W. Eric Norum
cdb6ba4a83 Add missing argument. 2005-02-11 19:54:29 +00:00
W. Eric Norum
08ad74d64e BSP function name change. 2005-02-10 22:21:46 +00:00
W. Eric Norum
b6ebc155b6 Use linker constants to find flash size/location. 2005-02-10 22:21:35 +00:00
Janet B. Anderson
b74620ccc7 Added the db dependancy definition <name>_DEPENDS. 2005-02-10 18:38:47 +00:00
Janet B. Anderson
406642cecc Comment out invalid white space filter. 2005-02-09 16:00:55 +00:00
Janet B. Anderson
f086636a6d Comment out filter for invalid white space on solaris. 2005-02-09 16:00:04 +00:00
Janet B. Anderson
c5600fdaa1 Added filter for solaris warnings. 2005-02-08 22:16:24 +00:00
Janet B. Anderson
99d146e776 Added code to filter out "invalid white space" msgs on solaris-sparc. 2005-02-08 20:11:13 +00:00
Janet B. Anderson
574a073600 Filter out "invalid white space character in directive" compiler warnings
when included headers created by win32 build.
2005-02-08 20:09:05 +00:00
Janet B. Anderson
6004b1e378 Remove /tmp_mnt for sun4. 2005-02-08 18:29:53 +00:00
Janet B. Anderson
04876477d9 To get unique libs do wildcard using $(LIB_PREFIX)$(lib).* 2005-02-07 22:52:05 +00:00
W. Eric Norum
78ab59e5a7 Add some RTEMS notes. 2005-02-07 15:06:48 +00:00
W. Eric Norum
390a6318e8 Add 'VME' support for RTEMS-uC5282 target. 2005-02-07 15:06:10 +00:00
W. Eric Norum
a5e85b0eb0 Add support for in-memory filesystem.
Allows for fully standalone IOCs.
2005-02-07 15:04:52 +00:00
Janet B. Anderson
77f6460811 Moved the GNU_DIR site override definition to a CONFIG_SITE file. 2005-02-04 20:18:44 +00:00
Janet B. Anderson
880664adbb Return fullpathname if arg starts with "." else return arg value. 2005-02-03 14:46:37 +00:00
W. Eric Norum
f317abed5e Allow a little more fragmentation of heap. 2005-02-01 23:59:30 +00:00
W. Eric Norum
ea37d538ba Comment out cross-development targets accidentally enabled. 2005-02-01 20:51:44 +00:00
W. Eric Norum
5275b22887 Add new site-specific file. 2005-02-01 20:46:52 +00:00
W. Eric Norum
0cd520d093 Add uC5282 support. 2005-02-01 20:45:09 +00:00
W. Eric Norum
f4af3b6955 Clean up the way NVRAM access is handled. 2005-02-01 20:42:40 +00:00
W. Eric Norum
ee794ebf54 Clean up initialization. Add NVRAM code for uC5282. 2005-02-01 20:42:14 +00:00
Janet B. Anderson
bf69293239 Added LIB_INSTALLS, libraries to install. 2005-01-25 16:58:29 +00:00
W. Eric Norum
cd4b7ba067 Work around problem with iocsh redirection from within vxWorks scripts. 2005-01-10 15:09:26 +00:00
Andrew Johnson
7a3d887fb2 We should ship a configuration that matches the native unenhanced OS. 2004-12-16 19:53:38 +00:00
Marty Kraimer
e1c3bfd8d2 user correct function prototype 2004-12-13 14:32:23 +00:00
Janet B. Anderson
8aee5c90f6 Updated for R3.14.7. 2004-12-07 16:46:42 +00:00
Janet B. Anderson
403624903e Updated date. 2004-12-07 15:05:29 +00:00
Janet B. Anderson
6d17162c11 R3.14.7 2004-12-06 22:31:52 +00:00
W. Eric Norum
64c0807817 No devlib for M68k (yet). 2004-12-06 16:52:02 +00:00
Marty Kraimer
d0b06e271b forgot an unlock 2004-12-03 16:11:13 +00:00
Marty Kraimer
b7c68df55e last user calls putNotifyCleanup 2004-12-03 14:27:28 +00:00
Marty Kraimer
dff7d483ff more changes to dbNotify 2004-12-02 20:04:21 +00:00
Marty Kraimer
0197dbeb24 fix memory leak 2004-12-02 19:57:21 +00:00
Marty Kraimer
c6ee0cf8d3 safer version of dbPutNotify 2004-12-02 16:52:53 +00:00
Marty Kraimer
3f3c33e159 putNotifyInit and putNotifyCleanup 2004-12-01 12:41:15 +00:00
W. Eric Norum
8363b8267d Use new RTEMS tool-naming scheme. 2004-11-30 19:41:55 +00:00
W. Eric Norum
67b972448f Put RTEMS network tasks at higher priority than any EPICS task. 2004-11-30 19:40:48 +00:00
W. Eric Norum
287fd7efa8 Some BSPs don't leave the cursor at the left margin. 2004-11-30 19:39:48 +00:00
Marty Kraimer
c80d0e5c8e add comments 2004-11-30 13:37:17 +00:00
Marty Kraimer
417ef02d33 dbPutNotify did not wait if state==putNotifyUserCallbackActive 2004-11-30 13:00:42 +00:00
Jeff Hill
6a7445abdf o made booty scanned by default
o made counted channel names have a minimum of 6 digits
2004-11-30 02:11:01 +00:00
Marty Kraimer
365f1dc84e fix race condition in dbPutNotify 2004-11-29 21:14:07 +00:00
Jeff Hill
2151e6b6ad fix for mantis 159 2004-11-25 00:14:38 +00:00
Jeff Hill
fb931434bd fix for mantis 159 2004-11-24 22:11:20 +00:00
Janet B. Anderson
26c756d4cf Don't set EPICS_BASE (breaks base builds). Changed HostArch.pl to HostArch. 2004-11-24 18:18:57 +00:00
Janet B. Anderson
fa12125bdf Added GNU readline or Tecla library software requirements. 2004-11-18 22:47:41 +00:00
Andrew Johnson
7d7f4df700 Avoid an optimizer bug that is present in the Tornado 2.x 68K C compilers at
anything greater than -O0.  Not a problem in C++ though.
2004-11-17 19:59:20 +00:00
Andrew Johnson
146eb58120 Revive the canary, and add a test routine that checks whether the optimizer
bug is still present.  Tornado 2.x compilers for 68K need -O0 to work.
2004-11-17 19:58:09 +00:00
Andrew Johnson
e658f3c108 Workaround for Tornado 2.x compilers, fixes Mantis Bug #82. 2004-11-17 17:17:18 +00:00
Ralph Lange
5e94b2146f Changed printed messages to be the same for all TestAsyn supports. 2004-11-16 11:30:20 +00:00
Ken Evans
87cef6172d Modified definitions for JAR_INPUT and JARCMD. 2004-11-15 16:20:52 +00:00
W. Eric Norum
f677d2f6c5 Add OS-dependent VME support. 2004-11-13 17:16:22 +00:00
W. Eric Norum
53360f3dea RTEMS-4.7 changes. 2004-11-13 17:11:08 +00:00
W. Eric Norum
8c75201ad8 Improve error message. 2004-11-13 17:10:52 +00:00
Janet B. Anderson
0569fc753d Added toolkit info, cygwin downloads, and win32-x86-borland. 2004-11-12 20:10:26 +00:00
Andrew Johnson
8fa418519e Document record changes for NaN handling. 2004-11-12 00:06:26 +00:00
W. Eric Norum
98641bcfd2 Add some routines to make porting from vxWorks a little easier.
I'm a little leery about my quick hack for rebootHookAdd() since the
argument to the 'hooked' function is different.
2004-11-11 22:06:52 +00:00
Janet B. Anderson
3449a7157a Added -Qn to CPP because snc sometimes does not like #ident lines. 2004-11-10 21:09:33 +00:00
Janet B. Anderson
bc2b80584c Changed path requirements for WIN32 builds. 2004-11-10 20:45:30 +00:00
Janet B. Anderson
75a2d6229f Added -Qn to CPP because snc sometimes does not like #ident lines. 2004-11-10 18:09:54 +00:00
Jeff Hill
14a47a31e9 partial fix for mantis entry 160 - the following message is avoided by
shutting down the socket only if we are not certain if the errno is indicating that
the circuit hung up.

rsrv: socket shutdown error was Transport endpoint is not connected
2004-11-09 17:41:53 +00:00
Janet B. Anderson
139472e2db Added $(EPICS_BASE_TOOLS_BIN) to $(PATH) to find dlls for base build tools. 2004-11-09 14:45:01 +00:00
W. Eric Norum
5731e72cf1 Set boot parameters from mot-script-boot if not otherwise specified. 2004-11-05 19:51:44 +00:00
Janet B. Anderson
b4e2c4c432 Changed c preprocessor from gcc to cc. 2004-11-04 21:13:22 +00:00
Janet B. Anderson
4f03bba90d Changed filterout to filter-out. 2004-11-04 20:29:36 +00:00
Marty Kraimer
cb119338b2 clean up error messages 2004-11-04 19:21:15 +00:00
Marty Kraimer
d2c672d238 cancel threads in inverse order of creation 2004-11-04 14:01:20 +00:00
Janet B. Anderson
dc2fb8bb5c Added registryIoc library to EPICS_BASE_HOST_LIBS definition. 2004-11-03 22:35:57 +00:00
W. Eric Norum
8739e1c298 Allow 'unsigned' integers. 2004-11-03 22:16:18 +00:00
W. Eric Norum
c7e7f8e221 Don't require pdbbase if not linking iocshRegisterCommon commands. 2004-11-03 17:14:48 +00:00
Janet B. Anderson
25c30be105 Only one -classpath allowed on a command line (for javadoc). 2004-11-02 19:51:54 +00:00
Janet B. Anderson
dc930863f2 Only build JAVA stuff when BUILD_CLASS is HOST. 2004-11-01 22:41:27 +00:00
Janet B. Anderson
c508e485ba Removed COMMON_JAR, add rule to install existing jar, added jar vpath. 2004-11-01 22:30:10 +00:00
Andrew Johnson
e700d00db0 Moved static constructor call of iocshRegisterCommon() from iocsh.cpp into
the output from the registerRecordDeviceDriver.pl script, so standalone
sequencer programs don't import all of iocCore unnecessarily.
2004-10-29 23:24:35 +00:00
Marty Kraimer
5c0f09c5d2 gphFreeMem did not destroy mutex 2004-10-29 18:18:25 +00:00
Ken Evans
bd4b66de07 Fixed it up to remove package directories during clean. Was
previously leaving generated classes (with $ in the name).
2004-10-28 18:56:45 +00:00
W. Eric Norum
36aa145d04 Add rtemsNfs to all RTEMS targets. 2004-10-28 18:23:41 +00:00
Janet B. Anderson
b75254ec92 Added EPICS_BASE_TOOLS_BIN to PATH - find dlls for antelope, e_flex ... 2004-10-28 18:23:24 +00:00
Janet B. Anderson
8a1987ea9e Implemented LOADABLE_SHRLIB_VERSION. 2004-10-28 18:19:48 +00:00
W. Eric Norum
55bdb9cd2a MVME167 doesn't have RTC code 'yet'. 2004-10-28 18:18:42 +00:00
Janet B. Anderson
b6e3f6d481 Added OP_SYS_CFLAGS += -g. 2004-10-28 18:07:07 +00:00
Janet B. Anderson
ba1139f3c9 Remove OP_SYS_CFLAGS += -g. 2004-10-28 17:44:42 +00:00
Ralph Lange
f4876149bb More kernel config info 2004-10-28 17:03:22 +00:00
Janet B. Anderson
1c95d2eca8 Removed -z defs because it doesn't work with gcc/g++ 3.4.2. 2004-10-28 14:27:15 +00:00
Janet B. Anderson
39b89bd349 Removed osdTime.cpp, cygwin now uses file from posix dir. 2004-10-28 13:59:39 +00:00
Janet B. Anderson
0c99fe1bc8 Removed actual IP numbers inside bat files. 2004-10-27 16:40:14 +00:00
Janet B. Anderson
13ec7a675c Removed -z defs which was accidently committed. 2004-10-26 15:49:54 +00:00
Janet B. Anderson
f42c2954df Replaced -G with -shared -fPIC in shrlib LDFLAGS. 2004-10-26 15:31:25 +00:00
Janet B. Anderson
1a09047c87 Added -fPIC to shrlib LDFLAGS. 2004-10-26 15:30:01 +00:00
Janet B. Anderson
4c2d266910 Initial version. 2004-10-26 14:21:00 +00:00
Ralph Lange
de9767dc34 += "done" - message (all tests should print something). 2004-10-26 10:20:35 +00:00
Janet B. Anderson
58cf1e72ab Updated to look more like CONFIG.solaris-sparc.solaris-sparc. 2004-10-25 18:57:23 +00:00
Janet B. Anderson
8473be4f20 Added USR_PRECLASSPATH and allowed for multiple dirs in USR_CLASSPATH. 2004-10-25 17:12:19 +00:00
Marty Kraimer
4d4063d7ce make sure tv_nsec < 1000000000L 2004-10-25 14:51:42 +00:00
Ralph Lange
daeafe774f += CA command line tools: -s option 2004-10-25 12:49:53 +00:00
Andrew Johnson
69fc21474b Windows permits login names to include spaces! 2004-10-22 15:11:41 +00:00
W. Eric Norum
a4790a1dc2 epicsScanFloat, epicsScanDouble. 2004-10-22 13:53:14 +00:00
Ralph Lange
c5414a268c += max_thread_proc kernel config info 2004-10-22 13:49:35 +00:00
Ralph Lange
da3cd3bc19 Also restored old wasteTime value 2004-10-22 10:45:03 +00:00
W. Eric Norum
5f78b88f07 Add DNS domain name parameter. 2004-10-20 19:04:56 +00:00
W. Eric Norum
bfe0eb9e09 MVME5500 BSP now supplies RTC (time-of-day) driver. 2004-10-20 18:39:14 +00:00
Jeff Hill
daacfdc550 clarified search rate doc 2004-10-20 17:27:08 +00:00
Jeff Hill
8bc593a64e added def of STACK_SIZE_PARAM_IS_A_RESERVATION for compilers that dont provide it 2004-10-20 16:35:32 +00:00
Marty Kraimer
a15e9beff6 prevent crash if size is 0 2004-10-20 12:16:10 +00:00
Jeff Hill
2b7305097b fixed gnu warning 2004-10-20 00:05:22 +00:00
Janet B. Anderson
509f4de9a0 Fixed typo. 2004-10-19 21:43:17 +00:00
Jeff Hill
0d85c7d8a8 fixed gnu warning 2004-10-19 21:39:31 +00:00
Janet B. Anderson
d69a0f70e5 Updated for R3.14.7. 2004-10-19 21:39:28 +00:00
Jeff Hill
7a5bdb93c4 fixed ca_name() returns the record name w/o appending the field name 2004-10-19 21:05:39 +00:00
Jeff Hill
3e05c90653 added dbNameOfPV and dbNameSizeOfPV 2004-10-19 21:03:20 +00:00
Jeff Hill
dfa35d0596 getHostName returns string size 2004-10-19 20:55:39 +00:00
Jeff Hill
89814eb9e2 hostName() function name change to getHostName() 2004-10-19 20:54:40 +00:00
Jeff Hill
86e71a90b0 no need to print channelname in show routine 2004-10-19 20:52:33 +00:00
Jeff Hill
bdc723f500 cleaned up construction sequence 2004-10-19 20:51:37 +00:00
Jeff Hill
502620ee4e eliminated redundancy with original ca client API 2004-10-19 20:49:47 +00:00
Jeff Hill
c3f277dbc6 getName() and getHostName return string size 2004-10-19 20:46:55 +00:00
Jeff Hill
004db1aea7 getName() returns string size 2004-10-19 20:40:47 +00:00
Jeff Hill
085b228c83 getName() returns string size 2004-10-19 20:24:57 +00:00
Jeff Hill
2d47ba27b1 ca_get_host_name() used to return void, but has been changed to
return the string length.
2004-10-19 20:21:31 +00:00
Jeff Hill
60c0a98c08 o removed operators new and delete from cacChannel
o getName and getHostName now return string length
2004-10-19 20:20:46 +00:00
Jeff Hill
9223d7476e o removed operator delete
o default getHostName now returns string length
2004-10-19 20:19:39 +00:00
Jeff Hill
89d7953c90 hostName() renamed to getHostName() 2004-10-19 20:18:20 +00:00
Jeff Hill
10a9edf186 moved friend ca_clear_subscription to this file 2004-10-19 20:17:40 +00:00
Jeff Hill
ce912df8a4 added ca_name() test 2004-10-19 20:16:34 +00:00
Jeff Hill
532e17fd0f moved friends of oldChannelNotify to oldChannelNotify.cpp 2004-10-19 20:15:00 +00:00
Janet B. Anderson
13aaf8ef1b Modified the formatting. 2004-10-19 19:43:52 +00:00
Jeff Hill
9df773e88f sockAddrToDottedIP needs to return the string size 2004-10-19 18:21:02 +00:00
Jeff Hill
1069541aa6 added newline at eof 2004-10-19 18:14:01 +00:00
Jeff Hill
9b82574901 fixed recently commited problem in ipAddrToDottedIP 2004-10-19 18:01:49 +00:00
Ralph Lange
cb9934b0c7 command line tools caget, camonitor: += as-string option. 2004-10-19 17:50:58 +00:00
Jeff Hill
d5e01c38b1 commented out dll main source code 2004-10-19 17:28:45 +00:00
Jeff Hill
d4c8dd67d3 use STACK_SIZE_PARAM_IS_A_RESERVATION thread creation
option - this should allow more threads to run on XP
2004-10-19 17:26:01 +00:00
Jeff Hill
d99c0b613a DLL main executes in a very limited execution environment - its probably
smart to just avoid calling any general purpose code there.
2004-10-19 17:24:30 +00:00
Jeff Hill
91097d7d32 return the number of elements copied from address to ascii conversion func 2004-10-19 17:20:15 +00:00
Jeff Hill
010ebea821 fixed win32 dll sym export 2004-10-19 17:17:31 +00:00
Jeff Hill
2f829e5992 removed const from arg to copy constructor as is convention with std 2004-10-19 17:12:37 +00:00
Ralph Lange
4c302621e2 Use separate flag for once_connected state; += as-string option. 2004-10-19 15:27:51 +00:00
Ralph Lange
22ef6a9653 Use separate flag for once_connected state. 2004-10-19 15:20:34 +00:00
Janet B. Anderson
a4aa9234ed Added cast to int to remove gnu compiler warning messages. 2004-10-19 15:18:51 +00:00
Marty Kraimer
92a9d4cebf explain epicsExit 2004-10-19 11:30:59 +00:00
Janet B. Anderson
7eba880fc6 Added int return value to main(). 2004-10-18 21:47:12 +00:00
W. Eric Norum
4b89949310 New BSP -- updated network configuration. 2004-10-18 21:43:21 +00:00
Janet B. Anderson
2a809e2102 Initial version. 2004-10-18 21:41:25 +00:00
W. Eric Norum
9a94ca9d88 Clean out local debugging code. 2004-10-18 21:39:16 +00:00
W. Eric Norum
ce20721cf9 Clean up network configuration. 2004-10-18 21:38:47 +00:00
Janet B. Anderson
d2ff90286c Commented out all cross compiler target archs. 2004-10-18 14:49:21 +00:00
Marty Kraimer
15e78067ca use epicsThreadGetStackSize is set stacksize 2004-10-18 14:29:55 +00:00
Marty Kraimer
399017339e fix possible memory leak 2004-10-18 12:04:32 +00:00
Janet B. Anderson
5a91260f49 Added dependancy line for ../template files. 2004-10-15 21:22:59 +00:00
Janet B. Anderson
40c0281ea1 Added ARCH_solarisNonshared. 2004-10-15 18:37:19 +00:00
Janet B. Anderson
29d605faaf Use tools in $(EPICS_BASE_BIN) for HOST builds.
Use tools in $(EPICS_BASE_HOST_BIN) for CROSS builds.
2004-10-15 18:29:14 +00:00
Janet B. Anderson
2bbcec03c0 Win32 changes made by K Evans. 2004-10-15 18:20:49 +00:00
Janet B. Anderson
89aa261055 Initial version. 2004-10-15 18:19:40 +00:00
Janet B. Anderson
e1f3c9fd40 Removed old comment. 2004-10-13 14:57:59 +00:00
W. Eric Norum
e2ecac9e96 Avoid duplicate strtod. 2004-10-13 14:52:49 +00:00
Janet B. Anderson
892e71f55b Commented out xxx.dbd and added instructions for support dbds. 2004-10-13 14:51:45 +00:00
Janet B. Anderson
0d12ed33ca The <appname>Include.dbd file is no longer needed. 2004-10-13 14:40:45 +00:00
Marty Kraimer
5161a3b939 check for EINTR 2004-10-13 12:13:02 +00:00
Marty Kraimer
48ea77dc6f pthread_mutex_lock and pthread_cond_timedwait ignore EINTR 2004-10-12 20:06:38 +00:00
W. Eric Norum
02c67eda2c Fix typo. 2004-10-12 18:20:38 +00:00
W. Eric Norum
0dc034962c Use epicsScanFloat/epicsScanDouble rather than sscanf.
This allows proper handling of Nan/Inf on all architectures.
2004-10-12 17:45:31 +00:00
Jeff Hill
25c797b212 build template instances only for vxWorks 2004-10-12 17:12:18 +00:00
Jeff Hill
527dbf796d added instation for auto ptr to search timer 2004-10-12 17:12:02 +00:00
W. Eric Norum
b3bb33f448 More warnings. 2004-10-12 16:20:40 +00:00
W. Eric Norum
231a037c0b Fix up warnings. 2004-10-12 16:18:42 +00:00
W. Eric Norum
81ef601637 Fix up diagnostic messages. 2004-10-12 16:06:07 +00:00
W. Eric Norum
86152e91b9 Clean up some headers.
Add epicsScanReal.c.
2004-10-12 13:51:52 +00:00
Andrew Johnson
331979dfb9 Improve handling of NaN values.
In selRecord, replaced the 1e30 'magic number' with NaN and Inf values.
2004-10-11 22:32:05 +00:00
W. Eric Norum
4f731caf14 Add os-independent epicsStrtod() routine. 2004-10-11 18:22:12 +00:00
W. Eric Norum
e7f16cb078 Cosmetic. 2004-10-09 21:43:05 +00:00
W. Eric Norum
370e46227a Much improved version of epicsStrGlobMatch thanks to Jack Handy and the
folks at the Cold Project.
2004-10-08 20:38:11 +00:00
Jeff Hill
e76362d84b fixed gnu warnings 2004-10-08 17:15:09 +00:00
Jeff Hill
62df64a03c added missing include 2004-10-08 17:11:59 +00:00
Jeff Hill
2d733190ce added missing included 2004-10-08 16:59:18 +00:00
Jeff Hill
54a5a71377 fixed throw spec 2004-10-08 16:55:58 +00:00
Jeff Hill
108a7a6e0f removed waitRelease mf 2004-10-08 15:46:18 +00:00
Jeff Hill
0d6323803f improved shutdown sequence 2004-10-08 15:45:40 +00:00
Jeff Hill
0e1aa1c4bb new #include 2004-10-08 15:44:44 +00:00
Jeff Hill
400d474bed no longer needs to call exitWaitRelease 2004-10-08 15:44:18 +00:00
Jeff Hill
00c2aff710 include branching added 2004-10-08 15:39:09 +00:00
Jeff Hill
f5803beb8a use less than full length of buffer with gethostname in case there are errors in the implementation of gethostname 2004-10-08 15:37:34 +00:00
Jeff Hill
1bb5a5d86b prevent ~cac from completing if iiu uninstall is still in progress 2004-10-08 15:34:12 +00:00
Jeff Hill
07f8759a0a added epicsExit 2004-10-08 15:25:17 +00:00
Jeff Hill
7ecc2d0535 new #include 2004-10-08 15:20:16 +00:00
Jeff Hill
1a31fbcdda new #include 2004-10-08 15:12:20 +00:00
Jeff Hill
fab9e49710 removed #include 2004-10-08 15:03:04 +00:00
W. Eric Norum
cce9a2b3b4 Ensure that prototype is in scope. 2004-10-08 15:00:12 +00:00
Jeff Hill
d91a3917ce new #include 2004-10-08 14:58:59 +00:00
Jeff Hill
f9f5381a30 doc 2004-10-08 14:54:45 +00:00
Jeff Hill
7571947ceb o fixed "no exception thrown if epicsThreadCreate() return nill"
o added epicsThreadMustCreate
o cleaned up thread rundown blocking
o header file need not include exception support
2004-10-08 14:46:48 +00:00
Andrew Johnson
dac63b0826 It makes more sense to make ca_puser(chid) the address of the MYNODE, not
the address of an array element containing the MYNODE address.  As puser is
not actually used in this code it's not a real bug, but it could cause a
subtle bug in any code that starts from here if the programmer doesn't
completely understand what's going on...
2004-10-07 22:08:28 +00:00
W. Eric Norum
06c3533158 Globbing. 2004-10-07 20:15:35 +00:00
W. Eric Norum
0d6784c31b Provide epicsStrGlobMatch().
Add globbing to iocsh help command.
2004-10-07 20:10:38 +00:00
W. Eric Norum
667ab7eab8 Let posix version of osdTime work on systems without real-time capability. 2004-10-07 19:39:00 +00:00
Jeff Hill
372a3dc989 restored "waste time" loop 2004-10-07 19:21:18 +00:00
W. Eric Norum
1a326265ff Add progress marker. 2004-10-07 15:10:31 +00:00
Marty Kraimer
e8b642bd5f fix stacksize 2004-10-07 13:37:34 +00:00
Marty Kraimer
906f74cfe1 set stack size og posix 2004-10-07 13:33:14 +00:00
Marty Kraimer
5c99cf24f1 OSITHREAD_USE_DEFAULT_STACK YES 2004-10-07 13:27:16 +00:00
Marty Kraimer
bbc999f033 set stacksize 2004-10-07 13:24:25 +00:00
Marty Kraimer
b0a654b4c1 epicsMaxThreads is new 2004-10-07 13:21:40 +00:00
W. Eric Norum
36733cd907 pc386 BSP now provides time-of-day clock. 2004-10-06 21:43:09 +00:00
W. Eric Norum
75e43a6b6c Detect memory exhaustion. 2004-10-05 18:21:30 +00:00
Jeff Hill
639d54fd91 fixed CA fails if channel is destroyed in disconnect handler 2004-10-04 23:28:54 +00:00
Jeff Hill
0975f7457b removed CVS Id tokens as they cause never ending hassles when merging
in from branches
2004-10-04 22:05:14 +00:00
Jeff Hill
302cde41b0 removed CVS Id tokens as they cause never ending hassles when merging
in from branches
2004-10-04 18:55:40 +00:00
Jeff Hill
4b8e2bcf2c fixed to use const char chan name ptr
added manually operated chan disconnect / connect test
2004-10-04 18:40:48 +00:00
Jeff Hill
84559b5fd3 fixed to use const char chan name ptr 2004-10-04 18:39:03 +00:00
Jeff Hill
753ecff270 Changes to support communication with protocol revisions prior to 4.2 (EPICS 3.11) 2004-10-04 16:39:00 +00:00
Marty Kraimer
46cfe589d5 epicsSnprintf: prevent buffer overflow; use posix convention 2004-10-04 12:39:16 +00:00
Marty Kraimer
31c9c89350 epicsStrSnPrintEscaped: prevent buffer overflow; use posix convention 2004-10-04 12:38:33 +00:00
W. Eric Norum
42953c05f7 Treat \r as a separator -- should allow DOS-format scripts to work. 2004-10-02 15:34:47 +00:00
Jeff Hill
361d617ede o fixed so that a thread that has not began will terminate if another thread
calls exit wait
o use independent event semaphore assisting these two threads to block
1) spawned thread
2) thread waiting for spawned thread to exit
2004-10-01 23:27:25 +00:00
W. Eric Norum
207e1ed8f7 Add some comments.
Provide an easy location to override input library.
2004-10-01 18:27:12 +00:00
Jeff Hill
c106bc9740 fixed compatibility problems with vxWorks 5.4 gnu compiler 2004-09-30 19:15:45 +00:00
Jeff Hill
23be13bd5b fixed cast 2004-09-30 19:14:23 +00:00
W. Eric Norum
2e66cfb8fb Clean up NFS/TFTP remote fileystem setup. 2004-09-30 17:58:42 +00:00
Jeff Hill
1dda0263f0 exception payload derives from std::exception 2004-09-30 16:01:48 +00:00
Jeff Hill
4db45ea43d use arch independent type to hold revision level of proto 2004-09-29 22:12:36 +00:00
Jeff Hill
ecc0d9976d return "bad protocol" and not "internal" error code when bad protocol arrives 2004-09-29 17:45:35 +00:00
Jeff Hill
9f8e75b945 o print date when unexpected exception occurs
o call std::unexpected() when unexpected exception occurs
2004-09-29 17:39:17 +00:00
Jeff Hill
fddaeb1dc8 reduced memory consumption with large channel counts 2004-09-29 15:59:25 +00:00
W. Eric Norum
319b886ab4 Don't use TFTP if not needed. 2004-09-29 14:30:51 +00:00
Marty Kraimer
ef292bffe6 dont try to cancel _main_ 2004-09-29 13:32:11 +00:00
W. Eric Norum
81bc2a0d7a if_fxp is now working. 2004-09-29 01:23:43 +00:00
W. Eric Norum
3419fee587 Changes for RTEMS pc386 target. 2004-09-29 00:39:50 +00:00
W. Eric Norum
a470a5b850 Add commands to build etherboot bootable image. 2004-09-29 00:39:17 +00:00
W. Eric Norum
5a832e7ccd RTEMS bootable images. 2004-09-28 21:51:11 +00:00
W. Eric Norum
46068e813d Use NFS by default. 2004-09-28 20:40:43 +00:00
W. Eric Norum
cd551b4860 Clarify reason for direct copy. 2004-09-28 20:39:47 +00:00
W. Eric Norum
46255e607a Redo the way 'munch' commands are handled.
Provide 'munch' command to build executable for RTEMS MVME2100 target.
2004-09-28 20:38:01 +00:00
W. Eric Norum
5e49aafb5c Now works on non-i386, non-ppc targets. 2004-09-25 23:43:06 +00:00
Janet B. Anderson
44b0995b0d Added iocBoot/ioc* build change. 2004-09-24 21:01:01 +00:00
Janet B. Anderson
c15d2d589c Create cdCommands and envPaths files only for BUILD_ARCH dirs. 2004-09-24 20:55:03 +00:00
Jeff Hill
7617d78f36 fixed sunpro warnings 2004-09-24 16:33:42 +00:00
Jeff Hill
61c0cff87d fixed gnu warnings 2004-09-24 15:44:08 +00:00
Jeff Hill
f384eee9b6 fixed sunpro warnings 2004-09-24 15:42:54 +00:00
Jeff Hill
a868270c68 fixed gnu warning 2004-09-24 15:27:10 +00:00
Jeff Hill
7deabc8923 fixed sunpro warnings 2004-09-24 15:03:28 +00:00
Marty Kraimer
35bbb5d897 call epicsThreadInit instead of assert if epicsThreadId is not an argument 2004-09-24 12:25:07 +00:00
Ralph Lange
b04811e146 Use correct option character. optopt is valid only when getopt returns '?'. 2004-09-24 11:38:10 +00:00
Jeff Hill
620f8b74b7 fixed header file names 2004-09-24 00:22:21 +00:00
Jeff Hill
4154b61d46 fixed header name 2004-09-24 00:13:00 +00:00
Jeff Hill
1388169f1e fixed missing throw() spec 2004-09-24 00:05:26 +00:00
Jeff Hill
7b7a07c667 fixes for bugs 133 and 134 in Mantis 2004-09-23 23:15:22 +00:00
Jeff Hill
107f1fa37f added array capabilities 2004-09-23 21:56:51 +00:00
Ralph Lange
6c12088e2a += connection status reporting (based on Jeff's suggestions plus timestamps for connection loss events) 2004-09-23 15:47:57 +00:00
Jeff Hill
889d8bc6c2 fixed potential race on SMP systems 2004-09-23 00:24:04 +00:00
Jeff Hill
1584471439 o fixed errno based diagnostic converting errno to string after errno was replaced 2004-09-22 18:55:17 +00:00
Jeff Hill
c020be9e04 fixed delay functionality and removed call to show at exit 2004-09-22 18:45:43 +00:00
Jeff Hill
ff419d8922 added destroyAllPV call 2004-09-22 18:45:11 +00:00
Jeff Hill
6e01a1e22c o fixed forced disconnect closes socket when shutdown should be used
otherwise fdmgr prints bad fd diagnostic in tight loop - problem was
        seen only when very old CA client version connects
2004-09-22 17:55:00 +00:00
Jeff Hill
6d70a66826 o fixed errno based diagnostic converting errno to string after errno was replaced
o fixed forced disconnect closes socket when shutdown should be used
        otherwise fdmgr prints bad fd diagnostic in tight loop - problem was
        seen only when very old CA client version connects
2004-09-22 17:54:37 +00:00
Jeff Hill
a33d6585f9 fixed errno based diagnostic converting errno to string after errno was replaced 2004-09-22 17:51:59 +00:00
Jeff Hill
6615cb7fbd removed calls to exit() which cause problems on RTEMS where exit() has
different behavior than on vxWorks.
2004-09-21 23:56:27 +00:00
Janet B. Anderson
694d0401f0 Updates to make files general. Updated for R3.14.7. 2004-09-20 19:56:08 +00:00
W. Eric Norum
a29a954a19 MVME2100. 2004-09-17 21:20:51 +00:00
W. Eric Norum
63a4b83b16 Add support for MVME2100. 2004-09-17 21:18:43 +00:00
W. Eric Norum
f41a7910c4 Allow configuration from PPCBUG NVRAM. 2004-09-17 20:48:09 +00:00
Jeff Hill
88702dd180 fixed to work with non-ms compiler 2004-09-17 15:02:52 +00:00
W. Eric Norum
c31910760f More warnings removed. 2004-09-16 19:29:09 +00:00
W. Eric Norum
0d07d00108 Clean up warnings.
Improve error message.
2004-09-16 19:27:23 +00:00
Jeff Hill
3d377eed1d removed atexit handler that calls epicsThreadExit because:
o recursive exit call is bad
o this causes shutdown problems with DLL codes on windows
=> the workaround is an atexit handler that calls epicsExitCallAtExits in
the poosix osdThreads atexit handler
2004-09-16 18:22:33 +00:00
W. Eric Norum
63aba004d1 Add explantory message. 2004-09-16 17:52:23 +00:00
W. Eric Norum
f8647ac5c6 Guard against overzealous optimizers. 2004-09-16 15:56:35 +00:00
W. Eric Norum
045619d68a Fix bug in 'pending' routine.
Provide rudimentary show routine.
2004-09-16 15:31:32 +00:00
W. Eric Norum
cd84c95920 Don't let receiver printing mess up priority-based send checks.
Improve priority-based send check messages.
2004-09-16 15:29:00 +00:00
W. Eric Norum
7a1249cd99 Allow calls from RTEMS test harness. 2004-09-16 14:04:21 +00:00
Marty Kraimer
262901c567 call epicsAtExit from errlogThread 2004-09-16 11:25:09 +00:00
W. Eric Norum
c7e31a2a41 Treat RTEMS like vxWorks. 2004-09-16 00:45:45 +00:00
W. Eric Norum
99690a12e2 Tread RTEMS like vxWorks. 2004-09-16 00:41:03 +00:00
W. Eric Norum
ca9146dfb5 Allow calling from RTEMS test harness. 2004-09-15 22:02:49 +00:00
W. Eric Norum
5d2cc64d62 Allow calling from RTEMS test harness. 2004-09-15 21:39:05 +00:00
Marty Kraimer
15c156d41f remove unnecessary dbScanLock/Unlock 2004-09-15 17:55:27 +00:00
Marty Kraimer
ab176a13cd dbNotifyCancel waits for userCallback if active 2004-09-15 12:44:17 +00:00
W. Eric Norum
cb1c8e14af Get isnan/isinf. 2004-09-14 23:09:33 +00:00
W. Eric Norum
4a95bacb24 Pick up OS-specific declarations. 2004-09-14 23:08:29 +00:00
Janet B. Anderson
66c0ecd2f9 Moved wildcard parentheses to end of line. 2004-09-14 22:06:28 +00:00
W. Eric Norum
3973a3fdb2 Typo. 2004-09-14 20:25:12 +00:00
W. Eric Norum
a7b44180bd Redirect special case. 2004-09-14 20:21:10 +00:00
W. Eric Norum
096172f252 Handle
<foo >bar
properly.
2004-09-14 19:58:09 +00:00
Marty Kraimer
e8a2cdeee1 dbNotifyCancel waits for callback to complete 2004-09-14 18:58:52 +00:00
Marty Kraimer
e6173f93eb dbNotifyCancel waits for callback to complete 2004-09-14 18:22:57 +00:00
Jeff Hill
f81097d891 avoid cast that reduces size of type 2004-09-07 16:33:21 +00:00
Jeff Hill
269acc7478 added AS write trap for put callback 2004-09-07 16:01:29 +00:00
Jeff Hill
2f33de21fe avoid ioctl on closed socket during client rundown 2004-09-07 15:52:14 +00:00
Ralph Lange
e553e1b21e Added a cast for HP's compiler 2004-09-06 13:39:59 +00:00
Jeff Hill
0d2e8aa434 o added config via EPICS_CA_MAX_SEARCH_PERIOD 2004-09-03 21:36:58 +00:00
Jeff Hill
dd3d974bc7 o fixed clients that dont see server's beacon dont reconnect
o added config via EPICS_CA_MAX_SEARCH_PERIOD
o when successful search response arrives dont allow search period to get to long
o dont scan channels when searching to find lowest retry count as this doesnt change behavior and adds overhead
2004-09-03 21:12:38 +00:00
Jeff Hill
f02e58528c doc for EPICS_CA_MAX_SEARCH_PERIOD 2004-09-03 21:08:09 +00:00
Jeff Hill
1f791db248 eliminated very short window where channel could be installed
by udp thread while  iiu is being destroyed.
2004-09-02 19:47:31 +00:00
Jeff Hill
d7cf7531b2 should set the private variable id to nill when deleteing it 2004-09-02 16:26:04 +00:00
Marty Kraimer
bd93889676 changes for commits 2004-08-31 18:19:48 +00:00
Marty Kraimer
a2cd656268 handle array allocation properly when link connects 2004-08-31 18:13:56 +00:00
Marty Kraimer
bcbcf05110 atReboot calls epicsExitCallAtExits not epicsExit 2004-08-31 17:57:00 +00:00
Marty Kraimer
f408398166 add atReboot for vxWorks 2004-08-31 12:43:40 +00:00
Marty Kraimer
34a59c7eb9 do not call exit on vxWorks 2004-08-31 12:43:08 +00:00
Marty Kraimer
447e03c994 atReboot is new 2004-08-31 12:42:28 +00:00
Marty Kraimer
bedba55eb5 add defs for C++ 2004-08-31 12:41:56 +00:00
Jeff Hill
0f2ce403bb added warnings about calling CA from interrupt context, also more doc
about vxWorks 5.4 netowrk stack pool
2004-08-30 21:39:15 +00:00
Marty Kraimer
4d636df146 extern C except for registerObj 2004-08-30 13:39:03 +00:00
Janet B. Anderson
4c827f8104 Updated supported platforms. 2004-08-27 17:10:31 +00:00
Janet B. Anderson
5d036dc54b Updated for R3.14.7. 2004-08-27 17:04:10 +00:00
Marty Kraimer
5a41338d08 epicsExit 2004-08-27 16:23:20 +00:00
Marty Kraimer
b4f40d0011 epicsStdioRedirect 2004-08-27 16:20:09 +00:00
Marty Kraimer
63f139adc5 epicsExit and epicsStdioRedirect 2004-08-27 16:04:26 +00:00
cvs2svn
47223261a0 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-08-27 16:04:23 +00:00
Marty Kraimer
a15c5377f2 allow epicsStdioRedirect 2004-08-27 16:02:03 +00:00
Marty Kraimer
162ffc9873 epicsExit is new 2004-08-27 16:00:41 +00:00
cvs2svn
34a4b00f91 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-08-27 16:00:33 +00:00
Marty Kraimer
5505bfc3ab do not include epicsStdio 2004-08-27 16:00:04 +00:00
Janet B. Anderson
72021a6501 Updated supported platforms. 2004-08-27 15:15:10 +00:00
Janet B. Anderson
2e07db4a3e Removed duplicate directories and added catools, softIoc, and excas. 2004-08-27 14:52:58 +00:00
Marty Kraimer
2c7e345a00 changes for epicsExit and epicsStdio 2004-08-27 13:39:39 +00:00
Jeff Hill
916038e13a fixed holding lock while suspended in epicsThreadSuspendSelf() 2004-08-26 23:36:05 +00:00
Jeff Hill
6f030c8030 added additional doc on array size config 2004-08-25 22:40:33 +00:00
W. Eric Norum
4e92e2f36c Add prototype for strtok_r which is in the library but not in the headers
with -ansi.
2004-08-24 21:13:05 +00:00
Jeff Hill
0120c0e2a1 added -420 for China's MIN_WEST 2004-08-24 15:18:15 +00:00
W. Eric Norum
3d42f8df29 Add note about signals and subthreads. 2004-08-13 13:22:52 +00:00
Jeff Hill
bf9cd7241a added try catch block 2004-08-13 01:10:03 +00:00
Jeff Hill
39bae7925b fixed ca_context_create doc 2004-08-12 21:37:37 +00:00
Jeff Hill
6acf7c6294 o added additional data type doc
o added more info on binding servers to interfaces
2004-08-12 18:40:32 +00:00
Jeff Hill
9f216b07df added top level try catch block 2004-08-12 17:58:04 +00:00
W. Eric Norum
c23cb75b21 Install name must be absolute path. 2004-08-12 16:57:06 +00:00
Jeff Hill
45f71fcde9 fixed string to numeric conversion functions 2004-08-12 16:51:03 +00:00
Jeff Hill
ab627a9166 added string to double conversion functions 2004-08-12 16:50:26 +00:00
Jeff Hill
87023ea4b2 added function lookingup index matching string 2004-08-12 16:45:17 +00:00
W. Eric Norum
d41312bac5 Fix warning. 2004-08-12 13:38:17 +00:00
W. Eric Norum
012f44ff48 Fix convertDoubleToWakeTime warning. 2004-08-12 13:29:29 +00:00
W. Eric Norum
e3e3737a71 Block signals in all but the main thread. 2004-08-11 21:37:55 +00:00
Janet B. Anderson
2999b11a51 Removed output of SHRLIB_SEARCH_DIRS = TOP/lib/arch. 2004-08-11 19:31:36 +00:00
Janet B. Anderson
2a02939267 Simplified SHRLIB_SEARCH_FULLPATHDIRS definiton. 2004-08-11 19:30:11 +00:00
Janet B. Anderson
48b47b519d Added SHRLIB_SEARCH_DIRS = INSTALL_LIB definition. 2004-08-11 19:29:05 +00:00
Jeff Hill
73dd387f05 moved setThreadName() out so that it could use C++ exceptions instead of
windows structured exceptions (which are not compiler portable)
2004-08-11 00:46:38 +00:00
Jeff Hill
2d613ba5d0 fixed DLL export 2004-08-11 00:46:12 +00:00
Jeff Hill
7ef6eaee28 fixed plural 2004-08-04 20:14:09 +00:00
Jeff Hill
9b3cf1dc84 fixed wrong network address constructor used in constructor
specifying network address
2004-08-04 20:08:56 +00:00
Marty Kraimer
8ebd5d4e0a errlog: implement atexit 2004-08-03 18:18:50 +00:00
Marty Kraimer
83adcfbaea implement atexit to cleanup 2004-08-03 18:17:56 +00:00
Jeff Hill
ac8dc4facd fixed locking associated with the cleanup flag
(this is not a known problem, the problem was identified instead during code inspection)
2004-07-30 23:34:24 +00:00
Jeff Hill
75ddcbaf06 fixed problems with cleanup of partially created tcp client 2004-07-30 23:02:37 +00:00
Jeff Hill
cd1d544401 fixed argument declaration in ca_clear_channel 2004-07-30 17:55:56 +00:00
Janet B. Anderson
1cfd4c9100 Initial version. 2004-07-28 14:14:11 +00:00
W. Eric Norum
4d84f66918 IOC shell changes. 2004-07-26 18:45:38 +00:00
W. Eric Norum
84dd4cdd2b Add iocshCmd command.
General cleanup.
Split help code into separate function.
2004-07-26 18:21:57 +00:00
Marty Kraimer
8148784a20 exitWait ( double delay ) => exitWait (const double delay ) 2004-07-16 12:53:56 +00:00
Marty Kraimer
12b20f2398 More changes for OkToBlock 2004-07-16 11:33:53 +00:00
Marty Kraimer
4324145435 dont printf unless pvtData.toConsole 2004-07-15 14:04:29 +00:00
Marty Kraimer
e227241d4b args were in wrong order 2004-07-15 12:41:40 +00:00
Marty Kraimer
f07f9d8b2b Remove most dbDump commands because there are already other commands
that call them.
2004-07-15 12:41:09 +00:00
Marty Kraimer
c43b60c6ef allow null string or * 2004-07-15 12:03:41 +00:00
Marty Kraimer
f4251bcf79 make snc propram reentrient 2004-07-15 11:54:05 +00:00
Marty Kraimer
1b20ea0e6a wrong logic on msgbufGetFree(isOkToBlock) 2004-07-14 13:22:28 +00:00
Janet B. Anderson
6c205869f6 Put all -R directories in RUNTIME_LDFLAGS. 2004-07-13 19:35:20 +00:00
Janet B. Anderson
3e5f48cd05 Put all -R directories in RUNTIME_LDFLAGS. 2004-07-13 19:28:26 +00:00
Janet B. Anderson
dfebaae2cf Use fullpathdir in rpath directories. 2004-07-13 19:25:37 +00:00
Janet B. Anderson
6c46c794f6 Add macro RULES_TOP - fullpath to a module top directory. 2004-07-13 19:23:34 +00:00
Janet B. Anderson
6355bd4c80 Test if DBD_INSTALLS and DB_INSTALLS are non zero instead if defined. 2004-07-13 19:14:27 +00:00
Marty Kraimer
629b14d3d4 epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 14:49:18 +00:00
Marty Kraimer
f54d1ca30a epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 13:35:35 +00:00
W. Eric Norum
4d5213f609 Fix typo. 2004-07-12 16:15:42 +00:00
W. Eric Norum
3d1dfa5dc6 Simplify printf ==>> epicsStdoutPrintf redefinition. Use __printf__ in
GCC attribute specifier to avoid conflict.
2004-07-12 16:00:48 +00:00
Marty Kraimer
b4715368d7 epicsThreadSetOkToBlock 2004-07-12 13:08:43 +00:00
Marty Kraimer
6cb83962d0 fprintf(stdout => printf 2004-07-09 18:47:33 +00:00
W. Eric Norum
99778934c1 Ensure that redirection is off before attempting to read next line. 2004-07-09 18:40:42 +00:00
W. Eric Norum
f6e1d32b25 Add 'ok-to-block' flag. 2004-07-09 18:30:29 +00:00
Marty Kraimer
975a1af43b fix OkToBlock 2004-07-09 18:19:18 +00:00
Marty Kraimer
f2fc8f8838 ShellContext=>OkToBlock 2004-07-09 17:53:54 +00:00
Marty Kraimer
e9f54b70d9 if shellContext call printf from initial thread 2004-07-09 16:06:51 +00:00
Marty Kraimer
b97efc9f7d implement ShellContext 2004-07-09 16:05:53 +00:00
Marty Kraimer
23d4d7f790 printf always becomes epicsStdoutPrintf 2004-07-09 13:35:12 +00:00
W. Eric Norum
94e70da4ef Allow redirection from recursive iocsh invocations. 2004-07-09 13:18:40 +00:00
W. Eric Norum
744e836ad8 Add I/O redirection. 2004-07-08 21:19:42 +00:00
Marty Kraimer
ad878fc71d printf now overridden 2004-07-08 20:48:35 +00:00
Marty Kraimer
51a8b2ec98 more changes to make override of printf work 2004-07-08 20:47:00 +00:00
Marty Kraimer
6669549c68 override printf 2004-07-08 20:17:03 +00:00
Marty Kraimer
55b22facee include epicsStdio 2004-07-08 20:16:36 +00:00
Marty Kraimer
77a8aa677a printf => epicsStdioPrintf 2004-07-08 18:10:05 +00:00
Marty Kraimer
2f7abfdd7a clean up and include epicsStdio.h 2004-07-08 16:15:01 +00:00
Marty Kraimer
8006613981 char => const char 2004-07-08 15:25:56 +00:00
Marty Kraimer
4a7152c1a2 dbl dbhcr no longer have filename arg; char => const char 2004-07-08 15:09:49 +00:00
Marty Kraimer
77b28ee777 changes for reports 2004-07-08 14:43:45 +00:00
Marty Kraimer
cb430154d0 add test of epicsGetStdout/epicsPutStdout 2004-07-08 12:08:14 +00:00
Marty Kraimer
cb34e16385 added epicsGetStdin/epicsSetStdin and stdout and stderr 2004-07-08 11:55:46 +00:00
Marty Kraimer
f212fae267 split epicsStdio into common and osdStdio portions 2004-07-07 16:03:51 +00:00
cvs2svn
ce1be263d5 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-07-07 16:03:49 +00:00
Jeff Hill
0ca4281952 fixed gcc 3.4 issue 2004-07-07 14:58:10 +00:00
Marty Kraimer
05dad621be ODLY was not handled properly 2004-07-06 14:13:09 +00:00
Marty Kraimer
8507d48527 calcoutRecord fix 2004-07-06 14:11:28 +00:00
W. Eric Norum
44c358d6bd Use correct option character. optopt is valid only when getopt returns '?'. 2004-07-06 03:01:11 +00:00
Andrew Johnson
0f7189d62b This problem was reported by Kate Feng and Stephanie Allison. 2004-07-02 23:09:13 +00:00
Jeff Hill
d254a52c4d fixed gcc 3.4 issue 2004-06-28 16:18:19 +00:00
Jeff Hill
400c482bb2 fixed the following problems
o application could hang for too long in ca_context_destroy() attempting a
clean shutdown if circuit is known to be unresponsive
o unexpected errno from recv message was improperrly supressed
for locally initiated circuit abort
2004-06-22 18:21:12 +00:00
Jeff Hill
3b602063fa made two member functions private 2004-06-22 18:15:30 +00:00
Jeff Hill
c097ce9b82 added channel connected context destroy test 2004-06-21 21:34:45 +00:00
Jeff Hill
288e8abe90 many changes 2004-06-17 23:49:21 +00:00
Jeff Hill
e5ba349551 eliminated redundant code from subscription and channel destroy 2004-06-17 23:32:36 +00:00
Jeff Hill
7f3db9f676 channelNode public memebers should be protected members 2004-06-17 23:32:09 +00:00
Jeff Hill
d0ca66c2e3 cancel outstanding IO when a channel becomes unresponsive 2004-06-17 23:31:30 +00:00
Jeff Hill
33ee0cba83 no need to maintain count of circuits insttalled when they are installed on a
doubly linked list
2004-06-17 23:30:32 +00:00
Jeff Hill
61a4d8a0d3 protect against exceptions occurring when eliminating excessive send backlog
o creating channel
o creating subscription
also eliminated redundant code from subscription destroy
2004-06-17 23:26:18 +00:00
Jeff Hill
88b13e36f0 removed call to epicsThreadSleep() in verifyImmediateTearDown() 2004-06-17 23:16:16 +00:00
W. Eric Norum
2b21145d19 Fix int/pointer conversion warnings. 2004-06-17 04:07:34 +00:00
W. Eric Norum
6a1ea9df6a Add missing include. 2004-06-17 01:12:58 +00:00
W. Eric Norum
ec29674d06 Fix missing format. 2004-06-17 01:12:40 +00:00
W. Eric Norum
6fe68a0cb3 Fix printf args/formats. 2004-06-17 01:10:59 +00:00
Andrew Johnson
b9fa2e7515 More string termination bugs, this time missing terminators. 2004-06-16 19:10:11 +00:00
Jeff Hill
aa2273c7d3 removed use of EPICS_CA_ADDRESS_LIST 2004-06-16 15:39:34 +00:00
W. Eric Norum
58a741d845 Clean up -- use epicsStrDup instead of ad-hoc allocation. 2004-06-16 13:21:52 +00:00
Andrew Johnson
f291862044 Fixed dbLoadTemplates oops! Environment variables tests don't exercise the
non-dirty path as much...
2004-06-15 19:07:51 +00:00
Jeff Hill
0999b6d923 fixed 1st monitor update not delivered when didnt change
when unresponsive
2004-06-14 21:49:39 +00:00
Jeff Hill
c75ab8eea6 fixed undefined link 2004-06-14 18:08:27 +00:00
Jeff Hill
da5bc3b820 disconnect servers that send missaligned protocol 2004-06-14 17:45:43 +00:00
Andrew Johnson
1a6c1caa54 Fixed path to ConvertingR3.14.1AppsToR3.14.2.html so future website copies
don't have to be changed on installation.
2004-06-14 16:41:44 +00:00
Jeff Hill
0e0aa7bac5 disconnect servers that send missaligned protocol 2004-06-11 19:27:50 +00:00
Jeff Hill
ef04b81c74 disconnect clients that send missaligned protocol 2004-06-11 18:56:55 +00:00
Andrew Johnson
7035e0f475 Replaced macErrMessage macros with errlogPrintf
Fixed 2 possible buffer overflow bugs
Added an entry type string for error/warning messages
Implemented default values in macro expansions $(name=default)
Improved usefulness of error reporting
2004-06-11 15:40:14 +00:00
Jeff Hill
367374b51c added build doc 2004-06-08 15:58:10 +00:00
Marty Kraimer
55ac37cfac Data Base Request Option DBR_ENUM_STRS for the DTYP field ofsoft records can cause an IOC to crash. 2004-06-07 12:11:20 +00:00
W. Eric Norum
7c5e384d08 Cosmetic typo. 2004-06-04 19:51:23 +00:00
Andrew Johnson
751e52a314 Fix some warnings on solaris-sparc. 2004-06-02 20:55:09 +00:00
Andrew Johnson
becd80c4d8 Patch from Jeff Hill, fixes a Tornado 2.2 build problem. 2004-06-02 20:43:21 +00:00
Janet B. Anderson
6614ff45a9 Added a check to see if "$ARGV[0]" exists pre Andy Foster request. 2004-06-01 16:53:22 +00:00
Andrew Johnson
95fd1a7623 R3.14.6 updates. 2004-05-28 21:41:17 +00:00
Andrew Johnson
5be53b39a8 Added <space><dot> after the $Id$ so amaya doesn't wrap inside the $...$. 2004-05-28 20:08:21 +00:00
Andrew Johnson
8c364aa636 R3.14.6 Release. 2004-05-28 19:27:47 +00:00
Andrew Johnson
7366f7359c Added final call to errlogFlush(), needed for solaris-sparc-gnu for some
unknown reason - without it, the program doesn't always exit properly.
2004-05-28 18:17:25 +00:00
Ralph Lange
894936cc5e += catools 2004-05-28 12:28:11 +00:00
Ralph Lange
b760fbdf95 += Doc for commandline tools added in 3.14.6 2004-05-28 12:20:16 +00:00
Ralph Lange
1c594c2522 Warning fix. 2004-05-28 11:33:11 +00:00
Ralph Lange
0897e71ca0 += caput 2004-05-28 11:07:28 +00:00
Ralph Lange
2cdb8d2cbb Cosmetic changes (misleading var name). 2004-05-28 11:00:25 +00:00
Jeff Hill
ae5c8365d2 builds now on tornado 2004-05-27 14:31:24 +00:00
Andrew Johnson
4853de114b Updates for makeBaseApp changes. 2004-05-26 17:58:38 +00:00
Andrew Johnson
5a2a33f3e0 Moved wildcards from unnecessary file configure/RULES.iocBoot to iocBoot/Makefile 2004-05-26 17:49:01 +00:00
Andrew Johnson
36809d6d20 Removed vlinac, not really a template. 2004-05-26 17:40:59 +00:00
Andrew Johnson
5ecb0738c5 Removed testDevIoc from base link libraries, only used by the mrkSoftTest application 2004-05-26 17:31:56 +00:00
Ralph Lange
d625b13899 Bugfix for absolute timestamps. 2004-05-26 12:51:21 +00:00
Ralph Lange
987f598804 Relative (percent) error -> absolute; units -> SI 2004-05-26 11:04:50 +00:00
Jeff Hill
5ecac228c6 fixed large new size that throws an exception 2004-05-25 17:27:23 +00:00
Jeff Hill
51a1d5991d when testing new failure use max for type size_t instead of LONG_MAX 2004-05-25 14:45:22 +00:00
Ralph Lange
50f58c9974 Fix: name clash on Solaris. 2004-05-25 09:29:49 +00:00
W. Eric Norum
33a5dd714e Echo comments read from a script. 2004-05-24 21:20:27 +00:00
W. Eric Norum
b5ee956916 Allow application to be copied and run anywhere. The downside of this
change is that the application *must* be executed from the directory
in which the st.cmd file resides.
2004-05-23 16:50:52 +00:00
W. Eric Norum
720f6ba418 Simplify virtual-linac build procedure. Sequence programs are now enabled
simply by adding a SNCSEQ entry to configure/RELEASE.
2004-05-22 16:55:17 +00:00
Jeff Hill
329172afc7 fixed logic surrounding subscription cancel
1) When channel is destroyed, but subscription not installed into a server
2) When subscription is destroyed, but has not been installed in server
2004-05-21 00:57:51 +00:00
Jeff Hill
41aeb709e5 updated for R3.14.6 2004-05-20 22:56:09 +00:00
Jeff Hill
dc31948da1 fixed channel delete in get callback handler bug discovered by regression tests 2004-05-20 21:58:41 +00:00
Jeff Hill
2c05bf61ce updated for R3.14.6 2004-05-20 18:41:57 +00:00
Andrew Johnson
8b9a59d072 Convert paths to canonical form using abs_path before comparing. 2004-05-20 18:31:13 +00:00
Janet B. Anderson
4a8aa93f1e Removed 2 blank lines for cygwin compiler. 2004-05-20 17:58:25 +00:00
Jeff Hill
57d488b7a0 supress disconnect callback when context is destroyed 2004-05-20 17:22:40 +00:00
Jeff Hill
5fc1e3217b workaround for borland bcc weirdness 2004-05-19 16:07:06 +00:00
Andrew Johnson
164449f0d6 Remove startCaRepeater - no longer works, use caRepeater from src/ca.
Tidy up rc2 stuff.
2004-05-18 19:22:38 +00:00
W. Eric Norum
5bf2821512 Make EPICS command-line routines the default (no RTEMS add-on
packages required).  Add libraries for readline.
2004-05-18 18:05:36 +00:00
W. Eric Norum
4818d705a5 HPUX needs to use SIGALRM and so can't use the POSIX version. 2004-05-18 17:36:31 +00:00
Andrew Johnson
ecd7d5a9ce configure/tools provides a replacement for absPath.pl, use that instead. 2004-05-17 21:43:50 +00:00
Andrew Johnson
2bef3a2d08 Added two new envParams and converted iocsh to use these instead of getenv() 2004-05-17 21:40:10 +00:00
Janet B. Anderson
668ecc9b94 Added EPICS_HOST_ARCH win32-x86-cygwin renamed to cygwin-x86. 2004-05-17 21:27:33 +00:00
Andrew Johnson
267e352bb5 Fix problem introduced by Win32 fix, do it properly. 2004-05-17 21:07:10 +00:00
Janet B. Anderson
36d3033de4 Fixed comment typo and removed duplicate export line. 2004-05-17 14:38:37 +00:00
Janet B. Anderson
23e17b664c Changed win32-x86-cygwin to cygwin-x86. 2004-05-17 14:36:29 +00:00
Janet B. Anderson
4a7100cbf0 Fixed missing quote mark. 2004-05-17 14:35:18 +00:00
Janet B. Anderson
8ee9595026 Changed file test from -r to -f fow win32 builds. 2004-05-17 14:28:31 +00:00
Janet B. Anderson
22df40f776 Added chomp for win32 builds. 2004-05-17 14:27:11 +00:00
Janet B. Anderson
2344a4b0e3 Added text about COMPAT_313 prerequisite. 2004-05-17 14:25:00 +00:00
Janet B. Anderson
1e9826e1f7 Fixed some typos. 2004-05-17 14:24:30 +00:00
Janet B. Anderson
272940d50e Added info about COMPAT_TOOLS_313. 2004-05-17 14:07:22 +00:00
Janet B. Anderson
dc3f271ea2 Portability change. 2004-05-14 19:18:04 +00:00
W. Eric Norum
32d48f7dcd Clean up system-call-interrupt mechanism. 2004-05-14 13:36:01 +00:00
Jeff Hill
de99791d82 win32-x86-cygwin => cygwin-x86 2004-05-13 23:25:54 +00:00
Jeff Hill
df6f19a611 win32-x86-cygwin => cygwin-x86 2004-05-13 22:46:08 +00:00
Jeff Hill
82b2a0be6e win32-x86-cygwin => cygwin-x86 2004-05-13 22:34:02 +00:00
Jeff Hill
3dff2767c7 fixed gnu compiler detected issues 2004-05-13 20:05:47 +00:00
Jeff Hill
cbcc94ba9e fixed missing ansi header 2004-05-13 19:55:25 +00:00
Jeff Hill
c91c7b32f0 use TCP circuits 2004-05-13 19:53:28 +00:00
Jeff Hill
a4c47660f3 added socket unblock mechanism test 2004-05-13 15:33:23 +00:00
Jeff Hill
800d614eed added socket unblock mechanism test 2004-05-13 15:22:25 +00:00
Marty Kraimer
0381f13e3f more changes for allowing FILE *fp for diagnostics 2004-05-13 15:19:49 +00:00
Jeff Hill
22bc683370 rearranged test order 2004-05-13 15:08:29 +00:00
Jeff Hill
87b4d8db21 added socket unblock mechanism test 2004-05-13 14:48:28 +00:00
Jeff Hill
37958418e4 added socket unblock mechanism test 2004-05-13 14:35:24 +00:00
Jeff Hill
965a511c47 added socket unblock mechanism test 2004-05-12 20:51:25 +00:00
Jeff Hill
ce29419d3d fixed beacon address list configuration doc 2004-05-11 18:14:53 +00:00
Marty Kraimer
8992b2c956 build softIoc.dbd from makefile 2004-05-11 14:06:17 +00:00
Jeff Hill
53ce107e5f fixed use of gdd::dataAddress() where gdd::dataVoid() should be used 2004-05-11 00:07:16 +00:00
Jeff Hill
810e60fc98 more doc on the ca repeater 2004-05-10 22:10:26 +00:00
Jeff Hill
0189d48d73 removed #define DEBUG 2004-05-10 21:37:49 +00:00
Janet B. Anderson
afd785354a Used fullpath name from SHRLIB_SEARCH_FULLPATHDIRS. 2004-04-30 16:01:04 +00:00
W. Eric Norum
6ef89dd871 Even though the comment is within C++ conditionals some compilers
generate warnings for the C++ style comment.
2004-04-30 14:55:08 +00:00
Janet B. Anderson
7a920f831d Defines fullpath name only for rpath and -R dirs on link lines. 2004-04-29 17:47:34 +00:00
Jeff Hill
cab998f40d renamed chronIntIdResTable::add to chronIntIdResTable::idAssignAdd to avoid
hiding resTable::add in the public base class
2004-04-28 22:15:06 +00:00
Jeff Hill
563733cf3c changed to call new idAssignAdd func 2004-04-28 22:11:25 +00:00
Jeff Hill
7e80920164 improved debug diagnostics 2004-04-28 22:04:35 +00:00
W. Eric Norum
21e72e7f13 Change include quotes from "" to <>.
When "" are used the posix osiUnistd.h is included rather than the
os-specific osiUnistd.h.
2004-04-28 20:06:05 +00:00
W. Eric Norum
fae1b240f6 Add epicsSnStrPrintEscaped 2004-04-28 02:35:13 +00:00
W. Eric Norum
ee99561235 No, Darwin really does need to use signals to unblock socket I/O. 2004-04-28 01:20:50 +00:00
W. Eric Norum
14aa5b47b0 Darwin uses shutdown rather than signals to break out of socket I/O. 2004-04-27 21:33:44 +00:00
Andrew Johnson
eb78bf867f Spectrum Record was removed. 2004-04-27 20:32:07 +00:00
Andrew Johnson
81ad1fe161 LynxOS no longer supported. 2004-04-27 18:27:48 +00:00
Jeff Hill
5ed18e6e6f added missing #include 2004-04-27 18:07:58 +00:00
Jeff Hill
b76257a0d6 fixed temp file creation issues on win32 2004-04-27 17:39:25 +00:00
Andrew Johnson
d844c2dd61 LynxOS support files were removed from configure/os some time back. 2004-04-27 14:57:54 +00:00
Janet B. Anderson
eb40c4e79b Added code for cygwin. 2004-04-26 21:49:42 +00:00
Andrew Johnson
068613e447 Fix for Win32 2004-04-26 16:11:29 +00:00
Jeff Hill
4c606f43e7 fixed id string 2004-04-26 14:29:23 +00:00
Andrew Johnson
c6a0e60989 EPICS_TS_NTP_INET fix. 2004-04-23 18:39:58 +00:00
Andrew Johnson
cb4604a157 Add dependencies for envData.c 2004-04-23 18:16:22 +00:00
Andrew Johnson
0b52634e38 Use envGetConfigParamPtr() instead of getenv() for EPICS_TS_NTP_INET,
needed to allow a default time server to be set in CONFIG_SITE_ENV.
Also cleaned up some unnecessary string copying.
2004-04-23 17:56:07 +00:00
Andrew Johnson
ff3329b0f9 Added a note about the bldEnvData.pl script fix. 2004-04-22 21:28:05 +00:00
Andrew Johnson
76f1fdf92d Tidy up, fixed problem in Bug #76. 2004-04-22 20:10:10 +00:00
Ralph Lange
09ef609f43 Use epicsTime (instead of tsDefs); improved timestamp format and behaviour; fixed compiler warnings. 2004-04-22 15:56:59 +00:00
Ralph Lange
5e5346e6b3 oops. 2004-04-21 18:58:46 +00:00
Ralph Lange
a011b98f62 += cainfo 2004-04-21 18:50:40 +00:00
Ralph Lange
72a1539a86 += '-g' option to set %g precision 2004-04-21 18:27:42 +00:00
Ralph Lange
f169cd57f9 camonitor += relative and incremental timestamps 2004-04-21 13:46:28 +00:00
W. Eric Norum
429c47eb11 Add epicsStrSnPrintEscaped. 2004-04-20 01:05:23 +00:00
Andrew Johnson
cac8ee7b0e Removed dbCommon.h dependency on O.Common directory, it was causing much
extra compilation and linking the *second* time you run gnumake.
2004-04-19 21:54:44 +00:00
Ralph Lange
27f39ec664 += camonitor 2004-04-19 16:40:28 +00:00
Ralph Lange
42489a84d4 Bugfix in trigger mask spec 2004-04-19 10:31:34 +00:00
Andrew Johnson
8996ab2b5c Replace all the $(HOME)/... includes with a minimal and sufficient set
which will not cause problems if $(HOME) is also a regular <top>.
2004-04-14 16:22:31 +00:00
Ralph Lange
b3872bf14a Fixed DLL definitions for epicsGetopt (on WIN) 2004-04-14 15:45:27 +00:00
Ralph Lange
1ab4c344aa += epicsGetopt to declare (default) or implement (WIN) getopt() 2004-04-14 14:38:25 +00:00
Janet B. Anderson
30efff9cd0 Added RULES_IDL 2004-04-13 16:21:52 +00:00
Janet B. Anderson
c93585e950 Initial version. 2004-04-13 16:16:15 +00:00
Janet B. Anderson
07fd7b3588 Removed extra definition of JAVA_INCLUDES. 2004-04-13 16:03:40 +00:00
Janet B. Anderson
3f290c6c9e Use perl tools from config/tools directory instead of bin directory. 2004-04-09 14:11:17 +00:00
Janet B. Anderson
3068262901 Added rule to build name.db from name.template. 2004-04-08 19:33:59 +00:00
Marty Kraimer
5453865724 dbReportDeviceConfig had wrong arguments 2004-04-08 18:02:30 +00:00
Janet B. Anderson
c3c1c6c980 Moved install db from O.Common rule. 2004-04-08 16:27:47 +00:00
Janet B. Anderson
4599f5540a Changed main to int main. 2004-04-07 20:14:11 +00:00
Janet B. Anderson
e8c5ab29fa Don't use gcc for preprocessing. 2004-04-07 18:34:25 +00:00
Janet B. Anderson
68556e0534 COMMON_DIR changes. 2004-04-07 18:33:37 +00:00
Janet B. Anderson
5ea6509553 Added SHARED_LIBRARIES comment. 2004-04-07 18:27:16 +00:00
Janet B. Anderson
ef50d04061 Modified JAVA definitions. 2004-04-07 16:11:56 +00:00
Janet B. Anderson
07e0bce2d3 Modified JAVA defs. 2004-04-07 16:09:16 +00:00
Marty Kraimer
6b0f70a734 fix memory leak in epicsThreadPrivateDelete 2004-04-07 14:19:30 +00:00
Marty Kraimer
93b46f62a5 fix memory leak 2004-04-07 13:14:00 +00:00
Janet B. Anderson
5b30180c3f Removed COMMON_DIR from dbd vpath. 2004-04-06 20:54:03 +00:00
Marty Kraimer
2e21360559 changes to db test shell commands 2004-04-06 14:06:25 +00:00
Marty Kraimer
d212f0428b add dbReportDeviceConfig 2004-04-06 13:47:27 +00:00
Marty Kraimer
5f08b2170a make test commands more crash resistant 2004-04-06 13:26:56 +00:00
Marty Kraimer
31c88f6044 make dbReportDeviceConfig work if report is null 2004-04-05 19:06:03 +00:00
Marty Kraimer
8c4e8dd35f ascar is new 2004-04-05 16:06:06 +00:00
Marty Kraimer
9be94797d5 as dump commands have an FP version 2004-04-05 15:40:38 +00:00
Janet B. Anderson
52f10d9b47 Initial version. 2004-04-05 15:07:44 +00:00
Janet B. Anderson
1165285c6f Added SHRLIB_SEARCH_DIRS using fullpathname. 2004-04-05 15:07:03 +00:00
Janet B. Anderson
6d8753602e Added support for AIX. 2004-04-05 15:01:23 +00:00
Janet B. Anderson
65130ee6bd Added -D_REENTRANT on CPPFLAGS. 2004-04-05 14:39:28 +00:00
Janet B. Anderson
1e0ecdb3fe Added definitions for runtime libraries. 2004-04-05 14:38:30 +00:00
Janet B. Anderson
da35bba798 Added -D_REENTRANT to CPPFLAGS. 2004-04-05 14:36:30 +00:00
Janet B. Anderson
4a03176538 Added GNU_TARGET definition. 2004-04-05 14:25:06 +00:00
Marty Kraimer
ff08561ba0 fix double to float conversion bug 2004-04-05 13:17:30 +00:00
Marty Kraimer
610eb4ea87 add epicsConvert 2004-04-05 12:54:27 +00:00
Marty Kraimer
6ff5355e3e epicsConvert is new. For now it just has epicsConvertDoubleToFloat 2004-04-05 12:41:02 +00:00
Jeff Hill
a0e0cd7ef5 fixed channel uninstall message was not sent to server and other problems 2004-04-02 00:01:45 +00:00
Janet B. Anderson
2074838a12 Allow metacharacters in fullpath name. 2004-04-01 18:39:19 +00:00
Jeff Hill
b4137fe9df print only one message for each beacon if every beacon is printed 2004-03-31 22:10:50 +00:00
Jeff Hill
1d6a7f59f4 print only one message for each beacon if every beacon is printed 2004-03-31 22:01:04 +00:00
Jeff Hill
7e606dafac removed use of %T which isnt in ansi C 2004-03-31 21:25:49 +00:00
Jeff Hill
672d4a6dbb every beacon printed option for casw 2004-03-31 20:41:13 +00:00
Jeff Hill
e3ad8f867e every beacon printed option 2004-03-31 20:36:01 +00:00
Andrew Johnson
40e79bace4 Switch back from a registrar() entry to a function() entry.
Use the new DBD file auto-constructor, with conditionals.
Make SNC compilation conditional on $(SNCSEQ).
Build both standalone and component versions of sncExample.
2004-03-31 19:30:06 +00:00
Andrew Johnson
ea297a6078 MakefileInclude needs rebuilding if configure/RELEASE changes. 2004-03-31 17:09:04 +00:00
Andrew Johnson
bfb3de64ce Use double for local type, not float. 2004-03-31 16:41:02 +00:00
Andrew Johnson
af97e702d1 Added function() keyword handling to dbd files again, works properly now.
Also moved the code from the generated app_registerRecordDeviceDriver.cpp
file to iocsh/registryCommon.*
2004-03-30 21:56:26 +00:00
Janet B. Anderson
ff54104aa0 Fixed usage, error message, and cleaned up file. 2004-03-30 20:35:51 +00:00
W. Eric Norum
8da4eb3b46 Add epicsRegisterFunction. 2004-03-30 19:58:40 +00:00
Ken Evans
35d8565e41 Added linefeed at the end of osdTime.h. 2004-03-29 19:55:34 +00:00
Ken Evans
a473612084 Added a version of gphDump that writes to an arbitrary file pointer
rather than stdout.
2004-03-29 19:35:58 +00:00
Ken Evans
2f827fc92d Added versions of the dump routines that write to an arbitrary file
pointer instead of stdout.
2004-03-29 19:32:20 +00:00
Andrew Johnson
5201304c10 Suppress echo echo 2004-03-25 17:20:34 +00:00
Janet B. Anderson
26b6974cfa Simplify changes to create <name>Include.dbd from <name>_DBD files. 2004-03-25 17:09:58 +00:00
Andrew Johnson
d80664f33f Fixed problem on uninstall with no bin/* and lib/* dirs. 2004-03-25 16:44:29 +00:00
Janet B. Anderson
6a71ba0026 Note about dbd rule to create xxxInclude.dbd from xxx_DBD files. 2004-03-25 16:08:29 +00:00
Janet B. Anderson
b25c2e9d4c Build *_registerRecordDeviceDriver.cpp from dbd file in $(COMMON_DIR). 2004-03-25 15:56:10 +00:00
Janet B. Anderson
11e5c14c7f Changes to create <name>Include.dbd from <name>_DBD files. 2004-03-25 14:50:08 +00:00
Jeff Hill
5bf1789650 added fix for failure when nill access rights handler installed 2004-03-25 01:03:29 +00:00
Jeff Hill
b984a302c6 added test to detect failure when nill access rights handler installed 2004-03-25 01:03:08 +00:00
Janet B. Anderson
b389342440 Added noes about solaris 6 defs removal and new targets cvsclean archclean. 2004-03-24 20:43:30 +00:00
Janet B. Anderson
ad89f422ce Added new arch clean which only removes O.<arch> dirs not O.Common. 2004-03-24 20:20:04 +00:00
Janet B. Anderson
6af0cdeb50 Initial version. 2004-03-24 20:14:04 +00:00
Janet B. Anderson
d900b9fd63 Added cvsclean rule. 2004-03-24 20:12:26 +00:00
Jeff Hill
c5db766b33 new functions that fetch on behalf host name and user name 2004-03-24 19:20:58 +00:00
Jeff Hill
36f9090897 new functions that fetch on behalf host name and user name 2004-03-24 19:02:56 +00:00
Jeff Hill
58d4f27307 new functions that fetch on behalf host name and user name 2004-03-24 18:56:55 +00:00
Jeff Hill
ea35450f45 dont use strcpy, and supress memcpy if src and dest ptr are equivalen 2004-03-24 18:07:52 +00:00
W. Eric Norum
3bc6a48ade Install correct handler.
Avoid infinitely-recursive handler calls.
2004-03-24 17:57:56 +00:00
W. Eric Norum
a170d40be2 Read errors resulting from interrupted system calls are not fatal. 2004-03-24 01:45:23 +00:00
Andrew Johnson
7c34b847e0 Removed spectrumRecord. 2004-03-23 22:09:58 +00:00
Andrew Johnson
c07e6af98c Removed spectrumRecord and related libCom code. 2004-03-23 20:47:42 +00:00
Jeff Hill
7e0b996c72 added sections on behavior changes in R3.14.5 2004-03-22 23:22:22 +00:00
Jeff Hill
2369ade2fa clarified how one determines if a channel is connected 2004-03-22 23:12:17 +00:00
Janet B. Anderson
7c99669444 Removed dos2unix conversion. 2004-03-22 20:31:20 +00:00
Jeff Hill
16e182a89c new subscription member func preventing subscription from being installed twice 2004-03-22 18:38:29 +00:00
Jeff Hill
ebfded8107 new flag preventing subscription from being installed twice 2004-03-22 18:36:59 +00:00
Jeff Hill
d7df37414c workaround for problems occurring when a channel or subscription is deleted in a put callback handler 2004-03-22 18:36:25 +00:00
Jeff Hill
48d48343ae workaround for problems occurring when a channel or subscription is deleted in a get callback handler 2004-03-22 18:35:54 +00:00
Jeff Hill
c49db18285 removed status check from ca_pend_event 2004-03-22 18:33:09 +00:00
Jeff Hill
41f7f4ef81 new regression tests 2004-03-19 21:59:55 +00:00
W. Eric Norum
8ea67657bc Provide more information in error message. 2004-03-18 22:44:15 +00:00
Janet B. Anderson
bbd1080208 Added if test for COMPAT* macros. 2004-03-05 15:38:48 +00:00
Janet B. Anderson
3fc3300e54 Changed $(TOP)/bin to $(INSTALL_BIN) 2004-03-03 22:22:40 +00:00
Janet B. Anderson
11da58cc5b Added dos2unix rules for win32. 2004-03-03 14:39:11 +00:00
Janet B. Anderson
2cdbee7d32 Removde temporary definition to get things to at least compile. 2004-02-27 18:39:32 +00:00
Janet B. Anderson
9a48a5c906 Added INSTALL_IDLFILE definition and include for CONFIG.<host>.<target>. 2004-02-26 22:03:40 +00:00
Janet B. Anderson
e46c04d514 Added includes for RULES_IDL and RULES_PYTHON. 2004-02-26 22:01:57 +00:00
Janet B. Anderson
d192351f77 Initial version. 2004-02-26 22:01:04 +00:00
Janet B. Anderson
454bd2b0a5 Added various product definitions. 2004-02-26 21:59:33 +00:00
Janet B. Anderson
5b1d6ac38f Modified X11 and Motif directories. 2004-02-26 21:58:56 +00:00
Janet B. Anderson
0d071c9f0c Added binmode on output file and some comments. 2004-02-19 22:39:12 +00:00
W. Eric Norum
bfd0826f03 A NULL or empty name is an error. 2004-02-19 01:17:39 +00:00
W. Eric Norum
72db656797 Don't dereference NULL pointer argument. 2004-02-19 01:15:08 +00:00
W. Eric Norum
0e3f04824e Don't pass NULL pointer to iocsh. 2004-02-19 01:09:44 +00:00
Jeff Hill
509ff37ec4 better fix for win32 dll export warnings (considering how epixExport.h works) 2004-02-18 22:34:15 +00:00
Jeff Hill
4a1612e133 fixed win32 dll export warnings 2004-02-18 22:24:42 +00:00
Jeff Hill
e80aa34d00 added comment about lifespan of dbr pointer 2004-02-17 16:01:47 +00:00
Marty Kraimer
4d3fcd56bf epicsExport now generates p_var_typ_obj 2004-02-17 14:43:04 +00:00
Marty Kraimer
16832b9f07 replace p by pcar_<type>_ 2004-02-17 13:32:57 +00:00
Marty Kraimer
323e378fc5 check for access security not started 2004-02-17 13:23:28 +00:00
Marty Kraimer
82f5d588db replace p by pcar_<type>_ 2004-02-17 13:21:39 +00:00
Janet B. Anderson
08e0d5a5bc Changed LIBSRCS to LIB_SRCS. 2004-02-13 21:44:44 +00:00
Marty Kraimer
6bf437cf28 remove vardefs; use variable definition instead 2004-02-13 18:55:32 +00:00
Marty Kraimer
2ef8d4b21a add asCaDebug variable 2004-02-13 18:54:14 +00:00
Marty Kraimer
f32d647482 changes to make things build 2004-02-13 18:51:42 +00:00
Marty Kraimer
5f712bde67 for asCaDebug change & to p 2004-02-12 16:31:29 +00:00
Marty Kraimer
6f58f32c96 for variable type is void * const 2004-02-12 14:40:54 +00:00
Janet B. Anderson
9e9d2c91f6 Removed old solaris 6 specific compiler options. 2004-02-11 17:20:40 +00:00
Jeff Hill
318a0b6d1d Installed spectrum record 2004-02-11 00:45:49 +00:00
Janet B. Anderson
b66388ea9d Changed OP_SYS_LDFLAGS to +=. 2004-02-10 22:04:38 +00:00
Janet B. Anderson
2bfe077968 Moved -mt option to COMPILER_CPPFLAGS. 2004-02-10 22:03:24 +00:00
Janet B. Anderson
6cda511ed8 Changes for -mt flag and READLINE library defininitions. 2004-02-10 22:02:40 +00:00
Janet B. Anderson
79b47c4f54 More changes for -mt flag. 2004-02-10 22:00:55 +00:00
Jeff Hill
d6c0e9dcc5 installed spectrum record 2004-02-10 21:46:53 +00:00
Jeff Hill
13a779ca81 installed fft routines 2004-02-10 21:43:57 +00:00
Jeff Hill
7517890d03 installed 2004-02-10 21:43:17 +00:00
Marty Kraimer
8d043dfe6e gret rid of dead code 2004-02-10 21:09:02 +00:00
Janet B. Anderson
c282a107eb Added COMPAT_TOOLS_313 to if test. 2004-02-10 16:02:19 +00:00
Janet B. Anderson
113878e491 Added -mt option to link lines. 2004-02-10 16:01:45 +00:00
Janet B. Anderson
c02246e7cc Added -mt option to compile and link lines. 2004-02-10 16:01:17 +00:00
Marty Kraimer
74af851746 access security changes 2004-02-10 15:04:12 +00:00
Marty Kraimer
bc81744d8f add ascar 2004-02-10 14:52:46 +00:00
Marty Kraimer
29335e7672 add copyright notice 2004-02-10 14:52:39 +00:00
Marty Kraimer
7282989961 add copyright notice 2004-02-10 14:35:19 +00:00
Janet B. Anderson
c4e42b4bdc Added -mt option to compile line and link line. 2004-02-09 21:53:36 +00:00
Janet B. Anderson
4410805493 Added -mt to compile line and link line of solaris compiler builds. 2004-02-09 21:52:07 +00:00
Andrew Johnson
b607b062ba Added documentation check. 2004-02-09 21:30:36 +00:00
Andrew Johnson
13eb94b6be This problem was fixed in R3.14.5. 2004-02-09 21:30:12 +00:00
Jeff Hill
8799d3c6ba fixed template arg does not default with sunpro 2004-02-09 21:28:07 +00:00
Andrew Johnson
d6b34a9732 Oops, undo (wrong tree). 2004-02-09 20:38:21 +00:00
Andrew Johnson
08cb4a265a changes so that it builds on solaris. 2004-02-09 20:36:19 +00:00
Jeff Hill
f8829aed21 fix compiler warnings 2004-02-09 17:13:58 +00:00
Jeff Hill
4bf312df58 fix compiler warnings and clear out redundant code 2004-02-07 01:34:59 +00:00
Jeff Hill
2c68ac3a10 fixed sunpro warnings 2004-02-07 01:22:26 +00:00
Jeff Hill
1fa297d34f fixed sunpro warnings 2004-02-07 01:21:30 +00:00
Jeff Hill
452a040183 fixed sunpro warnings 2004-02-07 00:38:19 +00:00
Andrew Johnson
0b51e1f972 Remove tokenNAME, everything uses tokenSTRING instead. 2004-02-06 19:23:09 +00:00
Jeff Hill
410623730b fixed spelling 2004-02-06 16:28:27 +00:00
Jeff Hill
35f9e3dcbb fixed enobuf causes stuck send thread 2004-02-05 22:58:35 +00:00
Jeff Hill
0a93c81e2c fixed gnu warnings 2004-02-05 01:16:02 +00:00
Jeff Hill
a5fd9c839e updated to include late breaking bug 2004-02-04 22:57:47 +00:00
Andrew Johnson
cc2e2082b7 R3.14.5 Release. 2004-02-04 20:45:33 +00:00
Jeff Hill
dd1b4d2791 fixed warnings 2004-02-04 17:35:08 +00:00
Andrew Johnson
1a1078f961 Ok to release. 2004-02-04 16:13:26 +00:00
Andrew Johnson
51df33928f Set release date. 2004-02-04 16:09:57 +00:00
Ralph Lange
c0d6282157 aCC version update 2004-02-04 11:22:08 +00:00
Ralph Lange
58879ff350 Bugfix - mostly a minor cut'n'paste issue. 2004-02-04 10:30:04 +00:00
Jeff Hill
8e499dcfb7 fixed warnings 2004-02-04 02:14:29 +00:00
Jeff Hill
82cb39fcd5 cosmetic 2004-02-04 02:13:25 +00:00
Jeff Hill
b868ce79b7 fuixed ms warnings 2004-02-04 02:12:05 +00:00
Jeff Hill
a00c041353 fixed debug diagnostics 2004-02-04 02:11:38 +00:00
Jeff Hill
afb643443f fixed no reconnect 2nd time bug 2004-02-04 02:10:30 +00:00
Jeff Hill
0dc56953ff removed junk 2004-02-04 02:10:00 +00:00
Jeff Hill
8459529f70 use global printf for debug stuff 2004-02-04 02:09:43 +00:00
Jeff Hill
9fb90cfcab supress sun pro warnings 2004-02-04 02:09:11 +00:00
W. Eric Norum
fbf90dd641 Remove unreachable code. 2004-02-03 21:35:25 +00:00
W. Eric Norum
585e2f7d6c Stupid vxWorks implementation of toupper/tolower expands macro argument more than once! 2004-02-03 16:49:33 +00:00
Ralph Lange
0da4a9df30 Cosmetic 2004-02-03 15:33:45 +00:00
Ralph Lange
936f5a48b6 Bugfixes for compiling with -DDEBUG 2004-02-03 13:48:43 +00:00
Ralph Lange
429a135265 Bugfixes for compiling with -DDEBUG 2004-02-03 13:42:42 +00:00
Jeff Hill
2a8a75fdc9 fixed logic error in repeaterClient::verify 2004-02-03 03:32:00 +00:00
Jeff Hill
9231d4c9b9 removed repeater confirm through cac 2004-02-03 03:04:42 +00:00
Jeff Hill
4bb85b7256 improved diagnostic 2004-02-03 02:21:01 +00:00
Jeff Hill
9977039b55 cosmetic 2004-02-03 02:20:44 +00:00
Jeff Hill
fb6c0cd8fc improved diagnostics 2004-02-03 01:45:56 +00:00
Jeff Hill
351a45b734 new show interface 2004-02-03 01:45:45 +00:00
Jeff Hill
c1e2dc29bd removed overly stringent assert 2004-02-02 20:13:15 +00:00
Jeff Hill
b10a642321 ignore sigpipe and sigalrm 2004-02-02 18:31:53 +00:00
Jeff Hill
c49757c9b5 dont print message or wakeup receive thread from send thread
if its a receive thread initiated shutdown
2004-02-02 18:26:49 +00:00
Ralph Lange
89c136d426 Best not to bracket include with extern "C" 2004-02-01 17:26:10 +00:00
Ralph Lange
e6587e9755 Fix to get around weird HP aCC behaviour ("C" linkage for friends):
caInstallDefaultService() calls a static member function instead of being a friend.
2004-02-01 15:44:24 +00:00
Ralph Lange
3d27e9aeb1 Suppress HP aCC warnings. 2004-01-31 21:13:28 +00:00
Jeff Hill
4c2a8386a1 clean up better if we receive disconnect notification when sending 2004-01-30 01:35:55 +00:00
Jeff Hill
d2d71324da cosmetic 2004-01-30 01:25:16 +00:00
Jeff Hill
70a6e931fb best not to bracket include with extern "C" 2004-01-30 01:24:22 +00:00
Ralph Lange
ac1258fcc7 Bugfix; added note to keep people from using parseOptions(). 2004-01-28 20:48:31 +00:00
Andrew Johnson
6f931a18f1 Fixed various compiler warnings. 2004-01-28 00:04:03 +00:00
Andrew Johnson
e0b918ce08 Ancient files, no longer used. 2004-01-27 22:03:11 +00:00
Andrew Johnson
12b51ec036 Force aitInt8 to be signed - ANSI allows chars to be unsigned 2004-01-27 21:54:06 +00:00
Janet B. Anderson
6b16dbac9d Added name_OBJLIBS osclass tests and definitions. 2004-01-27 20:30:27 +00:00
Jeff Hill
a6d1becc7a deleted repeated word 2004-01-27 20:26:20 +00:00
Jeff Hill
d2893ab3fb fixed structure 2004-01-27 19:45:19 +00:00
Jeff Hill
791fba7274 fixed structure 2004-01-27 19:34:40 +00:00
Jeff Hill
5bd8fe9148 fixed structure 2004-01-27 18:43:44 +00:00
Jeff Hill
a9abc6ee1c fixed spelling 2004-01-27 18:33:08 +00:00
Jeff Hill
945a5e7930 added section discussing reconnect issues when server's address changes 2004-01-27 18:09:37 +00:00
Jeff Hill
4b50e4d060 fixed ms warnings 2004-01-27 00:35:40 +00:00
Jeff Hill
50cc1e967e fixed disconnect notify supressed when channel state is disconnected 2004-01-27 00:33:15 +00:00
Jeff Hill
67937c1b74 fixed shutdown deadlock 2004-01-27 00:32:55 +00:00
Jeff Hill
b59586dc83 fixed ms warnings 2004-01-27 00:27:52 +00:00
Jeff Hill
94a77fec91 fixed disconnect notify supressed when channel state is disconnected 2004-01-27 00:27:02 +00:00
Janet B. Anderson
b11b328317 Initial version. 2004-01-26 21:05:27 +00:00
Janet B. Anderson
7f64d58e26 Added RANLIB definition. 2004-01-26 20:02:37 +00:00
Janet B. Anderson
4bcdad7722 Fixed typo. 2004-01-26 16:43:04 +00:00
Janet B. Anderson
f23fb5512e Removed ifeq and ifneq tests on vxWorks and RTEMS. 2004-01-26 01:30:01 +00:00
W. Eric Norum
cc79bd0f7d Minor cleanup. 2004-01-25 17:56:09 +00:00
Jeff Hill
36ffaa3968 fix unguard needs to be moved inside of sate test (that needs to be guarded) 2004-01-24 00:13:59 +00:00
Jeff Hill
57420c3e3c removed legacy unguard incompatible with current structure of code 2004-01-24 00:13:16 +00:00
Andrew Johnson
65c202c80f Don't generate an empty file if registerRecordDeviceDriver.pl fails. 2004-01-23 22:57:26 +00:00
Jeff Hill
bc9c0eb526 fixed gnu warnings 2004-01-23 20:36:54 +00:00
Jeff Hill
565a47935c fixed solaris warnings 2004-01-23 20:15:35 +00:00
Jeff Hill
bb05cea3c1 fixed solaris warnings 2004-01-23 19:55:11 +00:00
Andrew Johnson
8087b29199 Make the parser slightly more robust against comments and
other uses of the keywords.
2004-01-23 19:26:11 +00:00
Janet B. Anderson
a2b69080ca Removed config files for unused architecutres. 2004-01-23 19:06:07 +00:00
Janet B. Anderson
5924f1e002 Removed extra comma in findstring function. 2004-01-23 18:09:16 +00:00
Marty Kraimer
19eb4e7fd5 add ifdef __cplusplus 2004-01-23 16:26:32 +00:00
Jeff Hill
042f24ee8a added ca changes for R3.14.5 2004-01-22 23:11:08 +00:00
Janet B. Anderson
4b11e5242c Fixed .stt rule. Changed syntax of command to remove suffix. 2004-01-22 22:02:50 +00:00
Janet B. Anderson
ffb5098abc Fixed .stt rule. 2004-01-22 22:00:26 +00:00
Jeff Hill
21ea090431 fixed missing code interfacing back to net io subsystem 2004-01-22 21:04:03 +00:00
Jeff Hill
3ffea2456c hybernate when there are enobuf problems 2004-01-22 20:43:13 +00:00
Jeff Hill
2d41308609 hybernate send threads when there are enobuf problems 2004-01-22 20:37:20 +00:00
Jeff Hill
fbe397addb hybernate receive threads when there are enobuf problems 2004-01-22 20:31:21 +00:00
Jeff Hill
3c8efba3c4 hybernate send/receive threads when there are enobuf problems 2004-01-22 19:17:32 +00:00
Jeff Hill
5b1507e15e cosmetic 2004-01-22 19:09:06 +00:00
Jeff Hill
a624ca3bdd workaround for 68k cross compiler bug 2004-01-22 17:55:39 +00:00
Janet B. Anderson
59a2bedda5 Removed files with bad names and added files with correct names. 2004-01-22 15:55:06 +00:00
Janet B. Anderson
541986e5f4 Added PREPROCESS.cpp definition. 2004-01-22 15:02:06 +00:00
Janet B. Anderson
b384578105 Added null definitions for STATIC_LDFLAGS and RANLIB for cross builds. 2004-01-22 15:00:58 +00:00
Ralph Lange
91eaa26047 += First version of CA commandline tools (caget only) 2004-01-20 17:22:05 +00:00
Marty Kraimer
f61e5d1491 change wording 2004-01-20 17:03:58 +00:00
Janet B. Anderson
71c8913e2c Added info about COMPAT_TOOLS_313. 2004-01-20 16:48:36 +00:00
Janet B. Anderson
43f69c266e Added test on COMPAT_TOOLS_313. 2004-01-20 16:39:37 +00:00
Janet B. Anderson
f0b6960189 Added COMPAT_TOOLS_313. 2004-01-20 16:38:56 +00:00
Janet B. Anderson
206b24d4c5 Changed COMPAT313 to COMPAT_313. 2004-01-20 15:41:25 +00:00
Ralph Lange
b53ad8b82f Removed malloc.h reference (Eric says ANSI says stdlib.h) 2004-01-20 15:29:47 +00:00
Marty Kraimer
3bc5fb63d1 dont print ? as escaped character 2004-01-20 15:27:29 +00:00
Ralph Lange
3ea334068e Added parseOptions to add getopt() functionality (and allow compiling on WIN32) 2004-01-20 12:41:16 +00:00
cvs2svn
f58b4e2efd This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-01-20 12:38:42 +00:00
Janet B. Anderson
611d49a06c Updated the R3.13 compatability notes. 2004-01-19 21:15:35 +00:00
W. Eric Norum
157003598f Add dbtr note. 2004-01-19 19:54:37 +00:00
W. Eric Norum
0b3f346659 Don't seg-fault if no argument is passed to dbtr. 2004-01-19 19:52:08 +00:00
Marty Kraimer
e53964fbba wrong prototype fot devInit 2004-01-19 19:20:00 +00:00
Marty Kraimer
f24825aee9 bad arg to errlogPrintf 2004-01-19 19:14:38 +00:00
Janet B. Anderson
25d76153ff Fixed Makefile so distclean target will work. 2004-01-19 17:02:31 +00:00
Ralph Lange
adff31997d += catools 2004-01-19 16:11:49 +00:00
Ralph Lange
249152d650 += catools 2004-01-19 16:11:41 +00:00
Ralph Lange
bae8f2515e += caget 2004-01-19 16:08:30 +00:00
Janet B. Anderson
9e168bfd69 Changed nda to _USER_. 2004-01-19 15:02:30 +00:00
Ralph Lange
b69b906c14 Cosmetic changes. 2004-01-19 10:35:05 +00:00
Janet B. Anderson
6c2540a462 Updates from nda. 2004-01-16 22:59:07 +00:00
Janet B. Anderson
333d00abb9 Added APS Virtual LINAC Templates.
Added not about building R3.13 extensions.
2004-01-16 22:50:12 +00:00
Janet B. Anderson
118807d776 Removed CMPLR_PREFIX and CMPLR_SUFFIX definitions. 2004-01-16 17:36:25 +00:00
Janet B. Anderson
4325c27f3e Added SHRLIB_CFLAGS definition. 2004-01-16 17:34:42 +00:00
Janet B. Anderson
634696132e Change test to test on BUILD_CLASS not CROSS. 2004-01-16 17:33:40 +00:00
Janet B. Anderson
a03b21e635 Get os from T_A not OS_CLASS (dont want words with upper case letters). 2004-01-16 17:05:24 +00:00
Jeff Hill
b6e0dbaec7 cleanned up win32 thread entry 2004-01-15 23:24:08 +00:00
Janet B. Anderson
6775981bf6 Does not make sense to have a version number on loadable libraries. 2004-01-15 22:49:55 +00:00
Janet B. Anderson
0fde7b6d84 Added defines to make this a non cross build. 2004-01-15 22:16:52 +00:00
Janet B. Anderson
45363a24b0 Modified comments. 2004-01-15 22:15:09 +00:00
Janet B. Anderson
e513e30866 Moved LDLIBS_READLINE definition. 2004-01-15 22:14:11 +00:00
Janet B. Anderson
5f357e94b0 Removed versioning on install of loadable shrlibs. 2004-01-15 22:05:38 +00:00
Andrew Johnson
1425980268 Cleanup: removed two ancient unused routines. 2004-01-15 20:54:02 +00:00
Andrew Johnson
4c0bf5025f Fix issue with one unpatched Solaris compiler version. 2004-01-15 20:01:31 +00:00
Jeff Hill
0437370e49 fixed TCP and UDP information too close together in casr 2004-01-15 18:52:40 +00:00
Jeff Hill
d543774f33 fixed gnu warnings 2004-01-15 17:30:00 +00:00
Andrew Johnson
552e47ae5f These look like someone's leftovers. 2004-01-15 17:05:45 +00:00
Janet B. Anderson
6de4d8c7a2 Commented out PERLLIB definition. 2004-01-15 15:22:37 +00:00
Janet B. Anderson
10bf550911 Added New build targets. 2004-01-15 15:08:24 +00:00
Marty Kraimer
1c493e9ec0 fix type error 2004-01-15 13:35:38 +00:00
Jeff Hill
24d2d57d62 dont check to see if timer thread is suspended when blocking for it to shut down 2004-01-15 04:15:04 +00:00
Jeff Hill
b6b381cc78 fixed gnu warnings 2004-01-15 04:14:01 +00:00
Jeff Hill
5b4c37df17 make sure that evid is set before first subscription cb arrives 2004-01-15 03:16:54 +00:00
Jeff Hill
8bd3d4a8a0 fixed gnu warnings 2004-01-15 03:13:08 +00:00
Jeff Hill
67fbf44633 fixed io cancel shutdown order problem 2004-01-15 02:52:28 +00:00
Jeff Hill
a2531d6bc9 fixed gnu warnings 2004-01-15 02:51:35 +00:00
Jeff Hill
60a797048a many changes associated will disconnecting the channel but not disconnecting
the circuit
2004-01-15 01:42:49 +00:00
Janet B. Anderson
409aa721b9 Initial version. 2004-01-14 19:40:25 +00:00
Janet B. Anderson
448343bef8 Changed text to - Sequencer program not running 2004-01-14 15:20:45 +00:00
Marty Kraimer
0aa150f544 register dbLockShowLocked 2004-01-14 13:22:13 +00:00
Marty Kraimer
3771989a0c remove spin lock version 2004-01-14 13:20:24 +00:00
W. Eric Norum
4dc47cc3c7 Add epicsStrnCaseCmp(). 2004-01-13 23:07:11 +00:00
Janet B. Anderson
ca87b50a5a Removed sioc scripts. 2004-01-13 22:09:25 +00:00
Janet B. Anderson
a5cd52dad4 Initial version from Ned Arnold 2004-01-13 22:02:26 +00:00
Janet B. Anderson
fda69beae0 Initial version. 2004-01-13 22:02:13 +00:00
Janet B. Anderson
cb1e29e235 Changed $(CROSS_<name>) to $($(BUILD_CLASS)_<name>) 2004-01-13 21:38:17 +00:00
Janet B. Anderson
6c0bdcd717 Make SHRLIB_CFLAGS and override of previous definitions. 2004-01-13 21:35:23 +00:00
Janet B. Anderson
138ee471db Modified comment. 2004-01-13 16:39:33 +00:00
Janet B. Anderson
de70a70b1b Added COMPAT_313 macro for building/installing R3.13 compatability files. 2004-01-13 16:15:05 +00:00
Janet B. Anderson
2fd5fb4b22 Added dependancy comments. 2004-01-13 15:15:32 +00:00
Ralph Lange
0f3f74dbaf Cleaned up alarm status and severity string representation, alarmString.h is deprecated now. 2004-01-12 11:29:02 +00:00
W. Eric Norum
3f77bcdc08 Add timestamp stringing support. 2004-01-11 16:20:22 +00:00
Andrew Johnson
2d77802856 Changed to the EPICS Open License as agreed with ANL Legal. 2004-01-09 15:59:06 +00:00
Ralph Lange
bafee08673 Changed the strange way that receiveTimeoutNotify() was declared as HP's aCC compiler didn't like it. 2004-01-09 12:16:08 +00:00
Ralph Lange
78cce4015b Changed order of member initializers in tcpRecvWatchdog's constructor to avoid warning. 2004-01-09 10:57:35 +00:00
Ralph Lange
c140e69d40 Bugfix in tsDLList<T>::push 2004-01-09 09:38:05 +00:00
Jeff Hill
38599f8391 fixed template parameters to match 2004-01-09 01:30:28 +00:00
Jeff Hill
7166456564 throw srtandard exception 2004-01-09 01:06:38 +00:00
Jeff Hill
cde473e4d9 fixed names 2004-01-09 01:05:27 +00:00
Jeff Hill
f04fa5fdf3 many changes associated will disconnecting the channel but not disconnecting the circuit 2004-01-09 00:42:15 +00:00
Jeff Hill
60dde019c0 eliminate esscimqi_shuechanismImplemenedHerein 2004-01-08 23:04:58 +00:00
Jeff Hill
aba3613efc include <climits> 2004-01-08 23:04:25 +00:00
Jeff Hill
6691657c42 new list push method 2004-01-08 23:03:27 +00:00
W. Eric Norum
75ca062f1b Add simple device support for converting time to nicely-formatted string. 2004-01-08 21:10:29 +00:00
Ralph Lange
0dbaefd5d9 += version number for LOADABLE_SHRLIB. 2004-01-07 15:26:40 +00:00
Ralph Lange
f325c487bc Fixed LOADABLE_SHRLIB_PREFIX bug. 2004-01-07 14:13:54 +00:00
Ralph Lange
364e023331 Updated DST dates. 2004-01-07 10:58:20 +00:00
Ralph Lange
267d7593ba Works also for standard C comments. 2004-01-07 10:23:26 +00:00
Janet B. Anderson
3051293fe9 Fix for COMMANDLINE_LIBRARY = EPICS and no LD_LIBRARY_PATH. 2004-01-06 16:45:10 +00:00
Janet B. Anderson
d986ed523d Remove browse make target. 2003-12-22 19:43:29 +00:00
Janet B. Anderson
5e40c17b26 Added Darwin cppflag definition. 2003-12-22 19:40:58 +00:00
Janet B. Anderson
ef084aceaf The option -z ignore must preceed -z defs. 2003-12-18 22:10:38 +00:00
Janet B. Anderson
657a6c822a Reorganized *SHRLIB_LDFLAGS definitions. 2003-12-18 21:41:55 +00:00
Janet B. Anderson
7108f87c6e Added SHRLIB_CFLAGS=-KPIC. Added -z text to shrlib link lines. 2003-12-18 21:40:09 +00:00
Janet B. Anderson
416ec2c6ae Use SHRLIB_CFLAGS for library and loadable library source code compiles. 2003-12-18 21:37:34 +00:00
Janet B. Anderson
455060a705 Initial version. 2003-12-18 15:58:43 +00:00
Janet B. Anderson
8b15eddf12 Moved HOST_OPT to CONFIG. file. 2003-12-18 15:58:13 +00:00
Janet B. Anderson
a084474857 Initial version. 2003-12-18 15:35:28 +00:00
Janet B. Anderson
8d0d26b56d Removed -mcpu compiler option. Added code for 386,486,... cross builds 2003-12-18 15:34:38 +00:00
Janet B. Anderson
592660778d Use the default (i.e. no -mcpu=xxxx options) compiler settings. 2003-12-18 15:25:20 +00:00
Janet B. Anderson
4c4b80dc66 Added comments. 2003-12-18 15:23:24 +00:00
Janet B. Anderson
283fc8f3eb Moved HOST_OPT macro definition. 2003-12-18 15:14:38 +00:00
Janet B. Anderson
d9a1b65f36 Added comment line. 2003-12-17 17:28:32 +00:00
Janet B. Anderson
c9af50db0c Initial version. Used to mofdify created header files to avoid solaris
compiler warning messages when headers created from WIN32 build.
2003-12-17 17:05:55 +00:00
Janet B. Anderson
d7023b1f87 Changed order of _LDLIBS for consistancy. 2003-12-17 17:04:01 +00:00
Marty Kraimer
3f560514e2 changes so that it builds on solaris 2003-12-17 12:52:34 +00:00
Marty Kraimer
258ebe6bcd more changes for dbCaPutCallback 2003-12-16 20:13:36 +00:00
Marty Kraimer
fff249dd3a use callbackRequestProcessCallbackDelayed 2003-12-16 20:09:28 +00:00
Marty Kraimer
fdd78eaf81 support for dbCaPutCallback 2003-12-16 20:05:17 +00:00
cvs2svn
1758f60c79 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-12-16 20:02:24 +00:00
Marty Kraimer
13a780f4c4 Let calcoutRecord use device support 2003-12-16 19:51:34 +00:00
Marty Kraimer
5902d83d19 changes for dbCaPutCallback 2003-12-16 19:47:48 +00:00
Janet B. Anderson
d8ae672385 Added athlon flags. 2003-12-12 16:54:05 +00:00
Janet B. Anderson
89aa3edc12 Removed number of lines in comment. 2003-12-11 15:05:32 +00:00
Ralph Lange
03922dd993 Casting through a (void*) to avoid warnings on HP's native C++ compiler. (Found with motorRecord 5.2) 2003-12-10 15:11:43 +00:00
W. Eric Norum
943d2d2ac1 Add system command notes. 2003-12-08 23:17:43 +00:00
W. Eric Norum
d6c4117b35 Add support for iocsh 'system' command. 2003-12-08 20:37:14 +00:00
Marty Kraimer
9d57a77d90 issue message if FLNK is CA and doesnt access .PROC 2003-12-05 13:55:52 +00:00
Andrew Johnson
95859680f7 Needed for building on Solaris 9 2003-12-02 22:45:32 +00:00
Marty Kraimer
10fa0e0eb2 add epicsStrPrintEscaped 2003-12-01 16:04:23 +00:00
Marty Kraimer
b369035b9d add epicsStrPrintEscaped. 2003-12-01 16:03:31 +00:00
Andrew Johnson
47fc7f5d88 Change Tornado to use the patched compilers. 2003-11-21 21:22:24 +00:00
Andrew Johnson
0a3edefb39 Make cdCommands environment variable names match envPaths,
i.e. don't upper-case the app name.
Also added ARCH and IOC environment variables.
2003-11-21 21:11:30 +00:00
Andrew Johnson
3d5ab5cca5 Expanded the RELEASE consistency checking, now all target architecture
RELEASE.* files are checked, so you can't fool the system.
2003-11-21 20:33:00 +00:00
Andrew Johnson
68975ee309 Internal reorganization to simplify reading RELEASE files
Added -T option to allow manual setting of $top
2003-11-21 20:25:37 +00:00
Andrew Johnson
03a5551d93 Needed to build on Solaris 9. 2003-11-20 21:24:27 +00:00
Andrew Johnson
81fa76c132 Needed for building on Solaris 9 2003-11-20 21:14:32 +00:00
Jeff Hill
66959c07a8 return ECA_PUTFAIL instead of ECA_INTERNAL when unexpected write exception occurs 2003-11-14 16:55:09 +00:00
Jeff Hill
df1e65bc8a throw a standard exception 2003-11-14 16:52:55 +00:00
Jeff Hill
19dd302bd8 fixed regression tests so that they specify preemptive callback for local pv situation 2003-11-14 16:37:41 +00:00
Andrew Johnson
e0e0694821 Added the realclean target
removd command echo suppression to match other clean rules
2003-11-14 16:31:36 +00:00
W. Eric Norum
d2149209ea Fix nested comments in previous change. 2003-11-07 21:21:05 +00:00
W. Eric Norum
748e7cce1b Get rid of gcc complaint about C++ comments. 2003-11-07 19:15:21 +00:00
W. Eric Norum
71319ab5d5 Get rid ofgcc complaint about C++ comments. 2003-11-07 16:36:24 +00:00
Marty Kraimer
3cece37c92 add new notes 2003-11-06 17:11:02 +00:00
Marty Kraimer
9dc80154e3 changes for dbCaPutCallback and others 2003-11-06 17:09:21 +00:00
Marty Kraimer
ca17594d00 add devLoTestAsyn and devMbboDirectTestAsyn 2003-11-06 17:03:07 +00:00
cvs2svn
bf2447f1cc This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-11-06 17:03:00 +00:00
Marty Kraimer
18a3008f51 add devXxCallback 2003-11-06 16:57:57 +00:00
Marty Kraimer
04eb6ebb58 init_record now checks to see if state strings or values are defined during pass 0.
Previously if another record had a DBR_STRING link to
an mbboRecord it thought the field was a USHORT instead of an ENUM
2003-11-06 16:47:48 +00:00
Marty Kraimer
876b493e2c The fields ZRST,...,FFST are now special(SPC_MOD) 2003-11-06 16:45:20 +00:00
Marty Kraimer
d9805b979e make size of CALC 40 2003-11-06 16:43:48 +00:00
Marty Kraimer
46a8fac619 add dbCaPutLinkCallback 2003-11-06 16:39:05 +00:00
W. Eric Norum
eab7314e36 Clean up trailing \n on vxWorks input. 2003-11-04 21:55:27 +00:00
Marty Kraimer
a07722260f change DB CA to DB CA Link 2003-11-04 13:01:15 +00:00
W. Eric Norum
1c55c85de9 The IOC shell dose not convert a 0 command-line argument to a NULL pointer.
Allow "" to indicate that all record types should be printed.
2003-11-03 22:43:50 +00:00
Andrew Johnson
c095f483e9 Typo, s/NTP_FRACTION DENOMINATOR/NTP_FRACTION_DENOMINATOR/ 2003-10-29 19:51:12 +00:00
Andrew Johnson
a5921d2bea Missing closing $ in RCS keyword. 2003-10-29 19:43:24 +00:00
Jeff Hill
c26cd7fdce architecture independent manipulation of NTP stamps 2003-10-28 18:56:56 +00:00
Jeff Hill
c69536fc8e return an error condition if they try to start a preemptive callback enabled context
when the thread already has a single threaded context.
2003-10-28 16:05:49 +00:00
Jeff Hill
0712df904b keep circuit open with disconnected channels attached if the circuit
becomes unresponsive
2003-10-23 22:45:54 +00:00
Jeff Hill
70091854bc new unresponsive circuit notify method 2003-10-23 22:33:15 +00:00
Jeff Hill
ab2a2d7a9c new channel create received flag and new circuit responive, unresponsive, and
hangup methods
2003-10-23 22:32:45 +00:00
Jeff Hill
2011e6b87a increased locking requirements 2003-10-23 22:31:06 +00:00
Jeff Hill
fab73db5e8 timeout now results in unresponsive circuit notify and not an abort shutdown 2003-10-23 22:30:25 +00:00
Jeff Hill
be9a9afc68 removed unused method 2003-10-23 22:30:01 +00:00
Jeff Hill
f751b73665 increased locking requirements and added unresponsive/responsive
circuit notify methods
2003-10-23 22:27:52 +00:00
Jeff Hill
de880dbf39 new error code 2003-10-23 22:26:22 +00:00
Jeff Hill
d9f803937a fixedsearch interval computation 2003-10-21 22:26:20 +00:00
Jeff Hill
1b730ac8fc fixedsearch interval computation 2003-10-21 22:12:43 +00:00
Jeff Hill
3a2e71e46e fixed channel not destroyed if client disconnects during asynchronous
enum string table fetch
2003-09-29 23:15:01 +00:00
Jeff Hill
1cbb1c9b71 fixed channel not destroyed if client disconnects during asynchronous
enum string table fetch
2003-09-29 22:58:43 +00:00
Jeff Hill
3c4d947f2a cosmetic 2003-09-29 22:42:24 +00:00
Jeff Hill
44e31ae9f3 changes allowing the test to work with enumerated channels 2003-09-29 18:13:28 +00:00
Marty Kraimer
f9107d0233 add registrar(sncExampleRegistrar) 2003-09-25 11:38:06 +00:00
Janet B. Anderson
8633e72026 R3.14.4 2003-09-23 21:35:11 +00:00
Janet B. Anderson
1106ecd818 Added Registration code changed info. 2003-09-23 21:19:28 +00:00
Janet B. Anderson
6e6cd59674 More Updated for R3.14.4. 2003-09-23 21:09:31 +00:00
Janet B. Anderson
4cdc2575c5 Updated for R3.14.4. 2003-09-23 20:09:48 +00:00
Jeff Hill
9f52f7282d fixed errMessage fmt string 2003-09-23 16:52:59 +00:00
Janet B. Anderson
ed882fe82d Updated for R3.14.4. 2003-09-23 16:15:08 +00:00
W. Eric Norum
d0e58f9aa7 Add format string checking. 2003-09-21 21:44:48 +00:00
Janet B. Anderson
2c13aa03e2 Added JAR_PACKAGES and changes JAR command. 2003-09-21 21:42:09 +00:00
Janet B. Anderson
3717607892 Added release file names and cvs export command. 2003-09-19 18:36:54 +00:00
Janet B. Anderson
cb72210d45 Added RULES_PYTHON. 2003-09-19 18:05:57 +00:00
Janet B. Anderson
92d01c0e5f Initial version. 2003-09-19 16:12:33 +00:00
Janet B. Anderson
42506d8c1c Updated JAVA and PYTHON definitions. 2003-09-19 16:08:05 +00:00
W. Eric Norum
dfccee739f Clean up 'truncated' message.
Ensure that truncated errrlogMessage output is reported as such.
2003-09-17 19:35:45 +00:00
Jeff Hill
35d07ffbda changed the name of cxxCompilerDependencies.h to compilerDependencies.h 2003-09-17 19:25:31 +00:00
W. Eric Norum
d158974870 Use epicsVsnprintf to eliminate possibility of buffer overflows. 2003-09-17 18:51:44 +00:00
W. Eric Norum
2e922d7195 Move format-string checking conditional to cxxCompilerDependencies. 2003-09-17 14:43:26 +00:00
W. Eric Norum
e405ebbbee Merged into cxxCompilerDependencies.h 2003-09-17 14:33:08 +00:00
Janet B. Anderson
da15507f8d Added BASE_3_14 definition. 2003-09-16 20:56:22 +00:00
W. Eric Norum
8411adb987 Fix error message. 2003-09-16 18:58:59 +00:00
W. Eric Norum
c30c884687 Make arguments match format string. 2003-09-16 18:54:43 +00:00
Marty Kraimer
21fe691d96 errMessage must not get NULL argument 2003-09-16 18:43:52 +00:00
W. Eric Norum
22e21f268b Add gcc format-string checking. 2003-09-16 18:06:49 +00:00
Andrew Johnson
d45e1b13e4 Removed WIN32 getopt.* (GPL) 2003-09-16 17:56:21 +00:00
Andrew Johnson
8873934c9b These files contain GPL code, and not compatible with the EPICS Base license. I
don't care that this removal breaks the WIN32 port of EPICS, we can't legally
distribute this code as part of EPICS.  Someone will have to rewrite the getopt
functionality, or grab a version that is not GPL licensed (try BSD).
2003-09-16 17:45:19 +00:00
Marty Kraimer
c0c11c359f epicsSnprintf did not work. It is fixed. 2003-09-16 12:53:54 +00:00
Andrew Johnson
367e27d5f5 Support for configure/RELEASE.<hostarch>.<targetarch> files 2003-09-15 21:01:36 +00:00
Andrew Johnson
35bd1a76d1 Removed string calculation engine, only needed by Tim Mooney's recordtypes. 2003-09-12 19:13:54 +00:00
Jeff Hill
a887ca44d1 added two bug fix descriptions 2003-09-10 20:59:22 +00:00
Jeff Hill
dd273da508 added two bug fix descriptions 2003-09-10 20:45:56 +00:00
Jeff Hill
245cf129ff fixed disconnect callback when channel known to be disconnected 2003-09-10 17:09:25 +00:00
Jeff Hill
36b1f9e4ff fixed bug where entry was deleted from within entry's callback 2003-09-08 17:11:15 +00:00
Andrew Johnson
24a0197f88 Fix file stmt without quotes. 2003-09-05 20:54:28 +00:00
W. Eric Norum
e30e1159a2 Added note about vxWorks ledLib. 2003-09-05 18:13:25 +00:00
Andrew Johnson
42ea151881 Don't use '0' for string arguments which should be empty... 2003-09-05 16:55:05 +00:00
W. Eric Norum
ce201c6361 Use ledLib command-line editing on vxWorks. 2003-09-05 14:38:18 +00:00
Andrew Johnson
0784bbec71 Oops, missing upgrade documentation for the xxx_recordDeviceDriver routine. 2003-09-04 23:09:50 +00:00
Janet B. Anderson
84f9a59759 Updated release to R3.14.3. 2003-09-04 20:25:35 +00:00
Janet B. Anderson
1f3ea0308f Updated host type definition. 2003-09-04 20:20:13 +00:00
Andrew Johnson
cd5a4be610 Linux WRS cross-compiler architecture fix 2003-09-04 19:57:34 +00:00
Andrew Johnson
6560a3b0e8 3.14.2 => 3.14.3
Added Release Approval line to checklist.
2003-09-04 19:52:08 +00:00
Janet B. Anderson
b74ad51972 Updated text to R3.14.3 2003-09-04 19:37:08 +00:00
Janet B. Anderson
28ee04091d R3.14.3 2003-09-04 18:29:57 +00:00
Jeff Hill
0dd7efb4a2 fixed potential race during init 2003-09-03 22:52:48 +00:00
Jeff Hill
e7d51c5e30 documented level required to get a channel dump 2003-09-03 22:44:20 +00:00
Jeff Hill
0758661a87 mentioned that CA port numbers have been registered with iana 2003-09-03 22:31:48 +00:00
Janet B. Anderson
5622816a92 Initial version. 2003-09-03 19:21:42 +00:00
Janet B. Anderson
9bf6bef12e Moved JAVA_DIR to extensions/configure/os 2003-09-03 19:15:09 +00:00
Janet B. Anderson
9f95921260 Moved JAVA_DIR definition to extensions/configure/os. 2003-09-03 19:12:09 +00:00
Janet B. Anderson
bc0a241192 Moved JAVA_DIR definition to extensions/configure/os. 2003-09-03 19:05:18 +00:00
Janet B. Anderson
89717c16f4 Added ifdef JAVA. 2003-09-03 16:28:24 +00:00
Ralph Lange
20565b03eb Check and update (email) 2003-09-03 14:19:11 +00:00
Ralph Lange
0e2eddbcdb Bugfix for hpux-parisc (ARFLAGS defaults were creating problems) 2003-09-03 14:08:51 +00:00
Ralph Lange
b68112ba6a Enabled mixed building mode (see bug report [EPICS Base R3.14.x 0000040]) 2003-09-02 20:51:38 +00:00
Janet B. Anderson
dbbb6af9fd Get loadable prefix and suffix from UnixCommon. 2003-09-02 20:51:26 +00:00
Janet B. Anderson
49d2ce69fb Set loadable lib prefix to lib. 2003-09-02 20:45:53 +00:00
W. Eric Norum
26a6df0652 Clean up handling of redefinitions. 2003-09-02 20:07:18 +00:00
Janet B. Anderson
4675c84bff Set loadable library prefix to lib. 2003-09-02 19:41:29 +00:00
Jeff Hill
d5de77bc5a fixed false error detected by old gnu compiler 2003-09-02 16:22:29 +00:00
Andrew Johnson
cce78f0ec5 Added putenv lines to cdCommands output (Mark Rivers). 2003-09-02 15:56:09 +00:00
Andrew Johnson
9c99a40de2 Added envPaths to clean rule (Mark Rivers) 2003-09-02 15:38:33 +00:00
Ralph Lange
d6ab506379 Fixed HP aCC warnings 2003-09-01 20:05:12 +00:00
W. Eric Norum
e3c514ea9e Add *all* iocsh variables, not just the first.
A tip of the hat to Mark Rivers for fixing this.
2003-09-01 14:05:47 +00:00
Janet B. Anderson
fd33cf444e Added win32 comments. 2003-08-29 19:04:38 +00:00
Janet B. Anderson
abb03fdfdf Added changes for static build and loadable libraries. 2003-08-29 19:03:09 +00:00
Janet B. Anderson
6edd359e47 Removed references to *Obj.lib files. 2003-08-29 18:57:07 +00:00
Janet B. Anderson
bded68e14e Removed references to LIB_EXT. 2003-08-29 18:56:18 +00:00
Janet B. Anderson
eacaf67101 Syntax change for CONFIG definition. Added RELEASE.host.target include. 2003-08-28 18:40:39 +00:00
Janet B. Anderson
e35c8d0774 Used INSTALL_LIBRARY script to install loadable shared libraries. 2003-08-27 15:29:29 +00:00
Janet B. Anderson
b9b48dfa77 Fixed LOADABLE_LIBRARY rules. 2003-08-27 15:26:48 +00:00
Jeff Hill
fef72a5948 fixed borland build issues 2003-08-26 17:57:44 +00:00
Jeff Hill
48c4992799 made compatible with borlan bcc 2003-08-26 00:37:08 +00:00
Jeff Hill
ac13592d0a cosmetic 2003-08-25 21:07:10 +00:00
Marty Kraimer
c4184be87c get rid of lazt init for SMP safe 2003-08-25 19:42:59 +00:00
Jeff Hill
4472f60249 explicit templ instantiation for acient tornado compiler 2003-08-25 18:48:29 +00:00
Robert Soliday
088c35da63 Updated to work with Kylix. 2003-08-21 21:47:36 +00:00
Robert Soliday
bb0affc5ee Updated to workaround issue with Kylix. 2003-08-21 21:47:03 +00:00
Jeff Hill
44a9b25392 restructured osi socket interface to support address reuse variations
on darwin and win32
2003-08-21 18:33:58 +00:00
Jeff Hill
582a1aa0b5 restructured osi socket interface to support address reuse variations
on darwin and win32
2003-08-21 18:27:00 +00:00
Jeff Hill
3053584b56 doc for rh 7.3 process rundown bug 2003-08-21 16:04:32 +00:00
Jeff Hill
6c4c063692 workaround for bug in RH 7.3 Linux 2003-08-21 00:18:31 +00:00
Jeff Hill
038ef5db8d removed virtual destructor when there are no virtual functions 2003-08-20 16:14:39 +00:00
Jeff Hill
bf51f20126 upgraded ipAddrToAscii API and improved shutdown procedures 2003-08-20 16:12:46 +00:00
Jeff Hill
d2ac73f3ae upgraded ipAddrToAscii API and improved shutdown procedures 2003-08-20 16:07:20 +00:00
Jeff Hill
ef9ed01e0c upgraded ipAddrToAscii API and improved shutdown procedures 2003-08-20 15:59:30 +00:00
Jeff Hill
3035e9393c upgraded API and improved shutdown procedures 2003-08-20 15:57:38 +00:00
Jeff Hill
f7e9c7e1a1 upgraded API 2003-08-20 15:57:08 +00:00
Janet B. Anderson
2d50b04ca0 Added COMMON_DIR to JAVA_INCLUDES. 2003-08-15 14:43:59 +00:00
Janet B. Anderson
ce8fb13fe4 Create headers in O.Common. Make headers precious. 2003-08-15 14:41:38 +00:00
Janet B. Anderson
8c6d2ba91a Fixed create INSTALL_JAVA dir. Create header files in O.Common dir. 2003-08-15 14:05:17 +00:00
W. Eric Norum
7231e60a60 Add default JAVA_DIR. Can be overridden by CONFIG_SITE. 2003-08-14 21:17:10 +00:00
Janet B. Anderson
56fc694513 Updates and bug fixes. 2003-08-14 20:10:02 +00:00
Andrew Johnson
519f3d29cf Set PACT if error occurred during record init 2003-08-12 22:18:46 +00:00
Andrew Johnson
2f5b606d4a TPRO output 2003-08-12 22:11:14 +00:00
Andrew Johnson
89addc09d7 Enhanced the TPRO trace output to include the executing thread name 2003-08-12 21:53:14 +00:00
Andrew Johnson
3b796aaf2d Added makeBaseApp reminders. 2003-08-12 15:53:22 +00:00
W. Eric Norum
7fc94de997 Quick hack to avoid compiling this for machines other than the one Till's
now using.  Definitely needs to be fixed properly 'some day'.
2003-08-12 15:39:48 +00:00
Andrew Johnson
e967392227 Removed device entries from base.dbd into their own .dbd files.
Devices for TestAsyn support are not included by base.dbd, but have
their own devTestAsyn.dbd file if required.
2003-08-11 22:22:39 +00:00
Janet B. Anderson
e31993bb84 Changed template in macro name to all caps TEMPLATE. 2003-08-11 15:39:58 +00:00
Jeff Hill
4fb36b3104 made some improvements for SMP systems which are a good conservative design
but may not have been necessary
2003-08-09 00:02:11 +00:00
Marty Kraimer
cc06a46407 make it synchronou is delay <=0 2003-08-08 20:05:34 +00:00
Jeff Hill
6f330ed44b added another instantiation 2003-08-07 16:02:03 +00:00
Jeff Hill
95f694cfe7 fixed redundant logFdAdd deadlock message 2003-08-06 21:59:56 +00:00
Jeff Hill
5b1b3e80d8 improved the ca_task_exit() trest 2003-08-06 21:24:57 +00:00
Marty Kraimer
fbc524d308 more bug changes 2003-08-06 18:18:40 +00:00
Marty Kraimer
00c9d22936 suppress extra console message from logMsg 2003-08-06 18:17:30 +00:00
Marty Kraimer
31faca4b3d fix bad commit 2003-08-06 18:16:47 +00:00
Jeff Hill
78b532ee75 fixed race condition in virtual circuit shutdown sequence 2003-08-06 18:11:34 +00:00
Jeff Hill
ecc3206e11 allow freeList template arguments to be specified 2003-08-06 17:43:18 +00:00
Jeff Hill
4359938ed6 added virtual circuit free list and fixed race condition in virtual circuit shutdown sequence 2003-08-06 17:42:55 +00:00
Jeff Hill
1fb594833b added virtual circuit free list 2003-08-06 17:41:40 +00:00
Jeff Hill
4202695246 added test to detect ca context run down problems 2003-08-06 17:01:53 +00:00
Jeff Hill
5184d1807a added test to detect ca context run down problems 2003-08-06 16:47:59 +00:00
Marty Kraimer
9d14ea1a24 more changes for 3.14.3 2003-08-05 19:02:25 +00:00
Marty Kraimer
300af9164a src/vxWorks/src to libCom/osi/os/vxWorks; devLib works on vxWorks and RTEMS 2003-08-05 18:48:31 +00:00
Marty Kraimer
5d13666e7b devLib now works on RTEMS 2003-08-05 18:47:58 +00:00
Marty Kraimer
da00278de6 moved stuff to src/libCom/osi/os/vxWorks 2003-08-05 18:38:19 +00:00
cvs2svn
087f0afafb This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-08-05 18:38:18 +00:00
Marty Kraimer
f973722d5a suppress warning mesage if no record/device/driver support 2003-08-05 18:03:31 +00:00
Marty Kraimer
cd10c21647 Previously if a dbGetLink failed on one of the input links, dbGetLink was not called for the remaining links. Now it is 2003-08-05 18:01:43 +00:00
Marty Kraimer
6ea736d0ed put notify did not act properly if a record had disp=TRUE 2003-08-05 16:03:02 +00:00
Marty Kraimer
ad9f577faf fix bad comments 2003-08-05 15:21:15 +00:00
Janet B. Anderson
a892dffd12 Only build OBJS for vxWorks. 2003-08-04 21:42:39 +00:00
Janet B. Anderson
8a65a17f68 Added definitions for static build. 2003-08-04 18:40:20 +00:00
Janet B. Anderson
0fc52db97b Always build dynamic library search paths into executable. 2003-08-04 18:35:50 +00:00
Janet B. Anderson
54868e8723 Added linker options for static builds. 2003-08-04 18:25:32 +00:00
Robert Soliday
73b8c02bae Updated so it can now build SDDS in extensions. 2003-08-04 15:46:23 +00:00
Robert Soliday
ce29455411 Minor changes added for Borland's C++ compiler on Linux 2003-08-01 19:13:39 +00:00
Robert Soliday
2b85746e23 Added config files for Borland's C++ compiler on Linux. 2003-08-01 18:46:01 +00:00
Jeff Hill
8d2b3ce0ea improved warning message 2003-07-31 19:38:14 +00:00
Jeff Hill
4f9530500b improved warning message 2003-07-31 18:58:54 +00:00
W. Eric Norum
af35fa7eb8 Get things to build on RTEMS. 2003-07-31 16:52:32 +00:00
W. Eric Norum
b99238b93c Removing -ansi causes *lots* of other problems, so back out previous change. 2003-07-31 16:34:16 +00:00
Jeff Hill
e00b773830 set close-on-exec flag 2003-07-30 23:19:16 +00:00
Jeff Hill
d7b3f30111 avoid bracketing includes with 'extern "C"' to avoid unanticipated side effects 2003-07-30 23:18:09 +00:00
Jeff Hill
8439f488f0 fixed spelling 2003-07-30 23:13:06 +00:00
W. Eric Norum
ec11da3a05 RTEMS header files have just too many functions whose prototypes are removed
when -ansi is specified.
2003-07-30 21:42:54 +00:00
Andrew Johnson
09d50b3213 Export RELEASE entries in environment for tools (MSI in particular) 2003-07-30 21:35:30 +00:00
W. Eric Norum
12842d80dc Ensure that va_list typedef is in scope. 2003-07-30 21:19:37 +00:00
Jeff Hill
e69481d196 added wrapper around tmpfile so that we can have a windows specific
implementation
2003-07-30 19:11:31 +00:00
Jeff Hill
c1f1511fac fixed func name 2003-07-30 16:12:23 +00:00
Jeff Hill
e80f7b4ce1 added wrapper around tmpfile so that we can have a windows specific
implementation
2003-07-30 16:02:58 +00:00
Jeff Hill
fecb32a960 use epicsTempFile in libCom to get around weaknesses in the win32 tmpfile 2003-07-30 16:01:28 +00:00
Jeff Hill
1184e2ab21 now dependent on epicsTempFile in libCom 2003-07-30 16:00:43 +00:00
Jeff Hill
0f74d195e1 moved extern "C" down so that it does not have unanticipated side effects on
the included header files
2003-07-30 15:59:47 +00:00
Jeff Hill
44d234535e reorganized so that we maintain only one interface specification 2003-07-30 15:58:24 +00:00
Jeff Hill
d719a6859c reorganized so that we maintain only one interface specification - this
makes the posix implementation slightly slower, but these arealready
very slow routines so there shouldnt be any noticable impact.
2003-07-30 15:57:20 +00:00
Jeff Hill
19dba4225a toolsComm now calls libCom so there is a new build order 2003-07-30 15:53:25 +00:00
Andrew Johnson
a50b83b918 Documented env macros stuff better. 2003-07-29 23:31:16 +00:00
Andrew Johnson
b27dc431c8 Allow quoted filenames, needed if they contain any ${ENVMACRO}s 2003-07-29 22:44:27 +00:00
Andrew Johnson
a31f5e166c Expand environment variable macros in filenames 2003-07-29 20:25:37 +00:00
Andrew Johnson
e5f47d5807 Made various input arguments and internal variables const char*. 2003-07-29 19:50:31 +00:00
W. Eric Norum
098d421a56 Update README file to reflect some recent changes. 2003-07-29 18:02:42 +00:00
Jeff Hill
8faa55056d fixed visual c++ 6.0 build 2003-07-28 18:38:59 +00:00
Jeff Hill
e186fde80c removed logFdAdd from logClient 2003-07-25 22:11:38 +00:00
Jeff Hill
c811a766a2 removed logFdAdd 2003-07-25 21:27:35 +00:00
W. Eric Norum
a48245d385 RTEMS now provides the getprotobyXXX routines. 2003-07-25 21:12:35 +00:00
W. Eric Norum
6c9d48b8ff Ensure that tasks get at least RTEMS_MINIMUM_STACK_SIZE. 2003-07-25 21:05:51 +00:00
Jeff Hill
0034119588 installed logMsgToErrlog.cpp 2003-07-25 20:53:08 +00:00
Jeff Hill
3412fc65be installed 2003-07-25 20:52:06 +00:00
cvs2svn
d1d2a1bac8 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-07-25 19:43:41 +00:00
W. Eric Norum
0c8d2336b7 Echo lines read from scripts after macro expansion has completed. 2003-07-25 15:31:43 +00:00
Andrew Johnson
360c3f4a36 Fixed small bug which also allows the script to run properly on RH9.0
(I'm not sure why it wouldn't run before though)
2003-07-25 15:17:57 +00:00
W. Eric Norum
7e1db8bc95 Clean up example code. 2003-07-25 15:05:17 +00:00
Janet B. Anderson
e536c949e1 Fixed typo. 2003-07-25 14:53:08 +00:00
Janet B. Anderson
13fcc63153 Added fix for full path name when in cygwin shell. 2003-07-24 20:11:37 +00:00
W. Eric Norum
af073e289d Use explicit callback so that this code matches the Application
Developer's Guide description.
2003-07-24 19:37:51 +00:00
Jeff Hill
14d410cddb fixed redundant event queue wakeup 2003-07-24 00:07:16 +00:00
Andrew Johnson
b9fb6caffb Added envPaths functionality, and using these variables in st.cmd files 2003-07-23 22:08:50 +00:00
Andrew Johnson
9b2d79a5c8 Added double support to variable keywords. 2003-07-23 22:00:19 +00:00
Andrew Johnson
b0d5f21a87 Modify DBD variable keyword to allow both int and double variables. 2003-07-23 21:53:20 +00:00
Andrew Johnson
952387a9dc Install files listed in INC_vxWorks into include/os/vxWorks etc. 2003-07-23 20:19:36 +00:00
Andrew Johnson
c4bf96b4f8 registerRecordDeviceDriver.h no longer needed/appropriate. 2003-07-23 18:54:49 +00:00
Andrew Johnson
956ddf6695 Rename the registerRecordDeviceDriver routine. 2003-07-23 18:36:26 +00:00
Andrew Johnson
803f0bccbb Name the registerRecordDeviceDriver subroutine after the dbd file it was
created from; allows applications to be split up and loaded separately.
2003-07-22 19:48:35 +00:00
Andrew Johnson
f24895c325 Name the registerRecordDeviceDriver subroutine after the dbd file it was
created from; allows applications to be split up and loaded separately.
2003-07-22 15:36:29 +00:00
Andrew Johnson
e38db3e6d3 Documented the dbExpand -o option. 2003-07-22 14:59:38 +00:00
Janet B. Anderson
d96c061366 Build object files for vxWorks only. 2003-07-22 14:54:54 +00:00
Andrew Johnson
7bff35a687 Changed dbExpand rules to use new -o option to specifiy the output filename 2003-07-21 23:08:36 +00:00
Andrew Johnson
9991b7300f Added a -o outfile option (Bug #28)
Tidied up internals.
2003-07-21 23:01:43 +00:00
Andrew Johnson
b17bb61e68 First published version. 2003-07-21 15:34:51 +00:00
Andrew Johnson
55b72128e4 Added dbd variable keyword.
Reorganized the later parts of the file, which were not well-structured HTML
and which were causing problems with different versions of Amaya.
2003-07-18 16:11:24 +00:00
Jeff Hill
7455d3df07 code to remove channel from the event queue when it is deleted 2003-07-18 15:48:28 +00:00
Jeff Hill
a2d4436b83 doc 2003-07-18 15:48:08 +00:00
Andrew Johnson
e13dafb8af dbGetInfoPointer should return void*, not const char*
Short-circuit return in dbGetInfo if no item
2003-07-18 14:58:40 +00:00
W. Eric Norum
6661789143 Efficiency improvements. Cut down on copy operations. 2003-07-18 12:33:44 +00:00
Jeff Hill
a02b3b243e use close on exec option for sock 2003-07-16 23:28:02 +00:00
Jeff Hill
4428ca3661 fixed base to use close on exec options whenever creating a socket
on posix compliant systems
2003-07-16 23:22:22 +00:00
Jeff Hill
9dc92c9b03 turn on close on exec option 2003-07-16 22:09:58 +00:00
Jeff Hill
bb92682ed1 fixed base to use close on exec options whenever creating a socket
on posix compliant systems
2003-07-16 22:05:54 +00:00
Andrew Johnson
faf5bc3b0e Added variable keyword example.
What is this App directory supposed to be for?
2003-07-16 21:28:43 +00:00
Andrew Johnson
10414b4429 Added a debug variable to the example mySub routines,
making this settable from the ioc shell.
2003-07-16 21:20:45 +00:00
Andrew Johnson
44031b3e94 Renamed the support library to xxxSupport, to match previous tidy-up. 2003-07-16 20:10:50 +00:00
Andrew Johnson
7cf94abe78 Tidying up various things:
Made the support library contain only the xxxRecord and device support,
then renamed _APPNAME_Support.dbd to xxxSupport.dbd to reflect this.
Actually I should rename the library to libxxxSupport, but I didn't yet.

Now we link the dbSubExample.o code directly to the application,
renamed the registrar routine inside this to mySubRegistrar,
and also moved the registrar() dbd entry into _APPNAME_Include.dbd.
2003-07-16 20:03:52 +00:00
Andrew Johnson
025a73ca42 Added dbDumpVariable command 2003-07-16 19:32:20 +00:00
Andrew Johnson
da56d5e2b8 Added support for new variable dbd keyword, integers only so far. 2003-07-16 18:35:26 +00:00
Andrew Johnson
067c0a3db1 Added support for the new variable dbd keyword, converts to iocshVarDef 2003-07-16 18:24:17 +00:00
Jeff Hill
84666e054e fixed include 2003-07-16 18:03:02 +00:00
Jeff Hill
b697fc2acc fixed base to use close on exec options whenever creating a socket
on posix compliant systems
2003-07-16 17:45:09 +00:00
W. Eric Norum
a907bc4df3 Expand line *before* breaking into arguments.
a) Much more efficient
    b) Allows expansion to multiple arguments.
2003-07-16 12:35:33 +00:00
Andrew Johnson
835edde87d Added iocshRegisterVariable 2003-07-15 22:32:09 +00:00
Andrew Johnson
ac4890e5c9 Fixed locking problem in new iocshRegisterVariable routine. 2003-07-15 22:13:23 +00:00
W. Eric Norum
a4c82bfd9f Touch up previous fix. 2003-07-15 21:17:29 +00:00
W. Eric Norum
417dfcc191 Declare proper linkage for varCallFunc(). 2003-07-15 20:47:22 +00:00
W. Eric Norum
86158b907d Add support for environment variable macro expansion. 2003-07-15 20:38:09 +00:00
Andrew Johnson
d777dc654d Fixing Eric's rogue checkins from the main trunk. 2003-07-15 19:50:25 +00:00
W. Eric Norum
e70dba5bf9 Macro expansion using environment variables as macro definitions. 2003-07-15 19:04:29 +00:00
W. Eric Norum
3f61b69fa3 var, maclib, etc. 2003-07-15 19:00:09 +00:00
W. Eric Norum
1e2a950e0b Add support for simple variable set/show. 2003-07-15 18:55:14 +00:00
W. Eric Norum
a2b2ef414d Add registryChange function. 2003-07-15 18:52:30 +00:00
Jeff Hill
fb3dfef5e8 fixed build errors 2003-07-15 16:03:36 +00:00
cvs2svn
1fef904a9e This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-07-15 15:56:33 +00:00
W. Eric Norum
6ee9656f43 Add iocshArgPersistentString type. 2003-07-08 20:30:20 +00:00
W. Eric Norum
ac128fc048 Add iocshArgPersistentString type. 2003-07-08 20:14:54 +00:00
W. Eric Norum
7f56802052 Add epicsStrDup(). 2003-07-08 19:35:28 +00:00
Jeff Hill
ad6be99ae4 added notes on fixes to the ASCII error logging system 2003-07-08 19:14:16 +00:00
Jeff Hill
1ac82bb6bd fixed problem occurring when a message w/o a CR arrives and a CR from an old
message is found.
2003-07-08 18:36:23 +00:00
Jeff Hill
d97ca30986 fixed problems occurring when message size exceeds the buffer size 2003-07-08 18:32:04 +00:00
Jeff Hill
cd8b21fafc removed use of stdio due to win32 portability problems 2003-07-08 00:08:06 +00:00
Ralph Lange
ccd94cd911 Added PATH_FILTER to calls of tools (allows building in DOS-Box) 2003-07-07 08:24:53 +00:00
Janet B. Anderson
c6464b8797 Added loadable library definitions and rules 2003-07-03 16:17:38 +00:00
Jeff Hill
03e7db8ff0 improved port default 2003-07-03 15:17:11 +00:00
Jeff Hill
c8a106a50d fixed syntax error 2003-07-03 15:11:03 +00:00
Jeff Hill
773c12becc improved disconnect search interval 2003-07-03 15:07:51 +00:00
Jeff Hill
37476c6482 improved port default 2003-07-03 15:07:26 +00:00
Andrew Johnson
5f61e9c2fc Fractional seconds need leading 0s and all 9 digits
Changed timestamp output format to one that can be easily parsed
Added flush after each anomaly to stop pipes from buffering output
2003-06-27 15:06:46 +00:00
W. Eric Norum
6463589276 Simplify SHRLIB_SUFFIX. 2003-06-23 19:25:33 +00:00
Janet B. Anderson
ee4b51b2f9 Added OP_SYS_LDFLAGS. 2003-06-19 20:47:07 +00:00
Janet B. Anderson
1a9f922454 Added comments. 2003-06-19 17:35:11 +00:00
Janet B. Anderson
29aad6c0c0 Initial version 2003-06-19 17:33:51 +00:00
cvs2svn
686990ccfa This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-06-19 17:33:30 +00:00
Janet B. Anderson
004b21a7a5 Updated comments. 2003-06-19 17:29:38 +00:00
Janet B. Anderson
884514bb7a Included the gnu file. 2003-06-19 17:29:16 +00:00
Janet B. Anderson
7b5ad4c8f2 Initial version. 2003-06-19 17:25:51 +00:00
cvs2svn
d25ea19815 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-06-19 17:24:51 +00:00
Andrew Johnson
c606ecf428 Fixed problems when instantiating several iterator functions.
Shouldn't test code at least ensure that all compile properly?
2003-06-19 15:26:47 +00:00
Jeff Hill
8b0e1c88c4 fixed usage printf 2003-06-05 15:01:19 +00:00
Jeff Hill
83753fb9e6 converted pure vf to ordinary vf to avoid undefined behavior when
eventSignal is called in the destructor
2003-06-04 00:17:23 +00:00
Janet B. Anderson
8ecceef706 Get template file from INSTALL_TEMPLATES dir. 2003-06-03 20:06:48 +00:00
Janet B. Anderson
d5020308aa Added SHRLIB_ALLOW_UNDEFINEDS to allow undefined symbols. 2003-06-03 19:54:33 +00:00
Jeff Hill
fee9dce2a0 removed junk 2003-05-30 23:16:10 +00:00
Jeff Hill
5a9320525c moved udp deamon priority to below that of the beacon generator priority 2003-05-30 23:04:02 +00:00
Andrew Johnson
8a6cbfde20 Driver support names are const char* 2003-05-29 21:20:02 +00:00
Andrew Johnson
a063a2f0a9 s/Destroy/Delete/ in name of vxWorks routine. 2003-05-29 21:03:39 +00:00
W. Eric Norum
2612b722fa RTEMS can't use code compiled with -fPIC. 2003-05-29 21:03:38 +00:00
W. Eric Norum
12e97d5e91 Fix typo. 2003-05-29 18:27:37 +00:00
W. Eric Norum
78313c62f9 API change to epicsMessageQueue. 2003-05-29 13:18:26 +00:00
W. Eric Norum
1e84246cb7 Add 'size' argument to all epicsMessageQueue receive routines. 2003-05-29 03:10:16 +00:00
Jeff Hill
6d5061781c fixed race condition at thread exit 2003-05-23 00:11:59 +00:00
cvs2svn
b6a001e4cb This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-05-22 15:16:25 +00:00
Marty Kraimer
f44bc9a818 last two digits of stat,end are hour NOT month 2003-05-22 15:16:24 +00:00
Janet B. Anderson
45609829f8 Modified comment. 2003-05-22 00:21:58 +00:00
Jeff Hill
06064b444a small clarification 2003-05-22 00:03:13 +00:00
Jeff Hill
9ab8596aff small clarification 2003-05-21 23:17:09 +00:00
Andrew Johnson
b6c6755918 Added a success message (Bug#30). 2003-05-21 19:33:28 +00:00
Janet B. Anderson
e769ca29f1 Removed unused TORNADO version macro. 2003-05-21 19:19:49 +00:00
Andrew Johnson
ec411508e9 Don't create the $(INSTALL_JAVA) directory until there's something
to actually put in it.
2003-05-21 19:12:01 +00:00
Andrew Johnson
c82442b10c Undone Marty's incorrect change to convertRelease.pl
(removed 3.13.1 compatibility line completely)
Added dependency for cdCommands so it gets rebuilt if $(TOP)/bin changes
i.e. possibly when $(TOP)/bin/$(T_A) is created.
2003-05-21 19:05:18 +00:00
Marty Kraimer
9cf089f0d3 appbin => topbin 2003-05-21 17:57:26 +00:00
Marty Kraimer
6047ac5efe change date; add macLib bug 2003-05-21 13:32:03 +00:00
Marty Kraimer
47363400cb bugs rported by Mark Rivers 2003-05-21 13:27:52 +00:00
Marty Kraimer
b40d9ddcc3 no CROSS_COMPILER_TARGET_ARCHS by default 2003-05-21 12:21:24 +00:00
Marty Kraimer
00f28ff971 revert to old 2003-05-21 12:17:44 +00:00
Marty Kraimer
7ada50c005 change for 2003 2003-05-21 12:16:07 +00:00
Jeff Hill
b260612016 updated for R3.14.2 2003-05-20 22:37:54 +00:00
Jeff Hill
5e4a23d5be updated doc on ca_client_status() 2003-05-20 22:30:39 +00:00
Janet B. Anderson
a41a72a4f4 Converted formatted line to Text Wrap. 2003-05-20 20:13:34 +00:00
W. Eric Norum
0c7721d6ea Highlight 'function' keyword.
Change 'write nNew elements into array' note from a comment which could
be confused with a true C comment describing the operation of the next
line of the example.
2003-05-20 20:01:17 +00:00
Jeff Hill
2e3f3ba7eb increased access control 2003-05-16 23:49:45 +00:00
Jeff Hill
f93c25f7f6 fixed sun pro warning 2003-05-16 22:05:54 +00:00
Jeff Hill
c11454ce4a fixed sun pro warning 2003-05-16 21:49:57 +00:00
Jeff Hill
f89bbee76d tabs to white space 2003-05-16 20:08:00 +00:00
Ralph Lange
e978571919 Fixed HP aCC compiler warnings 2003-05-16 19:37:53 +00:00
Jeff Hill
f4949c8415 fixed what appears to be a socket leak 2003-05-16 17:08:00 +00:00
Jeff Hill
7673dc39ee fixed sun pro warning message 2003-05-16 16:59:25 +00:00
Jeff Hill
518ec97f72 fixed sun pro warning message 2003-05-16 16:30:49 +00:00
Jeff Hill
aad8fe9c94 bumped ifdef to sun pro version 5.4 -
still waiting for sun pro to allow a virtual destructor
2003-05-16 14:32:51 +00:00
Jeff Hill
9a0f23dfdf fixed array subscript 2003-05-16 13:52:10 +00:00
Jeff Hill
69a8bc6fd7 better support for c++ 2003-05-16 00:01:55 +00:00
Jeff Hill
fa320889e3 reading and writing through the channel allows for put logging to occur
and other forms of application  flexibility
2003-05-16 00:00:07 +00:00
Jeff Hill
738337049b inlined simple function and use mutex in casPV::write 2003-05-15 23:58:02 +00:00
Jeff Hill
72ff66925f inlined simple function 2003-05-15 23:57:18 +00:00
Jeff Hill
5fe2fb480e fixed serious problems when creating and destroying arrays of aitString 2003-05-15 18:33:50 +00:00
Janet B. Anderson
ff1992066f Allow sioc* directory names. 2003-05-14 13:37:49 +00:00
Janet B. Anderson
1c84525a87 Use shared readline library. 2003-05-14 13:32:42 +00:00
Marty Kraimer
7b294e0d99 use const char 2003-05-14 11:29:48 +00:00
Marty Kraimer
c6eca11921 asTrapWrite aslo belongs to LIB_SRCS 2003-05-14 11:21:31 +00:00
Jeff Hill
6861be8270 added void to func proto 2003-05-13 22:53:13 +00:00
Jeff Hill
ae3a888da7 more stringent connect w disconnected chan test 2003-05-13 21:27:08 +00:00
Jeff Hill
a56c01378e doc 2003-05-13 21:03:37 +00:00
Jeff Hill
2498b21fae cinvert errno to string prior to hgenerating a new errno 2003-05-13 21:03:11 +00:00
Jeff Hill
45cde80ee8 cosmetic 2003-05-13 21:02:29 +00:00
Jeff Hill
4f465a1f7b cleaned up casw doc 2003-05-13 21:00:06 +00:00
Jeff Hill
52b8c02fa8 restructured locking to match current design practices for CAC 2003-05-13 20:54:10 +00:00
Jeff Hill
aa160c0a2b restructured locking to match current design practices for CAC 2003-05-13 20:45:51 +00:00
Jeff Hill
f5e2dce279 o restructured locking to match current design practices for CAC
o when installing a channel into the udp iiu install it to the front of
the list, and not the back, so that its search request will be sent
first and so that its retry count will be considered when calculating
the minimum retry count.
2003-05-13 20:44:11 +00:00
Jeff Hill
d04cfc8d03 restructured locking to match current design practices for CAC 2003-05-13 20:40:36 +00:00
Marty Kraimer
eec0dc5ece same def of RECSUPFUN for both C and C++ 2003-05-13 15:53:07 +00:00
Janet B. Anderson
29d0f4716c Moved excas. 2003-05-12 19:39:41 +00:00
Janet B. Anderson
3bbec946b7 Removed extra blanks. 2003-05-12 15:04:31 +00:00
Marty Kraimer
958b13368b fdopen for write only 2003-05-12 14:40:27 +00:00
Ralph Lange
0222a48595 New aCC compiler version 2003-05-12 13:26:10 +00:00
Marty Kraimer
d5d8241fdd change name from excas to casexample 2003-05-12 12:32:11 +00:00
Marty Kraimer
c963333e78 make sure now events are missed 2003-05-12 12:29:43 +00:00
Marty Kraimer
642a582f24 add excas 2003-05-12 12:28:40 +00:00
Janet B. Anderson
d2d4f4ca6d Removed Crun library. 2003-05-09 15:56:20 +00:00
W. Eric Norum
1cfa435707 Show typical usage as a comment. 2003-05-08 22:13:03 +00:00
W. Eric Norum
481235c41a Rename file to reflect correct usage. 2003-05-08 22:09:09 +00:00
Janet B. Anderson
1e93d812ac Initial version 2003-05-08 21:58:07 +00:00
Janet B. Anderson
2bddff21eb Added COMMANDLINE includes. 2003-05-08 21:38:25 +00:00
Janet B. Anderson
5a3e4a6b5f Added definitions for READLINE library. 2003-05-08 21:12:00 +00:00
Janet B. Anderson
60f4cac0d0 Removed comments and null definitions. 2003-05-08 20:19:01 +00:00
Janet B. Anderson
ffb828afda Updates for Visual c++ 6.0 2003-05-08 20:13:47 +00:00
Janet B. Anderson
c2dbe7ddb1 Added definitions for READLINE. 2003-05-08 20:05:44 +00:00
Janet B. Anderson
12bd56b1b4 Added code to remove trailing blanks in RELEASE file definitions. 2003-05-08 20:00:59 +00:00
W. Eric Norum
5ec41e6088 Allow run-time modification of prompt. 2003-05-08 16:04:04 +00:00
Ralph Lange
1de0a6c42d Fixed HP-UX (aCC) compiler warnings 2003-05-07 12:54:12 +00:00
Jeff Hill
0fcf3e4fda removed duplicate word 2003-05-06 14:35:51 +00:00
Ralph Lange
1a451e4903 Fixed HP-GNU warning (unused variable) 2003-05-06 14:14:15 +00:00
Ralph Lange
e3ceeb0eac Fixed HP-GNU warning (unused variable) 2003-05-06 12:55:56 +00:00
Ralph Lange
f04fff8f83 Fixed HP-GNU warning (unused variable) 2003-05-06 11:53:24 +00:00
Ralph Lange
db5c2d67f8 Fixed C++ warning message by "defining both functions
in the derived class" (Jeff)
2003-05-06 11:49:17 +00:00
W. Eric Norum
1be5dc154d By default use neither readline nor libtecla libraries. 2003-05-05 19:35:51 +00:00
W. Eric Norum
6105888487 Shared libraries are now enabled by default.
Command-line editing selection should be in a SITE file.
2003-05-05 19:00:47 +00:00
Janet B. Anderson
9408db2d54 Added rules for DB_INSTALLS and DBD_INSTALLS. 2003-05-05 17:03:32 +00:00
Jeff Hill
41644804e8 made pvExistTest private 2003-05-02 20:02:56 +00:00
Jeff Hill
ebacbfddcd added new argument to the pvExistTest 2003-05-02 17:45:06 +00:00
Jeff Hill
817cd651c3 optimization 2003-05-02 17:43:07 +00:00
Jeff Hill
8b12a243a2 clean up 2003-05-02 17:40:26 +00:00
Jeff Hill
0c5b0c70d7 reformat 2003-05-02 17:40:03 +00:00
W. Eric Norum
fd56498f95 Remove debugging dreck. 2003-05-02 16:23:17 +00:00
W. Eric Norum
ea7a1c160e Don't try to clean up non-EPICS threads. 2003-05-02 15:39:51 +00:00
Jeff Hill
5161226f81 record connection delays 2003-05-01 23:18:32 +00:00
Jeff Hill
24582e4a27 reformmatting 2003-05-01 22:33:41 +00:00
W. Eric Norum
9b280179bf Create dummy context for threads not created by epicsThreadCreate().
This is needed by jca.
 CVS: ----------------------------------------------------------------------
2003-05-01 22:21:58 +00:00
Jeff Hill
c0bc7a55e9 SIGURG => SIGALRM 2003-05-01 22:18:15 +00:00
Jeff Hill
54934b1059 use SIGALRM instead of SIGURG to wakeup blocking socket calls 2003-05-01 22:12:44 +00:00
Jeff Hill
4c5dab8e72 use SIGALRM instead of SIGURG to wakeup blocking socket calls 2003-05-01 21:53:14 +00:00
Janet B. Anderson
6802e5154e Removed unused definition MSVISC. 2003-05-01 14:16:42 +00:00
Jeff Hill
e5928a8630 improved diagnostic 2003-04-29 21:05:18 +00:00
Jeff Hill
3bbc4b54c2 changed fd_set array to a pointer so that application is
independent of FD_SETSIZE
2003-04-29 21:01:23 +00:00
Jeff Hill
595eadb9f6 moved the maximum number of file descriptors up to 4096 2003-04-29 17:22:06 +00:00
Jeff Hill
6b63f7c2f0 installed - currently guessing that shutdown works to interrupt blocking
send() and recv() calls under cygwin, but this has not been confiremed.
2003-04-28 17:38:48 +00:00
Jeff Hill
25fa8008f7 fixed borland build 2003-04-24 22:37:35 +00:00
Jeff Hill
0761793165 changed to shutdown for sys call interrupt 2003-04-24 21:14:31 +00:00
Jeff Hill
ff9075881c added missing include 2003-04-24 17:09:58 +00:00
Jeff Hill
913373d12d added new src files 2003-04-24 17:04:41 +00:00
Jeff Hill
c149f17cc2 convertSocketErrorToString => epicsSocketConvertErrnoToString 2003-04-24 16:44:45 +00:00
Jeff Hill
4794bf11bc cleaned up shutdown procedure 2003-04-24 16:39:31 +00:00
Jeff Hill
b06976e69b new sockHasBeenClosed flag 2003-04-24 16:36:50 +00:00
Jeff Hill
ef5ce92ff8 installed 2003-04-24 16:32:59 +00:00
Jeff Hill
a9372c4a5a moved sock err str converting func 2003-04-24 16:32:15 +00:00
Jeff Hill
88425b4433 added definition for read and write shutdown 2003-04-24 16:31:06 +00:00
Jeff Hill
4388d789a5 moved sock err str converting func 2003-04-24 16:26:15 +00:00
Jeff Hill
96b2d2c76f convertSocketErrorToString => epicsSocketConvertErrnoToString 2003-04-24 16:25:47 +00:00
Jeff Hill
dc198c0ae0 added epicsSocketSystemCallInterruptMechanismQuery () 2003-04-24 16:24:05 +00:00
Jeff Hill
5e20a6274f removed epicsEnableInterruptedSystemCall and epicsInterruptSystemCall 2003-04-24 16:23:04 +00:00
Jeff Hill
d668a2d8d2 print test complete message 2003-04-23 21:55:28 +00:00
Jeff Hill
96f8e4f323 print test complete message 2003-04-23 20:59:49 +00:00
Jeff Hill
9f09bc6b67 corrected MS VC++ version range where new does not throw an exception 2003-04-23 20:59:09 +00:00
Ralph Lange
afdf3c9af2 Fix: Return when called with no argument (to avoid failing assertion) 2003-04-23 16:44:58 +00:00
Jeff Hill
2ad485368b fixed unused variable warnings 2003-04-23 16:02:45 +00:00
Ralph Lange
7eda38a779 Update as aCC version works now 2003-04-23 15:43:57 +00:00
W. Eric Norum
ee500e2ad8 Minor cosmetic change. 2003-04-23 15:42:21 +00:00
W. Eric Norum
57e941cb85 Mention DarwinPorts. 2003-04-23 15:41:26 +00:00
W. Eric Norum
7da5f3c5c6 Add support for DarwinPorts as well as for Fink. 2003-04-23 15:41:01 +00:00
Ralph Lange
8e44835903 Fixed/suppressed HP-UX (GNU) warnings 2003-04-23 15:22:56 +00:00
Ralph Lange
2624a16170 Fixed/suppressed HP-UX native (aCC) warnings 2003-04-23 14:56:07 +00:00
Ralph Lange
154ebd3153 += new copyright notice 2003-04-23 14:04:49 +00:00
Ralph Lange
d79b7c3880 Fixed warning on HP: ARG_MAX is used in HP-UX sys header file 2003-04-23 14:01:56 +00:00
Ralph Lange
a097eebfb1 Minor fix: += generate local exception on virtual circuit disconnect. 2003-04-23 11:12:28 +00:00
Ralph Lange
cca00a0061 Minor stuff: broke up some looong strings in printf()s. 2003-04-23 10:50:44 +00:00
Jeff Hill
676d210340 depricated ca_add_event 2003-04-23 00:41:15 +00:00
Jeff Hill
acfeff3695 fixed socket return from makeSocket not initialized 2003-04-22 23:17:12 +00:00
Jeff Hill
d812f89280 dont send extra exception message conveying the context string when a get
callback request fails
2003-04-22 22:29:26 +00:00
Jeff Hill
5bbf7bc341 added dll export keywords 2003-04-22 22:28:24 +00:00
Jeff Hill
9a991a3765 use epicsVsnprintf 2003-04-22 21:07:23 +00:00
W. Eric Norum
bf59a164b9 Reflect change to makeBaseApp template. Registrar function can now be static. 2003-04-22 18:46:37 +00:00
Jeff Hill
181d5f4ff0 remove channels from circuit in timer expire callback 2003-04-22 18:07:50 +00:00
Jeff Hill
884c05a15c function name change 2003-04-22 18:07:11 +00:00
Jeff Hill
1de5f1c3ef thread safe socket error to string function 2003-04-22 18:06:42 +00:00
Marty Kraimer
2d114dc5bb mySub can be static 2003-04-22 12:04:14 +00:00
Jeff Hill
372528666a removed msg minder and moved cb locker to ca ctx class 2003-04-18 22:11:35 +00:00
Jeff Hill
35d0d41f22 removed mmsg minder and eliminate dlow level knowledge of cb locker 2003-04-18 22:10:39 +00:00
Jeff Hill
2399da3a1a changed msg arrival notify to cb lock/unlock 2003-04-18 22:09:12 +00:00
Jeff Hill
88af86fbbd added noop cb lock/unlock in base 2003-04-18 22:08:40 +00:00
Jeff Hill
33ca9c7407 moved cb locking to ca ctx class 2003-04-18 22:08:05 +00:00
Jeff Hill
6da98f4e5e moved conn cb change to be guarded by func in ca context class 2003-04-18 22:07:19 +00:00
Jeff Hill
c50837d7f5 removed msg minder 2003-04-18 22:06:19 +00:00
Jeff Hill
ae975a8e23 removed knowledge of preemptive cb enable 2003-04-18 22:05:44 +00:00
Jeff Hill
948718f253 added missing commit 2003-04-18 15:41:00 +00:00
Jeff Hill
378a70bb20 cosmetic 2003-04-18 15:39:46 +00:00
Jeff Hill
778f8936e5 added ca_dump_dbr 2003-04-18 15:39:12 +00:00
W. Eric Norum
40802e621c Update to reflect new 'registrar' keyword. 2003-04-18 13:42:00 +00:00
Jeff Hill
44a57584b7 changed name of protocol command 2003-04-17 17:17:19 +00:00
Jeff Hill
d8db1abd38 fixed too many messages from test 2003-04-17 17:11:51 +00:00
Jeff Hill
2430736ff1 patch for fdManager based client tool lock up problems 2003-04-17 00:07:50 +00:00
Jeff Hill
6b04c52f45 improved diagnostics 2003-04-17 00:05:52 +00:00
Jeff Hill
f484488842 added cacMessageProcessingMinder class 2003-04-16 23:01:34 +00:00
Jeff Hill
0fd1f0103d improved diagnostic 2003-04-16 22:59:13 +00:00
Jeff Hill
6ab92a6dab added misssing epicsShareFunc 2003-04-16 21:02:23 +00:00
Jeff Hill
3b7426e1a3 changed debug level of messages 2003-04-16 20:59:23 +00:00
Jeff Hill
93d163ba83 cosmetic 2003-04-16 20:57:56 +00:00
Jeff Hill
1ee13af2a8 fixed improper unprocessed protocol copy during buffer expansion 2003-04-16 20:57:38 +00:00
Jeff Hill
ff16932a0f changed debug level of search messages 2003-04-16 20:56:20 +00:00
Jeff Hill
b8a2f0495e evaluation version of deadlock detect mutex 2003-04-16 20:55:41 +00:00
Jeff Hill
a28065c900 cleanup of questionable, but not incorrect code 2003-04-16 20:53:38 +00:00
Jeff Hill
3f28509df8 require guard when sending create chan msg 2003-04-16 20:42:31 +00:00
Jeff Hill
59ca167c5d added comQueSendMsgMinder class 2003-04-16 20:39:29 +00:00
Jeff Hill
a63da3e2a8 require guard when sending crate chan msg 2003-04-16 20:38:15 +00:00
Jeff Hill
b04d6fc943 cosmetic 2003-04-16 20:37:37 +00:00
Jeff Hill
414811e98d fixed scalar string to wire formatting 2003-04-16 20:36:36 +00:00
Jeff Hill
2779547dcb optimized string out 2003-04-16 20:34:51 +00:00
Jeff Hill
b9148e0224 improved test 2003-04-16 20:25:01 +00:00
Ralph Lange
9e20859cfc Updated Possible Problems section 2003-04-16 14:09:45 +00:00
Marty Kraimer
2826afb3f9 putNotifyBlocked no longer necessary 2003-04-15 20:05:55 +00:00
Jeff Hill
b53f10dbb6 fixed spelling 2003-04-15 18:49:48 +00:00
Jeff Hill
338d438830 added para on ca client library context 2003-04-15 18:42:06 +00:00
Ralph Lange
ef8fb769a1 Fixed compatibility mode for HP (both native and GNU compilers) 2003-04-15 11:34:38 +00:00
Ralph Lange
57db879905 cosmetics 2003-04-15 11:33:52 +00:00
Marty Kraimer
cf80cd22da take blanks out of names 2003-04-11 12:25:40 +00:00
W. Eric Norum
b921020943 Clarify command-line editing library selection. 2003-04-10 19:56:01 +00:00
Jeff Hill
15b35b60d1 added more progress indicators 2003-04-10 17:51:26 +00:00
Jeff Hill
032bb6e7fc fixed problem with large array header push optimization 2003-04-10 17:16:00 +00:00
Jeff Hill
d8e7cb5524 remo ved unused code 2003-04-10 17:15:14 +00:00
Jeff Hill
bd1e636fb0 fixed epicsTime_localtime 2003-04-10 14:55:31 +00:00
Marty Kraimer
ec94384106 add info about epicsMessageQueue 2003-04-09 13:58:49 +00:00
Marty Kraimer
000aaea550 more changes for 3.14.2 2003-04-09 13:39:33 +00:00
Ralph Lange
ec3958a36e += Build notes 2003-04-09 13:28:59 +00:00
Andrew Johnson
14f6fe08fb Added softIoc application. 2003-04-09 01:41:36 +00:00
Andrew Johnson
1f33045887 Created softIoc application, which can be used without having a
makeBaseApp working area.  Read comments in softMain.cpp for
more details.  'softIoc -h' gives usage.

Tested on Solaris & Linux, not appropriate for vxWorks,
other architectures untested.
2003-04-09 01:40:51 +00:00
Jeff Hill
0330a9a085 improved diagnostics 2003-04-08 19:42:01 +00:00
Marty Kraimer
f7fdc9a11e RELEASE_NOTES.html 2003-04-08 19:31:23 +00:00
Andrew Johnson
9e337cca2b Permit threads other than main() to call exit() and have the process stop.
If a subsidiary thread calls exit(), its context is used (on Solaris at
least) for calling the atexit routines.  If one of those routines cancels
the thread that called exit(), the exit itself gets cancelled and any
remaining threads are left running, possibly including the main() thread.
Thus the check in myAtExit() should have been to not cancel the current
thread; when this was tested, presumably only calls to exit() from the
main() thread were checked.
2003-04-08 19:18:52 +00:00
Marty Kraimer
6f8d94c8dd use %g instead of %f. Saves several lines of code 2003-04-08 15:25:16 +00:00
Marty Kraimer
ef3a3629a5 add device for Test Asyn 2003-04-08 15:24:23 +00:00
Jeff Hill
6c07f8064a fixed large arrays 2003-04-08 00:06:22 +00:00
Jeff Hill
7600b37a9d removed tabs 2003-04-07 23:30:23 +00:00
Jeff Hill
fe98915920 updated doc 2003-04-07 22:48:01 +00:00
Jeff Hill
7429e6a1de optimized protocol transfer 2003-04-07 21:15:22 +00:00
Marty Kraimer
8e3b9a0453 convert hostnames to lower case 2003-04-07 16:06:30 +00:00
Jeff Hill
12efe1ec2b optimized time fetch during flush 2003-04-07 16:06:17 +00:00
Marty Kraimer
9519c2646a epicsStringTest is new 2003-04-07 13:52:15 +00:00
Marty Kraimer
48e9500f1a added epicsStrCaseCmp; add epicsShare decoration 2003-04-07 13:51:18 +00:00
Marty Kraimer
cb4e242b40 only the sscanf should have the %lf 2003-04-07 12:41:12 +00:00
Marty Kraimer
6958eafd44 %lf instead of *f 2003-04-07 12:13:10 +00:00
Andrew Johnson
c2480a2de6 Updated the years listed in Copyright notices. 2003-04-05 00:16:09 +00:00
Andrew Johnson
e95d19ec1c Added APST and MPST fields that control whether monitors are fired if the
new string is identical to the old one.  Default value is "On Change" with
behaviour identical to before, set to "Always" to fire monitors every time
the record is processed (analagous to setting MDEL=-1 for numeric record
types).
2003-04-04 21:55:03 +00:00
Andrew Johnson
bb431bdf7c Fire archive monitors too if delta=0x80000000 2003-04-04 21:25:25 +00:00
Janet B. Anderson
14bd27a4f8 Initial version. 2003-04-04 18:36:25 +00:00
Marty Kraimer
26fac718bf set BUFFER_EXTRA_BYTES = MAX_MESSAGE_SIZE 2003-04-04 16:29:29 +00:00
Marty Kraimer
14b069660f make clear distinction between support and ioc apps 2003-04-04 15:01:42 +00:00
Ralph Lange
34b8c943c5 += epicsStdio for HPUX 2003-04-04 14:14:37 +00:00
Ralph Lange
c3cf188839 += chatr hint 2003-04-04 14:08:58 +00:00
Ralph Lange
b97ef3dfeb Reflect recent changes 2003-04-04 13:51:08 +00:00
Ralph Lange
c8c64a212c Restructured and adapted to recent build system changes; code
builds and runs both shared and static with native or GNU compiler
2003-04-04 12:50:29 +00:00
Janet B. Anderson
9242561f9f Updated for R3.14.2 2003-04-03 23:30:48 +00:00
Janet B. Anderson
41e66161de No build changes for R3.14.2. Removed the R3.13 release number from text. 2003-04-03 21:59:42 +00:00
Janet B. Anderson
b030fdeca3 Added note about R3.13 shared libraries. 2003-04-03 21:17:52 +00:00
Janet B. Anderson
e4e3945abb Updated for R3.14.2 2003-04-03 20:41:44 +00:00
Janet B. Anderson
ef12a97150 Updated for R3.14.2 2003-04-03 19:51:58 +00:00
Janet B. Anderson
655b95e2ba Updated for R3.14.2 2003-04-03 19:19:20 +00:00
W. Eric Norum
7d5128ca9b Make the readline the default on linux IOCs. 2003-04-03 19:07:48 +00:00
Andrew Johnson
9752b0612d Implemented epicsVsnprintf() properly using vxWorks' fioFormatV() function. 2003-04-03 17:07:33 +00:00
Ralph Lange
09c8888ccd Removed unused #define that caused a warning message 2003-04-03 12:16:34 +00:00
Ralph Lange
b54793967a Suppressed HP aCC compiler warnings 2003-04-03 12:11:02 +00:00
Ralph Lange
881ba6bb9d Fixed compiler warnings connected to missing char->int casts 2003-04-03 12:05:09 +00:00
Ralph Lange
5b0d460260 Removed additional define for HP compile 2003-04-03 12:04:03 +00:00
Janet B. Anderson
261d9315bd Updated comments. 2003-04-02 21:53:46 +00:00
Janet B. Anderson
09e36d5275 Updated comments. 2003-04-02 21:24:24 +00:00
Janet B. Anderson
ab925d6878 Updated comments. 2003-04-02 21:06:59 +00:00
Janet B. Anderson
3c94902cc0 Removed epicsExport header include line. 2003-04-02 21:05:08 +00:00
Andrew Johnson
68f93f75ed Renamed scan_list.rate => scanlist.period (which is really is).
float => double change for temp value.
Added scanPeriod() routine to convert a menuScan value into seconds.
2003-04-02 20:51:25 +00:00
Marty Kraimer
5209b3bd23 changes for 3.14.2 build 2003-04-02 20:46:04 +00:00
Janet B. Anderson
d29ba4b4dc Updated Comment 2003-04-02 20:26:09 +00:00
Janet B. Anderson
8f59a176b9 Updated comments. 2003-04-02 20:23:44 +00:00
Marty Kraimer
27fcd9bf91 fix for old config rules 2003-04-02 19:17:27 +00:00
Marty Kraimer
7ec63f6034 changes for epicsExport 2003-04-01 21:06:49 +00:00
Marty Kraimer
1d76d011a3 create typedef for rset and drvet 2003-04-01 21:06:09 +00:00
Marty Kraimer
0cf8aa13b5 convert host name to lower case 2003-04-01 21:03:57 +00:00
Marty Kraimer
2261062c8c new include file 2003-04-01 20:48:33 +00:00
Marty Kraimer
21375a0747 new file 2003-04-01 20:48:07 +00:00
Andrew Johnson
6990623a90 Drop the pedantry, it's only an annoyance nowadays. 2003-04-01 20:03:19 +00:00
Andrew Johnson
fa3501a4ad Removed simple example, which is now the makeBaseApp template "caServerApp". 2003-04-01 19:59:46 +00:00
Andrew Johnson
fcf98d1d26 johill 2003/03/26 23:48:00: "ref the gdd in the pv" 2003-04-01 19:54:32 +00:00
W. Eric Norum
3367ffaf12 Clean up comments. 2003-04-01 19:37:01 +00:00
W. Eric Norum
994010511d Converted to HTML. 2003-04-01 16:24:51 +00:00
W. Eric Norum
9d729dbab3 Convert to HTML. 2003-04-01 16:21:50 +00:00
W. Eric Norum
04874dc353 Clean up architecture envirionment variable description. Provide example. 2003-04-01 13:08:37 +00:00
W. Eric Norum
e866170a5d Add support for host addresses in dotted-decimal form. 2003-03-31 22:34:12 +00:00
W. Eric Norum
d5c7dff2dd See if this changes the mode properly. 2003-03-31 22:20:01 +00:00
Janet B. Anderson
8b21143482 Redefined TARGET_LDFLAGS. 2003-03-31 21:01:29 +00:00
Janet B. Anderson
b9926ba931 Added TARGET_LDFLAGS. 2003-03-31 20:42:11 +00:00
Janet B. Anderson
3a877b73e2 Modified comments. 2003-03-31 20:13:19 +00:00
Marty Kraimer
cb3c89f1da change for win32 2003-03-31 20:03:16 +00:00
Marty Kraimer
385d813002 more changes for stupid stupid win32 2003-03-31 19:53:55 +00:00
Janet B. Anderson
761cbdc882 Added -z defs linker option. 2003-03-31 18:47:35 +00:00
Janet B. Anderson
bd53d21bd9 Changed recIoc library to rsrvIoc. 2003-03-31 17:10:10 +00:00
Janet B. Anderson
db8e461bf1 Updated comments. 2003-03-31 17:00:28 +00:00
Janet B. Anderson
d17b216c73 Added recIoc.rc win32 resource file. 2003-03-31 16:42:19 +00:00
Janet B. Anderson
d144a22633 Added testDevIoc.rc win32 resource file. 2003-03-31 16:40:56 +00:00
Janet B. Anderson
d80c1a94b2 Added softDevIoc.rc win32 resource file. 2003-03-31 16:40:43 +00:00
Marty Kraimer
927446c261 Makefile changes so that rec and dev build on win32 2003-03-31 14:04:49 +00:00
Marty Kraimer
4b95841fcd more changes to get epicsShare to work on win32 2003-03-28 20:25:43 +00:00
Marty Kraimer
21ee244b5e more changes for epicsShare 2003-03-28 16:01:45 +00:00
Marty Kraimer
499d1fa9af epicsShareExtern => epicsShareDef 2003-03-28 15:59:53 +00:00
Janet B. Anderson
732d977ba0 Removed extra parenthesis. 2003-03-27 22:13:04 +00:00
Janet B. Anderson
a5af82c9ef removed printf. 2003-03-27 21:59:35 +00:00
Janet B. Anderson
f8175b3203 Removed epicsShareAPI 2003-03-27 21:50:33 +00:00
Janet B. Anderson
24abd0366d Removed epicsAhareAPI 2003-03-27 21:47:36 +00:00
Jeff Hill
d7c25d1554 removed epicsShareAPIV 2003-03-27 21:02:27 +00:00
Jeff Hill
6c9d8e3b26 fixed my lame spelling 2003-03-27 20:57:02 +00:00
Jeff Hill
ece267dc62 improved documentation 2003-03-27 18:47:26 +00:00
Janet B. Anderson
9ad47b4b6a Added comment about INSTALL_LOCATION_APP. 2003-03-27 15:41:56 +00:00
Janet B. Anderson
4d6c58393f Moved RUNTIME_LDFLAGS defintion. 2003-03-27 15:34:56 +00:00
Janet B. Anderson
9b9f61d49b Moved -shared option. 2003-03-27 15:31:55 +00:00
Marty Kraimer
37338038df fix epicsShare decoration 2003-03-27 15:00:33 +00:00
Marty Kraimer
6438775f6e RecordSizeOffset now static; fix decoration for registrar functions 2003-03-27 14:59:47 +00:00
Marty Kraimer
88bbe19d70 registerRecordDeviceDriver now defines GEN_SIZE_OFFSET 2003-03-27 14:58:40 +00:00
Marty Kraimer
245b7350a6 make sRecordSizeOffset static 2003-03-27 14:57:03 +00:00
Jeff Hill
641b33129c removed unnecessary includes 2003-03-27 01:08:45 +00:00
Jeff Hill
12634b33f9 removed unnecessary includes 2003-03-27 00:58:25 +00:00
Jeff Hill
53ba74afe0 ref the gdd in the pv 2003-03-26 23:48:00 +00:00
Jeff Hill
29132a9c5c small optimizations 2003-03-26 22:24:56 +00:00
Jeff Hill
5f1c656aed move sleep quantum cache to proper place in the fdManager class 2003-03-26 22:16:04 +00:00
Jeff Hill
e3fb337b70 move sleep quantum cache to proper place in the fdManager class 2003-03-26 22:12:54 +00:00
Jeff Hill
d0f68ee85f move sleep quantum cache to proper place in active timer queue 2003-03-26 22:12:07 +00:00
W. Eric Norum
7b589b0e27 Don't want gnuCommon -shared flag on Darwin. 2003-03-26 21:52:47 +00:00
Janet B. Anderson
9d5a961ed4 R3.14.2 2003-03-26 21:13:10 +00:00
Jeff Hill
534592997f move a warning from level 3 to level 4 and detect certain Ox related failures during debug builds 2003-03-26 21:11:13 +00:00
Janet B. Anderson
c806e34d50 Merged changes from epics_R3_13_1_branch branch. 2003-03-26 21:09:32 +00:00
Marty Kraimer
0ddf9a3039 remove epicsShareFunc 2003-03-26 20:10:47 +00:00
Marty Kraimer
7fb37da827 changes for new build rules 2003-03-26 20:10:04 +00:00
W. Eric Norum
6500500697 Ensure that dynamic library install name is an absolute path. 2003-03-26 20:05:53 +00:00
W. Eric Norum
73b7008a76 Numerous changes to reflect shared library and other 3.14 changes. 2003-03-26 15:45:01 +00:00
Marty Kraimer
3050b73084 use new method to register asSub functions 2003-03-26 14:04:19 +00:00
Marty Kraimer
19adb1a419 Use new technique to register sub functions 2003-03-26 13:28:08 +00:00
Janet B. Anderson
e164e767b2 Added RUNTIME_LDFLAGS. 2003-03-25 21:48:48 +00:00
Marty Kraimer
43a3cc4fe7 use _APPNAME_ instead of example 2003-03-25 20:18:55 +00:00
Janet B. Anderson
17ff237237 Updated comments. 2003-03-25 20:05:43 +00:00
W. Eric Norum
7013940665 Fix tab/space problem in previous patch. 2003-03-25 19:23:56 +00:00
W. Eric Norum
3096b35961 Don't leave dangling output files when msi fails. 2003-03-25 19:22:42 +00:00
Jeff Hill
03f495892c improved formatting for thread list 2003-03-25 17:51:04 +00:00
Jeff Hill
225970f1be fixed build errors 2003-03-25 17:35:15 +00:00
Marty Kraimer
652d3a41d8 use epicsVsnprintf instead of vsprint; allow more extra bytes because vxWorks subject to buffer overflow 2003-03-25 17:09:16 +00:00
Marty Kraimer
f3380f81f0 epicsStdio is new 2003-03-25 17:03:29 +00:00
Marty Kraimer
ec1f3cf06f let test return int so vxWorks doesnt report error 2003-03-25 17:03:01 +00:00
W. Eric Norum
9f529f8ed0 Add support for Darwin. 2003-03-25 17:00:38 +00:00
W. Eric Norum
0483b96784 Typo on displayed percentage. 2003-03-25 00:44:09 +00:00
Jeff Hill
80fc6bf2de better sleep quantum estimator 2003-03-25 00:25:39 +00:00
Jeff Hill
cb8434c553 better sleep quantum estimator 2003-03-25 00:21:38 +00:00
Jeff Hill
acb59a0a06 better sleep quantum estimator 2003-03-25 00:03:56 +00:00
Janet B. Anderson
58627395b5 Added dbExpand.tmp imtermediate file. 2003-03-24 23:12:35 +00:00
Marty Kraimer
09db1430da return failure if dbExpand fails 2003-03-24 19:54:27 +00:00
Marty Kraimer
5517c055da name should not include lib 2003-03-24 16:43:06 +00:00
Marty Kraimer
f41cdef0d6 changes for stupid win32 2003-03-24 13:54:30 +00:00
Ralph Lange
e675fd2178 Fixed HPUX problem: HZ is '#define'd in system header file 2003-03-24 08:19:45 +00:00
W. Eric Norum
2f676b3e9a Track changes to build system. 2003-03-23 21:25:08 +00:00
W. Eric Norum
2598effd57 Add extern declaration. 2003-03-22 17:14:52 +00:00
W. Eric Norum
e6fd26dba3 Cosmetic. 2003-03-22 16:57:16 +00:00
Jeff Hill
39d3883325 fixed missing init 2003-03-22 02:11:09 +00:00
Jeff Hill
2c3108c235 broke up extra long message because this causes buffer over run in errlog facility 2003-03-22 00:18:46 +00:00
Jeff Hill
1388f8d0f2 improved epicsThreadShow[All] 2003-03-21 23:31:10 +00:00
Marty Kraimer
76883c4a2f use NELEMENTS instead of registryFunction.h 2003-03-21 20:05:23 +00:00
Marty Kraimer
e808742fe1 function replaced by registrar 2003-03-21 19:41:50 +00:00
Marty Kraimer
57a22dab4d LIBRARIES=>LIBS 2003-03-21 19:36:40 +00:00
Jeff Hill
0792aebf95 added sleep quantum correction using epicsThreadSleepQuantum() 2003-03-21 19:26:00 +00:00
Jeff Hill
4c142e759c added epicsThreadSleepQuantum() 2003-03-21 19:19:24 +00:00
Jeff Hill
9c4c5d887c removed junk 2003-03-21 19:17:41 +00:00
Janet B. Anderson
be94e275cd Added EPICS_BASE_HOST_LIBRARIES definition. 2003-03-21 15:12:09 +00:00
Jeff Hill
83c0404bcf fixed gnu cpp c++ comment warnings 2003-03-21 01:40:15 +00:00
Jeff Hill
269e2938a2 optimized comBuf transactions 2003-03-21 01:37:08 +00:00
Janet B. Anderson
062fdf6173 Removed include of base RULES_JAVA. 2003-03-20 23:27:18 +00:00
Janet B. Anderson
4ce05e77ab Added comments about install location. 2003-03-20 23:26:37 +00:00
Janet B. Anderson
568997b573 Added LIB_EXT definition. 2003-03-20 23:15:58 +00:00
Janet B. Anderson
c9fab5f830 Updated comments. 2003-03-20 20:54:30 +00:00
Janet B. Anderson
e5dce2b256 Remove jba line accidently committed. 2003-03-20 20:44:07 +00:00
Janet B. Anderson
89cfbc5e21 Moved INSTALL_LOCATION definition to RELEASE file for SHRLIB_SEARCH_DIRS. 2003-03-20 20:36:16 +00:00
Jeff Hill
5f443dd538 fixed up the cygwin build for R3.14 2003-03-20 20:07:08 +00:00
Jeff Hill
3b4084e14c installed 2003-03-20 20:05:52 +00:00
Jeff Hill
5fd1b028dd use posix sockets 2003-03-20 20:00:22 +00:00
Jeff Hill
0f5ab03eb0 fixed up the cygwin build for R3.14 2003-03-20 19:56:49 +00:00
Janet B. Anderson
335269a25a Make rec, softDev, and testDev libs shared. 2003-03-20 19:53:29 +00:00
Jeff Hill
63b588defb possible workaround for unreproducable race during borland dll rundown 2003-03-19 23:18:28 +00:00
Jeff Hill
12e884b433 workaround for Borland compiler bug 2003-03-19 22:15:20 +00:00
Jeff Hill
e23e6bc1c7 fixed Borland warnings 2003-03-19 19:12:01 +00:00
Jeff Hill
28c0170730 fixed Borland warning 2003-03-19 19:10:02 +00:00
Janet B. Anderson
772e32365d No fPIC on compiles of vx library source files. 2003-03-19 18:49:06 +00:00
Jeff Hill
ed80ec6650 fixed Borland build issues 2003-03-19 18:00:33 +00:00
Janet B. Anderson
700fab38df Updated comments to reflect <name>_TEMPLATE changes. 2003-03-19 17:54:38 +00:00
Janet B. Anderson
421310b544 Modified to reflect new <name>_TEMPLATE changes. 2003-03-19 17:51:33 +00:00
Janet B. Anderson
22f533245b Fixed library definition. 2003-03-19 15:52:59 +00:00
Jeff Hill
55b51195f4 workaround for visual c++ 6.0 not compatible with c++ standards 2003-03-19 15:44:31 +00:00
Janet B. Anderson
f156dbef42 Fixed typo. 2003-03-19 15:13:22 +00:00
Janet B. Anderson
7489f53923 Removed Cstd library. 2003-03-19 15:12:13 +00:00
W. Eric Norum
0226c3ff30 Minor cleanup of previous dbl changes. 2003-03-19 14:33:22 +00:00
Marty Kraimer
02485be3b5 fix dbGetLink bug for arrays 2003-03-19 12:35:20 +00:00
W. Eric Norum
cf0dca2100 Allow empty strings to stand in for missing or 0 vxWorks argument. 2003-03-19 01:52:56 +00:00
Janet B. Anderson
6021e84957 Changes for shared libraries and os consistancy. 2003-03-18 22:45:03 +00:00
Janet B. Anderson
1693b492f8 Updated cvsroot information. 2003-03-18 21:23:49 +00:00
Jeff Hill
94347fc223 fixed undefined channel pointer in context 2003-03-18 20:39:48 +00:00
Janet B. Anderson
9e3e785ba6 Initial version debug targets. 2003-03-18 20:24:18 +00:00
Jeff Hill
1a2f2ad7e4 wakeup the event queue when placing channel delete events in it 2003-03-13 01:29:08 +00:00
Jeff Hill
b26b70ec8e cosmetic 2003-03-13 00:18:48 +00:00
Jeff Hill
38aad33d78 further bullet proof the server tool initiated PV destroy 2003-03-13 00:16:39 +00:00
Jeff Hill
18cac266cd added missing loop increment 2003-03-12 19:15:55 +00:00
Jeff Hill
7c4d4479ec workaround for Tornado II compiler bug 2003-03-11 17:39:44 +00:00
Jeff Hill
2353e483c7 fixed gnu warning 2003-03-10 23:49:11 +00:00
Jeff Hill
8efa36b734 changes allowing asynchronous casPV destroy 2003-03-10 22:26:33 +00:00
Jeff Hill
04f4585891 fixed last command def 2003-03-10 22:17:09 +00:00
Jeff Hill
c1128625bb improved diagnostics 2003-03-10 22:16:18 +00:00
Jeff Hill
4de99e49e7 return ECA_INTERNAL when the caught exception type is unknown 2003-03-10 22:12:51 +00:00
W. Eric Norum
5f80d74a79 Name change to reflect routine's affects on all 'slow' system calls. 2003-03-08 18:39:45 +00:00
Janet B. Anderson
b05d1db548 Fixed spelling error. 2003-03-05 18:33:26 +00:00
W. Eric Norum
c13617af36 Remove support for 0-length queues. vxWorks doesn't support them nor
does RTEMS so why go to the effort to support them on other systems.
2003-03-04 22:28:32 +00:00
W. Eric Norum
64e1a4ed0c Use C linkage.
Get rid of 0-length queues.
Clean up some messages.
2003-03-04 22:19:48 +00:00
W. Eric Norum
88f4124c5b Major modifications to ensure valid 'nBytes' argument to msgQReceive(). 2003-03-04 22:18:17 +00:00
W. Eric Norum
921e5b02f4 Make commented-out cd command syntactically-correct. 2003-03-04 20:01:03 +00:00
W. Eric Norum
5ce6d6a723 Map core status code to RTEMS status code. 2003-03-04 15:18:41 +00:00
W. Eric Norum
0b6a5b3bad Linux now seems to have putenv. 2003-03-03 21:53:19 +00:00
W. Eric Norum
2ed8cf1549 Allow inclusion from C++ source files. 2003-03-03 21:52:57 +00:00
W. Eric Norum
fd5c03bdad Add RTEMS support for EPICS message queues.
NOTE -- Not yet tested.
2003-03-03 18:49:23 +00:00
W. Eric Norum
b3a76e8c80 Turn -ansi back on and use osiUnistd.h to provide the missing
prototypes.
2003-03-02 18:59:52 +00:00
W. Eric Norum
4707a60805 Include oisUnistd.h to pick up some missing prototypes. 2003-03-02 18:57:24 +00:00
W. Eric Norum
5dd9a8b785 Since some systems show internal thread IDs in base 10, allow entry
of numeric thread IDs in any base.
2003-03-02 17:38:33 +00:00
W. Eric Norum
eaf0c60fe5 Print error message when confronted with invalid thread ID. Allow
thread show by EPICS thread ID or by POSIX thread ID.
Cosmetic: Remove tab characters.
2003-03-02 17:36:55 +00:00
W. Eric Norum
3c02a693c7 vxWorks version of message queue. 2003-02-28 22:22:07 +00:00
W. Eric Norum
36ffa70608 Cosmetic. 2003-02-28 22:21:48 +00:00
W. Eric Norum
8c8be61128 Don't use -ansi. 2003-02-28 21:38:54 +00:00
W. Eric Norum
0f35a43feb Show pthread ID as well as EPICS thread ID since the pthread ID is
what's needed with gdb.
2003-02-28 21:08:36 +00:00
W. Eric Norum
a1a6e8861e Add support for 0-length message queues. 2003-02-28 16:14:10 +00:00
W. Eric Norum
17624a28c3 Create os-dependent message queue routines. 2003-02-27 22:59:07 +00:00
Jeff Hill
22b33711e6 changed random() to ANSI C's rand() for win32 portability 2003-02-27 16:27:48 +00:00
Jeff Hill
2d281841da fixed DLL build on WIN32 2003-02-27 16:04:04 +00:00
W. Eric Norum
05674860b9 Use modified API. 2003-02-26 19:50:04 +00:00
W. Eric Norum
f64cf11377 Change API in anticipation of conversion to os-specific implementation. 2003-02-26 19:33:10 +00:00
W. Eric Norum
9cf668711b Add building instructions. 2003-02-25 20:08:54 +00:00
W. Eric Norum
017a3c9a92 Track changes to build environment.
Add Objective-C examples.
2003-02-25 19:46:53 +00:00
W. Eric Norum
2c32590dfc New developer tools can use more of the standard GNU toolchain options. 2003-02-25 19:38:24 +00:00
Jeff Hill
c9f81cc05c improved test 2003-02-24 22:27:07 +00:00
Marty Kraimer
30f0f765a3 remove obsolete README 2003-02-24 21:21:12 +00:00
Jeff Hill
162072dbd4 fixed gnu warning 2003-02-24 17:19:07 +00:00
W. Eric Norum
4f2ec7b68b Use correct header file for memcpy prototype. 2003-02-24 16:23:43 +00:00
Jeff Hill
2c21dd8737 receive watchdog delay diagnostic 2003-02-24 16:05:22 +00:00
Jeff Hill
385db085c7 added receive watchdog delay test 2003-02-24 16:05:00 +00:00
Jeff Hill
63fdc318ac fixed beacon time stamp initialization for beacons associated with active circuits 2003-02-24 16:04:29 +00:00
Jeff Hill
b73101f5e5 removed unused argument 2003-02-24 16:02:50 +00:00
Jeff Hill
7624b0559b receive watchdog delay diagnostic and fixed echo request flush 2003-02-24 15:59:34 +00:00
W. Eric Norum
162fafc914 Clean up assorted C++ warnings and one error which showed up on Solaris. 2003-02-24 14:03:42 +00:00
Jeff Hill
fc543b5647 better message when a C++ exception terminates a C++ thread 2003-02-21 23:55:39 +00:00
W. Eric Norum
4c980ea26f Add epicsMessageQueue support. 2003-02-21 18:40:31 +00:00
Jeff Hill
337e45d36c small change to section on netmasks 2003-02-21 16:08:53 +00:00
Jeff Hill
0a36ab72b6 fixed spelling 2003-02-21 16:06:15 +00:00
Jeff Hill
58db479320 better explanation of subnet masks 2003-02-21 15:59:11 +00:00
Jeff Hill
4ba569a03f fixed casChannel deleted after casPV that it was using was deleted 2003-02-21 02:28:32 +00:00
Jeff Hill
57a9364c72 call proper destroy method in the channel interface 2003-02-21 01:21:15 +00:00
Jeff Hill
1fb29c2040 optimizations suggested by quantify 2003-02-21 00:29:04 +00:00
Jeff Hill
58837c8297 cosmetic 2003-02-21 00:27:12 +00:00
Jeff Hill
739bc335b7 optimizations suggested by quantify 2003-02-20 22:46:16 +00:00
Jeff Hill
26166e9195 fixed gnu compiler issue 2003-02-20 19:53:25 +00:00
Jeff Hill
003fed106b cosmetic 2003-02-20 17:28:52 +00:00
Jeff Hill
dd82684617 fixed inappropriate use of const 2003-02-20 17:28:17 +00:00
Jeff Hill
3f680362bb improved client scedualing fro fdManager based apps 2003-02-20 17:27:04 +00:00
W. Eric Norum
077fe6e1f3 Don't add blank lines to readline history. 2003-02-20 16:25:46 +00:00
Jeff Hill
0207edfdbd cosmetic 2003-02-18 23:46:13 +00:00
Jeff Hill
efa1cfac35 added mising C created timer destroy functions 2003-02-18 21:10:11 +00:00
Jeff Hill
5e1df0e93b cosmetic 2003-02-18 21:09:11 +00:00
Andrew Johnson
6a95724b78 Use <th> for table header lines.
TS_MIN_WEST = 0 for UK, not -60 (except in summer time...)
2003-02-18 18:48:41 +00:00
Jeff Hill
7d80377cde fixed borland build problems 2003-02-18 18:22:18 +00:00
Andrew Johnson
19ae675bf0 Attempt to stop amaya's word-wrap from inserting a line-break in the middle
of the $Id:...$ expansion, which prevents CVS from recognizing.
2003-02-18 17:14:07 +00:00
Jeff Hill
d013a1cc95 fixed several spelling errors 2003-02-18 16:31:48 +00:00
Andrew Johnson
31c67f87c5 Tornado 2.2 doesn't like const for the second argument to sendto() 2003-02-13 22:59:36 +00:00
Andrew Johnson
e1629627c0 Fixed some internal link targets that didn't exist. 2003-02-13 22:57:27 +00:00
Andrew Johnson
bc4957ceed Added some comments to remind users what to change.
Took out the dbLoadRecords() as simpleApp doesn't provide a .db file.
2003-02-13 22:36:50 +00:00
Andrew Johnson
31ece2df3c Resync with src/cas/example/simple: "improved structure and thread safety" 2003-02-13 22:19:46 +00:00
Jeff Hill
62ea4977f0 fixed sun pro warning 2003-02-13 15:52:48 +00:00
Jeff Hill
cf2e373436 added missing header file 2003-02-13 00:11:02 +00:00
Jeff Hill
87aca7838e optimizations 2003-02-12 23:54:34 +00:00
W. Eric Norum
90cf8344c2 Add forward structure declarations to prevent compiler warnings when
recGbl.h is included on its own (i.e. just to get recGblSetSevr).
2003-02-12 21:22:23 +00:00
Jeff Hill
4c23d311e4 added missing func prototype 2003-02-12 19:47:08 +00:00
Jeff Hill
14f3be7cb5 removed unused file 2003-02-12 19:45:05 +00:00
Jeff Hill
f264ba4927 fixed gnu warning 2003-02-12 19:39:28 +00:00
Jeff Hill
96f1ac2d63 installed 2003-02-12 19:11:43 +00:00
Jeff Hill
644e6eb273 improved structure and thread safety 2003-02-12 19:06:15 +00:00
Jeff Hill
234c515b05 removed exception specifications 2003-02-12 19:03:59 +00:00
Jeff Hill
648557b72c added authors 2003-02-12 19:03:00 +00:00
Jeff Hill
421e4b71b1 added removeAll mf 2003-02-12 19:00:33 +00:00
Jeff Hill
eb85ae1326 added iterator typedef 2003-02-12 19:00:08 +00:00
Jeff Hill
3f3f6963a0 added mf to check for identical mutex 2003-02-12 18:58:50 +00:00
Jeff Hill
27a12c8a0f removed 2003-02-12 18:56:48 +00:00
Jeff Hill
33b4622a1f use template to reduce code 2003-02-12 18:56:40 +00:00
Jeff Hill
f8db8b4dc0 switched to epicsMutex for locking 2003-02-12 18:54:48 +00:00
Jeff Hill
11dcec07bf added ref count locking 2003-02-12 18:54:10 +00:00
Jeff Hill
517b60cb16 added gdd global lock 2003-02-12 18:52:30 +00:00
Jeff Hill
8e5aa40895 removed throw specifications 2003-02-12 18:51:35 +00:00
W. Eric Norum
fb8aa21cc8 Make command-line editing optional. 2003-02-12 01:01:03 +00:00
Andrew Johnson
a1f332be01 Moved base.dbd from both makeBaseApp templates into src/misc.
An application only needs a copy if it wants to remove stuff.
2003-02-11 23:25:11 +00:00
Andrew Johnson
57a21b390f We should discourage the creation of .dbd files in Db subdirectories.
From 3.14 they also need the _RegisterRecordDeviceDriver.cpp stuff,
which should appear in a src directory.
2003-02-11 23:04:35 +00:00
Andrew Johnson
3d68b58cbb Don't prompt for an IOC target architecture if there's only one available. 2003-02-11 22:01:55 +00:00
W. Eric Norum
4f2f873574 Make readline inclusion a matter of uncommenting only 1 line (half the effor!). 2003-02-11 20:44:32 +00:00
W. Eric Norum
b35c92278b Bug fix for template filename expansion. 2003-02-11 16:08:08 +00:00
Janet B. Anderson
e359f48237 Allow <name>_LDFLAGS. 2003-02-10 22:52:10 +00:00
Janet B. Anderson
4b2ddb5e80 Allow PROD_RCS and LIB_RCS. 2003-02-10 22:48:14 +00:00
W. Eric Norum
8eb5ff24c6 Clean up -pedantic flag.
Add support for objective-C.
2003-02-10 16:28:48 +00:00
Marty Kraimer
0e15ac20e3 Use Andrew's changes as basis for fixing problem Ron Sluiter reported 2003-02-10 14:56:12 +00:00
Andrew Johnson
3ed8f54151 Fixed problem with recvfrom() when running on T2.2 - found by Ron Sluiter.
This is a slightly different solution to his though.
2003-02-08 00:29:56 +00:00
Jeff Hill
7aacae66d4 typedef has an exception specification 2003-02-07 21:15:27 +00:00
Andrew Johnson
f5170b7999 Don't need to add SHRLIB_SEARCH_DIRS to SHRLIB_LDFLAGS 2003-02-07 19:50:58 +00:00
Andrew Johnson
05d4a234aa Fix so the CONFIG_APP_INCLUDE files for base get included. 2003-02-07 19:18:05 +00:00
Jeff Hill
dedb6c25f4 workaround for WRS T2.2 cygnus gnu compiler bugs 2003-02-07 18:23:48 +00:00
Jeff Hill
8345d76473 fixed gnu warning 2003-02-07 16:47:06 +00:00
Jeff Hill
152d7430e8 cleaned up throw specifications 2003-02-07 16:43:43 +00:00
Jeff Hill
8e64cdcd84 cleaned up throw specifications 2003-02-07 16:40:40 +00:00
Andrew Johnson
60d230c0b7 Added CONFIG_TARGETS so we build CONFIG_APP_INCLUDE
(needed for SHRLIB_SEARCH_DIRS)
2003-02-06 22:21:10 +00:00
Andrew Johnson
582e48cd6e Modified comments about SHRLIB_SEARCH_DIRS 2003-02-06 22:11:03 +00:00
Andrew Johnson
3a4296cd4e Changed the definition of SHRLIB_SEARCH_DIRS to be the actual dir searched
Added implementation for solaris-sparc
2003-02-06 22:00:20 +00:00
Andrew Johnson
df2451c7ee Added code to emit SHRLIB_SEARCH_DIRS settings into CONFIG_APP_INCLUDE 2003-02-06 21:57:51 +00:00
Andrew Johnson
52fc660e03 Fixed sub Cleanup() - s/'\n'/"\n"/ 2003-02-06 19:37:18 +00:00
Andrew Johnson
8ee88feabb Added _APPNAME_ to ioc boot stuff. 2003-02-06 17:21:30 +00:00
Andrew Johnson
ad68425f39 More comments on setting names, added the #! line and chmod +x comment 2003-02-06 16:23:51 +00:00
W. Eric Norum
2296613061 Change comment to match file name. 2003-02-06 14:58:59 +00:00
W. Eric Norum
471bb75029 Clean up some printf format/argument warnings. 2003-02-06 14:55:50 +00:00
Andrew Johnson
081cb42dc8 Moved CA client examples into their own caClientApp
Added caServerApp - copied from src/cas/example/simple
Made simpleApp significantly more useful
Made exampleApp use the _APPNAME_ macro instead of example in various places
2003-02-05 23:46:23 +00:00
Jeff Hill
168c9c5503 added beacon anomaly count diagnostic 2003-02-05 22:08:54 +00:00
Jeff Hill
0b8f25214f improved acctst doc 2003-02-05 20:44:57 +00:00
Janet B. Anderson
47c1f7b6a3 INSTALL_JAVA defined in CONFIG_COMMON. 2003-02-02 21:24:01 +00:00
Jeff Hill
c60970a0ab added paragraph on mbuf starvation 2003-01-31 00:50:14 +00:00
Jeff Hill
6ce867d70d fixed no termination from event remove loop if event queue is 100% full 2003-01-30 15:48:41 +00:00
Janet B. Anderson
c5fe6a39d0 Allow <name>_TEMPLATE specifications. 2003-01-30 15:42:25 +00:00
Jeff Hill
ed008a4d49 correct name for epicsTimerQueueRelease 2003-01-29 20:03:15 +00:00
Janet B. Anderson
9c4d568546 Added PROD_LDFLAGS, LIB_LDFLAGS, PROD_OBJLIBS, USR_OBJLIBS, LIB_OBJLIBS. 2003-01-24 22:01:34 +00:00
Janet B. Anderson
e0705d2632 Added USR_OBJS. 2003-01-24 18:00:29 +00:00
Janet B. Anderson
7c57ed82c9 Added USR_SRCS 2003-01-24 17:46:01 +00:00
Jeff Hill
92d9d53387 cosmetic 2003-01-23 22:58:23 +00:00
Jeff Hill
21058eed94 fixed 1st argument to select 2003-01-23 22:55:27 +00:00
Jeff Hill
ca661479f8 fixed double include 2003-01-23 22:53:31 +00:00
Jeff Hill
69c4fe707a fixed Linux warning 2003-01-23 20:26:20 +00:00
Jeff Hill
5a6a822e37 fixed cpu consumption problems in clients that use fd managers
together with ca fd registration
2003-01-23 20:21:04 +00:00
Jeff Hill
f119b11c57 fixed cpu consumption problems in clients that use fd managers
together with ca fd registration
2003-01-23 20:13:44 +00:00
Janet B. Anderson
407944854b Simplified SHRLIB_LDFLAGS_YES/NO to SHRLIB_LDFLAGS. 2003-01-23 17:02:32 +00:00
Janet B. Anderson
1108c9e00a Added DEBUG flags and libs. 2003-01-23 17:00:42 +00:00
Janet B. Anderson
7d2390eb74 Allow creating a *.db from *.substitutions and DB_TEMPLATE. 2003-01-22 20:51:53 +00:00
Janet B. Anderson
fa5a497f50 Added note about shared library builds on solaris. 2003-01-17 20:07:05 +00:00
Janet B. Anderson
48258e1393 Updated path info. 2003-01-17 20:06:33 +00:00
Jeff Hill
3c4c984954 checked off large arrays 2003-01-17 01:20:53 +00:00
Jeff Hill
36292e8c37 replace server list with server pointer 2003-01-17 01:20:31 +00:00
Jeff Hill
2311b4c9d5 implement flush with fast access list 2003-01-17 01:19:14 +00:00
Jeff Hill
205c0838ed added server list 2003-01-17 01:18:19 +00:00
Jeff Hill
f1cc9e98aa longer timeout 2003-01-09 20:37:33 +00:00
Jeff Hill
e09746cf38 changed to 1:1 ratio channels to monitors to better reflect reality 2003-01-09 17:26:41 +00:00
Jeff Hill
2f7c14486b fixed sun pro warning 2003-01-09 16:40:01 +00:00
Jeff Hill
0b33801f3c redesigned mutex locking 2003-01-09 00:43:59 +00:00
Jeff Hill
adb0b5d9eb redesigned mutex locking 2003-01-08 23:22:08 +00:00
Jeff Hill
7cf6e3bcdd doc 2003-01-08 01:02:31 +00:00
Jeff Hill
2ca9b78d56 more spinlock tests 2003-01-08 00:52:54 +00:00
Jeff Hill
7b5f3f85fe test version of posix spin locks 2003-01-07 22:16:35 +00:00
Janet B. Anderson
4994020e5e Added sample CONFIG_SITE files. 2003-01-07 21:13:21 +00:00
Jeff Hill
1fb9f3ca31 improved assert failure in test 2003-01-07 21:01:53 +00:00
Jeff Hill
63d1c92aa7 gnu compiler required reinterpret_cast<> when converting from void * to another pointer 2003-01-07 17:40:53 +00:00
Janet B. Anderson
eac2ab98be Allow *_SRCS and *_OBJS and LDOBJS in creation of OBJLIB. 2003-01-07 17:33:24 +00:00
Jeff Hill
9421ac3696 remove code supressing errornos that are only appropriate to stream io 2003-01-07 17:30:04 +00:00
Jeff Hill
d2ee701574 supress bogus warning messages 2003-01-07 17:29:20 +00:00
Jeff Hill
ae7a9ebfa2 cleaned up resid to object conversion 2003-01-07 17:12:07 +00:00
Jeff Hill
c9a2188752 fixed use of reinterpret_cast to cast down the inheritance
hierarchy when static_cast is the correct way to do this
2003-01-07 16:05:01 +00:00
Jeff Hill
360204275e removed leftover junk 2003-01-07 16:01:11 +00:00
Jeff Hill
c3e1624478 cosmetic 2003-01-07 15:59:51 +00:00
Jeff Hill
e7a613e60a reinterpret cast not required when casting a void * pointer to another pointer type 2003-01-07 15:57:31 +00:00
Jeff Hill
8243afe938 removed leftover junk 2003-01-07 15:55:02 +00:00
Jeff Hill
e8efa5b015 reinterpret cast not required when casting a void * pointer to another pointer type 2003-01-07 15:52:24 +00:00
Jeff Hill
11ad86c68e fixed typo 2003-01-06 23:13:12 +00:00
Jeff Hill
9046d5f13c the EPICS build system isnow defining _EXTENSIONS_ on Solaris 2003-01-06 18:09:35 +00:00
1042 changed files with 47072 additions and 32759 deletions

69
LICENSE
View File

@@ -1,29 +1,19 @@
Copyright (c) 2002 University of Chicago and The Regents of the University
of California. All rights reserved.
Copyright (c) 1991-2004 University of Chicago and The Regents of the
University of California. All rights reserved.
EPICS BASE is distributed subject to the following license agreement:
EPICS BASE is distributed subject to the following license conditions:
SOFTWARE LICENSE AGREEMENT
Software: EPICS BASE
Versions: 3.13.7 and higher
IMPORTANT! READ CAREFULLY: EPICS BASE is NOT distributed as Open Source.
This is a legal agreement between you (in your capacity as an individual
and as an agent for your company, institution or other entity) and The
University of Chicago, as Operator of Argonne National Laboratory under
Contract W-31-109-ENG-38 with the U.S. Department of Energy ("Argonne"),
and The Regents of the University of California, as Operator of Los Alamos
National Laboratory under Contract W-7405-ENG-36 with the U.S. Department
of Energy ("Los Alamos").
1. The "Software", below, refers to EPICS BASE (in either source code, or
binary form and accompanying documentation). Each licensee is
addressed as "you" or "Licensee."
2. Argonne and Los Alamos are copyright holders in the Software. The
copyright holders and their third-party licensors hereby grant
Licensee a royalty-free nonexclusive license, subject to the
limitations stated herein and U.S. Government license rights.
2. The copyright holders shown above and their third-party licensors
hereby grant Licensee a royalty-free nonexclusive license, subject to
the limitations stated herein and U.S. Government license rights.
3. You may modify and make a copy or copies of the Software for use
within your organization, if you meet the following conditions:
@@ -44,39 +34,28 @@ of Energy ("Los Alamos").
materials provided with the copy;
c. Modified copies and works based on the Software must carry
prominent notices stating that you changed specified portions of
the Software; and
d. Prior to sending a copy or modified copy of the Software to any
person or entity outside your organization you must verify with
Argonne that the intended recipient of the Software has executed
a license with Argonne for EPICS BASE. (See
http://www.aps.anl.gov/epics/license/verify.php for information
on how to contact Argonne.)
the Software.
5. THE SOFTWARE INCLUDES PORTIONS WHICH MAY REQUIRE SOME FORM OF EXPORT
CONTROL LICENSE FROM THE U.S. GOVERNMENT. FAILURE TO OBTAIN SUCH
EXPORT CONTROL LICENSE MAY RESULT IN CRIMINAL LIABILITY UNDER U.S.
LAWS.
6. Portions of the Software resulted from work developed under a U.S.
5. Portions of the Software resulted from work developed under a U.S.
Government contract and are subject to the following license: the
Government is granted for itself and others acting on its behalf a
paid-up, nonexclusive, irrevocable worldwide license in this computer
software to reproduce, prepare derivative works, and perform publicly
and display publicly.
7. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT, (2) DO NOT ASSUME
FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME
ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR FREE
THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE
OR THAT ANY ERRORS WILL BE CORRECTED.
8. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
@@ -89,21 +68,17 @@ of Energy ("Los Alamos").
________________________________________________________________________
This software is in part copyrighted by the BERLINER SPEICHERRING
GESELLSCHAFT FUER SYNCHROTRONSTRAHLUNG M.B.H. (BESSY),
BERLIN, GERMANY.
GESELLSCHAFT FUER SYNCHROTRONSTRAHLUNG M.B.H. (BESSY), BERLIN, GERMANY.
In no event shall BESSY be liable to any party for direct,
indirect, special, incidental, or consequential damages arising
out of the use of this software, its documentation, or any
derivatives thereof, even if BESSY has been advised of the
possibility of such damage.
In no event shall BESSY be liable to any party for direct, indirect,
special, incidental, or consequential damages arising out of the use of
this software, its documentation, or any derivatives thereof, even if
BESSY has been advised of the possibility of such damage.
BESSY specifically disclaims any warranties, including, but not
limited to, the implied warranties of merchantability, fitness for
a particular purpose, and non-infringement. This software is
provided on an "as is" basis, and BESSY has no obligation to
provide maintenance, support, updates, enhancements, or
modifications.
BESSY specifically disclaims any warranties, including, but not limited
to, the implied warranties of merchantability, fitness for a particular
purpose, and non-infringement. This software is provided on an "as is"
basis, and BESSY has no obligation to provide maintenance, support,
updates, enhancements, or modifications.
________________________________________________________________________

View File

@@ -14,7 +14,10 @@
TOP = .
include $(TOP)/configure/CONFIG
DIRS += config config/tools configure src
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
DIRS += config config/tools
endif
DIRS += configure src
include $(TOP)/configure/RULES_TOP

4
README
View File

@@ -2,9 +2,9 @@
EPICS Base - the central core of a control system toolkit
---------------------------------------------------------
Copyright (c) 2002 The University of Chicago, as Operator
Copyright (c) 1991-2003 The University of Chicago, as Operator
of Argonne National Laboratory.
Copyright (c) 2002 The Regents of the University of
Copyright (c) 1991-2003 The Regents of the University of
California, as Operator of Los Alamos National Laboratory.
EPICS Base Versions 3.13.7 and higher are distributed

View File

@@ -29,6 +29,7 @@ RANLIB = ranlib
ANSI=GCC
CPLUSPLUS=G++
OP_SYS_CPPFLAGS += -DDarwin
OP_SYS_CFLAGS += -no-cpp-precomp
OP_SYS_INCLUDES = -I/sw/include -I/usr/X11R6/include
OP_SYS_LDFLAGS += -L/sw/lib -L/usr/X11R6/lib
@@ -37,7 +38,7 @@ OP_SYS_LDFLAGS += -L/sw/lib -L/usr/X11R6/lib
#ARCH_DEP_LDLIBS += -lreadline
# Uncomment this if you're using the libtecla library
ARCH_DEP_LDLIBS += -ltecla_r -ltermcap
#ARCH_DEP_LDLIBS += -ltecla_r -ltermcap
#
# Compiler/linker problems prevent the use of shared libraries at the moment

View File

@@ -29,7 +29,7 @@ G++_SHRLIB_LDFLAGS_YES += -Wl,-soname,$@
OP_SYS_CFLAGS += -D_BSD_SOURCE
ARCH_DEP_CFLAGS = -D_X86_ -Dlinux -mcpu=pentium
ARCH_DEP_CFLAGS = -D_X86_ -Dlinux
ARCH_DEP_LDLIBS += -lpthread -lreadline -lcurses -lrt
#Allows R3.13 built extensions to load R3.14 shared libs
@@ -47,4 +47,9 @@ SYS_DLL_LIBS_Linux += pthread readline curses rt
# and see if that makes the problem go away."
#ARCH_DEP_CFLAGS += -D_GNU_SOURCE
# Runtime ldflags
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH)
RUNTIME_LDFLAGS = $(RUNTIME_LIBS:%=-Wl,-rpath,%)

View File

@@ -1,65 +0,0 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG.Host.LynxOS
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.LynxOS
ARCH_CLASS = LynxOS
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
AR = ar -rc
ARCMD = $(AR) $@
RANLIB = ranlib -t
# Configure OS vendor C compiler
ACC_ANSI = $(ACC) -ansi
ACC_STRICT = $(ACC) -ansi -pedantic
ACC_TRAD = $(ACC)
ACC_WARN_YES = -Wall
ACC_WARN_NO = -w
ACC_OPT_YES = -O
ACC_OPT_NO = -g
ACC_SFLAGS_YES = -Bstatic
ACC_SFLAGS_NO=
ACC_SLIBS_YES =
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES =
ACC_SHRLIB_LDFLAGS_YES =
# Configure OS vendor C++ compiler
CCC_NORMAL = $(CCC)
CCC_STRICT = $(CCC)
CCC_TEMPL_INST_FLAG = -pedantic -DEXPL_TEMP
CCC_WARN_YES = -Wall
CCC_WARN_NO = -w
CCC_OPT_YES = -O
CCC_OPT_NO = -g
CCC_SFLAGS_YES = -Bstatic
CCC_SFLAGS_NO=
CCC_SLIBS_YES =
CCC_SLIBS_NO=
CCC_DEPENDS_FLAG = -pedantic
# added smh 6/5/98 : when building fdmgr - seems to use this not ACC
# in effect this overides orig def in CONFIG_COMMON :
# which is GCC_STRICT = $(GCC) -ansi -pedantic
GCC_STRICT = $(GCC)
G++_STRICT = $(G++) -Wtraditional -DEXPL_TEMP
ARCH_DEP_CFLAGS = -DLynxOS -mposix -D_X86_ -DLYNXOS_RELEASE_2_4_0
ARCH_DEP_LDLIBS = -lc -lbsd -lnsl -lm -lposix4d9 -llynx

View File

@@ -83,7 +83,7 @@ OP_SYS_LDLIBS = -lm
# Link definitions
LINK.c = $(CC) -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
LINK.cc = $(CXX) -o $@ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)
#--------------------------------------------------
# Allow site overrides
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.UnixCommon

View File

@@ -42,3 +42,9 @@ GCC_DEP_CFLAGS = -D_REENTRANT
G++_DEP_CFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
# Runtime ldflags
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH)
RUNTIME_LDFLAGS = $(RUNTIME_LIBS:%=-Wl,-rpath,%)

View File

@@ -14,76 +14,61 @@
ARCH_CLASS = hpux
SHARED_LIBRARIES=YES
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
SHRLIB_SUFFIX = .sl
AR = ar
ARFLAGS = -rc
# Configure OS vendor C compiler
ACC = cc
ACC_ANSI = $(ACC) -Aa
ACC_STRICT = $(ACC) -Aa
ACC_TRAD = $(ACC)
ACC_TRAD = $(ACC) -Ac
ACC_WARN_YES =
ACC_WARN_NO = -w
ACC_OPT_YES = -O
ACC_OPT_NO = -g
ACC_SFLAGS_YES= -Wl,-a,archive
ACC_SFLAGS_NO=
# Always keep libc shared to force using the one supplied with the
# target machine (HP system and libc must match - important e.g. for
# multi-CPU-systems)
ACC_SLDFLAGS_YES= -Wl,-a,archive -l:libc.sl
ACC_SFLAGS_NO =
ACC_SLIBS_YES =
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES = +Z
ACC_SLIBS_NO =
ACC_SHRLIB_LDFLAGS_YES = -b
ACC_DEP_CFLAGS=+DAportable
# Configure OS vendor C++ compiler
HPCC = cc
HPCC_ANSI = $(HPCC) -Aa
HPCC_STRICT = $(HPCC) -Aa
HPCC_TRAD = $(HPCC) -Ac
HPCC_WARN_YES =
HPCC_WARN_NO = -w
HPCC_OPT_YES = -O
HPCC_OPT_NO = -g
HPCC_SFLAGS_YES= -Wl,-a,archive
HPCC_SFLAGS_NO=
HPCC_SLIBS_YES =
HPCC_SLIBS_NO=
HPCC_SHRLIB_CFLAGS_YES = +Z
HPCC_SHRLIB_LDFLAGS_YES = -b
HPCC_DEP_CFLAGS=+DAportable
#Old HP C++ compiler
#CCC = CC
#CCC_NORMAL = $(CCC) +p
#New HP C++ compiler
# aCC HP C++ compiler
CCC = aCC
# avoid treating "future errors" as actual errors
CCC_NORMAL = $(CCC) +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W392 +W684
CCC_STRICT = $(CCC) +p
# Suppress bogus warnings created by the aCC compiler
CCC_NORMAL = $(CCC) -AA -Aa -mt +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W392 +W684
CCC_STRICT = $(CCC) -AA -Aa -mt
CCC_TEMPL_INST_FLAG =
CCC_WARN_YES = +w
CCC_WARN_NO =
CCC_OPT_YES = -O
CCC_OPT_YES = +O3
CCC_OPT_NO = -g
CCC_SFLAGS_YES= -Wl,-a,archive
# Always keep libc shared to force using the one supplied with the
# target machine (HP system and libc must match - important e.g. for
# multi-CPU-systems)
CCC_SLDFLAGS_YES= -Wl,-a,archive -l:libc.sl
CCC_SFLAGS_NO=
CCC_SLIBS_YES =
CCC_SLIBS_NO=
CCC_SHRLIB_CFLAGS_YES = +Z
# shared libs will be found by searching environment variable SHLIB_PATH,
# then by searching the specified path (see below)
CCC_SHRLIB_LDFLAGS_YES = -b
CCC_DEPENDS_FLAG = +m
CCC_DEP_CFLAGS=+DAportable
# +DAportable causes portable object code to be created for execution
# on different PA-Risc machines
ARCH_DEP_CFLAGS = -D_HPUX_SOURCE -DHP_UX
ARCH_DEP_CXXFLAGS = -D_HPUX_SOURCE -DHP_UX
ARCH_DEP_LDLIBS =
ARCH_DEP_LDFLAGS = -Wl,+b$(DEFAULT_SHRLIB_SEARCH_PATH),+s
# Portability across different PA-RISC architecture versions, position
# independent code, "-mt" (s.a.) handles all the posix stuff
ARCH_DEP_CPPFLAGS = -DHP_UX +DAportable +z
ARCH_DEP_CFLAGS = -D_HPUX_SOURCE
# Set runtime path for shared libraries
empty:= # trick from the make docs...
space:= $(empty) $(empty)
RUNTIME_LDFLAGS_YES = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))

View File

@@ -0,0 +1,49 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG.Host.hpux-parisc-gnu
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.hpux-parisc-gnu
ARCH_CLASS = hpux
SHARED_LIBRARIES=YES
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
AR = ar -rc
ARCMD = $(AR) $@
#==========================
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
ANSI=GCC
CPLUSPLUS=G++
#==========================
# Always keep libc shared to force using the one supplied with the
# target machine (HP system and libc must match - important e.g. for
# multi-CPU-systems)
GCC_SLDFLAGS_YES = -l:libc.sl
G++_SLDFLAGS_YES = -l:libc.sl
# socket and nsl needed by libca.a
#ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lpthread
ARCH_DEP_CPPFLAGS += -D_PTHREADS -DOSITHREAD_USE_DEFAULT_STACK
# Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_hpux += pthread
# Set runtime path for shared libraries
empty:= # trick from the make docs...
space:= $(empty) $(empty)
RUNTIME_LDFLAGS_YES = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))

View File

@@ -35,23 +35,23 @@ ACC = $(SPARCWORKS)/bin/cc
ACC_ANSI = $(ACC) -Xa -v
ACC_STRICT = $(ACC) -Xc -v
ACC_TRAD = $(ACC) -Xs
ACC_DEP_CFLAGS = -KPIC
ACC_DEP_CFLAGS = -KPIC -D_REENTRANT
ACC_WARN_YES =
ACC_WARN_NO = -w
ACC_OPT_YES = -O
ACC_OPT_NO = -g
ACC_SFLAGS_YES= -Bstatic
ACC_SFLAGS_NO=
ACC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic -lXext -lX
ACC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES =
ACC_SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
ACC_SHRLIB_LDFLAGS_YES = -G -h $@
# Configure OS vendor C++ compiler
CCC = $(SPARCWORKS)/bin/CC
CCC_NORMAL = $(CCC) +p
CCC_STRICT = $(CCC) +p
CCC_DEP_CFLAGS = -KPIC
CCC_DEP_CFLAGS = -KPIC -D_REENTRANT
CCC_TEMPL_INST_FLAG =
CCC_WARN_YES = +w
CCC_WARN_NO =
@@ -59,22 +59,34 @@ CCC_OPT_YES = -O
CCC_OPT_NO = -g
CCC_SFLAGS_YES= -Bstatic
CCC_SFLAGS_NO=
CCC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic -lXext -lX
CCC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic
CCC_SLIBS_NO=
CCC_DEPENDS_FLAG = -xM1
CCC_SHRLIB_CFLAGS_YES =
CCC_SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
CCC_SHRLIB_LDFLAGS_YES = -G -h $@
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__ -mt
ARCH_DEP_LDFLAGS += -mt
# socket and nsl needed by libca.a
ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread
ARCH_DEP_LDLIBS_8 = -lCrun
ARCH_DEP_LDLIBS_9 = -lCrun
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
#Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_solaris_8 = Crun
SYS_DLL_LIBS_solaris_9 = Crun
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
# Runtime ldflags
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload

View File

@@ -7,12 +7,8 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG_HOST_ARCH.LynxOS
#
# Override values in CONFIG.LynxOS
# $Id$
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
WIND_HOST_TYPE = LynxOS
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris

View File

@@ -7,24 +7,8 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
TOP=../../..
include $(TOP)/configure/CONFIG
# $Id$
INC += camacLib.h
INC += fast_lock.h
INC += drvTS.h
INC += devLib.h
INC += epicsDynLink.h
INC += module_types.h
INC += task_params.h
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
SRCS += drvTS.c
SRCS += devLib.c
SRCS += devLibVxWorks.c
SRCS += veclist.c
SRCS += epicsDynLink.c
OBJLIB_vxWorks += vxCom
OBJLIB_SRCS = $(SRCS)
include $(TOP)/configure/RULES

View File

@@ -37,12 +37,21 @@ SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
ARCH_DEP_LDFLAGS += -mt
# socket and nsl needed by libca.a
ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread
ARCH_DEP_LDLIBS_8 = -lCrun
ARCH_DEP_LDLIBS_9 = -lCrun
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
#Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_solaris_8 = Crun
SYS_DLL_LIBS_solaris_9 = Crun
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
# Runtime ldflags
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))

View File

@@ -93,3 +93,6 @@ ARCH_DEP_CFLAGS = -DSUNOS4
#SPECIAL_LANG = /usr/lang/SC3.0.1
#SPECIAL_LANG = /usr/lang/lib
# Runtime ldflags
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))

View File

@@ -1,142 +0,0 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
#
# This file contains definitions for Vx builds
#--------------------------------------------------
# operating system class (include/os/<os_class>)
OS_CLASS = LynxOS
lynx_pc486 =YES
CC = gcc
CXX = g++
#--------------------------------------------------
# vxWorks directory definitions
# The definitions VX_DIR, VX_GNU, GNU_DIR and GNU_LIB
# can be overridden for specific host architectures
# by creating a CONFIG_SITE.Vx.<host_arch> file with
# the override definitions.
# Tornado directory definitions
VX_INCLUDE_YES =
VX_GNU_YES =
VX_GNU_BIN_YES =
VX_GNU_LIB_YES =
# pre Torando directory definitions
VX_INCLUDE_NO =
VX_GNU_NO =
VX_GNU_BIN_NO =
# directory definitions
VX_DIR =
VX_INCLUDE =
VX_GNU =
GNU_BIN = /usr/local/bin
GNU_LIB = /usr/local/lib
#--------------------------------------------------
# VxWorks command definitions
#GCC = $(GNU_BIN)/cc$(CMPLR_SUFFIX) -B$(GNU_LIB)/gcc-lib/ -nostdinc
#AR = $(GNU_BIN)/ar$(CMPLR_SUFFIX)
#CPP = $(GNU_BIN)/cpp$(CMPLR_SUFFIX) -nostdinc
#RANLIB = $(GNU_BIN)/ranlib$(CMPLR_SUFFIX)
#LD = $(GNU_BIN)/ld$(CMPLR_SUFFIX) -r
AR = ar -rc
ARCMD = $(AR) $@
RANLIB = ranlib -t
GCC = gcc
CPP = cpp
LD = ld -r
#--------------------------------------------------
# Tornado C++ crosscompiler definitions
#CPLUSPLUS_YES = G++
#G++ = $(GNU_BIN)/cc$(CMPLR_SUFFIX) -B$(GNU_LIB)/gcc-lib/ -nostdinc
#LD_G++ = $(GNU_BIN)/ld$(CMPLR_SUFFIX) -r
#NM = $(GNU_BIN)/nm$(CMPLR_SUFFIX)
#MUNCH = $(GNU_BIN)/munch
CPLUSPLUS_YES = g++ -DLynxOS -DLynxOS_pc486 -mposix -D_X86_ -DEXPL_TEMP
G++ = g++ -DLynxOS -DLynxOS_pc486 -mposix -D_X86_ -DEXPL_TEMP
LD_G++ = ld -r
NM = nm
#--------------------------------------------------
# Pre Tornado C++ crosscompiler definitions
# These are pre tornado definitions for Hideos builds (defined for 68k only)
#CPLUSPLUS_NO = CCC
#CCC = $(GNU_DIR)/bin/sun3-g++ -B$(GNU_DIR)/lib/gcc-lib/ -nostdinc -DEXPL_TEMPL
#LD_CCC = $(GNU_DIR)/bin/sun3-ld $(OLD_ARCH_DEP_LDFLAGS) -r
CPLUSPLUS_NO = g++ -DLynxOS -DLynxOS_pc486 -mposix -D_X86_ -DEXPL_TEMP
CCC = g++ -DLynxOS -DLynxOS_pc486 -mposix -D_X86_ -DEXPL_TEMP
LD_CCC = ld -r
CCC_NORMAL = $(CCC) $(OLD_ARCH_DEP_CFLAGS)
CCC_STRICT = $(CCC) -ansi -pedantic -Wall -traditional $(OLD_ARCH_DEP_CFLAGS)
CCC_TRAD = $(CCC) -traditional $(OLD_ARCH_DEP_CFLAGS)
CCC_TEMPL_INST_FLAG = -DEXPL_TEMP
CCC_WARN_YES = -Wall
CCC_WARN_NO = -w
CCC_OPT_YES = -O
CCC_OPT_NO = -g
CCC_DEPENDS_FLAG = -pedantic -DLynxOS -DLynxOS_pc486 -mposix -D_X86_
CPU = i486
OS = lynxos
OLD_ARCH_DEP_CFLAGS = -DLynxOS -DLynxOS_pc486 -mposix -D_X86_
# --no-builtin -Wa,"-m68040" -DOS_EQ_$(OS) \
# -DBOARD_EQ_$(BOARD) -DCPU_EQ_$(CPU) -DBOARD=$(BOARD)
OLD_ARCH_DEP_LDFLAGS = -mposix -lc -lbsd -lnsl -lm -lposix4d9 -llynx
# -Ur -N -T$(EPICS_BASE_BIN)/vxldscript.MRI
#--------------------------------------------------
# C compiler definitions
ANSI = gcc -ansi
#--------------------------------------------------
# Command definitions
CPLUSPLUS = g++
# $(CPLUSPLUS_$(TORNADO))
LD_CXX = ld -r
# $(LD_$(CPLUSPLUS))
#--------------------------------------------------
# Operating system flags
OP_SYS_INCLUDES =
# -I$(VX_INCLUDE)
OP_SYS_CFLAGS = -DLynxOS -DLynxOS_pc486 -mposix -D_X86_
# -DvxWorks -DV5_vxWorks -fno-builtin
OP_SYS_LDFLAGS = -DLynxOS -DLynxOS_pc486 -mposix -D_X86_
OP_SYS_LDLIBS = -lc -lbsd -lnsl -lm -lposix4d9 -llynx
#--------------------------------------------------
# Optimization flag overrides
GCC_OPT_YES = -O
# 2 -fstrength-reduce
G++_OPT_YES = -O
# 2 -fstrength-reduce
#--------------------------------------------------
# Link definitions
LINK.c = $(LD) $(LDFLAGS) -o
LINK.cc = $(LD_CXX) $(LDFLAGS) -o

View File

@@ -20,7 +20,7 @@ OS_CLASS = vxWorks
# The definitions VX_DIR, VX_GNU, GNU_DIR and GNU_LIB
# can be overridden for specific host architectures
# by creating a CONFIG_SITE.Vx.<host_archfile with
# by creating a CONFIG_SITE.Vx.<host_arch> file with
# the override definitions.
# Tornado directory definitions
@@ -41,7 +41,6 @@ VX_GNU = $(VX_GNU_$(TORNADO))
GNU_BIN = $(VX_GNU_BIN_$(TORNADO))
GNU_LIB = $(VX_GNU_LIB_$(TORNADO))
export GCC_EXEC_PREFIX = $(GNU_LIB)/gcc-lib/
export WIND_BASE = $(VX_DIR)
#--------------------------------------------------
# VxWorks command definitions
@@ -148,4 +147,3 @@ MUNCHNAME = $(LIBNAME:%=%$(MUNCH_SUFFIX))
export WIND_BASE = $(VX_DIR)
export WIND_HOST_TYPE

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# vxWorks-ppc603 is the new R3.14 name for ppc603
include $(EPICS_BASE)/config/CONFIG.Vx.ppc603_long

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# vxWorks-ppc604 is the new R3.14 name for ppc604
include $(EPICS_BASE)/config/CONFIG.Vx.ppc604_long

View File

@@ -10,24 +10,6 @@
#
# $Id$
#
# EPICS Version information
#
# This file is interpreted by the Bourne Shell (MakeRelease), so spaces are
# not allowed around the '=' signs or in unquoted values.
#
# EPICS Version information now comes from configure...
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=1
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
EPICS_LOCAL_NAME=B
EPICS_LOCAL_VERSION=0
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}.$(EPICS_LOCAL_NAME)$(EPICS_LOCAL_VERSION)"
CVS_DATE="\$$Date$$"
CVS_TAG="\$$Name$$"
BASE_3_14=YES
include $(EPICS_BASE)/configure/CONFIG_BASE_VERSION

View File

@@ -42,6 +42,7 @@ INSTALL_CONFIG = $(INSTALL_LOCATION)/config
INSTALL_JAVA = $(INSTALL_LOCATION)/javalib
EPICS_BASE_INCLUDE = $(EPICS_BASE)/include
EPICS_BASE_TOOLS = $(EPICS_BASE)/config/tools
DIVIDER = .
OBJ = .
@@ -63,7 +64,7 @@ LEX = $(ELEX)
PERL=perl
# install from EPICS
INSTALL = $(PERL) $(EPICS_BASE_HOST_BIN)/installEpics.pl
INSTALL = $(PERL) $(EPICS_BASE_TOOLS)/installEpics.pl
INSTALL_PRODUCT = $(INSTALL)
INSTALL_LIBRARY = $(INSTALL)
@@ -86,10 +87,10 @@ EPICS_BASE_BIN = $(EPICS_BASE)/bin/$(T_A)
GCC_ANSI = $(GCC) -ansi
GCC_STRICT = $(GCC) -ansi -pedantic
GCC_TRAD = $(GCC) -traditional
GCC_TRAD = $(GCC)
GCC_DEP_CFLAGS = -fPIC -D_REENTRANT
GCC_WARN_YES = -Wall
GCC_WARN_YES = -Wall -Wtraditional -Wmissing-prototypes -Wstrict-prototypes
GCC_WARN_NO = -w
GCC_OPT_YES = -O3
GCC_OPT_NO = -g
@@ -101,13 +102,13 @@ GCC_SHRLIB_CFLAGS_YES =
GCC_SHRLIB_LDFLAGS_YES = -shared
G++_NORMAL = $(G++) -ansi -pedantic
G++_STRICT = $(G++) -ansi -pedantic -Wtraditional
G++_TRAD = $(G++) -traditional
G++_STRICT = $(G++) -ansi -pedantic
G++_TRAD = $(G++)
G++_TEMPL_INST_FLAG = -DEXPL_TEMPL
G++_DEP_CFLAGS = -fPIC -D_REENTRANT
G++_WARN_YES = -Wall \
-Wmissing-prototypes -Woverloaded-virtual \
-Wwrite-strings -Wconversion -Wstrict-prototypes\
-Woverloaded-virtual \
-Wwrite-strings -Wconversion\
-Wpointer-arith -Winline
G++_WARN_NO = -w
G++_OPT_YES = -O3
@@ -238,10 +239,10 @@ CXXFLAGS = $(OPT_CXXFLAGS) $(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS)
$(OP_SYS_CFLAGS) $(TEMPL_INST_CXXFLAG) $(INCLUDES)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS)\
$(ARCH_DEP_LDFLAGS) $(STATIC_LDFLAGS) $(OP_SYS_LDFLAGS)
$(ARCH_DEP_LDFLAGS) $(STATIC_LDFLAGS) $(OP_SYS_LDFLAGS) $(RUNTIME_LDFLAGS)
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(ARCH_DEP_LDLIBS)\
$(STATIC_LDLIBS) $(OP_SYS_LDLIBS) $(POSIX_LDLIBS)
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(STATIC_LDLIBS) $(ARCH_DEP_LDLIBS)\
$(OP_SYS_LDLIBS) $(POSIX_LDLIBS)
CPPFLAGS += $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS) $(POSIX_CPPFLAGS)

View File

@@ -15,6 +15,9 @@
#Syntax:
# ARCH_<host_arch> = <epics_host_arch>
ARCH_solarisGnu = solaris-sparc-gnu
ARCH_solarisNonshared = solaris-sparc-nonshared
#ARCH_solaris = solaris-sparc-static
#ARCH_solaris = solaris-sparc-debug
ARCH_solaris = solaris-sparc
ARCH_sun4 = sun4-sparc
ARCH_Linux = linux-x86
@@ -22,7 +25,7 @@ ARCH_WIN32 = win32-x86
ARCH_hp700 = hpux-m68k
ARCH_alpha = osf-alpha
ARCH_Borland = win32-x86-borland
ARCH_cygwin32 = win32-x86-cygwin
ARCH_cygwin32 = cygwin-x86
ifndef EPICS_HOST_ARCH
ifdef HOST_ARCH
@@ -44,4 +47,3 @@ HOST_ARCH := $(EPICS_HOST_ARCH)
# and change ARCH_solaris=solaris-<arch> to ARCH_solaris=solaris-<arch>-gnu
# in base/config/CONFIG_COMPAT.

View File

@@ -13,12 +13,12 @@
EXE=.exe
HOSTEXE=.exe
CP =$(PERL) $(EPICS_BASE_HOST_BIN)/cp.pl
MV =$(PERL) $(EPICS_BASE_HOST_BIN)/mv.pl
RM =$(PERL) $(EPICS_BASE_HOST_BIN)/rm.pl -f
MKDIR=$(PERL) $(EPICS_BASE_HOST_BIN)/mkdir.pl
RMDIR=$(PERL) $(EPICS_BASE_HOST_BIN)/rm.pl -rf
FN =$(PERL) $(EPICS_BASE_HOST_BIN)/fullName.pl
CP =$(PERL) $(EPICS_BASE_TOOLS)/cp.pl
MV =$(PERL) $(EPICS_BASE_TOOLS)/mv.pl
RM =$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -f
MKDIR=$(PERL) $(EPICS_BASE_TOOLS)/mkdir.pl
RMDIR=$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -rf
FN =$(PERL) $(EPICS_BASE_TOOLS)/fullName.pl
CHMOD=echo
ECHO=echo

View File

@@ -25,5 +25,3 @@ export LD_LIBRARY_PATH := $(INSTALL_HOST_LIB):$(EPICS_BASE_HOST_LIB):$(LD_LIBRAR
else
export LD_LIBRARY_PATH := $(EPICS_BASE_HOST_LIB):$(LD_LIBRARY_PATH)
endif

View File

@@ -13,11 +13,11 @@
EXE=.exe
HOSTEXE=.exe
CP =$(PERL) $(EPICS_BASE_HOST_BIN)/cp.pl
MV =$(PERL) $(EPICS_BASE_HOST_BIN)/mv.pl
RM =$(PERL) $(EPICS_BASE_HOST_BIN)/rm.pl -f
MKDIR=$(PERL) $(EPICS_BASE_HOST_BIN)/mkdir.pl
RMDIR=$(PERL) $(EPICS_BASE_HOST_BIN)/rm.pl -rf
CP =$(PERL) $(EPICS_BASE_TOOLS)/cp.pl
MV =$(PERL) $(EPICS_BASE_TOOLS)/mv.pl
RM =$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -f
MKDIR=$(PERL) $(EPICS_BASE_TOOLS)/mkdir.pl
RMDIR=$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -rf
CHMOD=echo
ECHO=echo

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# hpux-parisc is the new name for hp700
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.hp700

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris

View File

@@ -9,5 +9,5 @@
#*************************************************************************
# $Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris

View File

@@ -1,4 +1,4 @@
# $Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu

View File

@@ -1,4 +1,4 @@
# CONFIG_HOST_ARCH.solaris
# CONFIG_HOST_ARCH.solarisGnu
#
# Override values in CONFIG.Vx

View File

@@ -24,6 +24,7 @@
# solarisGnu (GNU compiler)
# solaris-x86
# sun4
#
# HOST_ARCH now an environment variable
# HOST_ARCH=$(shell /usr/local/epics/startup/HostArch)
@@ -31,29 +32,18 @@ ifndef HOST_ARCH
HOST_ARCH=unsupported
endif
# The architectures to build EPICS for
# The R3.14 architectures to build EPICS for
#
# Currently Supporting:
# frc40
# frc5ce
# hkbaja47
# hkv2f
# mv147
# mv1604
# mv162
# mv162lc
# mv167
# mv177
# mv2700
# niCpu030
# pc486
# ppc603
# ppc604
# ppc603_long (over 32MB)
# ppc604_long (over 32MB)
# sbs_pc6
# vxipc
#
# vxWorks-486
# vxWorks-68040
# vxWorks-68040lc
# vxWorks-68060
# vxWorks-ppc603
# vxWorks-ppc604
# vxWorks-ppc603_long
# vxWorks-ppc604_long
CROSS_COMPILER_TARGET_ARCHS=

View File

@@ -1,15 +0,0 @@
#
# $Id$
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# APS overrides of definitions
GCC = gcc
G++ = g++
CC = gcc
CCC = g++
ACC = gcc
PLUSPLUS = g++
CXX = g++

View File

@@ -4,23 +4,8 @@
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# by default, build and use shared libraries
SHARED_LIBRARIES=YES
# where we expect to find shared libraries if not found elsewhere
# DEFAULT_SHRLIB_SEARCH_PATH = /home/controls/epics/cdev/lib/hpux-10.20:/home/controls/epics/cdev/lib/hpux-10.XX:/opt/TclTk/lib:/opt/xpm/lib/X11:/usr/lib/pa1.1:/usr/lib:/lib:/opt/csr/installed/HP-UX/lib::/opt/OPI/GUI/lib/hp700:/opt/OPI/MapperApplications/lib/hp700:/opt/OPI/cdevAppl/lib/hp700:/opt/OPI/cmlog/lib/hp700:/opt/OPI/models/lib/hp700:/opt/OPI/sddsAppl/lib/hp700
DEFAULT_SHRLIB_SEARCH_PATH = /cs/lib/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL):$(INSTALL_LIB)
#No special action should be required to build or use shared libraries.
#However, when a new shared library is built using the above configuration,
#it should be copied into the location specified by DEFAULT_SHRLIB_SEARCH_PATH
#which in this specific case is: /cs/lib/R3.13.1.1/
# cal added this so that libraries can be built with position
# independent code even if shared libraries aren't being built
ifeq ($(RELOCATABLE), YES)
ARCH_DEP_CFLAGS += +Z
ARCH_DEP_CXXFLAGS += +Z
endif
# By default, shared libraries are built and used. Override here.
#SHARED_LIBRARIES=NO
# This is the absolute path to the generic INSTALL_LOCATION, for SHARED_LIBRARY searches.
SHRLIB_SEARCH_DIRS += /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/$(EPICS_HOST_ARCH)

View File

@@ -0,0 +1,11 @@
#
# $Id$
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# By default, shared libraries are built and used. Override here.
#SHARED_LIBRARIES=NO
# This is the absolute path to the generic INSTALL_LOCATION, for SHARED_LIBRARY searches.
SHRLIB_SEARCH_DIRS += /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/$(EPICS_HOST_ARCH)

View File

@@ -6,6 +6,6 @@
# APS overrides of definitions
GCC = /opt/gnu/bin/gcc
G++ = /opt/gnu/bin/g++
#GCC = /opt/gnu/bin/gcc
#G++ = /opt/gnu/bin/g++

View File

@@ -0,0 +1,4 @@
# $Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.solaris

View File

@@ -0,0 +1,4 @@
# $Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.solaris

View File

@@ -15,10 +15,12 @@ TOP=..
include $(TOP)/configure/CONFIG
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
INSTALL_CONFIG = $(INSTALL_LOCATION)/config
CONFIGS += $(subst ../,,$(wildcard ../CONFIG*))
CONFIGS += $(subst ../,,$(wildcard ../RULES*))
endif
include $(TOP)/configure/RULES

View File

@@ -204,7 +204,7 @@ ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo "Expanding dbd"
@$(RM) $@
$(DBEXPAND) $(DBDFLAGS) $< > $@
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
endif
##################################################### Dependencies

View File

@@ -463,10 +463,12 @@ endif #ifdef PROD
# Java classes and packages
#
ifdef JAVA
DIRECTORY_TARGETS += $(INSTALL_JAVA)
ifdef PACKAGE
DIRECTORY_TARGETS += $(INSTALL_JAVA)/$(PACKAGE)
endif
endif
vpath %.class $(INSTALL_JAVA)/$(PACKAGE)
@@ -648,8 +650,8 @@ endif
@$(RM) $@
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i
%.c: %.stt
@echo "converting $<
%.c: ../%.stt
@echo "converting $<"
ln -s $< $*.st
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.st
@$(RM) $*.st
@@ -722,7 +724,7 @@ ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo Expanding dbd
@$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) $< > $@
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) -o $@ $<
ifneq (,$(wildcard ../base.dbd))
$(DBDNAME): ../base.dbd
@@ -782,8 +784,8 @@ $(INSTALL_SHRLIB)/lib%: lib%
@echo "Installing library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
ifdef SHRLIB_VERSION
@$(RM) $(@:%.$(SHRLIB_VERSION)=%)
ln -s $< $(@:%.$(SHRLIB_VERSION)=%)
$(RM) $(subst .$(SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(SHRLIB_VERSION),,$@)
endif # SHRLIB_VERSION
$(INSTALL_TCLLIB)/%: %

View File

@@ -148,8 +148,8 @@ $(TARGETS) $(PROD): $(DEPLIBS)
@$(RM) $@
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i
%.c: %.stt
@echo "converting $<
%.c: ../%.stt
@echo "converting $<"
@$(RM) $@
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $<
@@ -221,7 +221,7 @@ ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo expanding dbd
@$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbExpand $(DBDFLAGS) $< > $@
$(EPICS_BASE_HOST_BIN)/dbExpand $(DBDFLAGS) -o $@ $<
ifneq (,$(wildcard ../base.dbd))
$(DBDNAME): ../base.dbd

View File

@@ -93,7 +93,7 @@ endif
clean::
@echo "Cleaning"
@$(RM) *.i *.o *.a *.out $(TARGETS) $(PROD) $(LIBNAME) $(INC) \
$(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS) $(DBDNAME)
$(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS) $(DBDNAME) *.c
ifdef MUNCH
@$(RM) $(MUNCHNAME) ctdt.c ctdt.o nm.out
endif
@@ -129,7 +129,7 @@ endif
%.out : %.o
@ $(RM) ctct.o ctdt.c nm.out
$(NM) $< > nm.out
$(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c
$(PERL) $(EPICS_BASE_TOOLS)/munch.pl < nm.out > ctdt.c
$(COMPILE.c) -traditional ctdt.c
$(LINK.cc) $@ $< ctdt.o
@@ -137,7 +137,7 @@ endif
$(MUNCHNAME):%.munch : %
@ $(RM) ctct.o ctdt.c nm.out
$(NM) $< > nm.out
$(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c
$(PERL) $(EPICS_BASE_TOOLS)/munch.pl < nm.out > ctdt.c
$(COMPILE.c) -traditional ctdt.c
$(LINK.cc) $@ $(LDFLAGS) $< ctdt.o
@@ -171,8 +171,8 @@ endif
@$(RM) $@
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i
%.c: %.stt
@echo "converting $<
%.c: ../%.stt
@echo "converting $<"
ln -s $< $*.st
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.st
@$(RM) $*.st
@@ -248,7 +248,7 @@ ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo Expanding dbd
@$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) $< > $@
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) -o $@ $<
endif
$(LIBNAME): $(LIBOBJS)

View File

@@ -22,7 +22,6 @@ ACTIONS += install
ACTIONS += buildInstall
ACTIONS += depends
ACTIONS += rebuild
ACTIONS += browse
actionPart = $(word 1, $(subst $(DIVIDER), ,$@))
archPart = $(word 2, $(subst $(DIVIDER), ,$@))
@@ -61,11 +60,11 @@ $(crossActionArchTargets) :
$(crossArchs) :
endif
$(hostDirs) :
$(PERL) $(EPICS_BASE_HOST_BIN)/makeMakefile.pl $@ Host
$(hostDirs) : $(EPICS_BASE_TOOLS)/makeMakefile.pl
$(PERL) $(EPICS_BASE_TOOLS)/makeMakefile.pl $@ Host
$(crossDirs) :
$(PERL) $(EPICS_BASE_HOST_BIN)/makeMakefile.pl $@ Vx
$(crossDirs) : $(EPICS_BASE_TOOLS)/makeMakefile.pl
$(PERL) $(EPICS_BASE_TOOLS)/makeMakefile.pl $@ Vx
#
# host/cross action targets

View File

@@ -15,8 +15,10 @@ TOP=../..
include $(TOP)/configure/CONFIG
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
SCRIPTS_HOST += $(subst ../,,$(wildcard ../*.pl))
SCRIPTS_HOST += installEpics
endif
include $(TOP)/configure/RULES

View File

@@ -104,7 +104,7 @@ sub Usage
print "Usage:\n";
print "\t$tool [ -m mode ] file ... directory\n";
print "\n";
print "\t-d Create non-exising directories\n";
print "\t-d Create non-existing directories\n";
print "\t-m mode Set the mode for the installed file";
print " (0755 by default)\n";
print "\tfile Name of file\n";

View File

@@ -17,14 +17,16 @@
# Common build definitions
#
ifndef CONFIG
CONFIG = $(TOP)/configure
endif
CONFIG ?= $(TOP)/configure
-include $(CONFIG)/os/CONFIG_COMPAT
-include $(CONFIG)/RELEASE
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH)
ifdef T_A
-include $(CONFIG)/RELEASE.Common.$(T_A)
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
endif
include $(CONFIG)/CONFIG_COMMON
@@ -41,7 +43,7 @@ include $(CONFIG)/CONFIG_SITE
#
include $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).Common
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
-include $(CONFIG)/O.$(T_A)/CONFIG_APP_INCLUDE
ifdef T_A
@@ -68,21 +70,11 @@ endif
# User specific definitions
#
-include $(HOME)/configure/CONFIG
-include $(HOME)/os/configure/CONFIG.Host.$(HOST_ARCH)
-include $(HOME)/os/configure/CONFIG.Host.$(EPICS_HOST_ARCH)
-include $(HOME)/os/configure/CONFIG.$(HOST_ARCH).Common
-include $(HOME)/os/configure/CONFIG.$(EPICS_HOST_ARCH).Common
-include $(HOME)/configure/CONFIG_USER
-include $(HOME)/configure/CONFIG_USER.$(EPICS_HOST_ARCH)
ifdef T_A
-include $(HOME)/configure/CONFIG.$(OS_CLASS)
-include $(HOME)/configure/CONFIG.Target.$(T_A)
-include $(HOME)/configure/CONFIG.Common.$(T_A)
-include $(HOME)/configure/CONFIG.$(HOST_ARCH).$(T_A)
-include $(HOME)/configure/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
-include $(HOME)/configure/os/CONFIG.Target.$(T_A)
-include $(HOME)/configure/os/CONFIG.Common.$(T_A)
-include $(HOME)/configure/os/CONFIG.$(HOST_ARCH).$(T_A)
-include $(HOME)/configure/os/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
-include $(HOME)/configure/CONFIG_USER.Common.$(T_A)
-include $(HOME)/configure/CONFIG_USER.$(EPICS_HOST_ARCH).$(T_A)
endif
# All options

View File

@@ -26,6 +26,9 @@ export GCC_EXEC_PREFIX = $(GNU_LIB)/gcc-lib/
CROSS_INCLUDES = $(addprefix -I,$(GNU_TARGET_INCLUDE_DIR))
CROSS_LDFLAGS = $(addprefix -L,$(GNU_TARGET_LIB_DIR))
CMPLR_PREFIX_CROSS=$(addsuffix -,$(GNU_TARGET))
CMPLR_PREFIX=$(CMPLR_PREFIX_$(BUILD_CLASSS))
# All cross builds use the gnu compiler
include $(CONFIG)/CONFIG.gnuCommon

View File

@@ -15,34 +15,40 @@ GNU = YES
GNU_BIN = $(GNU_DIR)/bin
GNU_LIB = $(GNU_DIR)/lib
CC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++$(CMPLR_SUFFIX)
AR = $(GNU_BIN)/$(CMPLR_PREFIX)ar$(CMPLR_SUFFIX) -rc
LD = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r
CPP = $(CC) -x c -E
RANLIB = $(GNU_BIN)/$(CMPLR_PREFIX)ranlib$(CMPLR_SUFFIX)
CODE_CFLAGS = -fPIC
CONFORM_CFLAGS_ANSI = -ansi
CONFORM_CFLAGS_STRICT = -ansi -pedantic
CONFORM_CFLAGS_STRICT = -ansi
CONFORM_CFLAGS_TRAD = -traditional
PROF_CFLAGS_YES = -p
GPROF_CFLAGS_YES = -pg
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
WARN_CFLAGS_YES = -Wall
WARN_CFLAGS_NO = -w
OPT_CFLAGS_YES = -O3
OPT_CFLAGS_NO = -g
CODE_CXXFLAGS = -fPIC
CONFORM_CXXFLAGS_NORMAL = -ansi -pedantic
CONFORM_CXXFLAGS_STRICT = -ansi -pedantic
#WARN_CXXFLAGS_YES = -Wall -Weffc++
CONFORM_CXXFLAGS_NORMAL = -ansi
CONFORM_CXXFLAGS_STRICT = -ansi
PROF_CXXFLAGS_YES = -p
GPROF_CXXFLAGS_YES = -pg
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
WARN_CXXFLAGS_YES = -Wall
WARN_CXXFLAGS_NO = -w
OPT_CXXFLAGS_YES = -O3
OPT_CXXFLAGS_NO = -g
CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
STATIC_LDFLAGS_YES = -static
STATIC_LDFLAGS_NO =
SHRLIB_LDFLAGS_YES += -shared
SHRLIB_LDFLAGS_NO +=
SHRLIB_CFLAGS = -fPIC
GNU_LDLIBS_YES = -lgcc

View File

@@ -23,6 +23,60 @@
# USR_CFLAGS_sun4 = -nil-
# USR_CFLAGS_DEFAULT = <defines for most systems, not sun4>
#
# These rules apply to these Makefile-variables:
# USR_CFLAGS C flags
# USR_CXXFLAGS C++ flags
# USR_CPPFLAGS c preprocesser flags
# INC include-files to install
# SRCS source files for building libraries and prods
# USR_SRCS source files for building libraries and prods
# PROD_SRCS source files for building prods
# LIB_SRCS source files for building libraries
# LIBSRCS source files for building libraries (deprecated)
# PROD_OBJS object files for building prods
# LIB_OBJS object files for building libraries
# USR_LIBS libs needed by PROD and TESTPROD and LIBRARY
# PROD_LIBS libs needed by PROD and TESTPROD
# LIB_LIBS libs needed by shared LIBRARY
# SHRLIB_LIBS libs needed by shared LIBRARY
# USR_OBJLIBS R3.13 vxWorks object libs needed building libraries and prods
# PROD_OBJLIBS R3.13 vxWorks object libs needed for building prods
# LIB_OBJLIBS R3.13 vxWorks object libs needed for building libraries
# USR_SYS_LIBS system libs needed building libraries and prods
# PROD_SYS_LIBS system libs needed for building prods
# LIB_SYS_LIBS system libs needed for building libraries
# USR_LDFLAGS ld flags for building libraries and prods
# PROD_LDFLAGS ld flags for building prods
# LIB_LDFLAGS ld flags for building libraries
# PROD products to build and install
# PROD_HOST products to build and install
# PROD_IOC products to build and install
# TESTPROD products to build and install
# TESTPROD_HOST products to build and install
# TESTPROD_IOC products to build and install
# LIBRARY products to build and install
# LIBRARY_HOST products to build and install
# LIBRARY_IOC products to build and install
# LOADABLE_LIBRARY module to build and install
# LOADABLE_LIBRARY_HOST module to build and install
# SCRIPTS scripts and install
# SCRIPTS_HOST host system scripts to install
# SCRIPTS_IOC ioc system scripts to install
# OBJS object files to build and install
# OBJS_HOST host system object files to build and install
# OBJS_IOC ioc system object files to build and install
# USR_INCLUDES include directories
# BIN_INSTALLS binaries to install
# LIB_INSTALLS library binaries to install
# RCS win32 resource files for building libraries and prods
# PROD_RCS win32 resource files for building prods
# LIB_RCS win32 resource files for building libraries
#
# Remark:
# If you define INC, e.g. INC = getopt.h, the source
# (getopt.h) must be in the source directory (..) and/or
# in one or more ../os/<OS_CLASS> directories.
#
# Additional target architecture, T_A, Rules for USR_CFLAGS, USR_CXXFLAGS,
# and USR_CPPFLAGS which are applied before the above os_class Rules:
# 1) USR_CFLAGS_$(OS_CLASS) is used
@@ -36,27 +90,6 @@
# USR_CFLAGS_vxWorks-68040 = -nil-
# USR_CFLAGS_vxWorks_DEFAULT = <defines for most vxWorks systems, not 68040>
#
# These rules apply to these Makefile-variables:
# USR_CFLAGS C flags
# USR_CXXFLAGS C++ flags
# USR_CPPFLAGS c preprocesser flags
# INC include-files to install
# LIBSRCS source files for building library
# LIB_SRCS source files for building library
# SHRLIB_LIBS libs needed by shared LIBRARY
# PROD_LIBS libs needed by PROD and TESTPROD
# USR_LIBS libs needed by PROD and TESTPROD
# USR_LDFLAGS ld flags
# SYS_PROD_LIBS system libs needed by PROD and TESTPROD
# PROD products to build and install
# SCRIPTS scripts to install
# USR_INCLUDES include directories
#
# Remark:
# If you define INC, e.g. INC = getopt.h, the source
# (getopt.h) must be in the source directory (..) and/or
# in one or more ../os/<OS_CLASS> directories.
# The INC source files cannot be created by the build.
#
ifneq ($(strip $(USR_CFLAGS_$(T_A))),)
@@ -123,14 +156,19 @@ USR_LDFLAGS+=$(USR_LDFLAGS_DEFAULT)
endif
endif
# check for special includes:
#
ifneq ($(strip $(INC_$(OS_CLASS))),)
# os-specific includes go to the include/os-directory:
INC += $(subst -nil-,,$(INC_$(OS_CLASS)))
ifneq ($(strip $(PROD_LDFLAGS_$(OS_CLASS))),)
PROD_LDFLAGS+=$(subst -nil-,,$(PROD_LDFLAGS_$(OS_CLASS)))
else
ifdef INC_DEFAULT
INC += $(INC_DEFAULT)
ifdef PROD_LDFLAGS_DEFAULT
PROD_LDFLAGS+=$(PROD_LDFLAGS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_LDFLAGS_$(OS_CLASS))),)
LIB_LDFLAGS+=$(subst -nil-,,$(LIB_LDFLAGS_$(OS_CLASS)))
else
ifdef LIB_LDFLAGS_DEFAULT
LIB_LDFLAGS+=$(LIB_LDFLAGS_DEFAULT)
endif
endif
@@ -160,6 +198,14 @@ SRCS+=$(SRCS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_SRCS_$(OS_CLASS))),)
USR_SRCS += $(subst -nil-,,$(USR_SRCS_$(OS_CLASS)))
else
ifdef USR_SRCS_DEFAULT
USR_SRCS+=$(USR_SRCS_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_SRCS_$(OS_CLASS))),)
PROD_SRCS += $(subst -nil-,,$(PROD_SRCS_$(OS_CLASS)))
else
@@ -176,6 +222,14 @@ BIN_INSTALLS+=$(BIN_INSTALLS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_INSTALLS_$(OS_CLASS))),)
LIB_INSTALLS+=$(subst -nil-,,$(LIB_INSTALLS_$(OS_CLASS)))
else
ifdef LIB_INSTALLS_DEFAULT
LIB_INSTALLS+=$(LIB_INSTALLS_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_OBJS_$(OS_CLASS))),)
PROD_OBJS+=$(subst -nil-,,$(PROD_OBJS_$(OS_CLASS)))
else
@@ -184,6 +238,14 @@ PROD_OBJS+=$(PROD_OBJS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_OBJS_$(OS_CLASS))),)
USR_OBJS+=$(subst -nil-,,$(USR_OBJS_$(OS_CLASS)))
else
ifneq (,$(strip $(USR_OBJS_DEFAULT)))
USR_OBJS+=$(USR_OBJS_DEFAULT)
endif
endif
ifneq ($(strip $(OBJS_$(OS_CLASS))),)
OBJS+=$(subst -nil-,,$(OBJS_$(OS_CLASS)))
else
@@ -208,11 +270,27 @@ OBJS_HOST+=$(OBJS_HOST_DEFAULT)
endif
endif
ifneq ($(strip $(LDOBJS_$(OS_CLASS))),)
LDOBJS+=$(subst -nil-,,$(LDOBJS_$(OS_CLASS)))
ifneq ($(strip $(PROD_OBJLIBS_$(OS_CLASS))),)
PROD_OBJLIBS+=$(subst -nil-,,$(PROD_OBJLIBS_$(OS_CLASS)))
else
ifneq (,$(strip $(LDOBJS_DEFAULT)))
LDOBJS+=$(LDOBJS_DEFAULT)
ifdef PROD_OBJLIBS_DEFAULT
PROD_OBJLIBS+=$(PROD_OBJLIBS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_OBJLIBS_$(OS_CLASS))),)
LIB_OBJLIBS+=$(subst -nil-,,$(LIB_OBJLIBS_$(OS_CLASS)))
else
ifdef LIB_OBJLIBS_DEFAULT
LIB_OBJLIBS+=$(LIB_OBJLIBS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_OBJLIBS_$(OS_CLASS))),)
USR_OBJLIBS+=$(subst -nil-,,$(USR_OBJLIBS_$(OS_CLASS)))
else
ifdef USR_OBJLIBS_DEFAULT
USR_OBJLIBS+=$(USR_OBJLIBS_DEFAULT)
endif
endif
@@ -248,6 +326,22 @@ LIBRARY_HOST+=$(LIBRARY_HOST_DEFAULT)
endif
endif
ifneq ($(strip $(LOADABLE_LIBRARY_$(OS_CLASS))),)
LOADABLE_LIBRARY+=$(subst -nil-,,$(LOADABLE_LIBRARY_$(OS_CLASS)))
else
ifneq (,$(strip $(LOADABLE_LIBRARY_DEFAULT)))
LOADABLE_LIBRARY+=$(LOADABLE_LIBRARY_DEFAULT)
endif
endif
ifneq ($(strip $(LOADABLE_LIBRARY_HOST_$(OS_CLASS))),)
LOADABLE_LIBRARY_HOST+=$(subst -nil-,,$(LOADABLE_LIBRARY_HOST_$(OS_CLASS)))
else
ifneq (,$(strip $(LOADABLE_LIBRARY_HOST_DEFAULT)))
LOADABLE_LIBRARY_HOST+=$(LOADABLE_LIBRARY_HOST_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_LIBS_$(OS_CLASS))),)
PROD_LIBS += $(subst -nil-,,$(PROD_LIBS_$(OS_CLASS)))
else
@@ -256,6 +350,7 @@ PROD_LIBS += $(PROD_LIBS_DEFAULT)
endif
endif
# SHRLIB_LIBS deprecated
ifneq ($(strip $(SHRLIB_LIBS_$(OS_CLASS))),)
SHRLIB_LIBS += $(subst -nil-,,$(SHRLIB_LIBS_$(OS_CLASS)))
else
@@ -264,6 +359,14 @@ SHRLIB_LIBS += $(SHRLIB_LIBS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_LIBS_$(OS_CLASS))),)
LIB_LIBS += $(subst -nil-,,$(LIB_LIBS_$(OS_CLASS)))
else
ifdef LIB_LIBS_DEFAULT
LIB_LIBS += $(LIB_LIBS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_LIBS_$(OS_CLASS))),)
USR_LIBS += $(subst -nil-,,$(USR_LIBS_$(OS_CLASS)))
else
@@ -275,6 +378,7 @@ endif
#
# concat specific library contents (if defined) to SYS_PROD_LIBS
#
# SYS_PROD_LIBS deprecated
ifneq ($(strip $(SYS_PROD_LIBS_$(OS_CLASS))),)
SYS_PROD_LIBS += $(subst -nil-,,$(SYS_PROD_LIBS_$(OS_CLASS)))
else
@@ -282,6 +386,31 @@ ifdef SYS_PROD_LIBS_DEFAULT
SYS_PROD_LIBS += $(SYS_PROD_LIBS_DEFAULT)
endif
endif
PROD_SYS_LIBS+=$(SYS_PROD_LIBS)
ifneq ($(strip $(PROD_SYS_LIBS_$(OS_CLASS))),)
PROD_SYS_LIBS += $(subst -nil-,,$(PROD_SYS_LIBS_$(OS_CLASS)))
else
ifdef PROD_SYS_LIBS_DEFAULT
PROD_SYS_LIBS += $(PROD_SYS_LIBS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_SYS_LIBS_$(OS_CLASS))),)
LIB_SYS_LIBS += $(subst -nil-,,$(LIB_SYS_LIBS_$(OS_CLASS)))
else
ifdef LIB_SYS_LIBS_DEFAULT
LIB_SYS_LIBS += $(LIB_SYS_LIBS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_SYS_LIBS_$(OS_CLASS))),)
USR_SYS_LIBS += $(subst -nil-,,$(USR_SYS_LIBS_$(OS_CLASS)))
else
ifdef USR_SYS_LIBS_DEFAULT
USR_SYS_LIBS += $(USR_SYS_LIBS_DEFAULT)
endif
endif
#
# concat specific products
@@ -375,3 +504,19 @@ RCS += $(RCS_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_RCS_$(OS_CLASS))),)
PROD_RCS += $(subst -nil-,,$(PROD_RCS_$(OS_CLASS)))
else
ifdef PROD_RCS_DEFAULT
PROD_RCS+=$(PROD_RCS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_RCS_$(OS_CLASS))),)
LIB_RCS += $(subst -nil-,,$(LIB_RCS_$(OS_CLASS)))
else
ifdef LIB_RCS_DEFAULT
LIB_RCS+=$(LIB_RCS_DEFAULT)
endif
endif

View File

@@ -19,30 +19,21 @@ EPICS_BASE_HOST_BIN = $(EPICS_BASE)/bin/$(EPICS_HOST_ARCH)
EPICS_BASE_HOST_LIB = $(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)
ifdef T_A
EPICS_BASE_LIB = $(EPICS_BASE)/lib/$(T_A)
EPICS_BASE_BIN = $(EPICS_BASE)/bin/$(T_A)
endif
#Definitions for extensions convenience
Com_DIR = $(EPICS_BASE_LIB)
asHost_DIR = $(EPICS_BASE_LIB)
asIoc_DIR = $(EPICS_BASE_LIB)
ca_DIR = $(EPICS_BASE_LIB)
cas_DIR = $(EPICS_BASE_LIB)
dbIoc_DIR = $(EPICS_BASE_LIB)
dbStaticHost_DIR = $(EPICS_BASE_LIB)
dbStaticIoc_DIR = $(EPICS_BASE_LIB)
dbtoolsIoc_DIR = $(EPICS_BASE_LIB)
gdd_DIR = $(EPICS_BASE_LIB)
iocsh_DIR = $(EPICS_BASE_LIB)
miscIoc_DIR = $(EPICS_BASE_LIB)
registryIoc_DIR = $(EPICS_BASE_LIB)
rsrvIoc_DIR = $(EPICS_BASE_LIB)
recIoc_DIR = $(EPICS_BASE_LIB)
softDevIoc_DIR = $(EPICS_BASE_LIB)
testDevIoc_DIR = $(EPICS_BASE_LIB)
recIocObj_DIR = $(EPICS_BASE_LIB)
softDevIocObj_DIR = $(EPICS_BASE_LIB)
testDevIocObj_DIR = $(EPICS_BASE_LIB)
iocCore_DIR = $(EPICS_BASE_LIB)
#---------------------------------------------------------------
# Epics base Ioc libraries
EPICS_BASE_IOC_LIBS += recIoc softDevIoc iocsh
EPICS_BASE_IOC_LIBS += miscIoc rsrvIoc dbtoolsIoc asIoc
EPICS_BASE_IOC_LIBS += dbIoc registryIoc dbStaticIoc ca Com
#---------------------------------------------------------------
# Epics base Host libraries
EPICS_BASE_HOST_LIBS += cas gdd iocsh asHost dbStaticHost registryIoc
EPICS_BASE_HOST_LIBS += ca Com
#---------------------------------------------------------------
# Version number for base shared libraries (and win32 products)
@@ -58,23 +49,30 @@ endif # EPICS_BASE
BASE_CPPFLAGS =
# osithread default stack
OSITHREAD_USE_DEFAULT_STACK = YES
OSITHREAD_USE_DEFAULT_STACK = NO
OSITHREAD_DEFAULT_STACK_FLAGS_YES = -DOSITHREAD_USE_DEFAULT_STACK
OSITHREAD_DEFAULT_STACK_FLAGS_NO =
BASE_CPPFLAGS += $(OSITHREAD_DEFAULT_STACK_FLAGS_$(OSITHREAD_USE_DEFAULT_STACK))
#---------------------------------------------------------------
# Where to find the installed build tools
EPICS_BASE_TOOLS_BIN_HOST = $(EPICS_BASE_BIN)
EPICS_BASE_TOOLS_BIN_CROSS = $(EPICS_BASE_HOST_BIN)
EPICS_BASE_TOOLS_BIN = $(EPICS_BASE_TOOLS_BIN_$(BUILD_CLASS))
#---------------------------------------------------------------
# Epics base build tools and tool flags
MAKEBPT = $(EPICS_BASE_HOST_BIN)/makeBpt$(HOSTEXE)
DBEXPAND = $(EPICS_BASE_HOST_BIN)/dbExpand$(HOSTEXE)
DBTORECORDTYPEH = $(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(HOSTEXE)
DBTOMENUH = $(EPICS_BASE_HOST_BIN)/dbToMenuH$(HOSTEXE)
REGISTERRECORDDEVICEDRIVER = $(PERL) $(EPICS_BASE_HOST_BIN)/registerRecordDeviceDriver.pl
MAKEBPT = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/makeBpt$(HOSTEXE))
DBEXPAND = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/dbExpand$(HOSTEXE))
DBTORECORDTYPEH = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/dbToRecordtypeH$(HOSTEXE))
DBTOMENUH = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/dbToMenuH$(HOSTEXE))
REGISTERRECORDDEVICEDRIVER = $(PERL) $(EPICS_BASE_TOOLS_BIN)/registerRecordDeviceDriver.pl
# private versions of lex/yacc from EPICS
EYACC = $(EPICS_BASE_HOST_BIN)/antelope$(HOSTEXE)
ELEX = $(EPICS_BASE_HOST_BIN)/e_flex$(HOSTEXE) -S$(EPICS_BASE)/include/flex.skel.static
EYACC = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/antelope$(HOSTEXE))
ELEX = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/e_flex$(HOSTEXE)) -S$(EPICS_BASE)/include/flex.skel.static
YACC = $(EYACC)
LEX = $(ELEX)

View File

@@ -12,18 +12,40 @@
#
# EPICS Version information
#
# This file is interpreted by the Bourne Shell (MakeRelease), so spaces are
# not allowed around the '=' signs or in unquoted values.
# Only the person making an official EPICS release should make changes in
# this file.
#
# EPICS_SITE_VERSION is defined in CONFIG_SITE for sites that want a local
# version number to be included in the reported version string.
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=1
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
BASE_3_14=YES
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}"
EPICS_VERSION = 3
EPICS_REVISION = 14
# This part may contain letters, eg 0beta1
EPICS_MODIFICATION = 8
# Not included if zero
EPICS_PATCH_LEVEL = 1
# This will be -CVS or empty at an official release point
#EPICS_CVS_SNAPSHOT=-CVS
EPICS_CVS_SNAPSHOT=
# No changes should be needed below here
ifneq ($(EPICS_PATCH_LEVEL),0)
EPICS_PATCH_VSTRING=.$(EPICS_PATCH_LEVEL)
endif
ifneq ($(strip $(EPICS_SITE_VERSION)),)
EPICS_SITE_VSTRING=-$(EPICS_SITE_VERSION)
endif
EPICS_SHORT_VERSION=$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)$(EPICS_PATCH_VSTRING)
EPICS_VERSION_NUMBER=$(EPICS_SHORT_VERSION)$(EPICS_CVS_SNAPSHOT)$(EPICS_SITE_VSTRING)
EPICS_VERSION_STRING="EPICS Version $(EPICS_VERSION_NUMBER)"
CVS_DATE="\$$Date$$"
CVS_TAG="\$$Name$$"

View File

@@ -45,7 +45,7 @@ CHECK_RELEASE_NO =
#-------------------------------------------------------
# Directories
INSTALL_LOCATION = $(TOP)
INSTALL_LOCATION ?= $(TOP)
TOOLS = $(CONFIG)/tools
INSTALL_LOCATION_LIB = $(INSTALL_LOCATION)/lib
@@ -73,6 +73,9 @@ INSTALL_SHRLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_TCLLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_BIN = $(INSTALL_LOCATION_BIN)/$(T_A)
#Directories for libraries
SHRLIB_SEARCH_DIRS = $(INSTALL_LIB)
#-------------------------------------------------------
# Ext, app, and module configure dir targets
CONFIG_TARGETS += CONFIG_APP_INCLUDE RULES_INCLUDE
@@ -87,7 +90,7 @@ BUILD_CLASS = HOST
CMPLR=STRICT
CXXCMPLR=STRICT
STATIC_BUILD=NO
SHARED_LIBRARIES=NO
SHARED_LIBRARIES=YES
HDEPENDS=YES
HOST_OPT=YES
CROSS_OPT=YES
@@ -100,6 +103,8 @@ GNU=NO
DEP=.depends
OBJ = .
RES = .
CMPLR_SUFFIX=
CMPLR_PREFIX=
#-------------------------------------------------------
# tools for installing libraries and products
@@ -140,13 +145,13 @@ JAR =
#--------------------------------------------------
# obj files
TARGET_OBJS = $($*_LDOBJS) $(addsuffix $(OBJ),$(basename $($*_OBJS)))
TARGET_OBJS = $($*_OBJLIBS) $($*_LDOBJS) $(addsuffix $(OBJ),$(basename $($*_OBJS)))
PRODUCT_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(PROD_SRCS) $(PROD_OBJS)))
PROD_LD_OBJS = $(LDOBJS) $(TARGET_OBJS) $(PRODUCT_OBJS)
PRODUCT_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(USR_SRCS) $(PROD_SRCS) $(USR_OBJS) $(PROD_OBJS)))
PROD_LD_OBJS = $(USR_OBJLIBS) $(PROD_OBJLIBS) $(TARGET_OBJS) $(PRODUCT_OBJS)
LIBRARY_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(LIB_SRCS) $(LIBSRCS) $(LIB_OBJS)))
LIBRARY_LD_OBJS = $(LDOBJS) $(TARGET_OBJS) $(LIBRARY_OBJS)
LIBRARY_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(USR_SRCS) $(LIB_SRCS) $(LIBSRCS) $(USR_OBJS) $(LIB_OBJS)))
LIBRARY_LD_OBJS = $(USR_OBJLIBS) $(LIB_OBJLIBS) $(TARGET_OBJS) $(LIBRARY_OBJS)
#--------------------------------------------------
# WIN95/NT resource files
@@ -156,7 +161,7 @@ TARGET_RESS = $(addsuffix $(RES),$(basename $($*_RCS)))
PROD_RESS = $(addsuffix $(RES),$(basename $(RCS) $(PROD_RCS)))
PROD_LD_RESS = $(TARGET_RESS) $(PROD_RESS)
LIBRARY_RESS = $(addsuffix $(RES),$(basename $(RCS) $(LIBRARY_RCS)))
LIBRARY_RESS = $(addsuffix $(RES),$(basename $(RCS) $(LIB_RCS) $(LIBRARY_RCS)))
LIBRARY_LD_RESS = $(TARGET_RESS) $(LIBRARY_RESS)
#--------------------------------------------------
@@ -180,7 +185,6 @@ OP_SYS_CFLAGS =
OP_SYS_CXXFLAGS = $(OP_SYS_CFLAGS)
OP_SYS_LDFLAGS =
OP_SYS_INCLUDES =
OP_SYS_LDLIBS =
# SOURCE* used by WIN32 only
SOURCE_CFLAG =
@@ -196,19 +200,26 @@ USR_CPPFLAGS =
USR_DBDFLAGS =
USR_ARFLAGS =
# Debug specific options
DEBUG_CPPFLAGS =
DEBUG_CFLAGS =
DEBUG_CXXFLAGS = $(DEBUG_CFLAGS)
DEBUG_LDFLAGS =
DEBUG_LDLIBS =
# Target specific options
TARGET_INCLUDES = $($(basename $@)_INCLUDES_$(T_A))
TARGET_CFLAGS = $($(basename $@)_CFLAGS_$(T_A))
TARGET_CXXFLAGS = $($(basename $@)_CXXFLAGS_$(T_A))
TARGET_LDFLAGS = $($(basename $@)_LDFLAGS_$(T_A))
TARGET_CPPFLAGS = $($(basename $@)_CPPFLAGS_$(T_A))
TARGET_INCLUDES += $($(basename $@)_INCLUDES_$(OS_CLASS)) $($(basename $@)_INCLUDES)
TARGET_CFLAGS += $($(basename $@)_CFLAGS_$(OS_CLASS)) $($(basename $@)_CFLAGS)
TARGET_CXXFLAGS += $($(basename $@)_CXXFLAGS_$(OS_CLASS)) $($(basename $@)_CXXFLAGS)
TARGET_LDFLAGS += $($(basename $@)_LDFLAGS_$(OS_CLASS)) $($(basename $@)_LDFLAGS)
TARGET_CPPFLAGS += $($(basename $@)_CPPFLAGS_$(OS_CLASS)) $($(basename $@)_CPPFLAGS)
TARGET_LDFLAGS = $($*_LDFLAGS)
# Level of ansi conformance flags
CONFORM_CPPFLAGS = $(CONFORM_CPPFLAGS_$(CMPLR))
CONFORM_CFLAGS = $(CONFORM_CFLAGS_$(CMPLR))
@@ -222,11 +233,6 @@ WARN_CXXFLAGS = $(WARN_CXXFLAGS_$($(BUILD_CLASS)_WARN))
OPT_CFLAGS = $(OPT_CFLAGS_$($(BUILD_CLASS)_OPT))
OPT_CXXFLAGS = $(OPT_CXXFLAGS_$($(BUILD_CLASS)_OPT))
# Posix flags
POSIX=YES
POSIX_CPPFLAGS=$(POSIX_CPPFLAGS_$(POSIX))
POSIX_LDLIBS=$(POSIX_LDLIBS_$(POSIX))
# Static build flags
STATIC_CFLAGS = $(STATIC_CFLAGS_$(STATIC_BUILD))
STATIC_CXXCFLAGS = $(STATIC_CXXFLAGS_$(STATIC_BUILD))
@@ -234,31 +240,38 @@ STATIC_LDFLAGS = $(STATIC_LDFLAGS_$(STATIC_BUILD))
STATIC_LDLIBS = $(STATIC_LDLIBS_$(STATIC_BUILD))
#--------------------------------------------------
# Command-line input support default
# cflags for shared library src files (from SHRLIB_CFLAGS)
LIBRARY_SRCS=$(basename $(foreach lib,$(LIBRARY) $(LOADABLE_LIBRARY),$($(lib)_OBJS) $(LIBRARY_OBJS)))
LIBRARY_SRC_CFLAGS=$($(patsubst $*,SHRLIB,$(findstring $*,$(LIBRARY_SRCS)))_CFLAGS)
#--------------------------------------------------
# Command-line input support default
COMMANDLINE_LIBRARY = EPICS
OP_SYS_LDLIBS += $(LDLIBS_$(COMMANDLINE_LIBRARY))
OP_SYS_LDFLAGS += $(LDFLAGS_$(COMMANDLINE_LIBRARY))
#--------------------------------------------------
# Flags
INCLUDES = -I. $(GENERIC_SRC_INCLUDES) $(INSTALL_INCLUDES) $(RELEASE_INCLUDES)\
$(TARGET_INCLUDES) $(USR_INCLUDES) $(OP_SYS_INCLUDES) $(CROSS_INCLUDES)
$(TARGET_INCLUDES) $(USR_INCLUDES) $(OP_SYS_INCLUDES) $($(BUILD_CLASS)_INCLUDES)
CFLAGS = $(CONFORM_CFLAGS) $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
CFLAGS = $(CONFORM_CFLAGS) $($(BUILD_CLASS)_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS)
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
CXXFLAGS = $(CONFORM_CXXFLAGS) $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
CXXFLAGS = $(CONFORM_CXXFLAGS) $($(BUILD_CLASS)_CXXFLAGS) $(OPT_CXXFLAGS)\
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS)
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS) $(LIBRARY_SRC_CFLAGS)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) $(PROD_LDFLAGS)\
$(ARCH_DEP_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $($(BUILD_CLASS)_LDFLAGS)\
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
LDLIBS = $(PROD_LDLIBS) $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(OP_SYS_LDLIBS)
LDLIBS = $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS) $(GNU_LDLIBS_$(GNU))
CPPFLAGS += $(CONFORM_CPPFLAGS) $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
CPPFLAGS += $(CONFORM_CPPFLAGS) $($(BUILD_CLASS)_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
$(OP_SYS_CPPFLAGS) $(OP_SYS_INCLUDE_CPPFLAGS) $(CODE_CPPFLAGS)
@@ -268,8 +281,14 @@ ARFLAGS =
ARCMD = $(AR) $(ARFLAGS) $(USR_ARFLAGS) $@ $(LIBRARY_LD_OBJS)
#--------------------------------------------------
# ld default
LDCMD = $(LD) -o $@ $^
# 'Munch' link-edit
MUNCH_CMD = $(LD) -o $@ $^
#--------------------------------------------------
# LEX default option (valid for EPICS base 3.13.0.beta12 and later)
#
# to allow characters that are not plain 7bit standard ASCII
LEXOPT += -8
#--------------------------------------------------
# Build compile line here
@@ -278,10 +297,15 @@ PATH_FILTER = $(1)
COMPILE.c = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_FLAG)
COMPILE.cpp = $(CCC) -c $(CPPFLAGS) $(CXXFLAGS) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_CXXFLAG)
#--------------------------------------------------
# C preprocessor command
PREPROCESS.cpp = $(CPP) $(CPPFLAGS) $(INCLUDES) $< > $@
#--------------------------------------------------
# Depends command
HDEPENDS_FLAGS =
# Use only dependancies from current top tree
HDEPENDS_INCLUDES = $(filter .%,$(subst -I,,$(INCLUDES)))
HDEPENDSFLAGS = -m $*$(DEP) $(HDEPENDS_INCLUDES) $@ $<
HDEPENDS_CMD_YES = -$(MKMF) $(HDEPENDS_FLAGS) $(HDEPENDSFLAGS)
@@ -292,7 +316,7 @@ HDEPENDS_CMD = $(HDEPENDS_CMD_$(HDEPENDS))
# depends definition
TARGET_SRCS = $(foreach name, $(TESTPROD) $(PROD) $(LIBRARY), $($(name)_SRCS))
SRC_FILES = $(LIB_SRCS) $(LIBSRCS) $(SRCS) $(PROD_SRCS) $(TARGET_SRCS)
SRC_FILES = $(LIB_SRCS) $(LIBSRCS) $(SRCS) $(USR_SRCS) $(PROD_SRCS) $(TARGET_SRCS)
HDEPENDS_FILES_YES = $(addsuffix $(DEP),$(notdir $(basename $(SRC_FILES))))
HDEPENDS_FILES = $(HDEPENDS_FILES_$(HDEPENDS))
@@ -306,6 +330,7 @@ INSTALL_PROD= $(PRODNAME:%= $(INSTALL_BIN)/%)
INSTALL_LIBS= $(LIBNAME:%=$(INSTALL_LIB)/%)
INSTALL_MUNCHS= $(MUNCHNAME:%=$(INSTALL_BIN)/%)
INSTALL_SHRLIBS= $(SHRLIBNAME:%=$(INSTALL_SHRLIB)/%)
INSTALL_LOADABLE_SHRLIBS= $(LOADABLE_SHRLIBNAME:%=$(INSTALL_SHRLIB)/%)
INSTALL_DLL_LINK_LIBS=$(DLL_LINK_LIBNAME:%=$(INSTALL_LIB)/%)
INSTALL_TCLLIBS=$(TCLLIBNAME:%=$(INSTALL_TCLLIB)/%)
INSTALL_TCLINDEX=$(TCLINDEX:%=$(INSTALL_TCLLIB)/%)
@@ -339,6 +364,7 @@ INSTALL_INC += $(foreach inc, $(INC), \
$(OS_INSTALL_INC) \
$(GENERIC_INSTALL_INC) \
$(GENERATED_INSTALL_INC) ) )
INSTALL_INC += $(addprefix $(INSTALL_INCLUDE)/os/$(OS_CLASS)/, $(INC_$(OS_CLASS)) )
#
# Rule 1

View File

@@ -15,16 +15,14 @@
#
# CONFIG_ENV - EPICS Environment Parameter configuration file
#
# This file is interpreted by the Bourne Shell, so spaces are
# not allowed around the '=' signs or in unquoted values.
# Makefile variables are not defined here.
# This file is read by the script base/src/libCom/env/bldEnvdata.pl
# Variable definitions must take the form
# VAR = VALUE
# or
# VAR = "Value containing spaces"
# with each one on its own line.
# Enclosing spaces and "" will be trimmed.
#
# Note: This file is read by base/src/libCom/env/bldEnvdata.pl,
# so the variable definitions in here should be kept 'simple':
# VAR=VALUE
# each one on a single line.
#
# Default environment settings
@@ -38,6 +36,7 @@ EPICS_CA_REPEATER_PORT=5065
EPICS_CA_SERVER_PORT=5064
EPICS_CA_MAX_ARRAY_BYTES=16384
EPICS_CA_BEACON_PERIOD=15.0
EPICS_CA_MAX_SEARCH_PERIOD=300.0
EPICS_CAS_BEACON_PERIOD=
EPICS_CAS_BEACON_PORT=
EPICS_CAS_AUTO_BEACON_ADDR_LIST=""

View File

@@ -23,19 +23,34 @@
# <operating system>-<architecture>[-<alternate compiler>]
#
# Currently Supporting:
# hpux-parisc
# osf-alpha
# aix-ppc (HP compiler used for host builds)
# aix-ppc-gnu (GNU compiler used for host builds)
# cygwin-x86 (cygwin compiler used for host builds)
# darwin-ppc
# hpux-parisc (HP compiler used for host builds)
# hpux-parisc-gnu (GNU compiler used for host builds)
# linux-ppc (GNU compiler used for host builds)
# linux-ppc-bgl
# linux-x86 (GNU compiler used for host builds)
# linux-x86_64 (GNU compiler used for host builds)
# linux-x86-borland (Borland C++ compiler used for host builds)
# solaris-sparc (sun compiler used for host builds)
# solaris-sparc-gnu (GNU compiler used for host builds)
# solaris-sparc64 (sun compiler used for host builds)
# solaris-sparc64-gnu (GNU compiler used for host builds)
# solaris-x86 (sun compiler used for host builds)
# solaris-x86-gnu (GNU compiler used for host builds)
# sun4-x86 (sun compiler used for host builds)
# linux-x86 (GNU compiler used for host builds)
# win32-x86 (MS Visual C++ compiler used for host builds)
# win32-x86_mingw (MinGW compiler used for host builds)
# win32-x86-borland (Borland C++ compiler used for host builds)
# lynxos-x86
# darwin-ppc
# linux-mpc82xx
# win32-x86-cygwin (cygwin GNU compiler used for host builds)
# Debugging builds
# linux-x86-debug (GNU compiler with -g option for host builds)
# linux-x86_64-debug (GNU compiler with -g option for host builds)
# solaris-sparc-debug (sun compiler no optimization,-g for debugging info)
# win32-x86-debug (MS Visual C++ compiler with debug option for host builds)
# EPICS_HOST_ARCH is a required environment variable
# Do not set EPICS_HOST_ARCH in this file.
@@ -45,23 +60,41 @@
# The cross-compiler architectures to build EPICS for
#
# Currently Supporting:
# linux-386 (linux-x86 host)
# linux-486 (linux-x86 host)
# linux-586 (linux-x86 host)
# linux-686 (linux-x86 host)
# linux-athlon (linux-x86 host)
# linuxRT-mvme2100 (linux-x86 host)
# vxWorks-486
# vxWorks-68040
# vxWorks-68040lc
# vxWorks-68060
# vxWorks-pentium
# vxWorks-ppc603
# vxWorks-ppc603_long
# vxWorks-ppc604
# vxWorks-ppc604_long
# vxWorks6-mv2100
# vxWorks6-mv5100
# RTEMS-gen68360
# RTEMS-mcp750
# RTEMS-mvme167
# RTEMS-mvme2100
# RTEMS-mvme5500
# RTEMS-pc386
# RTEMS-psim
# RTEMS-uC5282
#
# Debugging builds
# vxWorks-68040-debug
# Definitions of CROSS_COMPILER_TARGET_ARCHS in
# configure/os/CONFIG_SITE.<host>.Common files will
# override
#
CROSS_COMPILER_TARGET_ARCHS=
#CROSS_COMPILER_TARGET_ARCHS=vxWorks-68040
# If only a subset of the host architectures perform
# the build for the CROSS_COMPILER_TARGET_ARCHS
@@ -83,21 +116,19 @@ CMPLR=STRICT
CXXCMPLR=STRICT
# Build shared libraries?
# (archive libraries will also be built)
# must be either YES or NO
# NOTE: os/CONFIG.$(EPICS_HOST_ARCH).$(EPICS_HOST_ARCH) files and
# os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(EPICS_HOST_ARCH) files may override
#
# NOTE WIN32: YES results in a DLL. CONFIG_SITE.Host.WIN32
# distribution file contains YES override
# NOTE WIN32: YES results in a DLL. Valid settings are
# SHARED_LIBRARIES=YES and STATIC_BUILD=NO
# SHARED_LIBRARIES=NO and STATIC_BUILD=YES
#
# NOTE solaris,Linux, and sun4: If YES then LD_LIBRARY_PATH must
# include fullpathname to $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH)
# for both the base build and when invoking base executables
SHARED_LIBRARIES=NO
SHARED_LIBRARIES=YES
# Build client objects statically ?
# must be either YES or NO
#
STATIC_BUILD=NO
# Should header dependancy files be automatically generated
@@ -121,6 +152,29 @@ HOST_WARN=YES
# must be either YES or NO
CROSS_WARN=YES
# Installation directory
INSTALL_LOCATION=$(TOP)
# Create and/or install perl build tools for R3.13 extension builds?
# must be either YES or NO
#
# NOTE: Set to YES only if you have existing R3.13 extensions to be
# built with this base
#
COMPAT_TOOLS_313=NO
# Create and/or install files for R3.13 ioc application and extension builds?
# must be either YES or NO
#
# NOTE: Set to YES only if you have existing R3.13 ioc applications
# and extensions to be built with this base
#
COMPAT_313=NO
# Installation directory
#Note: INSTALL_LOCATION definition moved to configure/RELEASE file
# Use POSIX thread priority scheduling (YES or NO)
USE_POSIX_THREAD_PRIORITY_SCHEDULING = NO
# Site version number, if set will append '-' and this string to the
# EPICS version number string that is reported by many tools
EPICS_SITE_VERSION =

View File

@@ -15,29 +15,42 @@
#
# CONFIG_SITE_ENV - EPICS Environment Parameter Site configuration file
#
# This file is interpreted by the Bourne Shell, so spaces are
# not allowed around the '=' signs or in unquoted values.
# Makefile variables are not defined here.
#
# Note: This file is read by base/src/libCom/env/bldEnvdata.pl,
# so the variable definitions in here should be kept 'simple':
# VAR=VALUE
# each one on a single line.
# This file is read by the script base/src/libCom/env/bldEnvdata.pl
# Variable definitions must take the form
# VAR = VALUE
# or
# VAR = "Value containing spaces"
# with each one on its own line.
# Enclosing spaces and "" will be trimmed.
#
# Site-specific environment settings
# Time service:
# EPICS_TIMEZONE needed for vxWorks
# EPICS_TIMEZONE=<name>::<minutesWest>:<start daylight>:<end daylight>
# eg EPICS_TIMEZONE=CUS::360:033102:102802
# DST for 2003 US: Apr 6 - Oct 26
# EU: Mar 30 - Oct 26
# EPICS_TS_NTP_INET ntp or Unix time server ip addr.
# EPICS_TIMEZONE
# local timezone info for vxWorks IOCs. The format required is
# <name>::<minutesWest>:<start daylight>:<end daylight>
# where the start and end are mmddhh - that is month,day,hour
# eg EPICS_TIMEZONE=CUS::360:033102:102802
#
# DST for 2006 US: Apr 2 - Oct 29
# EU: Mar 26 - Oct 29
# (see: http://www.worldtimezone.org/daylight.html)
#
# EPICS_TS_NTP_INET
# NTP or Unix time server ip address. Uses boot host if not set.
EPICS_TIMEZONE=CUS::360:040602:102602
EPICS_TIMEZONE=CUS::360:040202:102902
#EPICS_TIMEZONE=MET::-60:032602:102902
EPICS_TS_NTP_INET=
# IOC Shell:
# IOCSH_PS1
# Prompt string
# IOCSH_HISTSIZE
# Number of lines of command history to keep.
IOCSH_PS1="epics> "
IOCSH_HISTSIZE=50
# Log Server:
# EPICS_IOC_LOG_INET
@@ -47,7 +60,7 @@ EPICS_TS_NTP_INET=
# EPICS_IOC_LOG_FILE_LIMIT
# maximum log file size.
# EPICS_IOC_LOG_FILE_COMMAND
# A shell command string used to obtain a new
# A shell command string used to obtain a new
# path name in response to SIGHUP - the new path name will
# replace any path name supplied in EPICS_IOC_LOG_FILE_NAME

View File

@@ -23,4 +23,6 @@ CONFIGS += $(subst ../,,$(wildcard ../RULES*))
CONFIGS += $(subst ../,,$(wildcard ../tools/*.pl))
TARGETS = CONFIG_APP_INCLUDE
include $(TOP)/configure/RULES

View File

@@ -7,11 +7,19 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
#RELEASE Location of external products
#
# NOTE: RELEASE.$(EPICS_HOST_ARCH) files will override
# RELEASE: Define location of external EPICS products
# VX_DIR definition now in os/CONFIG_SITE.Common.vxWorksCommon
# RTEMS_BASE (and RTEMS_VERSION) now in os/CONFIG_SITE.Common.RTEMS
# NB: Settings in RELEASE files can be overridden in files named
# RELEASE.$(EPICS_HOST_ARCH)
# RELEASE.Common.$(OS_CLASS)Common
# RELEASE.Common.$(T_A)
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
# If you don't want to install into $(TOP) dir then
# define INSTALL_LOCATION here
#INSTALL_LOCATION=<fullpathname>
#INSTALL_LOCATION=/home/phoebus/JBA/install
# Tornado directory
VX_DIR = /usr/local/vw/tornado202
# Is Tornado version >= 2.2 ? must be either YES or NO
TORNADO_VERSION_2_2 = NO

View File

@@ -11,9 +11,9 @@
##################################################### vpath
vpath %.dbd $(USR_VPATH) $(GENERIC_SRC_DIRS) $(dir $(DBD)) $(COMMON_DIR)
vpath %.db $(USR_VPATH) $(GENERIC_SRC_DIRS) $(dir $(DB)) $(COMMON_DIR)
vpath %.vdb $(USR_VPATH) $(GENERIC_SRC_DIRS) $(dir $(DB)) $(COMMON_DIR)
vpath %.dbd $(USR_VPATH) $(GENERIC_SRC_DIRS) $(dir $(DBD))
vpath %.db $(USR_VPATH) $(GENERIC_SRC_DIRS) $(dir $(DB))
vpath %.vdb $(USR_VPATH) $(GENERIC_SRC_DIRS) $(dir $(DB))
vpath %.substitutions $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
vpath %.template $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
vpath bpt%.data $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
@@ -23,6 +23,8 @@ vpath bpt%.data $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
# dbExpand
INSTALL_DBDFLAGS += -I $(INSTALL_LOCATION)/dbd
DBDFLAGS = $(USR_DBDFLAGS) -I . -I .. $(INSTALL_DBDFLAGS) $(RELEASE_DBDFLAGS)
DBFLAGS = $($*_DBFLAGS) $(USR_DBFLAGS) -I. $(GENERIC_SRC_INCLUDES)
DBFLAGS += -I$(COMMON_DIR)
##################################################### Targets
@@ -59,7 +61,7 @@ TEMPLATE2=$(patsubst %0,%,$(patsubst %1,%,$(patsubst %2,%,$(patsubst %3,%,$(pats
$(patsubst %5,%,$(patsubst %6,%,$(patsubst %7,%,$(patsubst %8,%,$(patsubst %9,%, \
$(TEMPLATE1)))))))))))
TEMPLATE3=$(addsuffix .template,$(addprefix ../,$(TEMPLATE2)))
TEMPLATE_FILENAME=$(firstword $(wildcard ../$*.template) $(TEMPLATE3))
TEMPLATE_FILENAME=$(firstword $(wildcard $(addprefix ../,$($*_TEMPLATE)) ../$*.template $(TEMPLATE3) ../template))
# dbst based database optimization
ifeq '$(DB_OPT)' 'YES'
@@ -79,6 +81,8 @@ DBDDEPENDS_FILES += $(addsuffix $(DEP),$(COMMON_DBDS) \
DBDDEPENDS_FLAGS = $(filter .%,$(subst -I,,$(filter-out -S%,$(DBDFLAGS))))
DBDDEPENDS_CMD = -$(MKMF) -m $@$(DEP) $(DBDDEPENDS_FLAGS) $@ $<
MAKEDBDEPENDS = $(PERL) $(TOOLS)/makeDbDepends.pl
#####################################################
ifndef T_A
@@ -112,36 +116,26 @@ $(DBDDEPENDS_FILES):
##################################################### build dependancies, clean rule
ifneq (,$(strip $(DBD_INSTALLS)))
buildInstall : dbdInstalls
endif
ifneq (,$(strip $(DB_INSTALLS)))
buildInstall : dbInstalls
endif
.PHONY: dbdInstalls dbInstalls
inc : $(COMMON_INC) $(INSTALL_INC)
build : $(COMMON_DBDS) $(COMMON_DBS) \
$(INSTALL_DBDS) $(INSTALL_DBS) \
$(DBDDEPENDS_FILES) $(INDDBFROMTEMPLATE) $(TARGETS)
$(DBDDEPENDS_FILES) $(TARGETS)
clean::
@$(RM) $(COMMONS) $(DBDDEPENDS_FILES)
@$(RM) *_registerRecordDeviceDriver.cpp
@$(RM) $(INDDBFROMTEMPLATE) $(TARGETS)
##################################################### "Foreign" templates
TEMPLATE_LINKS = $(filter-out $(notdir $(USES_TEMPLATE)), $(USES_TEMPLATE))
TEMPLATE_FILES = $(filter $(notdir $(USES_TEMPLATE)), $(USES_TEMPLATE))
COMMON_TEMPLATES=$(addsuffix $(COMMON_DIR)/,$(notdir $(TEMPLATE_LINKS)))
ifneq '$(TEMPLATE_LINKS)' ''
build: $(notdir $(TEMPLATE_LINKS))
endif
build: $(TEMPLATE_FILES)
$(COMMON_TEMPLATES): $(COMMON_DIR)/%.template:
ifndef WIN32
@$(RM) $(notdir $(TEMPLATE_LINKS))
ln -s $(TEMPLATE_LINKS)
else
@$(RM) $(notdir $(TEMPLATE_LINKS))
$(CP) $(TEMPLATE_LINKS)
endif
@$(RM) $(TARGETS)
##################################################### CapFast filter
@@ -182,10 +176,18 @@ $(INSTALL_DB)/%.template: %.template
##################################################### INC files
$(COMMON_DIR)/%Record.h: $(COMMON_DIR)/%Record.dbd
@$(RM) $@
$(DBTORECORDTYPEH) $(DBDFLAGS) $< $@
$(COMMON_DIR)/%Record.h: %Record.dbd
@$(RM) $@
$(DBTORECORDTYPEH) $(DBDFLAGS) $< $@
$(COMMON_DIR)/menu%.h: $(COMMON_DIR)/menu%.dbd
@$(RM) $@
$(DBTOMENUH) $< $@
$(COMMON_DIR)/menu%.h: menu%.dbd
@$(RM) $@
$(DBTOMENUH) $< $@
@@ -196,18 +198,37 @@ $(COMMON_DIR)/bpt%.dbd: bpt%.data
@$(RM) $@
$(MAKEBPT) $< $@
$(COMMON_DIR)/%.dbd: $(COMMON_DIR)/%Include.dbd
@$(RM) $@$(DEP)
@$(DBDDEPENDS_CMD)
@echo "Expanding dbd"
@$(RM) $@
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
$(COMMON_DIR)/%.dbd: %Include.dbd
@$(RM) $@$(DEP)
@$(DBDDEPENDS_CMD)
@echo "Expanding dbd"
@$(RM) $@
$(DBEXPAND) $(DBDFLAGS) $< > $@
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
$(COMMON_DIR)/%Include.dbd:
@$(RM) $@
$(PERL) $(TOOLS)/makeIncludeDbd.pl $($*_DBD) $@
$(INSTALL_DBD)/%: $(COMMON_DIR)/%
@echo "Installing dbd file $@"
@$(INSTALL) -d -m 644 $< $(@D)
$(INSTALL_DBD)/%: %
@echo "Installing dbd file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PRECIOUS: $(COMMON_DBDS)
dbdInstalls: $(DBD_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_DBD)
.PRECIOUS: $(COMMON_DBDS) $(COMMON_DIR)/%Include.dbd
##################################################### DB files
@@ -216,13 +237,30 @@ $(COMMON_DIR)/%.db$(RAW): $(COMMON_DIR)/%.edf
@$(REPLACEVAR) < $@.VAR > $@
@$(RM) $@.VAR
#$(COMMON_DIR)/%.db$(RAW): %.substitutions %.template
# @$(RM) $@$(DEP)
# @$(MAKEDBDEPENDS) $@ $^ >> $@$(DEP)
# @echo "Inflating database from $^"
# @$(RM) $@
# $(MSI) $(DBFLAGS) -S$< $(firstword $(patsubst %.substitutions,,$^)) > msi.tmp
# $(MV) msi.tmp $@
$(COMMON_DIR)/%.db$(RAW): %.substitutions
@$(RM) $@$(DEP)
@$(DBDDEPENDS_CMD)
@$(MAKEDBDEPENDS) $@ $< $(TEMPLATE_FILENAME) >> $@$(DEP)
@echo "$@:$(TEMPLATE_FILENAME)" >> $@$(DEP)
@echo "Inflating database from $< $(TEMPLATE_FILENAME)"
@$(RM) $@
$(MSI) $(DBFLAGS) -S$< $(TEMPLATE_FILENAME) > msi.tmp
$(MV) msi.tmp $@
$(COMMON_DIR)/%.db$(RAW): %.template
@$(RM) $@$(DEP)
@$(MAKEDBDEPENDS) $@ $^ >> $@$(DEP)
@echo "Inflating database from $<"
@$(RM) $@
$(MSI) -S$< $(TEMPLATE_FILENAME) > $@
$(MSI) $(DBFLAGS) $< > msi.tmp
$(MV) msi.tmp $@
# dbst based database optimization
ifeq '$(DB_OPT)' 'YES'
@@ -236,10 +274,6 @@ $(COMMON_DIR)/%.db: $(COMMON_DIR)/%.db$(RAW)
@$(RM) $@
$(DBST) . $< -d > $@
$(INSTALL_DB)/%.db: $(COMMON_DIR)/%.db
@echo "Installing db file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PRECIOUS: $(COMMON_DIR)/%.db
.PRECIOUS: $(DB:%=$(COMMON_DIR)/%$(RAW))
else
@@ -249,14 +283,28 @@ $(INSTALL_DB)/%: %
@$(INSTALL) -d -m 644 $< $(@D)
endif
$(INSTALL_DB)/%.db: $(COMMON_DIR)/%.db
@echo "Installing db file $@"
@$(INSTALL) -d -m 644 $< $(@D)
dbInstalls: $(DB_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_DB)
.PRECIOUS: $(COMMON_DIR)/%.edf
.PRECIOUS: $(COMMON_DBS)
##################################################### register record,device,driver support
%_registerRecordDeviceDriver.cpp: $(COMMON_DIR)/%.dbd
@$(RM) $@ temp.cpp
$(REGISTERRECORDDEVICEDRIVER) $< $(basename $@) > temp.cpp
$(MV) temp.cpp $@
%_registerRecordDeviceDriver.cpp: %.dbd
@$(RM) $@
$(REGISTERRECORDDEVICEDRIVER) $< > $@
@$(RM) $@ temp.cpp
$(REGISTERRECORDDEVICEDRIVER) $< $(basename $@) > temp.cpp
$(MV) temp.cpp $@
.PRECIOUS: %_registerRecordDeviceDriver.cpp

View File

@@ -13,9 +13,19 @@ include $(CONFIG)/RULES_DIRS
build: buildInstall
install: buildInstall
ifneq ($(findstring $(ARCH),$(BUILD_ARCHS)),)
buildInstall: $(TARGETS)
cdCommands: $(wildcard $(TOP)/configure/RELEASE*) $(TOP)/configure/CONFIG
clean:
$(RM) cdCommands envPaths
else
buildInstall:
clean:
endif
envPaths cdCommands: $(wildcard $(TOP)/configure/RELEASE*) \
$(TOP)/configure/CONFIG $(INSTALL_BIN)
@$(RM) $@
ifeq ($(IOCS_APPL_TOP),)
$(PERL) $(TOOLS)/convertRelease.pl -a $(ARCH) $@
@@ -23,6 +33,6 @@ else
$(PERL) $(TOOLS)/convertRelease.pl -a $(ARCH) -t $(IOCS_APPL_TOP) $@
endif
clean:
@$(RM) cdCommands
realclean:
$(RM) cdCommands envPaths

View File

@@ -47,15 +47,30 @@ $(buildDirs):
O.Common:
$(MKDIR) O.Common
checkRelease: $(wildcard $(TOP)/configure/RELEASE*)
#
# RELEASE consistency checking
# The RELEASE.$(EPICS_HOST_ARCH) files don't need to be included here:
targetReleaseFiles = $(wildcard $(foreach arch, $(BUILD_ARCHS), \
$(TOP)/configure/RELEASE.Common.$(arch) \
$(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(arch)))
checkReleaseTargets = $(addprefix checkRelease, $(suffix $(targetReleaseFiles)))
checkRelease: $(checkReleaseTargets)
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) $@
$(checkReleaseTargets):checkRelease.%:
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) -a $* checkRelease
#
# special clean rule
#
clean ::
$(RMDIR) $(addprefix O.,$(BUILD_ARCHS)) O.Common
archclean ::
$(RMDIR) $(addprefix O.,$(BUILD_ARCHS))
$(cleanArchTargets) ::
$(RMDIR) O.$(archPart)
@@ -65,6 +80,6 @@ realclean ::
.PHONY : $(actionArchTargets)
.PHONY : $(cleanArchTargets)
.PHONY : $(BUILD_ARCHS)
.PHONY : $(ACTIONS) clean realclean all
.PHONY : checkRelease
.PHONY : $(ACTIONS) clean realclean archclean all
.PHONY : checkRelease $(checkReleaseTargets)

View File

@@ -11,31 +11,8 @@
#
# Rules for making things specified in Makefile
#
# Some rules for filename-massage are system specific
# and have "ifdefs" here instead of using definitions
# from CONFIG.Target.<arch> - sorry about this,
# but so far the rules are quite similar on all systems
# except WIN32 has some specials.
#
# Maybe there is a way to use indentation to make it
# easier to read this file?
#
# Most things may also work if you say e.g.
# VAR+=ADD
# even if ADD is not there, but this way "VAR" would
# be defined in any case, that's why I try to use
# ifdef ADD
# VAR+=ADD
# endif
#
# -kuk-
# we are in O.$(OS_CLASS), but most sources are one dir above:
#
# The use of VPATH (no suffix specification) caused everything
# to break several times.
# vpath, of course, has the disadvantage that we need explicit rules
# for scripts or similar os-specific filed which have _no_ suffix...
ifndef BASE_RULES_BUILD
BASE_RULES_BUILD=1
@@ -59,6 +36,7 @@ include $(CONFIG)/CONFIG_ADDONS
ifeq ($(findstring Host,$(VALID_BUILDS)),Host)
LIBRARY += $(LIBRARY_HOST)
LOADABLE_LIBRARY += $(LOADABLE_LIBRARY_HOST)
OBJS += $(OBJS_HOST)
PROD += $(PROD_HOST)
SCRIPTS += $(SCRIPTS_HOST)
@@ -97,15 +75,15 @@ endif
#---------------------------------------------------------------
# Create included Makefile for prod,testprod, and library targets
ifneq (,$(strip $(PROD) $(TESTPROD) $(LIBRARY)))
ifneq (,$(strip $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY)))
MakefileInclude: ../Makefile
MakefileInclude: ../Makefile $(wildcard $(TOP)/configure/RELEASE*)
@$(RM) $@
@$(PERL) $(TOOLS)/makeMakefileInclude.pl $(PROD) $(TESTPROD) $(LIBRARY) $@
@$(PERL) $(TOOLS)/makeMakefileInclude.pl $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY) $@
-include MakefileInclude
endif # PROD, TESTPROD, or LIBRARY defined
endif # PROD, TESTPROD, LIBRARY, or LOADABLE_LIBRARY defined
#---------------------------------------------------------------
# Products and Object libraries
@@ -116,13 +94,14 @@ PRODTARGETS += $(PRODNAME) $(MUNCHNAME) $(CTDT_SRCS) $(CTDT_OBJS) $(NMS)
# Libraries
#
LIBTARGETS += $(LIBNAME)
LIBTARGETS += $(INSTALL_LIBS)
LIBTARGETS += $(SHRLIBNAME) $(INSTALL_SHRLIBS) \
$(DLL_LINK_LIBNAME) $(INSTALL_DLL_LINK_LIBS)
LIBTARGETS += $(LIBNAME) $(INSTALL_LIBS) \
$(SHRLIBNAME) $(INSTALL_SHRLIBS) \
$(DLL_LINK_LIBNAME) $(INSTALL_DLL_LINK_LIBS) \
$(LOADABLE_SHRLIBNAME) $(INSTALL_LOADABLE_SHRLIBS)
#---------------------------------------------------------------
ifneq ($(CONFIG),$(TOP)/configure)
RULES_TOP:=$(INSTALL_LOCATION)
-include $(TOP)/configure/RULES_BUILD
endif
-include $(TOP)/configure/O.$(T_A)/RULES_INCLUDE
@@ -156,11 +135,15 @@ ifdef BIN_INSTALLS
buildInstall : binInstalls
endif
ifdef LIB_INSTALLS
buildInstall : libInstalls
endif
clean::
@echo "Cleaning"
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
$(INC) *$(RES) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
*.out MakefileInclude \
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) *.manifest *.exp \
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS)
ifdef BAF
@$(RM) $(PROD_BAF) $(LIB_BAF) *$(BOF)
@@ -175,18 +158,6 @@ $(DIRECTORY_TARGETS) :
$(MKDIR) -p $@
#---------------------------------------------------------------
#---------------------------------------------------------------
# Generic Rules for 'simple' targets that
# can be generated from a single source with same basename.
#
# The usual two rules .c* -> $(OBJ) and then $(OBJ) -> $(EXE)
# do not work because the $(OBJ)->$(EXE) rule wouldn't
# know if the original source was C or C++.
#
# Hint: The $(subst...) construct removes the .c or .cpp
# as well as the '../' from the filename and adds $(OBJ):
# e.g. $< = '../abc.c' -> 'abc.o'
#
# The order of the following rules is
# VERY IMPORTANT !!!!
@@ -206,7 +177,7 @@ $(OBJLIBNAME):%$(OBJ): $(OBJLIB_LD_OBJS)
%$(OBJ): %.c
@$(HDEPENDS_CMD)
@$(RM) $@
$(COMPILE.c) $(call PATH_FILTER,$<)
$(COMPILE.c) $(call PATH_FILTER,$<) $(COMPILE_FILTER.c)
%$(OBJ): %.cc
@$(HDEPENDS_CMD)
@@ -295,14 +266,18 @@ ifneq ($(strip $(RANLIB)),)
$(RANLIB) $@
endif # RANLIB
$(DLL_LINK_LIBNAME):$(LIB_PREFIX)%.lib: $(LIBRARY_OBJS) $(LIBRARY_RESS)
$(DLL_LINK_LIBNAME):$(LIB_PREFIX)%.lib: $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
@$(RM) $@
$(LINK.shrlib)
$(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS)
$(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
@$(RM) $@
$(LINK.shrlib)
$(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
@$(RM) $@
$(LINK.loadable_shrlib)
# C++ munching for VxWorks
%.nm : %$(EXE)
@$(RM) $@
@@ -316,13 +291,13 @@ $(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS)
@$(RM) $@
$(PERL) $(TOOLS)/munch.pl < $< > $@
$(MUNCHNAME):%.munch : %_ctdt$(OBJ) %$(EXE)
$(MUNCHNAME):%$(MUNCH_SUFFIX) : $(MUNCH_DEPENDS) %$(EXE)
@$(RM) $@
$(LDCMD)
$(MUNCH_CMD)
$(OBJLIB_MUNCHNAME):%.munch : %_ctdt$(OBJ) %$(OBJ)
@$(RM) $@
$(LDCMD)
$(MUNCH_CMD)
# Ext, app and module rules
RULES_INCLUDE CONFIG_APP_INCLUDE: $(wildcard $(TOP)/configure/RELEASE*)
@@ -333,13 +308,25 @@ binInstalls: $(BIN_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_BIN)
libInstalls: $(LIB_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_LIB)
$(INSTALL_BIN)/%: ../os/$(OS_CLASS)/%
@echo "Installing os-specific script $@"
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
$(INSTALL_BIN)/%: %
@echo "Installing binary $@"
ifdef WIN32
ifdef BORLAND
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
else
@$(INSTALL_PRODUCT) -d -m 555 $<* $(INSTALL_BIN)
endif
else
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
endif
$(INSTALL_BIN)/%: ../%
@echo "Installing script $@"
@@ -357,24 +344,36 @@ $(INSTALL_LIB)/%.lib: %.lib
@$(INSTALL_LIBRARY) -d -m 644 $< $(INSTALL_LIB)
$(INSTALL_SHRLIB)/lib%: lib%
@echo "Installing library $@"
@echo "Installing shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
ifdef SHRLIB_VERSION
ifneq (,$(strip $(SHRLIB_VERSION)))
@$(RM) $(subst .$(SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(SHRLIB_VERSION),,$@)
endif # SHRLIB_VERSION
ifneq ($(INSTALL_TCLLIB),$(INSTALL_BIN))
$(INSTALL_TCLLIB)/%: %
@echo "Installing Tcl library $@"
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
$(INSTALL_TCLLIB)/%: ../%
@echo "Installing Tcl library $@"
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
endif
$(INSTALL_TCLLIB)/$(TCLINDEX): $(INSTALL_TCLLIBS)
@echo "Updating $@"
@echo eval auto_mkindex $(INSTALL_TCLLIB) "$(TCLLIBNAME)" | tclsh
$(INSTALL_LOADABLE_SHRLIBS): $(INSTALL_SHRLIB)/%: %
@echo "Installing loadable shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
ifneq (,$(strip $(LOADABLE_SHRLIB_VERSION)))
@$(RM) $(subst .$(LOADABLE_SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(LOADABLE_SHRLIB_VERSION),,$@)
endif # LOADABLE_SHRLIB_VERSION
$(INSTALL_CONFIG)/%: %
@echo "Installing config file $@"
@$(INSTALL) -d -m 644 $< $(@D)
@@ -422,9 +421,7 @@ $(INSTALL_TEMPLATES_SUBDIR)/%: %
.PRECIOUS: %.i %.o %.c %.nm %.cpp %.cc
.PRECIOUS: $(COMMON_INC)
.PHONY: all inc build install clean rebuild buildInstall binInstalls
.PHONY: all inc build install clean rebuild buildInstall binInstalls libInstalls
endif # BASE_RULES_BUILD
# EOF RULES_BUILD

View File

@@ -13,7 +13,7 @@
ARCHS += $(BUILD_ARCHS)
ACTIONS += inc build install buildInstall clean realclean
ACTIONS += inc build install buildInstall clean realclean archclean
dirPart = $(word 1, $(subst $(DIVIDER), ,$@))
actionArchPart = $(join $(word 2, $(subst $(DIVIDER), ,$@)), \

View File

@@ -11,36 +11,42 @@
#
ifeq ($(BUILD_CLASS),HOST)
#-------------------------------------------------------
# java jdk1.1.5 definitions
JAVA_INC = $(JAVA_DIR)/include
JAVA_BIN = $(JAVA_DIR)/bin
JAVA_INCLUDES += -I${JAVA_INC} -I${JAVA_INC}/${OS_CLASS}
JAVA_INCLUDES += -I$(JAVA_INC) -I$(JAVA_INC)/$(word 1, $(subst -, ,$(T_A))) -I$(COMMON_DIR)
JAVACCMD = $(subst \,/,$(JAVA_BIN)/javac$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVACFLAGS))
JAVAHCMD = $(subst \,/,$(JAVA_BIN)/javah$(EXE) -d $(COMMON_DIR) -force $(CLASSPATH) $(JAVAHFLAGS))
JARCMD = $(subst \,/,$(JAVA_BIN)/jar$(EXE) $(JAR_OPTIONS) $(COMMON_JAR) $(JARINPUT))
JARCMD = $(subst \,/,$(JAVA_BIN)/jar$(EXE) $(JAR_OPTIONS) $@ $(JARINPUT) $(JARPACKAGES))
#-------------------------------------------------------
vpath %.java ..
vpath %.jar .. $(COMMON_DIR)
CLASSPATH=-classpath $(INSTALL_JAVA)$(addprefix :,$(USR_CLASSPATH))
SOURCEPATH=-sourcepath .:..:../..
empty:=
space:= $(empty) $(empty)
CLASSPATH = -classpath $(subst $(space),:,$(strip $(USR_PRECLASSPATH) $(INSTALL_JAVA) $(USR_CLASSPATH)))
SOURCEPATH = -sourcepath .:..:../..
#-------------------------------------------------------
# Java install directory
# Java directory
INSTALL_JAVA = $(INSTALL_LOCATION)/javalib
ifdef JAVA
JAVA_DIRECTORY_TARGETS += $(INSTALL_JAVA)
endif
#-------------------------------------------------------
# Java native method C header files
JAVAHFLAGS += $(USR_JAVAHFLAGS)
COMMON_JAVAINC += $(addprefix $(COMMON_DIR)/,$(JAVAINC))
JAVAINC_CLASSFILES += $(addprefix $(INSTALL_JAVA)/,$(subst _,/,$(subst .h,.class,$(JAVAINC))))
JAVAINC_CLASSNAMES += $(subst _,.,$(subst .h,,$(JAVAINC)))
COMMON_JAVAINC += $(addprefix $(COMMON_DIR)/,$(JAVAINC))
#-------------------------------------------------------
# Java class files
@@ -57,11 +63,13 @@ DEPTESTJAVA += $(subst .class,.java,$(TESTCLASSES))
#-------------------------------------------------------
# Java jar file
COMMON_JAR += $(addprefix $(COMMON_DIR)/,$(JAR))
INSTALL_JAR =$(addprefix $(INSTALL_JAVA)/,$(JAR))
JARMANIFEST += $(firstword $(trim $(MANIFEST) $(JAR_MANIFEST)))
JARINPUT += $(subst .java,.class,$(JAR_INPUT))
JARDEPFILES += $(JARINPUT) $(JARMANIFEST)
INSTALL_JAR =$(addprefix $(INSTALL_JAVA)/,$(JAR) $(JAR_INPUT))
JARMANIFEST += $(firstword $(MANIFEST) $(JAR_MANIFEST))
JARDEPFILES += $(addprefix $(INSTALL_JAVA)/,$(subst .java,.class,$(JAVA)) $(JAR_INPUT))
JARINPUT += $(foreach inp,$(JAR_INPUT),-C $(INSTALL_JAVA) $(subst .java,.class,$(inp)))
JARPACKAGES += $(foreach pkg,$(JAR_PACKAGES),-C $(INSTALL_JAVA) $(subst .,/,$(pkg)))
PACKAGEDIRS += $(foreach pkg,$(JAR_PACKAGES),$(addprefix $(INSTALL_JAVA)/,$(subst .,/,$(pkg))))
ifneq ($(JARMANIFEST),)
JAR_OPTIONS = cvmf $(JARMANIFEST)
else
@@ -70,10 +78,10 @@ endif
#-------------------------------------------------------
# Java doc definitions
ifeq ($(JAVADOC),YES)
ifdef JAVADOC
JAVADOCFLAGS += $(USR_JAVADOCFLAGS)
JAVADOCCMD = $(subst \,/,$(JAVA_BIN)/javadoc$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVADOCFLAGS))
INSTALL_JAVADOC = $(CLASSES:%.class=$(INSTALL_HTML)/%.html)
INSTALL_JAVADOC = $(addprefix $(INSTALL_HTML)/,$(JAVADOC))/index.html
endif
#-------------------------------------------------------
@@ -91,18 +99,20 @@ inc: $(JAVA_DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(COMMON_JAVAINC)
build: inc
build: $(COMMON_TESTCLASSES) $(COMMON_JAR)
build: $(COMMON_TESTCLASSES)
buildInstall : $(INSTALL_JAR) $(INSTALL_JAVADOC)
#This clean works only from O.* dirs.
clean::
@$(RMDIR) $(INSTALL_CLASSES)
@$(RMDIR) $(INSTALL_CLASSES) $(PACKAGEDIRS)
@$(RM) $(INSTALL_JAR) $(INSTALL_JAVADOC)
@$(RM) $(COMMON_TESTCLASSES) $(COMMON_JAR) $(COMMON_JAVAINC)
@$(RM) $(COMMON_TESTCLASSES) $(COMMON_JAVAINC)
ifdef JAVA_DIRECTORY_TARGETS
$(JAVA_DIRECTORY_TARGETS):
$(MKDIR) -p $@
endif
$(COMMON_JAVAINC):$(JAVAINC_CLASSFILES)
@echo Creating header files $(COMMON_JAVAINC)
@@ -119,10 +129,10 @@ $(INSTALL_CLASSES): $(addprefix ../,$(DEPJAVA))
@$(RM) $@
$(JAVACCMD) -d $(INSTALL_JAVA) $^
$(INSTALL_JAVADOC): $(addprefix ../,$(DEPJAVA))
@echo Creating java class files
$(INSTALL_JAVADOC): $(addprefix ../,$(JAVA))
@echo Creating java doc files
@$(RM) $@
$(JAVADOCCMD) -d $(INSTALL_JAVA) $^
$(JAVADOCCMD) -d $(addprefix $(INSTALL_HTML)/,$(JAVADOC)) $^
$(COMMON_DIR)/%.jar: $(JARDEPFILES)
@echo Creating java jar file $@
@@ -133,4 +143,16 @@ $(INSTALL_JAVA)/%.jar: $(COMMON_DIR)/%.jar
@echo "Installing java jar file $@"
@$(INSTALL) -d -m 644 $< $(@D)
$(INSTALL_JAVA)/%.jar: %.jar
@echo "Installing java jar file $@"
@$(INSTALL) -d -m 644 $< $(@D)
$(addprefix $(INSTALL_JAVA)/, $(JARINPUT)): $(INSTALL_JAVA)/%: ../%
@echo "Installing jar input file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PHONY: all install buildInstall rebuild clean build inc
.PRECIOUS: $(COMMON_JAVAINC)
endif

View File

@@ -13,6 +13,10 @@
include $(CONFIG)/RULES_DIRS
UNINSTALL_DIRS += $(INSTALL_DBD) $(INSTALL_INCLUDE) $(INSTALL_DOC)\
$(INSTALL_HTML) $(INSTALL_JAVA) $(INSTALL_TEMPLATES) \
$(INSTALL_DB)
uninstallArchTargets = $(foreach arch,$(BUILD_ARCHS), uninstall$(DIVIDER)$(arch))
archPart = $(word 2, $(subst $(DIVIDER), ,$@))
@@ -20,29 +24,29 @@ $(uninstallArchTargets): uninstallDirs
@$(RMDIR) $(INSTALL_LOCATION_BIN)/$(archPart) $(INSTALL_LOCATION_LIB)/$(archPart)
cleandirs:
@echo " " #stops "nothing to be done for cleandirs" message
ifeq ($(wildcard $(INSTALL_LOCATION_BIN)/*),)
@$(RMDIR) $(INSTALL_LOCATION_BIN)
endif
ifeq ($(wildcard $(INSTALL_LOCATION_LIB)/*),)
@$(RMDIR) $(INSTALL_LOCATION_LIB)
endif
@echo
# The echo above stops a "nothing to be done for cleandirs" message
distclean: realclean realuninstall
cvsclean:
@$(PERL) $(TOOLS)/cvsclean.pl
realuninstall:
@$(RMDIR) $(INSTALL_LOCATION_BIN) $(INSTALL_LOCATION_LIB)
@$(RMDIR) $(INSTALL_DBD) $(INSTALL_INCLUDE) $(INSTALL_DOC)\
$(INSTALL_HTML) $(INSTALL_JAVA) $(INSTALL_TEMPLATES) \
$(INSTALL_DB)
@$(RMDIR) $(UNINSTALL_DIRS)
uninstall: $(addprefix uninstall$(DIVIDER),$(BUILD_ARCHS))
@$(MAKE) -f Makefile cleandirs
uninstallDirs:
@$(RMDIR) $(INSTALL_DBD) $(INSTALL_INCLUDE) $(INSTALL_DOC)\
$(INSTALL_HTML) $(INSTALL_JAVA) $(INSTALL_TEMPLATES) \
$(INSTALL_DB)
@$(RMDIR) $(UNINSTALL_DIRS)
help:
@echo "Usage: gnumake [options] [target] ..."
@@ -57,6 +61,7 @@ help:
@echo " rebuild - Same as clean install"
@echo " inc - Installs header files"
@echo " build - Builds all targets"
@echo " archclean - Removes O.<arch> dirs but not O.Common dir"
@echo "\"Partial\" build targets supported by Makefiles:"
@echo " inc.<arch> - Installs <arch> only header files."
@echo " install.<arch> - Builds and installs <arch> only."
@@ -66,10 +71,12 @@ help:
@echo " uninstall - Cleans directories created by the install."
@echo " realuninstall - Removes ALL install dirs"
@echo " distclean - Same as realclean realuninstall."
@echo " cvsclean - Removes cvs .#* files in all dirs of directory tree"
@echo " help - Prints this list of valid make targets "
@echo "Indiv. object targets are supported by O.<arch> level Makefile .e.g"
@echo " xxxRecord.o"
.PHONY : $(uninstallArchTargets)
.PHONY : uninstall help cleandirs distclean uninstallDirs realuninstall
.PHONY : cvsclean

View File

@@ -52,14 +52,12 @@ a_file_CPPFLAGS_WIN32 = -DVERSION='WIN32 port'
#
# In here you supply just the filename without '../' etc.
# While building in an O.xxx subdir, the
# sources are extracted from either the
# '..'
# dir or - if it exists - the dir
# '../$(OS_CLASS)'
# is preferred.
# sources are extracted from the
# ../os/$(OS_CLASS) directory if it exists, or
# ../os/default directory if it exists, or
# .. directory
# ---------------------------------------------------------
# includes to install from this Makefile
#
# again: if INC_$(OS_CLASS) is defined, it is added to INC,
@@ -74,7 +72,7 @@ INC = file.h
# defining a library
# --------------------------------------------------------------------
#
# Contents of a library are specified via SRCS, LIBSRCS, or .._SRCS.
# Contents of a library are specified via SRCS, LIB_SRCS, or .._SRCS.
# From this the platform specific object names (.o, .obj, ...)
# are derived automatically.
#
@@ -88,7 +86,7 @@ INC = file.h
# ./os/OS_CLASS
# ./os/generic
# .
# So usually only LIBSRCS should be sufficient!
# So usually only LIB_SRCS should be sufficient!
# SRCS files will be used for both LIBRARY and PROD
SRCS = file_for_lib.c another_file.cpp
@@ -101,10 +99,11 @@ libname_SRCS_DEFAULT = posix.c
libname_SRCS_WIN32 = win32_special.c
libname_SRCS_Linux = -nil-
#
LIBSRCS = file_for_lib.c another_file.cpp
LIBSRCS_DEFAULT = posix.c
LIBSRCS_WIN32 = win32_special.c
LIBSRCS_Linux = -nil-
# SRCS that are used for all libraries
LIB_SRCS = file_for_lib.c another_file.cpp
LIB_SRCS_DEFAULT = posix.c
LIB_SRCS_WIN32 = win32_special.c
LIB_SRCS_Linux = -nil-
# Library to build:
# lib$(LIBRARY).a or ..dll/..exp/..lib
@@ -113,13 +112,9 @@ LIBRARY=libname
#
# Host or Ioc platform specific library to build:
#
LIBRARY_IOC=libname
LIBRARY_HOST=libname
LIBRARY_IOC=libnameIoc
LIBRARY_HOST=libnameHost
# if SHARED_LIBRARIES is YES then shared and archive libraries will
# both be built
#SHARED_LIBRARIES = YES
#
# Library version
SHRLIB_VERSION =
# On WIN32 results in /version:$(SHRLIB_VERSION) link option
@@ -132,10 +127,15 @@ SHRLIB_VERSION =
# if SRCS is undefined, it defaults to $(PROD).c
SRCS=a.c b.c c.c
# SRCS that are used for all PRODs
#
PROD_SRCS = ppp.c qqq.c
# SRCS that are only used for PROD a_file
#
a_file_SRCS = aa.c bb.c
#
# EPICS libs needed to link PROD, TESTPROD and sharable library
#
# note that DLL_LIBS (the libraries needed to link a shareable
@@ -143,33 +143,41 @@ a_file_SRCS = aa.c bb.c
# below minus the name of the sharable library (LIBRARY)
#
#
# for all systems:
# ---------- libraries for a specific product pppp
# for all systems
pppp_LIBS = Com Ca
# for most systems:
pppp_LIBS_DEFAULT = mathlib
pppp_LIBS_WIN32 = -nil-
# ---------- libraries for all products
# for all systems
PROD_LIBS = Com Ca
# for most systems:
PROD_LIBS_DEFAULT = mathlib
PROD_LIBS_WIN32 = -nil-
# system libs needed to link PROD, TESTPROD and sharable library
#
# for all systems:
SYS_PROD_LIBS = m
# for most systems:
SYS_PROD_LIBS_DEFAULT = foolib
SYS_PROD_LIBS_WIN32 = -nil-
# other libs needed to link PROD, TESTPROD and sharable library
#
# for all systems:
# ---------- Libraries for all products and all libraries:
# for all systems
USR_LIBS = Xm Xt X11
Xm_DIR = $(MOTIF_LIB)
Xt_DIR = $(X11_LIB)
X11_DIR = $(X11_LIB)
# for most systems:
# for most systems
USR_LIBS_DEFAULT = foolib
USR_LIBS_WIN32 = -nil-
foolib_DIR = $(FOO_LIB)
# system libs needed to link PROD, TESTPROD and sharable library
#
# ---------- system libraries for all products
# for all systems:
PROD_SYS_LIBS = m
# for most systems:
PROD_SYS_LIBS_DEFAULT = foolib
PROD_SYS_LIBS_WIN32 = -nil-
# Product,
# may be caRepeater.o -> caRepeater
# or caRepeater.obj -> caRepeater.exe
@@ -179,6 +187,9 @@ PROD_WIN32 = product_only_for_WIN32
PROD_Linux = product_only_for_Linux
PROD_solaris = product_only_for_solaris
PROD_HOST = product_only_for_host_type_systems
PROD_IOC = product_only_for_ioc_type_systems
# Product version
PROD_VERSION =
# On WIN32 results in /version:$(SHRLIB_VERSION) link option
@@ -186,7 +197,7 @@ PROD_VERSION =
# Scripts to install
#
# If there is both ../$(SCRIPT) and ../$(OS_CLASS)/$(SCRIPT),
# If there is both ../$(SCRIPTS) and ../$(OS_CLASS)/$(SCRIPTS),
# the latter, system specific version will be installed!
#
SCRIPTS_DEFAULT = script_for_rest

View File

@@ -13,17 +13,19 @@
#-------------------------------------------------------
#
#-------------------------------------------------------
# Where to find RTEMS
RTEMS_BASE=/opt/rtems
#-------------------------------------------------------
# RTEMS tools are similar to UNIX tools
-include $(CONFIG)/os/CONFIG.Common.UnixCommon
GNU_TARGET_INCLUDE_DIR =
#--------------------------------------------------
# Get RTEMS_BASE definition
-include $(CONFIG)/os/CONFIG_SITE.Common.RTEMS
#-------------------------------------------------------
# Pick up the RTEMS tool/path definitions from the RTEMS BSP directory.
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems/$(subst RTEMS-,,$(T_A))/Makefile.inc
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems$(RTEMS_VERSION)/$(subst RTEMS-,,$(T_A))/Makefile.inc
include $(RTEMS_CUSTOM)
include $(CONFIG.CC)
@@ -34,8 +36,6 @@ CCC = $(RTEMS_BASE)/bin/$(CXX)
CPP = $(RTEMS_BASE)/bin/$(CC_FOR_TARGET) -x c -E
AR = $(RTEMS_BASE)/bin/$(AR_FOR_TARGET)
LD = $(RTEMS_BASE)/bin/$(LD_FOR_TARGET) -r
RTEMS_LDFLAGS := $(STATIC_LDFLAGS) $(LDFLAGS)
LINK.cpp = $(CCC) -o $@ $(RTEMS_LDFLAGS) $(LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
RANLIB := $(RTEMS_BASE)/bin/$(RANLIB)
@@ -48,27 +48,33 @@ VALID_BUILDS = Ioc
# through the following contortions to get the EPICS flags back.
CFLAGS = $(CONFORM_CFLAGS) $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS)
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
CXXFLAGS = $(CONFORM_CXXFLAGS) $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS)\
$(CROSS_CXXFLAGS)
$(LIBRARY_SRC_CFLAGS)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) $(PROD_LDFLAGS)\
$(ARCH_DEP_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)\
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
LDLIBS = $(PROD_LDLIBS) $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(OP_SYS_LDLIBS)
LDLIBS = $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
CPPFLAGS += $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS) $(BASE_CPPFLAGS)\
$(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
$(OP_SYS_CPPFLAGS) $(CODE_CPPFLAGS)
CPPFLAGS += $(CONFORM_CPPFLAGS) $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
$(OP_SYS_CPPFLAGS) $(OP_SYS_INCLUDE_CPPFLAGS) $(CODE_CPPFLAGS)
#--------------------------------------------------
# Although RTEMS uses gcc, it wants to use gcc its own way
CROSS_CPPFLAGS =
CROSS_LDFLAGS =
SHRLIB_CFLAGS =
OPT_CFLAGS_YES = $(CFLAGS_OPTIMIZE_V)
OPT_CXXFLAGS_YES = $(CFLAGS_OPTIMIZE_V)
OPT_CFLAGS_NO = $(CFLAGS_DEBUG_V)
OPT_CXXFLAGS_NO = $(CFLAGS_DEBUG_V)
#--------------------------------------------------
# operating system class (include/os/<os_class>)
@@ -76,7 +82,7 @@ OS_CLASS = RTEMS
#--------------------------------------------------
# Operating system flags
OP_SYS_LDLIBS += -lrtemsCom -lrtemscpu -lCom -lm
OP_SYS_LDLIBS += -lrtemsCom -lrtemscpu -lCom -lrtemsNfs -lm
OP_SYS_LDFLAGS += $(CPU_CFLAGS) -u Init \
$(PROJECT_RELEASE)/lib/no-dpmem.rel \
$(PROJECT_RELEASE)/lib/no-mp.rel \
@@ -92,14 +98,14 @@ CODE_CFLAGS =
CODE_CXXFLAGS =
#--------------------------------------------------
# RTEMS uses the inline keyword, so get rid of pedantic warnings
# RTEMS uses the inline keyword so -pedantic causes too many problems.
CONFORM_CFLAGS_STRICT = -ansi
CONFORM_CXXFLAGS_STRICT = -ansi
#--------------------------------------------------
# Command-line input support
COMMANDLINE_LIBRARY = LIBTECLA
LDLIBS_LIBTECLA = -ltecla_r -lncurses
LDLIBS_READLINE = -lreadline -lncurses
#--------------------------------------------------
# Allow site overrides

View File

@@ -0,0 +1,27 @@
#
# $Id$
# Author: W. Eric Norum
# Canadian Light Source
# eric@cls.usask.ca
#
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU = powerpc
ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL
ARCH_DEP_CFLAGS += -DHAVE_PPCBUG
MUNCH_SUFFIX = .boot
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
define MUNCH_CMD
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< rtems
gzip -f9 rtems
$(RTEMS_BASE)/bin/$(LD_FOR_TARGET) -o $@ \
$(PROJECT_RELEASE)/lib/bootloader.o \
--just-symbols=$< \
-b binary rtems.gz \
-T $(PROJECT_RELEASE)/lib/ppcboot.lds \
-Map $<.map
rm -f rtems.gz
endef
include $(CONFIG)/os/CONFIG.Common.RTEMS

View File

@@ -0,0 +1,19 @@
#
# $Id$
# Author: W. Eric Norum
# Advanced Photon Source
# norume@aps.anl.gov
#
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU = powerpc
ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL
ARCH_DEP_CFLAGS += -DHAVE_MOTLOAD
MUNCH_SUFFIX = .boot
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
define MUNCH_CMD
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@
endef
include $(CONFIG)/os/CONFIG.Common.RTEMS

View File

@@ -7,6 +7,16 @@
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU=i386
MUNCH_SUFFIX = .boot
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
define MUNCH_CMD
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< temp.bin
$(PROJECT_RELEASE)/build-tools/bin2boot $@ 0x00097E00 \
$(PROJECT_RELEASE)/lib/start16.bin 0x00097C00 0 temp.bin 0x00100000 0
rm -f temp.bin
endef
include $(CONFIG)/os/CONFIG.Common.RTEMS
#

View File

@@ -0,0 +1,23 @@
#
# $Id$
# Author: W. Eric Norum
# Canadian Light Source
# eric@cls.usask.ca
#
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU = m68k
ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL
MUNCH_SUFFIX = .boot
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
define MUNCH_CMD
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< $@
endef
include $(CONFIG)/os/CONFIG.Common.RTEMS
#
# Must put this one so it shows up after the -m528x
#
OP_SYS_LDFLAGS += -m5200

View File

@@ -16,6 +16,11 @@ VALID_BUILDS = Host Ioc
# Gnu directory
GNU_DIR = /usr/local
#-------------------------------------------------------
# Get fullpathname of relative dirs
SHRLIB_SEARCH_FULLPATHDIRS = $(foreach dir,$(SHRLIB_SEARCH_DIRS), \
$(shell perl $(TOOLS)/fullPathName.pl $(dir)))
#-------------------------------------------------------
# Unix prefix and suffix definitions
EXE =
@@ -24,6 +29,8 @@ OBJ = .o
LIB_PREFIX = lib
LIB_SUFFIX = .a
SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_SUFFIX = .so$(addprefix .,$(LOADABLE_SHRLIB_VERSION))
LOADABLE_SHRLIB_PREFIX = lib
#-------------------------------------------------------
# names of libraries to build
@@ -31,40 +38,60 @@ SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
# <lib> -> lib<lib>.so.<version>
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(SHRLIB_SUFFIX))
LOADABLE_SHRLIBNAME = $(LOADABLE_BUILD_LIBRARY:%=$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX))
#-------------------------------------------------------
# shrlib: DEPLIBS, LDFLAGS, and LDLIBS definitions
SHRLIB_DEPLIBS = $(foreach lib,$(SHRLIB_LIBS),$(firstword $(wildcard \
$($(lib)_DIR)/$(LIB_PREFIX)$(lib).*)))
SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS_$(strip $(SHARED_LIBRARIES)))
SHRLIB_LDLIBS = $($*_LDLIBS:%=-l%) $(SHRLIB_LIBS:%=-l%) \
$($*_SYS_LIBS:%=-l%) $(SYS_SHRLIB_LIBS:%=-l%)
# SHRLIB_LIBS deprecated
LIB_LIBS += $(SHRLIB_LIBS)
SHRLIB_DEPLIBS=$(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
SHRLIB_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(LIB_LIBS) $(USR_LIBS) \
$($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS)) $(LDLIBS)
SHRLIB_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(SHRLIB_DEPLIBS))
SHRLIB_LDFLAGS += $(sort $(SHRLIB_DEPLIB_DIRS:%=-L%))
SHRLIBDIR_LDFLAGS += $(sort $(SHRLIB_DEPLIB_DIRS:%=-L%))
#--------------------------------------------------
#-------------------------------------------------------
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
PROD_DEPLIBS = $(foreach lib,$(PROD_LIBS) $(USR_LIBS),$(firstword $(wildcard \
$($(lib)_DIR)/$(LIB_PREFIX)$(lib).*)))
PROD_LDLIBS = $($*_LDLIBS:%=-l%) $(PROD_LIBS:%=-l%) $(USR_LIBS:%=-l%)\
$($*_SYS_LIBS:%=-l%) $(SYS_PROD_LIBS:%=-l%)
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
PROD_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(PROD_LIBS) $(USR_LIBS)\
$($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS))
LDLIBS_STATIC_YES = LDLIBS
LDLIBS_SHARED_NO = LDLIBS
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
PROD_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
PRODDIR_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
#--------------------------------------------------
# Link definitions
LINK.cpp = $(CCC) -o $@ $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS)
LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
LINK.shrlib = $(CCC) -o $@ $(SHRLIB_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS)
LINK.shrlib += $(LIB_LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
LINK.loadable_shrlib = $(CCC) -o $@ $(LOADABLE_SHRLIB_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS)
LINK.loadable_shrlib += $(LIB_LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
#--------------------------------------------------
# Operating system definitions
OP_SYS_CPPFLAGS += -DUNIX
OP_SYS_LDLIBS += -lm
#--------------------------------------------------
# Link definitions
LINK.cpp = $(CCC) -o $@ $(STATIC_LDFLAGS) $(LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
LINK.shrlib = $(CCC) -o $@ $(SHRLIB_LDFLAGS) $(LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
#--------------------------------------------------
# Allow site overrides
-include $(CONFIG)/os/CONFIG_SITE.Common.UnixCommon

View File

@@ -0,0 +1,24 @@
# CONFIG.Common.aix-ppc
#
# This file is maintained by the build community.
#
# Definitions for aix-ppc target builds
# Sites may override these definitions in CONFIG_SITE.Common.aix-ppc
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
#
# Set OS-specific information
#
OS_CLASS = AIX
ARCH_CLASS = ppc
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_ALL_SOURCE
POSIX_LDLIBS = -lpthread
#SHARED_LIBRARIES=NO

View File

@@ -0,0 +1,11 @@
# CONFIG.Common.aix-ppc-gnu
#
# This file is maintained by the build community.
#
# Definitions for aix-ppc target builds
# Sites may override these definitions in CONFIG_SITE.Common.aix-ppc
#-------------------------------------------------------
# Include definitions common to all aix-ppc target archs
include $(CONFIG)/os/CONFIG.Common.aix-ppc

View File

@@ -0,0 +1,36 @@
# CONFIG.Common.cygwin-x86
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for cygwin-x86 target builds
# Sites may override these definitions in CONFIG_SITE.Common.cygwin-x86
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = cygwin32
ARCH_CLASS = x86
EXE=.exe
COMPILER_CPPFLAGS = -D_REENTRANT
#POSIX_CPPFLAGS = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
# _POSIX_SOURCE eliminates select()
POSIX_CPPFLAGS = -D_POSIX_THREADS -D_POSIX_TIMERS
POSIX_LDLIBS += -lpthread
ARCH_DEP_CPPFLAGS += -D_X86_
OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
# Definitions used when COMMANDLINE_LIBRARY is READLINE
INCLUDES_READLINE = -I$(GNU_DIR)/include
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
LDLIBS_READLINE = -lreadline

View File

@@ -10,12 +10,15 @@
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
#
# Set OS-specific information
#
OS_CLASS = Darwin
ARCH_CLASS = ppc
#
# Special flags for Darwin
# No common blocks (as required when going to shared libraries)
# No common blocks (as required when using shared libraries)
#
OP_SYS_CFLAGS += -fno-common
@@ -25,23 +28,31 @@ OP_SYS_CFLAGS += -fno-common
CPPSNCFLAGS += -no-cpp-precomp
#
# Need to get some fink-installed packages
# Darwin os definition
#
OP_SYS_CPPFLAGS += -I$(FINK_DIR)/include
OP_SYS_LDFLAGS += -L$(FINK_DIR)/lib
OP_SYS_LDLIBS +=
OP_SYS_CPPFLAGS += -Ddarwin
#
# Stuff that will be needed when going to shared libraries
# The following two definitions enable the use of DarwinPorts packages.
#
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
-install_name $(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)/$@ \
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
SHRLIB_SUFFIX = $(addprefix .,$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)).dylib
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
OP_SYS_INCLUDES += -I/opt/local/include
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /opt/local/lib/*))))
# Command-line input support
COMMANDLINE_LIBRARY=LIBTECLA
LDLIBS_LIBTECLA = -ltecla_r -lncurses
#
# The following two definitions enable the use of Fink packages.
#
OP_SYS_INCLUDES += -I/sw/include
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /sw/lib/*))))
#
# Libraries for command-line editing.
#
LDLIBS_READLINE = -lreadline
#
# Command-line input support
#
COMMANDLINE_LIBRARY=READLINE

View File

@@ -13,21 +13,19 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = hpux
ARCH_CLASS = parisc
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_NO +=
# When compiling with gcc, static builds need two more libraries (*sigh*)
POSIX_LDLIBS_GNU_YES_STATIC_YES += -lpthread -l:libdld.sl
POSIX_LDLIBS_YES = $(POSIX_LDLIBS_GNU_$(GNU)_STATIC_$(STATIC_BUILD))
# Posix stuff is not set here as "-mt" (in CONFIG.hpux-parisc.hpux-parisc)
# does all defines and linker options to make posix threads work
OP_SYS_CPPFLAGS = -D_HPUX_SOURCE -DHP_UX
OP_SYS_CPPFLAGS = -DHP_UX
OP_SYS_CFLAGS = -D_HPUX_SOURCE
OP_SYS_CXXFLAGS =
SHARED_LIBRARIES=YES
SHRLIB_SUFFIX = .sl$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_SUFFIX = .sl$(addprefix .,$(LOADABLE_SHRLIB_VERSION))
ifdef CROSS
GNU_TARGET=parisc-hp-unix
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
# Set runtime path for shared libraries
empty:= # trick from the make docs...
space:= $(empty) $(empty)
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_FULLPATHDIRS))),+s
GNU_TARGET=parisc-hp-unix

View File

@@ -0,0 +1,18 @@
# CONFIG.Common.linux-386
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-386 target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-386
#-------------------------------------------------------
# Include definitions common to all linux x86 targets
include $(CONFIG)/os/CONFIG.Common.linux-x86
ARCH_DEP_CFLAGS = -march=i386
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=i386-pc-linux-gnu
endif

View File

@@ -0,0 +1,18 @@
# CONFIG.Common.linux-486
#
# $Id
# This file is maintained by the build community.
#
# Definitions for linux-486 target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-486
#-------------------------------------------------------
# Include definitions common to all linux x86 targets
include $(CONFIG)/os/CONFIG.Common.linux-x86
ARCH_DEP_CFLAGS = -march=i486
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=i486-pc-linux-gnu
endif

View File

@@ -0,0 +1,19 @@
# CONFIG.Common.linux-586
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-586 target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-586
#-------------------------------------------------------
# Include definitions common to all linux x86 targets
include $(CONFIG)/os/CONFIG.Common.linux-x86
# i586 is euivalent to pentiumpro
ARCH_DEP_CFLAGS = -march=i586
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=i586-pc-linux-gnu
endif

View File

@@ -0,0 +1,19 @@
# CONFIG.Common.linux-686
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-686 target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-686
#-------------------------------------------------------
# Include definitions common to all linux x86 targets
include $(CONFIG)/os/CONFIG.Common.linux-x86
# i686 is euivalent to pentiumpro
ARCH_DEP_CFLAGS = -march=i686
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=i686-pc-linux-gnu
endif

View File

@@ -0,0 +1,19 @@
# CONFIG.Common.linux-athlon
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-athlon target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-athlon
#-------------------------------------------------------
# Include definitions common to all linux x86 targets
include $(CONFIG)/os/CONFIG.Common.linux-x86
ARCH_DEP_CFLAGS += -march=athlon-mp -mfpmath=sse
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=athlon-pc-linux-gnu
endif

View File

@@ -0,0 +1,18 @@
# CONFIG.Common.linux-ppc
#
# This file is maintained by the build community.
#
# Definitions for linux-ppc target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-ppc
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
#
# Set OS-specific information
#
ARCH_CLASS = ppc
ARCH_DEP_CPPFLAGS += -D_ppc_

View File

@@ -7,40 +7,29 @@
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
# Include definitions common to all linux targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
OS_CLASS = Linux
ARCH_CLASS = x86
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = -lpthread
POSIX_LDLIBS_NO =
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDFLAGS +=
OP_SYS_LDLIBS += -lrt
ARCH_DEP_CPPFLAGS += -D_X86_
ARCH_DEP_CFLAGS += -mcpu=pentium
# Set runtime path for shared libraries
PROD_LDFLAGS_YES += $(sort $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%/lib/$(T_A)))
SHRLIB_LDFLAGS_YES += $(sort $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%/lib/$(T_A)))
PROD_LDFLAGS += $(PROD_LDFLAGS_$(SHARED_LIBRARIES))
ifdef CROSS
ifeq ($(BUILD_CLASS),CROSS)
ifeq ($(EPICS_HOST_ARCH),linux-x86)
# Added for 386,486,... cross builds
CMPLR_PREFIX=
CROSS_INCLUDES=
CROSS_LDFLAGS=
# Use -w not -Wall
#WARN_CFLAGS_YES = -w
#WARN_CXXFLAGS_YES = -w
-include $(CONFIG)/os/CONFIG_SITE.Common.linux-x86
-include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
-include $(CONFIG)/os/CONFIG_SITE.linux-x86.linux-x86
else
GNU_TARGET=i586-pc-linux-gnu
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
#Allow R3.13 built extensions to load R3.14 shared libs
SYS_SHRLIB_LIBS += pthread rt
endif

View File

@@ -0,0 +1,25 @@
# CONFIG.Common.linux-x86-borland
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86 target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86-borland
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = Linux
ARCH_CLASS = x86
POSIX_LDLIBS = libpthread.so
OP_SYS_CPPFLAGS += -D_BSD_SOURCE -D_SVID_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDLIBS = libc.so libm.so libdl.so librt.so
ARCH_DEP_CPPFLAGS += -D_X86_
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))

View File

@@ -0,0 +1,12 @@
# CONFIG.Common.linux-x86-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86 with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86-debug
#-------------------------------------------------------
# Include definitions common to all linux-x86 target archs
include $(CONFIG)/os/CONFIG.Common.linux-x86

View File

@@ -0,0 +1,35 @@
# CONFIG.Common.linux-x86_64
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86_64
#-------------------------------------------------------
# Include definitions common to all linux targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
ARCH_CLASS = x86_64
ARCH_DEP_CPPFLAGS += -D_X86_64_
ifeq ($(BUILD_CLASS),CROSS)
ifeq ($(EPICS_HOST_ARCH),linux-x86_64)
# Added for 386,486,... cross builds
CMPLR_PREFIX=
CROSS_INCLUDES=
CROSS_LDFLAGS=
# Use -w not -Wall
#WARN_CFLAGS_YES = -w
#WARN_CXXFLAGS_YES = -w
-include $(CONFIG)/os/CONFIG_SITE.Common.linux-x86_64
-include $(CONFIG)/os/CONFIG.linux-x86_64.linux-x86_64
-include $(CONFIG)/os/CONFIG_SITE.linux-x86_64.linux-x86_64
else
GNU_TARGET=i586-pc-linux-gnu
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
endif

View File

@@ -0,0 +1,12 @@
# CONFIG.Common.linux-x86_64-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86_64-debug
#-------------------------------------------------------
# Include definitions common to all linux-x86_64 target archs
include $(CONFIG)/os/CONFIG.Common.linux-x86_64

View File

@@ -1,34 +1,30 @@
# CONFIG.Common.linuxCommon
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-mpc82xx target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-mpc82xx
# Definitions for linux target builds
# Sites may override these definitions in CONFIG_SITE.Common.linuxCommon
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = Linux
ARCH_CLASS = mpc82xx
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = -lpthread
POSIX_LDLIBS_NO =
POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_LDLIBS = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDFLAGS +=
OP_SYS_LDLIBS = -lrt
OP_SYS_LDLIBS += -lrt
#ARCH_DEP_CPPFLAGS += -D_X86_
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
ifdef CROSS
GNU_TARGET=ppc_82xx
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
# Definitions used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline -lcurses

View File

@@ -1,31 +0,0 @@
# CONFIG.Common.lynxos-x86
#
# $Id$
#
# This file is maintained by the build community.
# Sites may override these definitions in CONFIG_SITE.Common.lynxos-x86
#-------------------------------------------------------
#Include definitions common to unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = lynxos
ARCH_CLASS = x86
CODE_CPPFLAGS =
POSIX_CPPFLAGS_YES =
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES += -lposix4d9 -lpthread
POSIX_LDLIBS_NO +=
ARCH_DEP_CPPFLAGS += -D_X86_
ARCH_DEP_LDFLAGS =
ARCH_DEP_LDLIBS =
ifdef CROSS
GNU_TARGET=x86-lynxos
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

@@ -1,31 +0,0 @@
# CONFIG.Common.osf-alpha
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for osf-alpha target archs
# Sites may override these definitions in CONFIG_SITE.Common.osf-alpha
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = osf
ARCH_CLASS = alpha
CODE_CPPFLAGS =
POSIX_CPPFLAGS_YES =
POSIX_LDLIBS_YES +=
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_NO +=
OP_SYS_CPPFLAGS = -D_OSF_SOURCE
OP_SYS_LDLIBS +=
ifdef CROSS
GNU_TARGET=alpha-osf
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

@@ -13,38 +13,36 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = solaris
ARCH_CLASS = sparc
CODE_CPPFLAGS = -D__EXTENSIONS__
CODE_CPPFLAGS = -D__EXTENSIONS__
COMPILER_CPPFLAGS += -mt
COMPILER_LDFLAGS += -mt
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
# Flags for solaris 6
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
POSIX_LDLIBS_YES_6 += -lthread
POSIX_CPPFLAGS += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_XOPEN_SOURCE=500
POSIX_LDLIBS += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS)
OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
POSIX_CPPFLAGS_NO +=
POSIX_LDLIBS_NO +=
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
GNU_TARGET=sparc-sun-solaris2
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
# socket and nsl needed by libca.a
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
# -R does not work unless full path names are specified
# use loader's -R option
PROD_LDFLAGS += $(sort $(DEPLIB_DIRS:%=-R%))
ifdef CROSS
GNU_TARGET=sparc-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
# Lib for solaris 8
SYS_SHRLIB_LIBS_8 += Crun
#Allow R3.13 built extensions to load R3.14 shared libs
SYS_SHRLIB_LIBS += posix4 pthread $(SYS_SHRLIB_LIBS_$(SOLARIS_VERSION))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
INCLUDES_READLINE = -I$(GNU_DIR)/include
RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
LDLIBS_READLINE = -lreadline -lcurses
# Use archive if there is a problem with the readline shared library
#LDLIBS_READLINE = -Bstatic -lreadline -Bdynamic -lcurses

View File

@@ -0,0 +1,12 @@
# CONFIG.Common.solaris-sparc-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.Common.solaris-sparc-debug
#-------------------------------------------------------
# Include definitions common to all solaris-sparc target archs
include $(CONFIG)/os/CONFIG.Common.solaris-sparc

View File

@@ -9,4 +9,13 @@
# Include definitions common to all solaris-sparc target archs
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
# CONFIG.Common.solaris-sparc
COMPILER_CPPFLAGS = -D_REENTRANT
OP_SYS_LDLIBS_8 = -lc
OP_SYS_LDLIBS_9 = -lc
RUNTIME_LDFLAGS += -R$(GNU_LIB)
OP_SYS_LDFLAGS += -L$(GNU_LIB)

View File

@@ -0,0 +1,15 @@
# CONFIG.Common.solaris-sparc64
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc64 compiler target archs
# Sites may override these definitions in CONFIG_SITE.Common.solaris-sparc64
#-------------------------------------------------------
# Include definitions common to all solaris-sparc target archs
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
ARCH_DEP_CFLAGS += -xtarget=ultra -xarch=v9
ARCH_DEP_CXXFLAGS += -xtarget=ultra -xarch=v9
ARCH_DEP_LDFLAGS += -xtarget=ultra -xarch=v9

View File

@@ -0,0 +1,18 @@
# CONFIG.Common.solaris-sparc64-gnu
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc64 gnu compiler target archs
# Sites may override these definitions in CONFIG_SITE.Common.solaris-sparc64-gnu
#-------------------------------------------------------
# Include definitions common to all solaris-sparc-gnu target archs
include $(CONFIG)/os/CONFIG.Common.solaris-sparc-gnu
ARCH_DEP_CFLAGS += -mcpu=v9 -m64
ARCH_DEP_CXXFLAGS += -mcpu=v9 -m64
ARCH_DEP_LDFLAGS += -mcpu=v9 -m64

View File

@@ -15,37 +15,35 @@ ARCH_CLASS = x86
CODE_CPPFLAGS = -D__EXTENSIONS__
COMPILER_CPPFLAGS += -mt
COMPILER_LDFLAGS += -mt
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
# Flags for solaris 6
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
POSIX_LDLIBS_YES_6 += -lthread
POSIX_CPPFLAGS += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_XOPEN_SOURCE=500
POSIX_LDLIBS += -lposix4 -lpthread $(POSIX_LDLIBS_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_NO +=
POSIX_LDLIBS_NO +=
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS)
OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
ARCH_DEP_CPPFLAGS = -D_X86_
# socket and nsl needed by libca.a
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
GNU_TARGET=x86-sun-solaris2
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
# -R does not work unless full path names are specified
# use loader's -R option
#PROD_LDFLAGS += $(sort $(DEPLIB_DIRS:%=-R%))
ifdef CROSS
GNU_TARGET=x86-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
# Lib for solaris 8
SYS_SHRLIB_LIBS_8 += Crun
#Allow R3.13 built extensions to load R3.14 shared libs
SYS_SHRLIB_LIBS += posix4 pthread $(SYS_SHRLIB_LIBS_$(SOLARIS_VERSION))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
INCLUDES_READLINE = -I$(GNU_DIR)/include
RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
LDLIBS_READLINE = -lreadline -lcurses
# Use archive if there is a problem with the readline shared library
#LDLIBS_READLINE = -Bstatic -lreadline -Bdynamic -lcurses

View File

@@ -10,3 +10,11 @@
# Include definitions common to all solaris-x86 target archs
include $(CONFIG)/os/CONFIG.Common.solaris-x86
COMPILER_CPPFLAGS = -D_REENTRANT
OP_SYS_LDLIBS_8 = -lc
OP_SYS_LDLIBS_9 = -lc
RUNTIME_LDFLAGS += -R$(GNU_LIB)
OP_SYS_LDFLAGS += -L$(GNU_LIB)

View File

@@ -1,33 +0,0 @@
# CONFIG.Common.sun4-x86
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for sun4-x86 target archs
# Sites may override these definitions in CONFIG_SITE.Common.sun4-x86
#-------------------------------------------------------
# Include definitions common to all Unix target archs
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = sun4
ARCH_CLASS = x86
CODE_CPPFLAGS = -D__EXTENSIONS__
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES += -lpthread -lthread
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_NO +=
OP_SYS_CPPFLAGS = -DSUNOS4
OP_SYS_LDLIBS += -lsocket -lnsl
ARCH_DEP_CPPFLAGS += -D_X86_
ifdef CROSS
GNU_TARGET=x86-sun-sunos4
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

@@ -19,3 +19,6 @@ ARCH_CLASS = 68k
ARCH_DEP_CPPFLAGS = -DCPU=MC68040
ARCH_DEP_CFLAGS = -m68040
OPT_CFLAGS_YES = -O0
GNU_TARGET = m68k-wrs-vxworks

Some files were not shown because too many files have changed in this diff Show More