Compare commits

...

1293 Commits

Author SHA1 Message Date
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
Marty Kraimer
f0ccd685ad Add comment about linux building with shared libraries by default 2002-12-20 17:20:10 +00:00
Marty Kraimer
403413ac1c add note about portable server on solaris 2002-12-20 15:16:40 +00:00
Marty Kraimer
9b8f6a34fb changed date 2002-12-20 13:09:00 +00:00
Marty Kraimer
940590c882 for R3.14.1 2002-12-20 12:54:56 +00:00
Jeff Hill
2ed228e2f7 o added try/catch around event allocation
o removed copy operator use from ovf event swap however Im not sure this will help
2002-12-20 02:28:41 +00:00
Jeff Hill
48ebbb4ab4 simplified 2002-12-20 02:21:01 +00:00
Jeff Hill
09d516ff05 fixed sun pro warning 2002-12-20 02:20:03 +00:00
Jeff Hill
b99f97e95e fixed sun pro warning 2002-12-19 23:37:55 +00:00
Jeff Hill
7fe3d28c8e fixed sun pro warning 2002-12-19 22:53:52 +00:00
Jeff Hill
da5690d637 made ca_pend_io() tmo configuarble 2002-12-19 22:46:49 +00:00
Jeff Hill
4c551c5587 fixed sunpro warning 2002-12-19 21:26:06 +00:00
Ralph Lange
9c648d7ab3 First try... 2002-12-19 17:32:41 +00:00
Ralph Lange
a07395e47e Fix for hpux 2002-12-19 17:21:55 +00:00
Janet B. Anderson
46e369608d Removed purify comments. 2002-12-19 16:06:49 +00:00
Jeff Hill
181caf02d5 fixed hang at exit problem 2002-12-19 13:54:12 +00:00
Marty Kraimer
addeab1e7e appbin => topbin 2002-12-19 13:38:15 +00:00
Ralph Lange
38e32a9d89 Fixed catime auto-numbering PV format spec 2002-12-19 13:12:38 +00:00
Jeff Hill
5a5e388c55 fixed shutdown bug 2002-12-19 03:12:17 +00:00
Jeff Hill
2b4baa2b68 suppress gnu warning 2002-12-19 02:14:21 +00:00
Jeff Hill
10138d9238 suppress gnu warning 2002-12-19 02:02:18 +00:00
Jeff Hill
c40903e260 suppress gnu warning 2002-12-19 02:00:38 +00:00
Jeff Hill
605c1fb8fe suppress gnu warning 2002-12-19 01:55:32 +00:00
Jeff Hill
8d318d9a99 suppress gnu warning 2002-12-19 01:29:57 +00:00
Jeff Hill
6a32e216f7 increased timeout 2002-12-19 01:28:36 +00:00
Jeff Hill
f6c13478ab test epicsTime::show() 2002-12-19 01:24:20 +00:00
Jeff Hill
117c5a7d6d fixed gnu warnings 2002-12-19 01:23:36 +00:00
Janet B. Anderson
b2ff9f1094 Added static LDFLAGS and LDLIBS. 2002-12-18 22:43:56 +00:00
Jeff Hill
ada93e313d eliminated annoying 5 second delay when waiting for completion 2002-12-18 22:37:49 +00:00
Jeff Hill
b970279a82 added commented out debug message 2002-12-18 22:35:44 +00:00
Jeff Hill
625883f248 better message 2002-12-18 16:59:57 +00:00
Jeff Hill
3203754b52 minor optimization in the unreference routine 2002-12-18 02:38:34 +00:00
Jeff Hill
a22835e835 fixed a potential schedualing problem related to changed timer behavior, but
I have not been able to cause this problem to occur during testing
2002-12-18 02:36:09 +00:00
Jeff Hill
69f584ac9d dont use /Fr, and include support for C++ exceptions and rtti 2002-12-18 02:15:54 +00:00
Jeff Hill
979ab32d9a define WIN32 if it isnt defined to avoid winsock2's messing with structure
member alignment
2002-12-18 01:41:43 +00:00
Andrew Johnson
894930b58b Added some commands to allow run-time queries of the registry. 2002-12-17 20:01:13 +00:00
Jeff Hill
448010b6ad fixed hpux accc warning 2002-12-17 16:55:41 +00:00
W. Eric Norum
ce3bbc453d Provide comments and alernatives for selection of command-line editing package. 2002-12-17 14:47:25 +00:00
Marty Kraimer
4d872b9ca9 more notes for 3.14.1 2002-12-17 12:47:54 +00:00
Janet B. Anderson
6a1ab8221d Removed if test. 2002-12-16 22:47:17 +00:00
Janet B. Anderson
9d57d57ed0 Changed SHRLIB_LDFLAGS_* to += definition. 2002-12-16 22:45:38 +00:00
Janet B. Anderson
0ec42a9dae Make SHARED_LIBRARIES=YES. Modified comment. 2002-12-16 21:51:39 +00:00
Janet B. Anderson
8e807bf6b4 Fixed chomp. 2002-12-16 20:25:53 +00:00
Janet B. Anderson
789d7fe5d0 Commented out GNU_DIR 2002-12-16 17:21:03 +00:00
W. Eric Norum
6759cb7f65 Must set ticksPerSecond before using it! 2002-12-16 16:59:34 +00:00
Janet B. Anderson
b3282bb58f Now cygwin's gcc, g++, ar, ld, and ranlib must be in user's path 2002-12-16 16:19:44 +00:00
Janet B. Anderson
b86a21ed57 Updated for R3.14 2002-12-16 16:17:44 +00:00
Janet B. Anderson
cc699b74df Updated solaris path info. 2002-12-16 16:11:17 +00:00
Marty Kraimer
2c94593c8c dont chop after chomp 2002-12-16 15:47:23 +00:00
Ralph Lange
46111a9065 += Fixed HPUX compiler warning 2002-12-16 13:34:02 +00:00
Jeff Hill
4a730a5b88 fixed debug code 2002-12-13 20:45:57 +00:00
Jeff Hill
b488eb54ad cleaned up locking (also avoid destroying a lock that we own on Linux) 2002-12-13 19:39:46 +00:00
Jeff Hill
e06090bb99 fixed premature shutdown under load bug 2002-12-13 18:31:48 +00:00
Marty Kraimer
ba6ce39c67 add stupid decoration for windows 2002-12-13 17:21:50 +00:00
Andrew Johnson
9c0e801674 Added SHRLIB_SEARCH_DIRS option to linux-x86, allows absolute paths to
shared library directories to be burned into executable and shared
library products.
2002-12-13 17:17:07 +00:00
Janet B. Anderson
ed92859eaf Added chomp. 2002-12-13 15:27:42 +00:00
Marty Kraimer
483d1ea3f0 more notes for 3.14.1 2002-12-13 13:42:04 +00:00
Marty Kraimer
5b84bd81b1 add eltc and coreRelease 2002-12-13 13:11:51 +00:00
Jeff Hill
e53adb99cf improved shutdown 2002-12-13 00:54:34 +00:00
Jeff Hill
256836fe59 fixed missing parm for old version of posix 2002-12-13 00:17:16 +00:00
Janet B. Anderson
2b1fd2f6f1 Added install for *.vdb files and generalized template definition. 2002-12-12 22:39:40 +00:00
W. Eric Norum
3ee40c3321 Fix up change to match new os-dependent mutex API. 2002-12-12 21:57:02 +00:00
Jeff Hill
06aa996962 avoid recursive locking in once only function 2002-12-12 20:52:56 +00:00
Marty Kraimer
3e1af8ce08 must use fprintf(stdout not printf so that help works on vxWorks 2002-12-12 20:09:36 +00:00
Marty Kraimer
8d73716fbd register setIocLogDisable, callbackSetQueueSize, dbPvdTableSize, scanOnceSetQueueSize, and errlogInit 2002-12-12 19:20:20 +00:00
Marty Kraimer
1589c1c3ec Let iocLofDisable be dynamically changed 2002-12-12 19:00:24 +00:00
Marty Kraimer
97caf300d3 dbStaticPvt needed for registering dbPvdTableSize 2002-12-12 18:50:06 +00:00
Janet B. Anderson
4dcbc1b278 Added comments about CAPFAST_TEMPLATES and SCH2EDIF_PATH definitions. 2002-12-12 17:26:12 +00:00
Janet B. Anderson
20cbc2583e R3.14.1 2002-12-12 15:58:02 +00:00
Jeff Hill
a863314254 fixed gnu warning 2002-12-12 15:29:25 +00:00
Jeff Hill
7aac2ec883 improved prioritized channel test 2002-12-12 15:27:57 +00:00
Jeff Hill
2f2d4bfae7 conditionally compile in mutex owner logging 2002-12-12 14:50:27 +00:00
Jeff Hill
e0c75e80bc the portable success test for ioctl is if it returns an int greater than or equal to zero 2002-12-12 01:15:19 +00:00
Jeff Hill
a612619458 continue with lock applied is holding lock? 2002-12-12 01:01:32 +00:00
Jeff Hill
d0116a0669 fixed missing status 2002-12-12 00:27:29 +00:00
Jeff Hill
6b439d6b97 avoid chiken an egg problems during init by not using osi routines at osd level 2002-12-12 00:23:45 +00:00
Janet B. Anderson
f0b9b606d5 Changes for capfast and OPT. 2002-12-12 00:08:30 +00:00
Jeff Hill
737211aff7 fixed gnu warning 2002-12-11 23:21:29 +00:00
Jeff Hill
648f60656a added struct for C 2002-12-11 23:13:13 +00:00
Jeff Hill
fa1b9181cb added capability to record the last owner of the mutex, but perhaps
this should be active only with debug builds
2002-12-11 23:01:49 +00:00
Jeff Hill
3c136f74d8 added epicsThreadIdGetSelf() performance test 2002-12-11 22:56:53 +00:00
Jeff Hill
5aa8fbb3c9 supress error message about bad fd when its a normal abort shutdown 2002-12-11 19:14:19 +00:00
Marty Kraimer
50d6a77ce1 cosmetic changes 2002-12-11 19:14:15 +00:00
Jeff Hill
8ce8820ecd fix for a problem that might occur on smp systems but has not been observed 2002-12-11 19:05:47 +00:00
Marty Kraimer
e8d03dc4d6 get rid of unnecessary pthread_self 2002-12-11 18:30:33 +00:00
Marty Kraimer
43eae2b3c3 more notes for R3.14.1 2002-12-11 13:36:40 +00:00
Jeff Hill
dc5f217493 simplified 2002-12-11 02:11:16 +00:00
Jeff Hill
2ad0b9e362 shut up purify (mistake is in winsock but we can init the var and avoid the umr) 2002-12-11 01:20:55 +00:00
Jeff Hill
b631253c9d define pure virtual ipAddrToAsciiAsynchronous::ioCompletionNotify for
situations where the derived class's destructor is running precisely when
the io completes, but the ipAddrToAsciiAsynchronous destructor has
not yet run
2002-12-11 01:19:37 +00:00
Jeff Hill
f4b01c2d59 added diagnostics 2002-12-11 00:01:31 +00:00
Jeff Hill
55d3b8a9f0 cosmetic 2002-12-10 23:57:02 +00:00
Jeff Hill
8ed40e2118 fixed code that no longer works with gcc 3.2 agressive alias analysis 2002-12-10 23:48:46 +00:00
Jeff Hill
5b1087379f cleaned up test 2002-12-10 20:03:12 +00:00
Marty Kraimer
63abcb5e96 changes for 3.14.1 2002-12-10 19:17:17 +00:00
Jeff Hill
8cb253154e cosmetic 2002-12-10 17:50:35 +00:00
Jeff Hill
be1b93bca0 switch back to using peek to see if bytes are coming 2002-12-10 17:04:59 +00:00
Jeff Hill
057dc7e2b2 fixed premature disconnect under load bug 2002-12-10 16:59:53 +00:00
Jeff Hill
416dd6bfda dont return void from a void function (some compilers dont support this) 2002-12-10 16:59:36 +00:00
Janet B. Anderson
02de364dff Change to a single unsigned i definition. 2002-12-10 15:30:01 +00:00
Jeff Hill
d70ba845e5 dont take (and keep) the lock in the destructor because on POSIX its not allowed to own a mutex when it is destroyed 2002-12-09 23:53:12 +00:00
Janet B. Anderson
9286244343 Bug fix for Crun. 2002-12-09 22:37:03 +00:00
Janet B. Anderson
4552e55f18 Changes from R3.13 branch plus updates for R3.14.1. 2002-12-09 20:32:43 +00:00
Janet B. Anderson
0438779bf8 Added Com_DIR definition. 2002-12-09 19:52:14 +00:00
Janet B. Anderson
2904307894 Updates for solaris version. 2002-12-09 17:08:29 +00:00
Janet B. Anderson
0c02e3df3f Added vxWorks-ppc60*_long targets. 2002-12-09 15:58:47 +00:00
Marty Kraimer
57a288d912 check for INT_MAX; Use epicsTypes for long and unsigned long fields 2002-12-09 15:37:38 +00:00
Janet B. Anderson
e90e86aadd Added compatibility define for dbDumpFldDes 2002-12-07 18:21:08 +00:00
Marty Kraimer
54ee23afb9 changes for long being 64 bits 2002-12-06 14:13:36 +00:00
Marty Kraimer
6f8cadf2d2 get rid of warning message 2002-12-06 14:09:47 +00:00
Marty Kraimer
f838df514a get rid of warning messages 2002-12-06 13:47:40 +00:00
Jeff Hill
b9fc36e754 fixed borland build 2002-12-06 02:22:06 +00:00
Jeff Hill
81e366791a fix undefined symbols with gnu 2002-12-06 00:47:48 +00:00
Jeff Hill
eaf3d04e51 fixed throws specification 2002-12-06 00:36:39 +00:00
Jeff Hill
c041b69848 cleaned up blockUntilBytesArePendingInOS () 2002-12-06 00:35:38 +00:00
Jeff Hill
b075effc76 changed name of R3.14 ca client status 2002-12-06 00:22:50 +00:00
Jeff Hill
7082532001 distinguish between db status and other types 2002-12-06 00:22:24 +00:00
Jeff Hill
cd52995cfa some initial steps towards fre list based memory management 2002-12-06 00:05:55 +00:00
Jeff Hill
467ff91c4f clean up 2002-12-05 23:59:44 +00:00
Jeff Hill
ad61c92957 optimized 2002-12-05 23:54:21 +00:00
Jeff Hill
234cb25dbe new member function 2002-12-05 23:49:33 +00:00
Jeff Hill
a9cb77f196 dont spin for 50 calls to recv() if the incoming circuit is full - 5 times is probably better 2002-12-05 23:49:13 +00:00
Jeff Hill
e5684a3296 changed name of error code 2002-12-05 23:44:25 +00:00
Jeff Hill
62b4c55d25 removed unused parameter 2002-12-05 23:44:06 +00:00
Jeff Hill
58dea0cea9 moved error message table out of header file 2002-12-05 23:43:38 +00:00
Jeff Hill
fd2e9764a4 cosmetic 2002-12-05 23:43:04 +00:00
Jeff Hill
bdc11782b9 moved error message table here 2002-12-05 23:42:31 +00:00
Jeff Hill
e7ca950fbb simplified now that epicsMutexLockWithTimeout() is gone 2002-12-05 23:39:17 +00:00
Jeff Hill
59a8a70d4a optimized 2002-12-05 23:19:43 +00:00
Jeff Hill
da20240ba4 code simplification 2002-12-05 22:02:26 +00:00
Jeff Hill
f9a30fac96 fix sunpro and ms warning 2002-12-05 21:58:24 +00:00
Jeff Hill
33ffc42b15 FIX sunpro WARNING 2002-12-05 21:57:27 +00:00
Janet B. Anderson
9c4495df3b Removed comment line. 2002-12-05 20:39:04 +00:00
Janet B. Anderson
0b4a32c6bc Crun is needed only for solaris 8. 2002-12-05 20:37:36 +00:00
Marty Kraimer
ace4e5a9f6 epicsMutexLockWithTimeout no longer exists 2002-12-04 14:37:21 +00:00
Marty Kraimer
faed748404 implement fast mutex for posix; remove epicsMutexLockWithTimeout 2002-12-04 14:36:41 +00:00
Marty Kraimer
4572c756f3 add -D_XOPEN_SOURCE=500 2002-12-04 14:27:00 +00:00
Marty Kraimer
7581247789 build for 68040 2002-12-04 14:26:14 +00:00
W. Eric Norum
eb157872bd Use EPICS logging routines. No more syslog.
Unless othersise specified, run the network daemons at a lower priority than
the EPICS scan threads.  This makes the scan response much more deterministic.
2002-12-03 22:00:12 +00:00
Janet B. Anderson
a2b7674eb1 Updated files list for R3.14.1 2002-12-03 21:40:01 +00:00
Janet B. Anderson
ae9b0cd3bd Removed PROD_VERSION definition. 2002-12-03 20:26:21 +00:00
Jeff Hill
500c0e22ba fix undefined symbols on Tornado II 2002-12-03 00:46:10 +00:00
Jeff Hill
5af2e2bb18 fix undefined symbols on Tornado II 2002-12-03 00:37:58 +00:00
Marty Kraimer
a5e80e7872 add return type to main 2002-12-02 20:43:45 +00:00
Janet B. Anderson
d773c5c10c Changed default CROSS_COMPILER_TARGET_ARCHS to nothing. 2002-12-02 15:59:14 +00:00
Marty Kraimer
22898be749 add epicsThreadPriorityIocsh andepicsThreadPriorityBaseMax 2002-12-02 15:58:55 +00:00
Marty Kraimer
c0d22b1e1d Allow hex doe VME_IO, CAMAC_IO, AB_IO, GPIB_IO, BITBUS_IO, BBGPIB_IO, VXI_IO 2002-12-02 15:20:33 +00:00
Marty Kraimer
8ed89fe9ce cosmetic changes 2002-12-02 15:14:08 +00:00
Marty Kraimer
d37c75c9e9 get rid of warning message 2002-12-02 14:51:54 +00:00
W. Eric Norum
d8c932a6ca Add prototype for OSI->OSS priority mapper. 2002-11-29 20:03:30 +00:00
W. Eric Norum
8d75c8baed Fix up definition of CONFORM_CXXFLAGS.
Move definition of command-line library OP_SYS_LDLIBS so that the value
isn't destroyed.
2002-11-29 14:53:21 +00:00
W. Eric Norum
384e3af4b5 Latest RTEMS add-on packages provide libtecla so make it the default on RTEMS. 2002-11-29 14:52:14 +00:00
Janet B. Anderson
208aa3ce0b Simplified complier option definitions with T_A and OS_CLASS. 2002-11-27 21:40:23 +00:00
Janet B. Anderson
38596ab6cd Removed -nostdinc from cross builds. Caused problems with tornado2.2 build.
Was told it was not needed.
2002-11-27 21:37:33 +00:00
Janet B. Anderson
f131fe59ac Removed rebuild from ACTIONS definition. 2002-11-27 21:35:07 +00:00
W. Eric Norum
6f7ecedea4 Link -lCom after -lrtemsCom since the rtems_init routines now use the
error logging functions from libCom.
2002-11-27 17:18:28 +00:00
Marty Kraimer
defcf41b0d always include stdlib 2002-11-27 16:16:28 +00:00
Jeff Hill
cd56605b19 use correct type for status 2002-11-27 01:59:31 +00:00
Jeff Hill
539da2f37e added diagnostic 2002-11-27 01:58:42 +00:00
Jeff Hill
883924dda6 use STRICT 2002-11-26 23:24:16 +00:00
Jeff Hill
bf9491592c support W95 except if its a 64 bit build 2002-11-26 23:24:00 +00:00
Jeff Hill
a05353b351 cleaned up reference() function 2002-11-26 01:59:55 +00:00
Janet B. Anderson
9052d64be3 Moved COMMANDLINE definitions. 2002-11-25 23:34:40 +00:00
Jeff Hill
b59f8a3759 fixed arith overflow when computing ref count limit 2002-11-25 23:28:12 +00:00
Janet B. Anderson
f73e968d77 Chnaged java directory name in path. 2002-11-25 22:52:16 +00:00
Janet B. Anderson
520ac60771 Moved ctdt definitions. 2002-11-25 22:46:25 +00:00
Janet B. Anderson
e4bc78f4cf Moved dollars-in-identifiers flag to CONFIG_COMMON. 2002-11-25 22:37:03 +00:00
Janet B. Anderson
a91ff3f031 Added Command-line input support define for epicsReadline.c. 2002-11-25 22:28:34 +00:00
Janet B. Anderson
22e557ffad Modified defaults for command-line input support. 2002-11-25 22:25:44 +00:00
Jeff Hill
cff2c0d5f8 its probably wise (based on failures during stress testing) to use a 32 bit
reference counter in gdd
2002-11-25 22:18:20 +00:00
Janet B. Anderson
74e7c6eb0e Initial version. 2002-11-22 20:21:21 +00:00
Janet B. Anderson
40e6553dcc Updates for R3.14.1. 2002-11-22 20:20:48 +00:00
Janet B. Anderson
f81bff13fa Replaced -traditional with -fdollars-in-identifiers on ctdt compiles. 2002-11-22 19:05:07 +00:00
Janet B. Anderson
e29d86de0b Moved LDLIBS_READLINE LDLIBS_LIBTECLA to os directory. 2002-11-22 19:03:36 +00:00
W. Eric Norum
11f5331576 Add to provide signal-related stubs. 2002-11-21 15:07:05 +00:00
W. Eric Norum
0ae4e0fb16 Remove reference to osdReadline.h. Command-line library selection is now
done in CONFIG_SITE.
2002-11-20 20:26:52 +00:00
W. Eric Norum
1c7428c1cf Change command-line input to allow CONFIG_SITE selection of libtecla,
GNU readline, or built-in EPICS routines.
2002-11-20 20:17:36 +00:00
Janet B. Anderson
1e14394d92 Added TOOL_FAMILY = GNU definition. 2002-11-15 22:36:07 +00:00
Janet B. Anderson
938a80e092 Added comments. 2002-11-15 22:32:21 +00:00
Janet B. Anderson
bd211590b3 Removed -mlongcall option. 2002-11-15 22:16:39 +00:00
Janet B. Anderson
0482c55599 Added additional T_A rules for USR_CFLAGS, USR_CXXFLAGS, and USR_CPPFLAGS. 2002-11-15 21:43:04 +00:00
Janet B. Anderson
6195077e19 Updated template rules. Removed shell command. 2002-11-15 21:34:07 +00:00
Jeff Hill
f4b94967a8 workaround for earlier versions of the wiondows SDK 2002-11-14 22:19:35 +00:00
Jeff Hill
151d115378 workaround visual c++ 6.0 bugs 2002-11-14 22:14:29 +00:00
Jeff Hill
d8aa4eb679 upgraded error code section 2002-11-13 16:51:43 +00:00
Jeff Hill
6a04e56e60 fixed comment 2002-11-12 19:16:20 +00:00
W. Eric Norum
d5d63e0ebd Add temporary configuration for PPC network device. 2002-11-12 18:18:50 +00:00
W. Eric Norum
8579ce2e26 Clean up architecture-specific hooks.
Add hook for __i386__ remote serial debugging.
2002-11-12 18:18:19 +00:00
Jeff Hill
d5685073ad added missing epicsShareDef (should impact only the VAX) 2002-11-12 16:56:18 +00:00
Ralph Lange
a5c21db367 HP warning fix: missing newline at EOF. 2002-11-12 10:55:07 +00:00
Ralph Lange
f301c33faf Fixed bogus undefined symbols with hpux aCC compiler. 2002-11-12 10:47:05 +00:00
Ralph Lange
b562b9557f Moved STATIC_LDFLAGS out of LDFLAGS.
See http://www.aps.anl.gov/epics/mantis/view_bug_advanced_page.php?f_id=20
2002-11-12 10:32:09 +00:00
Ralph Lange
cd6a141f37 Fix for static gcc builds 2002-11-12 10:17:21 +00:00
Ralph Lange
77085e368c Moved SHARED_LIBRARIES definition, as this is a target feature 2002-11-12 09:15:54 +00:00
Ralph Lange
9de520c77b comments++ 2002-11-12 08:17:51 +00:00
Ralph Lange
29ad70d2bc Bugfix for static build 2002-11-12 08:16:34 +00:00
Ralph Lange
43997a4387 DST Changes for 2003 2002-11-12 07:53:30 +00:00
Ralph Lange
d7ff4f71e4 Fix for HP native only compiler flags 2002-11-12 07:16:24 +00:00
Janet B. Anderson
508c077175 Compile *ctdt.c files with COMPILE.ctdt line. 2002-11-11 21:51:58 +00:00
Janet B. Anderson
0c61b40bc0 Added COMPILE.ctdt definition (no -pedantic option). 2002-11-11 21:50:59 +00:00
Janet B. Anderson
9fa57de689 Added Is Tornado version >= 2.2 definition - TORNADO_VERSION_2_2 2002-11-11 21:49:10 +00:00
Janet B. Anderson
0af674eb45 Added GNU=NO to defaults. 2002-11-11 19:45:04 +00:00
Janet B. Anderson
58a05643b3 Added GNU=YES definition. 2002-11-11 19:28:11 +00:00
Janet B. Anderson
7d39a87442 Removed duplicates in TARGET_* definitions. 2002-11-08 16:17:58 +00:00
Ralph Lange
6f8f059de7 Fixed gcc warning. 2002-11-07 19:18:39 +00:00
Ralph Lange
d429387e8a Fixed gcc warning. 2002-11-07 18:48:59 +00:00
Ralph Lange
140bf4a89a Fixed printf warnings by casting size_t to unsigned long. 2002-11-07 18:36:41 +00:00
Ralph Lange
0a517a4fa4 *** empty log message *** 2002-11-07 18:04:30 +00:00
Ralph Lange
3317eae19d Build shared libraries on HPUX. 2002-11-07 17:59:55 +00:00
Ralph Lange
6ea50e50e6 Bugfix (compiler options). 2002-11-07 17:58:59 +00:00
Ralph Lange
9990225f23 Fixed HPUX compiler version string. 2002-11-07 17:50:56 +00:00
Ralph Lange
3bab48bdb7 Suppressed HPUX compiler warnings. 2002-11-07 17:48:30 +00:00
Ralph Lange
e062860774 Suppress more HPUX compiler warnings. 2002-11-07 17:47:10 +00:00
Ralph Lange
98a88d9d74 Suppressed HPUX warnings. 2002-11-07 17:39:19 +00:00
Ralph Lange
d7fe8efef6 Suppressed HPUX warnings. 2002-11-07 17:18:27 +00:00
Ralph Lange
89c4e229da Fixed warning (unused function argument). 2002-11-07 17:11:26 +00:00
Ralph Lange
81a7a8cc85 Fixed implementation of notify() to match its declaration. 2002-11-07 17:10:21 +00:00
Jeff Hill
75ed51dc1c better diagnostic 2002-11-07 17:10:17 +00:00
Ralph Lange
e6501454af Fixed macro name clash. 2002-11-07 17:08:30 +00:00
Jeff Hill
8c936886e8 fixed gnu warning 2002-11-06 22:40:17 +00:00
Jeff Hill
3bcc880e73 updated caEventRate to allow multiple subscriptions and provide better statistics 2002-11-06 22:37:17 +00:00
Jeff Hill
721c6f3fde fixed wrong argument 2002-11-06 19:17:39 +00:00
Jeff Hill
f637fd1c72 avoid conversion ambiguities 2002-11-06 19:17:13 +00:00
Jeff Hill
1d69254f73 added assignment operator 2002-11-06 19:08:37 +00:00
Jeff Hill
a9250069de adjusted what is and isnt supported by egcs 2.95 2002-11-05 21:12:25 +00:00
Jeff Hill
83a6109f04 tabs => spaces 2002-11-05 20:47:51 +00:00
Janet B. Anderson
903361a3fd Modified comment regarding EPICS_HOST_ARCH. 2002-11-05 15:44:02 +00:00
Ralph Lange
51cda206ca HPUX warning fix 2002-11-05 15:02:07 +00:00
Janet B. Anderson
394d66fcdd Bug fix for definition cleanArchTargets. 2002-11-05 14:14:35 +00:00
Janet B. Anderson
65d9d03e2b Added javadoc rules and definitions. 2002-11-05 13:47:33 +00:00
Jeff Hill
6e2262aecf fixed bogus undefined symbols with hpux compiler 2002-11-04 23:25:41 +00:00
Jeff Hill
a1e29d53e3 apparently gcc 2.95 does not support the throw specification 2002-11-04 22:08:45 +00:00
Janet B. Anderson
9bdba43fc7 Modified doc rule to use JAVADOCCMD. 2002-11-04 17:54:31 +00:00
Janet B. Anderson
620c1da354 Moved includes and definitions depending on ifdef T_A. 2002-11-04 17:31:02 +00:00
Ralph Lange
542a84f00b beauty 2002-11-04 14:07:56 +00:00
Ralph Lange
f44a64ed4c Template instantiation needs -fPIC for link command 2002-11-04 14:07:22 +00:00
Ralph Lange
a9be8e8c52 Full shared lib name 2002-11-04 14:06:40 +00:00
Ralph Lange
44eb9fcbf4 Bugfix: '+z' is compiler (not system) flag 2002-11-04 13:05:19 +00:00
Ralph Lange
c5e9ed8311 Using default location 2002-11-04 13:04:38 +00:00
Ralph Lange
5aba97c580 += HPUX using gnu compiler 2002-11-04 12:50:01 +00:00
Janet B. Anderson
08ba669094 Allowed names with decimal points. 2002-11-04 12:25:19 +00:00
Jeff Hill
8fdf6c18dc workaround borland 5.5 bug 2002-11-02 00:32:44 +00:00
Jeff Hill
5402eabe08 removed extra ws 2002-11-02 00:08:02 +00:00
Jeff Hill
2f70fd09b4 fixed gnu warning 2002-11-02 00:07:41 +00:00
Jeff Hill
81674af9bb better comments 2002-11-02 00:06:47 +00:00
Jeff Hill
ee810d4b0b fixed comment 2002-11-01 21:22:37 +00:00
Jeff Hill
c9d2317f31 improved message 2002-11-01 21:10:24 +00:00
Jeff Hill
c983a4887c fix arguments are reversed on pthread_kill() 2002-11-01 21:07:30 +00:00
Jeff Hill
5494603e75 uncommented free list release 2002-11-01 18:18:29 +00:00
Jeff Hill
e772ce948c fixed gnu warnings 2002-11-01 18:13:51 +00:00
Jeff Hill
250a5418c1 comment out unused parameter 2002-11-01 17:25:03 +00:00
Jeff Hill
2daf1edf51 declare status when it is used 2002-11-01 17:24:09 +00:00
Jeff Hill
c9468cdf8e moved signaling code 2002-11-01 17:22:23 +00:00
W. Eric Norum
e29727f600 Add a couple of example configuration files for RTEMS PowerPC targets. 2002-10-31 22:05:00 +00:00
Jeff Hill
fd98efb6f8 use fprintf because errlogPrintf output is clipped at exit 2002-10-31 18:06:02 +00:00
Jeff Hill
915e30388c added extern C 2002-10-31 17:54:24 +00:00
Jeff Hill
6dc74193df uninstalled 2002-10-31 17:29:38 +00:00
Jeff Hill
5b92ba519c changed name of osd signal file to allow c++ and enabled noop signals 2002-10-31 17:20:51 +00:00
Jeff Hill
4a4560e90c removed unused var 2002-10-31 01:15:56 +00:00
Jeff Hill
0ba0ac4493 use sigaction instead of signal 2002-10-31 01:11:49 +00:00
Janet B. Anderson
b5535d714b Allow rebuild.<arch> . 2002-10-30 22:47:16 +00:00
Jeff Hill
92eb209d79 fixed function name 2002-10-30 20:18:03 +00:00
Jeff Hill
72d9af82ea removed 2002-10-30 20:09:50 +00:00
Jeff Hill
405e7d73c4 fixed comments 2002-10-30 19:59:04 +00:00
Jeff Hill
7bef9698b0 force receive thread to hang around for its blocking socket call interrupt signal 2002-10-30 18:55:16 +00:00
Jeff Hill
5b23570d27 upgraded compiler specific macros 2002-10-30 18:40:24 +00:00
Jeff Hill
d4cb389a5d upgraded compiler specific macros 2002-10-30 18:29:40 +00:00
Jeff Hill
0dce06f4cf upgraded compiler specific macros 2002-10-30 17:19:26 +00:00
Andrew Johnson
f0b5bbf467 Was in Attic but not dead. 2002-10-30 15:23:46 +00:00
Andrew Johnson
19edff269e Was in attic but not dead. 2002-10-30 15:21:53 +00:00
Andrew Johnson
4a2d2fea92 Was in Attic but not dead. 2002-10-30 15:18:28 +00:00
Jeff Hill
e047408dc6 replaced tabs with spaces 2002-10-30 02:18:37 +00:00
Jeff Hill
ccef3eddd2 better diagnostic 2002-10-30 02:10:19 +00:00
Jeff Hill
da9309e338 guard against use of a nill pointer 2002-10-30 01:37:41 +00:00
Jeff Hill
0e4addbc35 use correct signal 2002-10-30 01:13:08 +00:00
Jeff Hill
2860ca9b51 fixed problem introduced by warning fix 2002-10-30 00:51:12 +00:00
Jeff Hill
dc3bbeb16f fixed problem introduced by warning fix 2002-10-30 00:36:13 +00:00
Jeff Hill
784a5f815f improved message 2002-10-30 00:35:31 +00:00
Jeff Hill
4feb5bd493 fixed borland warnings 2002-10-29 23:07:07 +00:00
Jeff Hill
f9c38bc224 fixed borland warnings 2002-10-29 23:04:10 +00:00
Jeff Hill
763934a30d cosmetic 2002-10-29 23:03:05 +00:00
Jeff Hill
2ddee70fe3 ifdef around placement delete 2002-10-29 22:06:39 +00:00
Jeff Hill
c3e9d6928c fixed borland warning 2002-10-29 22:06:04 +00:00
Jeff Hill
b022718190 improved diagnostic 2002-10-29 22:05:09 +00:00
Jeff Hill
66a58406cc removed previous change that allowed w95, but introduced a bug 2002-10-29 22:03:34 +00:00
Jeff Hill
61b6f8cdd9 fixed problems with borland include files 2002-10-29 21:49:31 +00:00
Jeff Hill
92d73f2760 incremental release does not support placement delete 2002-10-29 21:48:12 +00:00
Jeff Hill
e96e511876 fixed borland warning 2002-10-29 21:46:13 +00:00
Jeff Hill
ae17d37d85 supress usless warning 2002-10-29 21:44:40 +00:00
Jeff Hill
e5486ab9e1 upgraded memory management 2002-10-29 19:12:53 +00:00
Jeff Hill
39b7631c16 removed unused paramter tag 2002-10-29 19:08:56 +00:00
Jeff Hill
d9919861f4 added parens to fix borland warning 2002-10-29 19:08:28 +00:00
Jeff Hill
f7be65a315 removed private array new/delete 2002-10-29 19:05:53 +00:00
Jeff Hill
dda1e0e2aa removed unused paramter tag 2002-10-29 19:00:46 +00:00
Jeff Hill
83368d1bc2 removed private array new/delete 2002-10-29 18:59:10 +00:00
Jeff Hill
bd36b053a1 removed private array new/delete 2002-10-29 17:10:40 +00:00
Jeff Hill
223b7fbe2a removed unused paramter tag 2002-10-29 17:10:16 +00:00
Jeff Hill
ff07566b66 fixed bug introduced by HPUX warning fix 2002-10-25 03:03:40 +00:00
Jeff Hill
7e92fa0ca0 removed junk and added missing type name 2002-10-25 01:44:50 +00:00
Jeff Hill
8e8f95c0de added missing include 2002-10-25 01:31:07 +00:00
Jeff Hill
5c63caef2a added typename 2002-10-25 01:22:28 +00:00
Jeff Hill
89d8b224cf added missing include 2002-10-25 01:16:31 +00:00
Jeff Hill
0339023aa5 changed parameter type 2002-10-25 01:09:01 +00:00
Jeff Hill
2daf173aeb added direct access to thread specific ds 2002-10-25 01:06:33 +00:00
Jeff Hill
2c78fef14d added missing include 2002-10-25 01:06:02 +00:00
Jeff Hill
05dd1e2732 added typename keyword for sun pro 2002-10-25 00:49:44 +00:00
Jeff Hill
03a018c077 fixed throw spec 2002-10-25 00:39:15 +00:00
Jeff Hill
aafbb17d67 fixed gnu compiler errors 2002-10-25 00:33:05 +00:00
Jeff Hill
4c7bcf077b installed 2002-10-25 00:19:11 +00:00
Jeff Hill
0cf90ce7c2 removed unused includes 2002-10-25 00:12:52 +00:00
Jeff Hill
2011c3c7ba use epics_throws macro 2002-10-25 00:11:12 +00:00
Jeff Hill
3e884afdff improved delete stub 2002-10-25 00:08:36 +00:00
Jeff Hill
c3ee505816 removed inline functions from dll interface class 2002-10-24 23:59:38 +00:00
Jeff Hill
cf8e3c07f2 added forward reference 2002-10-24 23:51:33 +00:00
Jeff Hill
3714092f09 renamed file 2002-10-24 23:51:07 +00:00
Janet B. Anderson
d4cf198ce8 Added javadoc definitions and rules. 2002-10-24 19:07:52 +00:00
Janet B. Anderson
a7930cdaa0 Added SOLARIS_VERSION so uname executed not executed on each compile line. 2002-10-24 19:05:49 +00:00
Jeff Hill
64da98ffd3 removed unused include 2002-10-24 18:16:45 +00:00
Jeff Hill
8dc8be9ad7 document ms compiler problems with placement delete 2002-10-24 18:12:03 +00:00
Jeff Hill
c7a8baee1a changed function name 2002-10-24 15:38:19 +00:00
Jeff Hill
ea2d06560e fixed gnu compiler error 2002-10-24 15:32:30 +00:00
Ralph Lange
777c2c77be Replaced some C-style casts with their C++ variants 2002-10-24 12:53:23 +00:00
Ralph Lange
43ceffad94 += 'typename' before member type names 2002-10-24 12:37:27 +00:00
Jeff Hill
843c958bf0 fixed symbol spelling 2002-10-24 00:33:43 +00:00
Jeff Hill
4401de7cd0 fixed gnu compiler errors 2002-10-24 00:28:46 +00:00
Jeff Hill
77176a6218 use placement new 2002-10-24 00:24:02 +00:00
Jeff Hill
b023f081eb fixed linux compiler errors 2002-10-24 00:18:12 +00:00
Jeff Hill
4697963387 fixed compiler error on Linux 2002-10-24 00:12:54 +00:00
Jeff Hill
3e5557b211 fixed compiler error on linux 2002-10-24 00:12:11 +00:00
Jeff Hill
d9e6116d00 use placement new 2002-10-23 23:55:36 +00:00
Jeff Hill
92dcf72a89 new epicsSignal interface 2002-10-23 23:54:18 +00:00
Jeff Hill
e36083d5ef use placement new 2002-10-23 23:37:30 +00:00
Jeff Hill
340e0c1d58 dont use a free list 2002-10-23 23:35:42 +00:00
Jeff Hill
bfe985e7aa adapt to new epicsSingleton interface 2002-10-23 23:34:42 +00:00
Jeff Hill
8a0504616e dont allow ordinary delete 2002-10-23 23:32:30 +00:00
Jeff Hill
4cd67a4e27 dont allow ordinary delete 2002-10-23 23:23:56 +00:00
Jeff Hill
6026533aeb use placement new 2002-10-23 23:23:22 +00:00
Jeff Hill
37d239eb88 use placement new 2002-10-23 22:58:49 +00:00
Jeff Hill
0817ad51ba removed double checked lock optimzation 2002-10-23 22:57:06 +00:00
Jeff Hill
9d07afdbfd dont allow use of ordinary delete 2002-10-23 22:55:52 +00:00
Jeff Hill
39f180ffd1 o interrupt socket system calls on unix with a signal'
o use placement new
2002-10-23 22:52:06 +00:00
Jeff Hill
d859a43492 print warning message and dont disconnect if the client application
is never reading its input - also dont reset the beaconAnomaly flag
if we send data
2002-10-23 22:42:27 +00:00
Jeff Hill
a89f2eff3d print warning message and dont disconnect if the client application
is never reading its input
2002-10-23 22:40:49 +00:00
Jeff Hill
6f8c6cb0a2 changed free list count 2002-10-23 22:39:58 +00:00
Jeff Hill
3facf84411 removed double checked lock optimization 2002-10-23 22:39:06 +00:00
Jeff Hill
a955d5ebb6 use new epicsSignal interface 2002-10-23 22:37:05 +00:00
Jeff Hill
3e9909b4dd installed 2002-10-23 22:36:10 +00:00
Jeff Hill
1e976b7eed use placement new 2002-10-23 22:32:39 +00:00
Jeff Hill
0b66cd3811 now compatible with new epicsSingleton interface 2002-10-23 22:30:19 +00:00
Jeff Hill
d468c989d7 cosmetic 2002-10-23 22:29:32 +00:00
Jeff Hill
ba2cb54762 removed free lists 2002-10-23 22:28:56 +00:00
Jeff Hill
0fce80a352 added constants 2002-10-23 22:28:08 +00:00
Jeff Hill
0817236127 installed 2002-10-23 22:27:13 +00:00
Jeff Hill
c034d5f9a4 uninstalled 2002-10-23 22:25:19 +00:00
Jeff Hill
c288011b87 added epicsThreadGetPthreadIdSelf() 2002-10-23 22:23:54 +00:00
Jeff Hill
e1e2df53ad added throw specifications 2002-10-23 22:20:49 +00:00
Jeff Hill
f2ccfaf1de certain functions are nolonger inline 2002-10-23 22:19:28 +00:00
Jeff Hill
d42af1ff85 added getId mf 2002-10-23 22:18:52 +00:00
Jeff Hill
6b3c5002ec removed constants 2002-10-23 22:17:57 +00:00
Jeff Hill
1af30b1d48 interrupted system call interface 2002-10-23 22:17:11 +00:00
Jeff Hill
2074b99342 added constants 2002-10-23 22:15:41 +00:00
Jeff Hill
8b83921bdf compatible now with revised epicsSingleton 2002-10-23 22:14:47 +00:00
Jeff Hill
fd5b08caf1 fixed SMP problems 2002-10-23 22:14:03 +00:00
Jeff Hill
7fdc295d9d added throw specifications 2002-10-23 22:13:03 +00:00
Janet B. Anderson
205cbb69fe Added -mlongcall option. Cosmetic changes. 2002-10-22 22:06:46 +00:00
Janet B. Anderson
6b8dbc5355 Added compressExample record. 2002-10-18 21:00:10 +00:00
Ralph Lange
eba7732c3b Fix for HPUX 2002-10-15 14:13:35 +00:00
Ralph Lange
eab19edd24 Fix HP aCC warnings; clean up tab situation 2002-10-11 09:20:01 +00:00
Ralph Lange
1ea0bcb7f3 Fix HP aCC warnings 2002-10-11 09:19:29 +00:00
Ralph Lange
7bf43f6dcc More HP aCC warnings fixed 2002-10-09 09:12:25 +00:00
Ralph Lange
c0aa7861e6 string.h needed for strncpy 2002-10-09 08:58:05 +00:00
Ralph Lange
8657179346 Bugfix: non-vxWorks OSs must copy string command line args 2002-10-08 14:10:35 +00:00
Janet B. Anderson
838489ae4b Modified comments. 2002-10-04 15:00:52 +00:00
Janet B. Anderson
dc3d8296cc Cleanup of some rules. 2002-10-04 14:56:10 +00:00
Janet B. Anderson
c6c28baab8 Reordered some rules. 2002-10-04 14:53:48 +00:00
Janet B. Anderson
9a173a46d9 Cleanup of rules. 2002-10-04 14:53:00 +00:00
Janet B. Anderson
1c27d187c1 Moved buildInstall rule. 2002-10-04 14:51:05 +00:00
Janet B. Anderson
790e77bc25 Modified comments by adding darwin-ppc and linux-mpc82xx. 2002-10-04 14:49:51 +00:00
Jeff Hill
bc9d1414a9 added display of time 2002-10-03 19:50:02 +00:00
Jeff Hill
f730559ac1 swapped "client" for "server" in one place 2002-10-02 19:43:08 +00:00
Jeff Hill
fd85d0d319 test recursive mutex delays 2002-10-01 20:10:56 +00:00
Jeff Hill
2fd82ded26 removed double test lock optimization 2002-10-01 20:09:17 +00:00
Andrew Johnson
3a83f64b10 Created from ppc604 version. 2002-10-01 15:44:59 +00:00
Jeff Hill
dff44268b0 cosmetic 2002-09-30 20:24:20 +00:00
Jeff Hill
ad3be7f90a supress more messages associated with normal operation 2002-09-30 20:21:37 +00:00
Jeff Hill
aa0238adf2 back out previous change 2002-09-30 18:02:22 +00:00
Jeff Hill
556c9e44dc export shared symbols 2002-09-30 18:00:34 +00:00
Jeff Hill
31ceef441d added epicsShareFunc in several places 2002-09-30 17:59:30 +00:00
Andrew Johnson
137b10f7a8 Removed complex C++ registration of subroutines,
replaced by function() statments in .dbd file.
2002-09-25 18:36:48 +00:00
Andrew Johnson
9481cf9649 Added auto-registration of routines from .dbd function() statements 2002-09-25 18:33:25 +00:00
Andrew Johnson
55f563b959 Added dbDumpFunction command. 2002-09-25 18:32:08 +00:00
Andrew Johnson
7d2d368033 Added support for function() statement in .dbd files 2002-09-25 18:30:46 +00:00
Andrew Johnson
dff960b3c3 Added command-line echoing when executing a script. 2002-09-24 22:06:54 +00:00
W. Eric Norum
ac2f19b8b3 Clean up commands so that more extensions can be built. 2002-09-24 21:39:46 +00:00
Jeff Hill
79bb94b1ea fixed sun pro warning 2002-09-24 17:52:11 +00:00
Jeff Hill
8133681a48 fixed formatting and sun pro warning 2002-09-24 17:51:09 +00:00
Jeff Hill
4a0334796c fixed gnu warnings 2002-09-24 17:07:43 +00:00
Jeff Hill
bad7bd373e fixed string to enum conversion so that it allows strings with integers 2002-09-23 23:59:29 +00:00
Jeff Hill
c28bb13e9a its probably best for a put callback to save a private copy of the users data that
is being written
2002-09-23 22:10:20 +00:00
Jeff Hill
ad3c2b2a5c fixed purify errors occuring when an event callback deletes itself 2002-09-23 22:09:42 +00:00
Jeff Hill
f57df209ab fixed SPARC alignment with ca put notify 2002-09-23 17:05:47 +00:00
Jeff Hill
03717d7944 fixed sunpro warning 2002-09-20 17:33:10 +00:00
Jeff Hill
a37ff40ce8 fixed gnu warning 2002-09-20 17:23:19 +00:00
Jeff Hill
5fab011222 workaround for sunpro virtual destructor multiply defined symbols problem 2002-09-20 16:49:42 +00:00
Jeff Hill
da7706be23 cleanedup placement delete ifdef block 2002-09-20 16:48:51 +00:00
Jeff Hill
4254028028 lage constant needs to be unsigned 2002-09-20 16:20:54 +00:00
Jeff Hill
ce32de55ae simplified includes to avoid portability problems with different versions of windows 2002-09-20 16:02:13 +00:00
Jeff Hill
50fea19f26 added newline at eof 2002-09-20 15:59:08 +00:00
Jeff Hill
17e5a0b98d fixed visual c++ 6.0 build issues 2002-09-19 22:11:47 +00:00
Jeff Hill
ef5b5013a5 changed extensions from .cpp to .cc on several files 2002-09-19 21:36:00 +00:00
Jeff Hill
6ec62c5496 improved diagnostics 2002-09-19 19:33:18 +00:00
Jeff Hill
41fd1ff1f8 installed beacon anomaly generator 2002-09-19 19:32:29 +00:00
Jeff Hill
7cc7d596b3 fixed use of undefined status variable in diagnostic 2002-09-19 19:28:09 +00:00
Jeff Hill
48bb66d586 installed 2002-09-19 19:26:35 +00:00
Jeff Hill
8c3d560ca8 dont copy if the application types dont match and the source and dest are both
not containers in smart copy
2002-09-19 18:31:06 +00:00
Jeff Hill
04a3d585d4 fixed wrong pointer with scalar bug 2002-09-19 16:56:35 +00:00
Jeff Hill
ce6ec6c0db fixed several bugs and tried to clean up some loose ends 2002-09-19 00:54:25 +00:00
Jeff Hill
aeeac23037 destroyData is nolonger inline 2002-09-19 00:43:01 +00:00
Jeff Hill
f03db482fd removed inappropriate use of init() out side of constructor 2002-09-17 21:32:12 +00:00
Jeff Hill
c8d5854fcf fixed destroyData so that it consistently removes the bounds from all modes
(this fixes a problem where a container returned to the app table free list was
retaining the bounds from its previous lifetime)
2002-09-17 21:30:44 +00:00
Jeff Hill
021e060853 fixed gnu detected problem 2002-09-17 18:13:32 +00:00
Jeff Hill
6433d3699b fixed gnu detected problem 2002-09-17 18:07:27 +00:00
Jeff Hill
efbdda83ce improved message 2002-09-17 18:01:09 +00:00
Jeff Hill
bb8fa4fd10 fixed gdd => dbr_gr_enum/dbr_ctrl_enum to handle off normal situations 2002-09-17 17:59:55 +00:00
Jeff Hill
dd04436293 fixed gdd::put 2002-09-17 17:58:54 +00:00
Jeff Hill
8f3394d317 cosmetic 2002-09-17 17:55:49 +00:00
Jeff Hill
84ba44a8e8 only return enum strings if the primitive type is enum 2002-09-17 17:54:59 +00:00
Jeff Hill
5f8619bb6b changed certain variables from on-the-fly to precreate 2002-09-17 17:53:31 +00:00
Jeff Hill
a9c15d34e7 set the bounds when asking for the string table 2002-09-17 17:52:20 +00:00
Jeff Hill
0c0c3d6d94 added new function that sets the bounds on an pplication type within a container 2002-09-17 17:51:32 +00:00
Jeff Hill
fd7e40b223 added new function 2002-09-17 17:50:24 +00:00
Jeff Hill
539d3478c8 fixed beacon detect logic does not detect reconnected servers 2002-09-11 23:30:12 +00:00
Jeff Hill
761a87ea73 eliminate disconnect message from ca_task_exit 2002-09-11 20:54:40 +00:00
Jeff Hill
abcbaeca9c use const for the channel name pointer 2002-09-11 20:51:14 +00:00
Jeff Hill
aec31f89a2 added client does not see server's beacons troubleshooting hyperlink 2002-09-11 20:50:26 +00:00
Jeff Hill
308055d41e NTP timestamp test 2002-09-11 20:48:24 +00:00
Jeff Hill
4c04096ce9 avoid strange problems with ms compiler that appear to
be influenced by using inline functions with the expireStatus
class
2002-09-11 20:47:21 +00:00
Jeff Hill
9af78b1d37 cosmetic 2002-09-11 20:45:12 +00:00
Jeff Hill
ef84d2398d avoid problems when the osd thread priority isnt mapable to the epics
priority range
2002-09-11 20:44:35 +00:00
Jeff Hill
cb2d75392e use sizeof to determine no chars in type unsigned 2002-09-10 19:07:40 +00:00
Jeff Hill
8870cf48b6 NTP time stamp conversion 2002-09-09 22:46:09 +00:00
Jeff Hill
849b5e094e removed infinite loop when regression test runs prior to init 2002-09-09 22:17:08 +00:00
W. Eric Norum
928e63fd8f Update comment. Optimization to level -O3 still fails on OS X (Jaguar). 2002-09-09 19:30:26 +00:00
W. Eric Norum
d207412921 Jaguar provides gmtime_r and localtime_r so the Posix versions can be used.
Still no CLOCK_REALTIME in Jaguar, so we can't just get rid of the Darwin-
specific version of this file.
2002-09-09 15:39:31 +00:00
Jeff Hill
aa13eb03ba include errno.h 2002-09-07 00:21:06 +00:00
Jeff Hill
49953640bd include osiSock.h 2002-09-07 00:13:34 +00:00
Jeff Hill
0bb346a212 cosmetic 2002-09-07 00:12:50 +00:00
Jeff Hill
913e6713c6 dont include osiSock.h from the envDefs.h header file 2002-09-07 00:12:01 +00:00
Jeff Hill
25acc515c4 perform FILETIME conversions only on windows because
monolithic win32 header files are incompatible with other
things in EPICS and we cant include windows.h in osdTime.h
2002-09-07 00:11:06 +00:00
Jeff Hill
593ee10818 fixed file time to epicsTime conversion 2002-09-06 00:45:13 +00:00
Jeff Hill
d0e406457d removed use of explicit (void) argument list because this is redundant in C++ 2002-09-04 22:27:54 +00:00
Jeff Hill
ef5b5ec276 cosmetic 2002-09-04 22:09:38 +00:00
Jeff Hill
f3226be0b9 fixed msvisc++ warning 2002-09-04 22:07:54 +00:00
W. Eric Norum
5962c69c12 Add support for Windows FILETYPE time stamps. 2002-09-04 22:04:01 +00:00
Jeff Hill
b3104bbc2b added win32 filetime test 2002-09-04 20:30:08 +00:00
Jeff Hill
7c337a7257 workaround for SUNPRO bogosity 2002-09-04 17:51:08 +00:00
Jeff Hill
296c629c19 fixed linux warning 2002-09-04 17:02:28 +00:00
Jeff Hill
6ec7ac0e16 added conversion between epicsTime and win32 FILETIME 2002-09-04 16:30:37 +00:00
Jeff Hill
f5cbac744e added doc for structures 2002-09-04 14:39:32 +00:00
Jeff Hill
722b8bdf01 doc 2002-09-03 21:27:40 +00:00
Jeff Hill
9d780b0fdd documented structures passed by value to callbacks 2002-09-03 21:26:54 +00:00
Jeff Hill
bdba13c2a2 added ipIgnoreEntry.cc 2002-08-29 17:02:05 +00:00
Jeff Hill
5ffc6d7914 installed 2002-08-29 17:01:37 +00:00
Jeff Hill
9a5ca9203c dont include shareLib.h more than necessary 2002-08-29 17:01:10 +00:00
Jeff Hill
f958bd3ab0 cosmetic 2002-08-29 17:00:44 +00:00
Jeff Hill
8bba4da432 add support for ignoring requests from certain addresses 2002-08-29 16:59:46 +00:00
Jeff Hill
51f853ccb5 removed cvs revisions in header 2002-08-29 16:56:38 +00:00
Jeff Hill
75f52f8833 removed ifdefs 2002-08-29 16:56:10 +00:00
Jeff Hill
da21bbf308 dont include shareLib.h more than necessary 2002-08-29 16:55:36 +00:00
Jeff Hill
67f2ac78ed errSymFind -> errSymLookup 2002-08-29 16:55:15 +00:00
Jeff Hill
6dff6348fe Deal with postpone status returned from an enum string table cache fetch initiate
chained to an asynchronous create PV by printing a message and not filling
in the cache. This can be fixed easier later once the server is threaded again.
2002-08-29 16:53:31 +00:00
Jeff Hill
0d4d2560e6 cosmetic 2002-08-29 16:49:03 +00:00
Jeff Hill
59a7ebd78c doc 2002-08-29 16:45:55 +00:00
Jeff Hill
950d2c0b9d 1) depricated errSymFind function because errSymLookup below provides a
better interface
2) added errSymLookup function with these improvements
o  receive a buffer length from user and therefore never overwrite the users buffer
o return void and always copy a string into the users buffer. If the error code cant
be found then copy in a message with the error code's raw numbers in it.
3) removed prototypes for nonexistent fuinctions from header file
2002-08-29 16:45:16 +00:00
Jeff Hill
75081c3947 added EPICS_CAS_IGNORE_ADDR_LIST 2002-08-29 15:17:10 +00:00
Jeff Hill
bef0109bb7 dont include shareLib.h more than necessary 2002-08-29 15:16:08 +00:00
Jeff Hill
28b1ad5284 added doc for
o EPICS_CAS_INTF_ADDR_LIST
o dbr_type_to_text
o and many small clarifications
2002-08-29 15:09:06 +00:00
Jeff Hill
2872f190e8 dont include shareLib.h more than necessary 2002-08-29 15:02:17 +00:00
Jeff Hill
76199859f6 cosmetic 2002-08-29 15:01:17 +00:00
Jeff Hill
d0ab8f3305 removed junk 2002-08-29 15:00:55 +00:00
Jeff Hill
d08b6251f1 added EPICS_CAS_IGNORE_ADDR_LIST 2002-08-29 14:55:43 +00:00
Janet B. Anderson
31d1fca0d6 Updated docs for R3.14.0beta2 2002-08-28 17:38:53 +00:00
Jeff Hill
3ea121a119 print dbr type as a text string 2002-08-26 17:33:54 +00:00
Jeff Hill
69790213e3 dont allow asynchronous completion error code to drop down to lower layers 2002-08-22 21:42:31 +00:00
Jeff Hill
a5b1beb9da dont print disconnect message if there are zero bytes to send 2002-08-22 21:16:54 +00:00
Jeff Hill
f0a6010a3f added an example for indexing arrays within a structured CA data type 2002-08-22 19:38:33 +00:00
Jeff Hill
9a7ab7b0de index entry for ca_sate 2002-08-22 16:26:41 +00:00
Jeff Hill
8338c1bb3e fixed sun pro warnings 2002-08-22 16:05:22 +00:00
Jeff Hill
0f70d78803 fixed sun pro warnings 2002-08-22 15:53:14 +00:00
Jeff Hill
ebe7870015 avoid comparison between signed and unsigned numbers 2002-08-22 14:39:46 +00:00
Jeff Hill
84863a577c use const for string arguments that are not modified 2002-08-22 14:38:19 +00:00
Jeff Hill
dbd2d00699 use the new create channel interface similar to the other ca example 2002-08-22 00:01:55 +00:00
Jeff Hill
cb9b81cdad fixed enum string table cache update so that it can complete asynchronously 2002-08-22 00:00:22 +00:00
Jeff Hill
b566183c2f fixed reference to freed memory 2002-08-21 23:57:35 +00:00
Andrew Johnson
0058debd45 Minor edits; mainly that tech-talk is now the only EPICS mailing list we ever
talk about in public.
2002-08-21 22:21:15 +00:00
W. Eric Norum
2bb26522e0 Reorder library searches to avoid some problems when linking applications
which include the GPIB driver add-on modules.
2002-08-21 21:08:22 +00:00
Jeff Hill
a15af6a1d5 installed new source files 2002-08-21 16:42:05 +00:00
Jeff Hill
23225348d6 installed 2002-08-21 16:33:50 +00:00
Jeff Hill
d1ddd2627b converted inlines to ordinary functions 2002-08-21 16:33:00 +00:00
Jeff Hill
dd67086dc9 use bool for boolean variable 2002-08-21 16:31:37 +00:00
Jeff Hill
17070c70c8 removed inlines from class definition 2002-08-21 16:31:15 +00:00
Jeff Hill
4c7134933d define epicsExportSharedSymbols correctly 2002-08-21 16:29:04 +00:00
Jeff Hill
f44597e923 fixed problem wher enum string table cache was installed for wrong primitive type 2002-08-21 16:27:24 +00:00
Jeff Hill
cbb652bcce use enum for enumerated variable 2002-08-21 16:25:14 +00:00
Jeff Hill
a3b726f105 allow specification of PV's best external type 2002-08-21 16:23:38 +00:00
Jeff Hill
82ba4f0a1f moved inlines out of class definition 2002-08-21 16:22:30 +00:00
Jeff Hill
dd43dfc717 cosmetic 2002-08-21 16:21:49 +00:00
Jeff Hill
7af6a05a5a moved gr enum test up 2002-08-21 15:39:42 +00:00
Jeff Hill
f328cd0e6b fixed message 2002-08-21 00:14:02 +00:00
Jeff Hill
c986b56e5d tabs are now spaces 2002-08-20 21:52:52 +00:00
Jeff Hill
17f55b29c7 cosmetic 2002-08-20 21:37:23 +00:00
W. Eric Norum
98db216df3 Select NIC at run-time instead of at EPICS build-time. 2002-08-20 16:18:05 +00:00
Jeff Hill
b907ff8ee8 removed epicsShareAPI keyword 2002-08-19 23:16:05 +00:00
Janet B. Anderson
0d57270496 Modified profiling definitions. 2002-08-16 19:01:36 +00:00
Janet B. Anderson
7754a0ecae Changed PROFILE to NO as default. 2002-08-16 18:38:16 +00:00
Jeff Hill
aa54a26c8b This was defensive coding against deadlock occurring when they hold a lock
in the expire callback that they also hold when starting the timer.  I dont know
how to protect them against a situation where they hold a lock in the expire
callback and also hold it when canceling the timer, but at least that is a less
common situation.
2002-08-16 00:07:09 +00:00
Jeff Hill
936053422b removed privateCancel() function 2002-08-16 00:05:53 +00:00
Jeff Hill
24b175c01c document the CA data types 2002-08-15 21:56:14 +00:00
Jeff Hill
c897ad3af0 document the CA data types 2002-08-15 21:53:37 +00:00
Jeff Hill
9a1b51ce10 added new type for DBR_CLAA_NAME. 2002-08-15 21:53:23 +00:00
Janet B. Anderson
c07a6e1cab Changed required gnumake version to 3.78.1 2002-08-15 14:36:40 +00:00
Janet B. Anderson
6caf14c190 Updated required gnumake version to 3.79. 2002-08-15 14:34:52 +00:00
Janet B. Anderson
12f1ed8639 Fixed profiling option. 2002-08-15 14:29:46 +00:00
Jeff Hill
f0b7c5a46c fixed deadlock 2002-08-14 22:04:02 +00:00
Jeff Hill
235f23a322 fixed deadlock 2002-08-14 21:53:30 +00:00
Jeff Hill
16e8c85da8 add old client error code 2002-08-14 18:22:41 +00:00
Jeff Hill
c0f90bd568 return ECA_ style error so that better diagnostics percolate up to client 2002-08-14 16:25:47 +00:00
Jeff Hill
eb3b394238 export diagnostic counters 2002-08-13 00:19:37 +00:00
Jeff Hill
b24e0fe1c5 removed extra cr 2002-08-13 00:13:23 +00:00
Jeff Hill
2e0e640ad3 remove Zi option from optimized build 2002-08-12 23:05:36 +00:00
Jeff Hill
d73ac2c107 cosmetic 2002-08-12 16:18:26 +00:00
Jeff Hill
7cc5842830 use guard class to manage mutex locks 2002-08-09 23:40:18 +00:00
Jeff Hill
a630ecefc9 proper search for beacon period parm 2002-08-09 23:08:41 +00:00
Jeff Hill
dcdd9c2247 new command line, better formatting 2002-08-09 16:53:08 +00:00
Jeff Hill
62b8f02fef initialize the beacon sequence number 2002-08-09 16:52:39 +00:00
Jeff Hill
732f5f33e5 new diagnostics 2002-08-09 16:52:21 +00:00
Jeff Hill
bf25c38562 new command line to casw 2002-08-09 16:50:27 +00:00
Jeff Hill
99213bfbea updated to support independent configuration of certain server parameters 2002-08-09 14:45:55 +00:00
Jeff Hill
7cc8d84e1d doc 2002-08-09 00:19:25 +00:00
Jeff Hill
8d9c3f7ff4 updated to support independent configuration of certain server parameters 2002-08-09 00:16:24 +00:00
Jeff Hill
996672b285 removed comment 2002-08-09 00:12:51 +00:00
Jeff Hill
6d03df6a9b fixed beacon period name 2002-08-08 22:37:41 +00:00
Jeff Hill
c2d4515e90 fixed test name 2002-08-08 22:36:57 +00:00
Jeff Hill
40a3dab60c added description of CA repeater 2002-08-08 17:09:13 +00:00
Jeff Hill
75c1d4a21e clean up 2002-08-08 15:37:05 +00:00
Jeff Hill
44660156f5 improved server configuration documentation 2002-08-08 00:41:06 +00:00
Jeff Hill
ba5e5dc007 made configuration more like portable server 2002-08-08 00:25:49 +00:00
Jeff Hill
9d7c670397 allow use of EPICS_CAS_SERVER_PORT 2002-08-08 00:23:37 +00:00
Jeff Hill
5ba7ce818c fixed wrong client id in asynchronous access control response 2002-08-07 18:07:50 +00:00
Jeff Hill
de60b1f5d7 removed redundant string table cache clear 2002-08-07 18:05:26 +00:00
Jeff Hill
6432302866 fixed sequence numbers in asynchronous search response 2002-08-07 00:35:13 +00:00
Andrew Johnson
997e9bb995 Various cleanup edits.
No text changes, just layout.
2002-08-06 22:48:42 +00:00
Jeff Hill
dca801e344 fixed hang under heavy udp load 2002-08-06 18:41:25 +00:00
Andrew Johnson
0e0004f526 Changed (c) comments to HTML comments,
Added charset to content-type header,
fixed one HTML validator error.
2002-08-06 16:06:49 +00:00
Jeff Hill
d39580e6ee fixed missing version/sequence number header in asynchronous search response 2002-08-05 22:57:12 +00:00
Janet B. Anderson
bc097f5b7f Added darwin-ppc. 2002-08-02 14:05:51 +00:00
Jeff Hill
d9a6ffcc10 workaround for borland compiler does not have placement delete 2002-08-01 22:58:23 +00:00
W. Eric Norum
0a1aca0795 Use correct file name when CONFIG_COMPAT is mapping Darwin to darwin-ppc. 2002-08-01 21:05:23 +00:00
W. Eric Norum
b0932d91f2 Mac OS X doesn't allow executables to be statically linked (missing crt0.o). 2002-08-01 21:04:32 +00:00
W. Eric Norum
21b90ed84f Add compatibility entry for Darwin (Mac OS X). 2002-08-01 20:51:44 +00:00
Jeff Hill
1a7e79ace1 fixed version header wasnt pushed into the stream at the correct place 2002-08-01 20:27:35 +00:00
796 changed files with 32713 additions and 22281 deletions

View File

@@ -1,5 +1,5 @@
Copyright (c) 2002 University of Chicago and The Regents of the University
of California. All rights reserved.
Copyright (c) 1991-2003 University of Chicago and The Regents of the
University of California. All rights reserved.
EPICS BASE is distributed subject to the following license agreement:

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

@@ -18,20 +18,27 @@ ARCH_CLASS = Darwin
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
#
# The config files are a real mess. The following set of definitions
# seems to work for all the weird ways in which the extensions makefile
# fragments use them.
# The config files are a real mess. The following definitions seem to work
# for all the weird ways in which the extensions makefile fragments use them.
#
ANSI = GCC
CPLUSPLUS = c++
CC = cc
CXX= c++
GCC = cc
AR = ar
ARCMD = $(AR) -rc $@
ARFLAGS = rcv
RANLIB = ranlib
ANSI=GCC
CPLUSPLUS=G++
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
# Uncomment this if you're using the GNU readline library
#ARCH_DEP_LDLIBS += -lreadline
# Uncomment this if you're using the libtecla library
#ARCH_DEP_LDLIBS += -ltecla_r -ltermcap
#
# Compiler/linker problems prevent the use of shared libraries at the moment
#
@@ -41,8 +48,8 @@ SHARED_LIBRARIES_Darwin = NO
# Something like this will be needed once shared libraries are built
#
SHRLIB_SUFFIX = .dylib$(SHARED_LIBRARIES)
GCC_SHRLIB_LDFLAGS_YES += -dynamiclib -flat_namespace
G++_SHRLIB_LDFLAGS_YES += -dynamiclib -flat_namespace
GCC_SHRLIB_LDFLAGS_YES += -dynamiclib
G++_SHRLIB_LDFLAGS_YES += -dynamiclib
#
# Java

View File

@@ -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

@@ -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

@@ -32,7 +32,7 @@ ARCMD = lib /nologo /verbose /out:$@
#
# Configure OS vendor C compiler
ACC = cl
ACC = cl
#
# __STDC__=0 is a real great idea of Jeff that gives us both:
@@ -60,7 +60,7 @@ ACC_OPT_YES = /Ox
#
# /Zi include debugging info in object files
# /Fr create source browser file
ACC_OPT_NO = /Zi /Fr
ACC_OPT_NO = /Zi
#
# the following options are required when
@@ -95,7 +95,11 @@ ACC_SLIBS_NO=
#
# Use of /Za would dissable DLL import/export keywords which
# EPICS include/excludes using architecture neutral macros
CCC = cl
#
# /GX support C++ exceptions
# /GR generate RTTI information
#
CCC = cl /GX /GR
CCC_NORMAL = $(CCC) /nologo /D__STDC__=0
CCC_STRICT = $(CCC) /nologo /D__STDC__=0
CCC_TEMPL_INST_FLAG =
@@ -113,7 +117,7 @@ CCC_OPT_YES = /Ox
#
# /Zi include debugging info in object files
# /Fr create source browser file
CCC_OPT_NO = /Zi /Fr
CCC_OPT_NO = /Zi
#
# the following options are required when
@@ -135,7 +139,7 @@ CCC_SLIBS_NO=
LINK_OPT_FLAGS_YES = /warn:3 /incremental:no /opt:ref\
/release $(PROD_VERSION:%=/version:%)
LINK_OPT_FLAGS_NO = /warn:3 /debug
LINK_OPT_FLAGS_NO = /warn:3 /debug /incremental:no
OPT_LDFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT))
ARCH_DEP_CFLAGS=

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

@@ -12,7 +12,9 @@
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.hp700
ARCH_CLASS = hp700
ARCH_CLASS = hpux
SHARED_LIBRARIES=YES
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
@@ -20,70 +22,53 @@ 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

@@ -9,5 +9,5 @@
#*************************************************************************
# $Id$
# hpux-m68k is the new name for hp700
# hpux-parisc is the new name for hp700
-include $(EPICS_BASE)/config/CONFIG.Host.hp700

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,24 +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 =
@@ -60,20 +59,30 @@ 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 $@
ARCH_DEP_CFLAGS = -DSOLARIS=$(subst 5.,,$(shell uname -r))
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
# 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 += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
#Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_solaris += posix4 pthread Crun
SYS_DLL_LIBS_solaris_8 = 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,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

@@ -10,8 +10,5 @@
# $Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
ANSI=GCC
CPLUSPLUS=G++
-include $(EPICS_BASE)/config/CONFIG.Host.solarisGnu

View File

@@ -0,0 +1,14 @@
#*************************************************************************
# 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$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris

View File

@@ -15,8 +15,5 @@
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
# Solaris on x86
ARCH_DEP_CFLAGS = -DSOLARIS=$(subst 5.,,$(shell uname -r)) -D_X86_ -D__EXTENSIONS__
GCC = gcc
G++ = g++
ARCH_DEP_CPPFLAGS += -D_X86_

View File

@@ -12,14 +12,8 @@
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.solaris-x86
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solarisGnu
# Solaris on x86
ARCH_DEP_CFLAGS = -DSOLARIS -D_X86_
GCC = gcc
G++ = g++
ANSI=GCC
CPLUSPLUS=G++
ARCH_DEP_CPPFLAGS += -D_X86_

View File

@@ -0,0 +1,53 @@
#*************************************************************************
# 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.solarisGnu
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.solarisGnu
ARCH_CLASS = solaris
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
#
# required by sun's C++ compiler
#
AR = ar
_AR = $(AR) $(ARFLAGS)
G++_AR = $(_AR)
CCC_AR = $(CCC) -xar -o
ARCMD = $($(CPLUSPLUS)_AR) $@
RANLIB =
#==========================
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
ANSI=GCC
CPLUSPLUS=G++
#==========================
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
# 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 += $(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 += 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

@@ -22,4 +22,4 @@ ARCH_CLASS = ppc
ARCH_DEP_CPPFLAGS = -DCPU=PPC603 -DTRUE=1
ARCH_DEP_CFLAGS = -mcpu=603 --no-builtin -mstrict-align
# ARCH_DEP_CFLAGS== -fsigned-char #May need for calcPerform.c
# ARCH_DEP_CFLAGS+= -fsigned-char #May need for calcPerform.c

View File

@@ -0,0 +1,16 @@
# $Id$
#
# This file is maintained by the EPICS community.
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
# For Vx directories of form:
# $(VX_DIR)/$(HOST_ARCH).$(ARCH_CLASS)/bin
ARCH_CLASS = ppc
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC603 -DTRUE=1
ARCH_DEP_CFLAGS = -mcpu=603 --no-builtin -mstrict-align -mlongcall
# ARCH_DEP_CFLAGS+= -fsigned-char #May need for calcPerform.c

View File

@@ -22,5 +22,5 @@ ARCH_CLASS = ppc
ARCH_DEP_CPPFLAGS = -DCPU=PPC604 -D_GNU_TOOL -DTRUE=1
ARCH_DEP_CFLAGS = -mcpu=604 --no-builtin -mstrict-align
# ARCH_DEP_CFLAGS== -fsigned-char #May need for calcPerform.c
# ARCH_DEP_CFLAGS+= -fsigned-char #May need for calcPerform.c

View File

@@ -0,0 +1,17 @@
# $Id$
#
# This file is maintained by the EPICS community.
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
# For Vx directories of form:
# $(VX_DIR)/$(HOST_ARCH).$(ARCH_CLASS)/bin
ARCH_CLASS = ppc
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC604 -D_GNU_TOOL -DTRUE=1
ARCH_DEP_CFLAGS = -mcpu=604 --no-builtin -mstrict-align -mlongcall
# ARCH_DEP_CFLAGS+= -fsigned-char #May need for calcPerform.c

16
config/CONFIG.Vx.sbs_pc6 Normal file
View File

@@ -0,0 +1,16 @@
# Created by Korobov for SBS PC6
# CONFIG.Vx.sbs_pc6
#
# This file is maintained by the EPICS community.
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = 386
# For Vx directories of form:
# $(VX_DIR)/$(HOST_ARCH).$(ARCH_CLASS)/bin
ARCH_CLASS = sbs_pc6
ARCH_DEP_CPPFLAGS = -DCPU=PENTIUM -DCPU_VARIANT=PENTIUM -D_X86_
ARCH_DEP_CFLAGS = -mpentium
ARCH_DEP_CXXFLAGS += -x 'c++'
ARCH_DEP_CFLAGS += -fno-builtin -fno-defer-pop

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

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

@@ -18,9 +18,9 @@
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=0
EPICS_UPDATE_NAME=beta
EPICS_UPDATE_LEVEL=2
EPICS_MODIFICATION=3
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
EPICS_LOCAL_NAME=B
EPICS_LOCAL_VERSION=0

View File

@@ -238,7 +238,7 @@ 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)

View File

@@ -15,6 +15,8 @@
#Syntax:
# ARCH_<host_arch> = <epics_host_arch>
ARCH_solarisGnu = solaris-sparc-gnu
#ARCH_solaris = solaris-sparc-static
#ARCH_solaris = solaris-sparc-debug
ARCH_solaris = solaris-sparc
ARCH_sun4 = sun4-sparc
ARCH_Linux = linux-x86

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

@@ -9,5 +9,5 @@
#*************************************************************************
# $Id$
# hpux-m68k is the new name for hp700
# 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$
# 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

@@ -0,0 +1,9 @@
# CONFIG_HOST_ARCH.solarisGnu
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
WIND_HOST_TYPE = sun4-solaris2

View File

@@ -21,8 +21,10 @@
# hp700
# sgi
# solaris
# solarisGnu (GNU compiler)
# solaris-x86
# sun4
#
# HOST_ARCH now an environment variable
# HOST_ARCH=$(shell /usr/local/epics/startup/HostArch)
@@ -30,26 +32,19 @@ 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
# ppc604
# vxipc
#
CROSS_COMPILER_TARGET_ARCHS=vxWorks-68040 vxWorks-ppc604
# vxWorks-486
# vxWorks-68040
# vxWorks-68040lc
# vxWorks-68060
# vxWorks-ppc603
# vxWorks-ppc604
# vxWorks-ppc603_long
# vxWorks-ppc604_long
CROSS_COMPILER_TARGET_ARCHS=
# If only a subset of the host architectures perform

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

@@ -1,4 +1,4 @@
# $Id$
# hpux-m68k is the new name for hp700
# hpux-parisc is the new name for hp700
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.hp700

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

@@ -4,7 +4,6 @@
# ORNL SNS overrides for cross compilers
#VX_DIR_YES = /opt/tornado20/
#VX_CONFIG_DIR_YES = $(VX_DIR)/target/config
#VX_INCLUDE_YES = /usr/local/crossgcc/ppc/powerpc-wrs-vxworks/sys-include
#VX_GNU_YES = /usr/local/crossgcc/ppc/
#VX_GNU_BIN_YES = $(VX_GNU)/bin

View File

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

View File

@@ -40,6 +40,7 @@ vpath %.c $(USER_VPATH) ../os/$(ARCH_CLASS) ../os/generic ..
vpath %.cc $(USER_VPATH) ../os/$(ARCH_CLASS) ../os/generic ..
vpath %.cpp $(USER_VPATH) ../os/$(ARCH_CLASS) ../os/generic ..
vpath %.rc $(USER_VPATH) ../os/$(ARCH_CLASS) ../os/generic ..
vpath %.jar $(USER_VPATH) ..
# check for add-on CFLAGS and CXXFLAGS
#
@@ -363,7 +364,7 @@ buildInstall :: build $(TARGETS) \
clean::
@echo "Cleaning"
@$(RM) *.i *$(OBJ) *.a $(PROD) $(TESTPROD) $(LIBNAME) $(SHRLIBNAME) $(INC) \
*$(RES) $(TARGETS) $(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS)
*$(RES) $(TARGETS) *.dbd $(MENUS) $(RECTYPES) $(BPTS)
ifdef DBDEXPAND
@$(RM) $(DBDNAME)
endif
@@ -388,6 +389,14 @@ PRODNAME_SRCS += $(PRODNAME_SRCS_DEFAULT)
endif
endif
ifneq ($(strip $(PRODNAME_OBJS_$(ARCH_CLASS))),)
PRODNAME_OBJS += $(subst -nil-,,$(PRODNAME_OBJS_$(ARCH_CLASS)))
else
ifdef PRODNAME_OBJS_DEFAULT
PRODNAME_OBJS += $(PRODNAME_OBJS_DEFAULT)
endif
endif
ifneq ($(strip $(PRODNAME_RCS_$(ARCH_CLASS))),)
PRODNAME_RCS += $(subst -nil-,,$(PRODNAME_RCS_$(ARCH_CLASS)))
else
@@ -406,8 +415,8 @@ else
PRODNAME_LINKER = $(LINK.c)
endif
PRODNAME_OBJS=$(addsuffix $(OBJ), $(basename $(PRODNAME_SRCS)))
PRODNAME_RESS=$(addsuffix $(RES), $(basename $(PRODNAME_RCS)))
PRODNAME_OBJS+=$(addsuffix $(OBJ), $(basename $(PRODNAME_SRCS)))
PRODNAME_RESS+=$(addsuffix $(RES), $(basename $(PRODNAME_RCS)))
ifdef BORLANDC
$(PRODNAME): $(PRODNAME_OBJS) $(PRODNAME_RESS)
@@ -454,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)
@@ -466,6 +477,15 @@ TESTCLASSES += $(subst .java,.class,$(TESTJAVA))
INSTALL_CLASSES =$(CLASSES:%=$(INSTALL_JAVA)/$(PACKAGE)/%)
INSTALL_JAR =$(JAR:%=$(INSTALL_JAVA)/%)
ifeq ($(strip $(JAVADOC)),YES)
DIRECTORY_TARGETS += $(INSTALL_HTML)
INSTALL_JAVADOC = $(CLASSES:%.class=$(INSTALL_HTML)/%.html)
ifdef PACKAGE
DIRECTORY_TARGETS += $(INSTALL_HTML)/$(PACKAGE)
INSTALL_JAVADOC = $(CLASSES:%.class=$(INSTALL_HTML)/$(PACKAGE)/$(PACKAGE)/%.html)
endif
endif
JAR_OPTIONS = cvf
ifdef MANIFEST
JAR_OPTIONS = cvmf
@@ -478,10 +498,10 @@ $(DIRECTORY_TARGETS) :
build:: $(TESTCLASSES) $(JAR)
buildInstall :: $(DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(INSTALL_JAR)
buildInstall :: $(DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(INSTALL_JAR) $(INSTALL_JAVADOC)
clean::
@$(RM) $(TESTCLASSES) $(JAR)
@$(RM) $(TESTCLASSES) $(JAR) $(INSTALL_CLASSES) $(INSTALL_JAVADOC)
%.class:%.java
@echo Creating java class file $@
@@ -493,6 +513,11 @@ $(INSTALL_JAVA)/$(PACKAGE)/%.class:%.java
@$(RM) $@
$(JAVACCMD) -d $(INSTALL_JAVA) $<
$(INSTALL_JAVADOC):$(JAVA)
@echo Creating javadoc html files $@
@$(RM) $@
$(JAVADOCCMD) -d $(INSTALL_HTML)/$(PACKAGE) $(PACKAGE)
$(JAR):%.jar: $(JAR_DEPFILES)
@echo Creating java jar file $@
@$(RM) $@
@@ -505,7 +530,7 @@ $(INSTALL_JAVA)/%.jar: %.jar
$(PACKAGE)_%.h:$(INSTALL_JAVA)/$(PACKAGE)/%.class
$(JAVAHCMD) $(PACKAGE).$*
.PRECIOUS: $(INSTALL_CLASSES)
.PRECIOUS: $(INSTALL_CLASSES) $(INSTALL_JAVADOC)
#---------------------------------------------------------------
#---------------------------------------------------------------
@@ -699,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

View File

@@ -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
@@ -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

@@ -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,13 @@
# 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)
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
include $(CONFIG)/CONFIG_COMMON
@@ -41,7 +40,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

View File

@@ -23,7 +23,6 @@ GNU_TARGET_LIB_DIR = $(GNU_DIR)/$(GNU_TARGET)/lib
export GCC_EXEC_PREFIX = $(GNU_LIB)/gcc-lib/
CROSS_CPPFLAGS = -nostdinc
CROSS_INCLUDES = $(addprefix -I,$(GNU_TARGET_INCLUDE_DIR))
CROSS_LDFLAGS = $(addprefix -L,$(GNU_TARGET_LIB_DIR))

View File

@@ -10,6 +10,8 @@
#--------------------------------------------------
# GNU compiler defaults
GNU = YES
GNU_BIN = $(GNU_DIR)/bin
GNU_LIB = $(GNU_DIR)/lib
@@ -20,27 +22,31 @@ 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

View File

@@ -23,28 +23,81 @@
# 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
# 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
# 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
# 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.
# The INC source files cannot be created by the build.
#
# 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
# 2) if there is a special $(USR_CFLAGS_$(T_A)), it's
# appended to 1)
# 3) if there is no special defined, but a generic USR_CFLAGS_$(OS_CLASS)_DEFAULT,
# this one is appended
# 4) if you have the special case that your $(USR_CFLAGS_$(T_A)) is
# empty but you don't want 3), you have to define it as '-nil-', e.g.:
# USR_CFLAGS_vxWorks = <defines for all OS_CLASS=vxWorks target systems>
# USR_CFLAGS_vxWorks-68040 = -nil-
# USR_CFLAGS_vxWorks_DEFAULT = <defines for most vxWorks systems, not 68040>
#
#
ifneq ($(strip $(USR_CFLAGS_$(T_A))),)
USR_CFLAGS_$(OS_CLASS)+=$(subst -nil-,,$(USR_CFLAGS_$(T_A)))
else
ifdef USR_CFLAGS_$(OS_CLASS)_DEFAULT
USR_CFLAGS_$(OS_CLASS)+=$(USR_CFLAGS_$(OS_CLASS)_DEFAULT)
endif
endif
ifneq ($(strip $(USR_CFLAGS_$(OS_CLASS))),)
USR_CFLAGS+=$(subst -nil-,,$(USR_CFLAGS_$(OS_CLASS)))
@@ -62,6 +115,14 @@ USR_INCLUDES+=$(USR_INCLUDES_DEFAULT)
endif
endif
ifneq ($(strip $(USR_CXXFLAGS_$(T_A))),)
USR_CXXFLAGS_$(OS_CLASS)+=$(subst -nil-,,$(USR_CXXFLAGS_$(T_A)))
else
ifdef USR_CXXFLAGS_$(OS_CLASS)_DEFAULT
USR_CXXFLAGS_$(OS_CLASS)+=$(USR_CXXFLAGS_$(OS_CLASS)_DEFAULT)
endif
endif
ifneq ($(strip $(USR_CXXFLAGS_$(OS_CLASS))),)
USR_CXXFLAGS+=$(subst -nil-,,$(USR_CXXFLAGS_$(OS_CLASS)))
else
@@ -70,6 +131,14 @@ USR_CXXFLAGS+=$(USR_CXXFLAGS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_CPPFLAGS_$(T_A))),)
USR_CPPFLAGS_$(OS_CLASS)+=$(subst -nil-,,$(USR_CPPFLAGS_$(T_A)))
else
ifdef USR_CPPFLAGS_$(OS_CLASS)_DEFAULT
USR_CPPFLAGS_$(OS_CLASS)+=$(USR_CPPFLAGS_$(OS_CLASS)_DEFAULT)
endif
endif
ifneq ($(strip $(USR_CPPFLAGS_$(OS_CLASS))),)
USR_CPPFLAGS+=$(subst -nil-,,$(USR_CPPFLAGS_$(OS_CLASS)))
else
@@ -86,14 +155,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
@@ -123,6 +197,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
@@ -147,6 +229,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
@@ -171,11 +261,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
@@ -211,6 +317,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
@@ -219,6 +341,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
@@ -227,6 +350,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
@@ -238,6 +369,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
@@ -245,6 +377,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
@@ -338,3 +495,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

@@ -21,28 +21,18 @@ ifdef T_A
EPICS_BASE_LIB = $(EPICS_BASE)/lib/$(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 testDevIoc 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
EPICS_BASE_HOST_LIBS += ca Com
#---------------------------------------------------------------
# Version number for base shared libraries (and win32 products)
@@ -66,15 +56,15 @@ BASE_CPPFLAGS += $(OSITHREAD_DEFAULT_STACK_FLAGS_$(OSITHREAD_USE_DEFAULT_STACK))
#---------------------------------------------------------------
# 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)
MAKEBPT = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/makeBpt$(HOSTEXE))
DBEXPAND = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbExpand$(HOSTEXE))
DBTORECORDTYPEH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(HOSTEXE))
DBTOMENUH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToMenuH$(HOSTEXE))
REGISTERRECORDDEVICEDRIVER = $(PERL) $(EPICS_BASE_HOST_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_HOST_BIN)/antelope$(HOSTEXE))
ELEX = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/e_flex$(HOSTEXE)) -S$(EPICS_BASE)/include/flex.skel.static
YACC = $(EYACC)
LEX = $(ELEX)

View File

@@ -18,9 +18,9 @@
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=0
EPICS_UPDATE_NAME=beta
EPICS_UPDATE_LEVEL=2
EPICS_MODIFICATION=3
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}"

View File

@@ -16,6 +16,10 @@
#
# Common Configuration Information
#-------------------------------------------------------
# Divider symbol
DIVIDER = .
#-------------------------------------------------------
# Build architectures
@@ -29,58 +33,19 @@ CROSS2 = $(CROSS_COMPILER_TARGET_ARCHS$(filter-out 1,$(words $(filter $(EPICS_HO
BUILD_ARCHS = $(EPICS_HOST_ARCH) $(CROSS1) $(CROSS2)
#-------------------------------------------------------
# Ext, app, and module configure dir targets
CONFIG_TARGETS += CONFIG_APP_INCLUDE RULES_INCLUDE
CONFIG_INSTALLS += ../RULES_BUILD
# Default for perl if it's on the PATH,
# otherwise override this in os/CONFIG_SITE.<host_arch>.Common
PERL=perl
#-------------------------------------------------------
# Check configure/RELEASE file for consistency
CHECK_RELEASE_YES = checkRelease
CHECK_RELEASE_NO =
#-------------------------------------------------------
# Cross compile default, HOST or CROSS, CONFIG.crossCommon will override
BUILD_CLASS = HOST
#-------------------------------------------------------
# Build defaults, CONFIG_SITE, CONFIG, or os/CONFIG* will override
CMPLR=STRICT
CXXCMPLR=STRICT
STATIC_BUILD=NO
SHARED_LIBRARIES=NO
HDEPENDS=YES
HOST_OPT=YES
CROSS_OPT=YES
HOST_WARN=YES
CROSS_WARN=YES
#-------------------------------------------------------
# Prefix and suffix
DEP=.depends
DIVIDER = .
OBJ = .
RES = .
#-------------------------------------------------------
# Default for perl if it's on the PATH,
# otherwise override this in os/CONFIG_SITE.<host_arch>.Common
PERL=perl
#-------------------------------------------------------
# tools for installing libraries and products
INSTALL = $(PERL) $(TOOLS)/installEpics.pl
INSTALL_PRODUCT = $(INSTALL)
INSTALL_LIBRARY = $(INSTALL)
#---------------------------------------------------------------
# tools for making header dependancies and variable replacement
MKMF = $(PERL) $(TOOLS)/mkmf.pl
REPLACEVAR = $(PERL) $(TOOLS)/replaceVAR.pl
#-------------------------------------------------------
# Directories
INSTALL_LOCATION = $(TOP)
INSTALL_LOCATION ?= $(TOP)
TOOLS = $(CONFIG)/tools
INSTALL_LOCATION_LIB = $(INSTALL_LOCATION)/lib
@@ -108,6 +73,45 @@ INSTALL_SHRLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_TCLLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_BIN = $(INSTALL_LOCATION_BIN)/$(T_A)
#-------------------------------------------------------
# Ext, app, and module configure dir targets
CONFIG_TARGETS += CONFIG_APP_INCLUDE RULES_INCLUDE
CONFIG_INSTALLS += ../RULES_BUILD
#-------------------------------------------------------
# Cross compile default, HOST or CROSS, CONFIG.crossCommon will override
BUILD_CLASS = HOST
#-------------------------------------------------------
# Build defaults, CONFIG_SITE, CONFIG, or os/CONFIG* will override
CMPLR=STRICT
CXXCMPLR=STRICT
STATIC_BUILD=NO
SHARED_LIBRARIES=YES
HDEPENDS=YES
HOST_OPT=YES
CROSS_OPT=YES
HOST_WARN=YES
CROSS_WARN=YES
GNU=NO
#-------------------------------------------------------
# Prefix and suffix
DEP=.depends
OBJ = .
RES = .
#-------------------------------------------------------
# tools for installing libraries and products
INSTALL = $(PERL) $(TOOLS)/installEpics.pl
INSTALL_PRODUCT = $(INSTALL)
INSTALL_LIBRARY = $(INSTALL)
#---------------------------------------------------------------
# tools for making header dependancies and variable replacement
MKMF = $(PERL) $(TOOLS)/mkmf.pl
REPLACEVAR = $(PERL) $(TOOLS)/replaceVAR.pl
#--------------------------------------------------
# vpath directories
GENERIC_SRC_DIRS = .. $(SRC_DIRS)
@@ -136,13 +140,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
@@ -152,7 +156,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)
#--------------------------------------------------
@@ -176,7 +180,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 =
@@ -192,38 +195,38 @@ 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)) $($(basename $@)_INCLUDES)
TARGET_CFLAGS = $($(basename $@)_CFLAGS_$(T_A)) $($(basename $@)_CFLAGS)
TARGET_CXXFLAGS = $($(basename $@)_CXXFLAGS_$(T_A)) $($(basename $@)_CXXFLAGS)
TARGET_LDFLAGS = $($(basename $@)_LDFLAGS_$(T_A)) $($(basename $@)_LDFLAGS)
TARGET_CPPFLAGS = $($(basename $@)_CPPFLAGS_$(T_A)) $($(basename $@)_CPPFLAGS)
TARGET_INCLUDES = $($(basename $@)_INCLUDES_$(T_A))
TARGET_CFLAGS = $($(basename $@)_CFLAGS_$(T_A))
TARGET_CXXFLAGS = $($(basename $@)_CXXFLAGS_$(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_$(firstword $($(basename $@)_CMPLR_$(T_A)) \
$($(basename $@)_CMPLR_$(OS_CLASS)) $($(basename $@)_CMPLR) $(CMPLR)))
CONFORM_CFLAGS = $(CONFORM_CFLAGS_$(firstword $($(basename $@)_CMPLR_$(T_A)) \
$($(basename $@)_CMPLR_$(OS_CLASS)) $($(basename $@)_CMPLR) $(CMPLR)))
CONFORM_CXXFLAGS = $(CONFORM_CXXFLAGS_$(firstword $($(basename $@)_CMPLR_$(T_A)) \
$($(basename $@)_CMPLR_$(OS_CLASS)) $($(basename $@)_CMPLR) $(CXXCMPLR)))
CONFORM_CPPFLAGS = $(CONFORM_CPPFLAGS_$(CMPLR))
CONFORM_CFLAGS = $(CONFORM_CFLAGS_$(CMPLR))
CONFORM_CXXFLAGS = $(CONFORM_CXXFLAGS_$(CMPLR))
# Warnings flags
WARN_CFLAGS = $(WARN_CFLAGS_$(firstword $($(basename $@)_WARN_$(T_A)) \
$($(basename $@)_WARN_$(OS_CLASS)) $($(basename $@)_WARN) $($(BUILD_CLASS)_WARN)))
WARN_CXXFLAGS = $(WARN_CXXFLAGS_$(firstword $($(basename $@)_WARN_$(T_A)) \
$($(basename $@)_WARN_$(OS_CLASS)) $($(basename $@)_WARN) $($(BUILD_CLASS)_WARN)))
WARN_CFLAGS = $(WARN_CFLAGS_$($(BUILD_CLASS)_WARN))
WARN_CXXFLAGS = $(WARN_CXXFLAGS_$($(BUILD_CLASS)_WARN))
# Optimization flags
OPT_CFLAGS = $(OPT_CFLAGS_$(firstword $($(basename $@)_OPT_$(T_A)) \
$($(basename $@)_OPT_$(OS_CLASS)) $($(basename $@)_OPT) $($(BUILD_CLASS)_OPT)))
OPT_CXXFLAGS = $(OPT_CXXFLAGS_$(firstword $($(basename $@)_OPT_$(T_A)) \
$($(basename $@)_OPT_$(OS_CLASS)) $($(basename $@)_OPT) $($(BUILD_CLASS)_OPT)))
OPT_CFLAGS = $(OPT_CFLAGS_$($(BUILD_CLASS)_OPT))
OPT_CXXFLAGS = $(OPT_CXXFLAGS_$($(BUILD_CLASS)_OPT))
# Posix flags
POSIX=YES
@@ -236,6 +239,17 @@ STATIC_CXXCFLAGS = $(STATIC_CXXFLAGS_$(STATIC_BUILD))
STATIC_LDFLAGS = $(STATIC_LDFLAGS_$(STATIC_BUILD))
STATIC_LDLIBS = $(STATIC_LDLIBS_$(STATIC_BUILD))
#--------------------------------------------------
# cflags for library src file
LIBRARY_SRCS=$(basename $(foreach lib,$(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
@@ -244,17 +258,18 @@ INCLUDES = -I. $(GENERIC_SRC_INCLUDES) $(INSTALL_INCLUDES) $(RELEASE_INCLUDES)\
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)
$(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) $(STATIC_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 += $(CONFORM_CPPFLAGS) $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
@@ -290,7 +305,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))
@@ -304,6 +319,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)/%)
@@ -337,6 +353,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
@@ -364,5 +381,5 @@ COMMON_INC += $(filter $(COMMON_DIR)/%, $(foreach file, $(INC), \
SOURCE_INC = $(wildcard $(file) $(SOURCE_INC_bbb) )
SOURCE_INC_bbb = $(foreach dir, $(ALL_SRC_DIRS), $(SOURCE_INC_aaa) )
SOURCE_INC_aaa = $(addsuffix /$(file), $(dir) )
endif

View File

@@ -29,140 +29,22 @@
# Default environment settings
# Channel Access:
# EPICS_CA_ADDR_LIST
# Augment beacon/search dest ip addr list
# from white space separated ip addresses in this
# environment variable. "Quote" if more than one addr.
#
# EPICS_CA_AUTO_ADDR_LIST
# YES = augment beacon/search dest ip
# addr list from network interfaces found; NO = only use
# EPICS_CA_ADDR_LIST to create this list.
#
# EPICS_CA_CONN_TMO
# after not seeing a server beacon for this number
# of seconds the clients will send an echo request over
# tcp/ip to verify the connection.
#
# EPICS_CA_REPEATER_PORT CA repeater port number.
#
# EPICS_CA_SERVER_PORT CA server port number.
#
# EPICS_CA_MAX_ARRAY_BYTES
# This parameter specifies the size (in bytes) of the largest array
# that will transport through CA. It must be specified for both the
# client and the server library.
#
# Details are in the CA reference manual
# (see CAref.html in this distribution)
EPICS_CA_ADDR_LIST=""
EPICS_CA_AUTO_ADDR_LIST=YES
EPICS_CA_CONN_TMO=30.0
EPICS_CA_REPEATER_PORT=5065
EPICS_CA_SERVER_PORT=5064
EPICS_CA_MAX_ARRAY_BYTES=16384
#
# These parameters are only used by the CA server library
#
# EPICS_CA_BEACON_PERIOD
# The quiescent sec between server beacons.
#
# EPICS_CAS_INTF_ADDR_LIST
# This specifies a list of IP addresses identifying
# a limited set of network interfaces for server communication.
#
# Specifically, this parameter specifies the interfaces from
# which the server will accept TCP/IP connections. It also
# specifies that UDP search messages addressed to both
# the IP addresses in EPICS_CAS_INTF_ADDR_LIST and also to
# the broadcast addresses of corresponding LAN interfaces
# will be accepted by the server. If this parameter is empty
# then all UDP search messages and TCP connection requests
# addressed to the host are accepted.
#
# If EPICS_CA_AUTO_ADDR_LIST is NO, then the beacon address list
# is not auto configured.
#
# If EPICS_CA_AUTO_ADDR_LIST is YES and EPICS_CAS_INTF_ADDR_LIST
# has _not_ been specified then beacons are sent to the broadcast
# addresses of all LAN interfaces and the destination addresses of
# all point-to-point serial interfaces.
#
# If EPICS_CA_AUTO_ADDR_LIST is YES and EPICS_CAS_INTF_ADDR_LIST
# _has_ been specified then beacons are sent to the broadcast address
# of each LAN interface corresponding to an IP address in
# EPICS_CAS_INTF_ADDR_LIST or the destination address of
# a point-to-point serial interfaces corresponding to an IP
# address in EPICS_CAS_INTF_ADDR_LIST.
#
# Beacons may be sent to additional hand configured addresses
# (see the notes below under EPICS_CAS_BEACON_ADDR_LIST).
#
# EPICS_CAS_BEACON_ADDR_LIST
# If this parameter is specified, or if EPICS_CAS_INTF_ADDR_LIST
# isnt empty, then this parameter is used by the server library to
# augment the list of addresses beacons are sent to. Otherwise
# EPICS_CA_ADDR_LIST is used to augment the list of addresses
# beacons are sent to.
#
# EPICS_CAS_SERVER_PORT
# If this parameter is specified then it
# and not EPICS_CA_SERVER_PORT is used to determine the server's
# port number. It is possible to have multiple servers on the
# same host on the same EPICS_CAS_SERVER_PORT port if the IP
# kernel is modern (if it has multicast enhancements). In this
# situation all servers will share the same user specified
# UDP port number and will be assigned unique TCP port numbers.
#
# The fact that the servers may not be using the user specified
# port number for TCP will be nearly transparent to EPICS
# 3.13 or higher clients that will be locating the servers
# using the user specified UDP port number, but will be connecting
# to the servers using whatever TCP port has been assigned.
# Unfortunately, a severe limitation exists in most IP
# kernels: if multiple servers are listening for search requests
# addressed to the same UDP port then they will all receive a copy
# of each UDP message received by the IP kernel that has a broadcast
# destination address. Unfortunately, in many IP kernel
# implementations only one of the servers will receive UDP
# messages with a single host (unicast) destination address.
#
# If experiencing trouble getting clients to connect
# --------------------------------------------------
#
# o Make sure that the broadcast addresses are identical on the
# server's host and on the client's host. This can be checked
# on UNIX with "netstat -i" or "ifconfig -a"; on vxWorks with
# ifShow; and on windows with ipconfig.
#
# o Make sure that the client and server are using the same UDP
# port. Check the server's port by running "netstat -a | grep nnn"
# where nnn is the port number involved. If you do not set
# EPICS_CA_SERVER_PORT or EPICS_CAS_SERVER_PORT then the default port
# will be 5064.
#
# o Two servers can run on the same host with the same server port number
# if the following restrictions are understood (good luck). If the host has a
# modern IP kernel it is possible to have two servers on the same UDP port.
# It is not possible for two servers to run on the same host using the same
# TCP IP server port. If the CA server library detects that a 2nd server is
# attempting to start on the same port as an existing CA server then both
# servers will use the same UDP port if it is a modern IP kernel, and the 2nd
# server will be allocated a new TCP port. In this situation the clients will
# still be configured to use the same port number for both servers. The clients
# will find the 2nd server via the shared UDP port, and transparently connect
# to the 2nd server's allocated TCP port. Be aware that If there are two server's
# running on the same host on the same UDP port then they will both receive all
# UDP search requests sent as broadcasts, but will unfortunately (due to a common
# weakness of most IP kernel implementations) only one of the servers will
# typically receive UDP search requests sent to unicast addresses (i.e. a specific
# host's ip address).
#
EPICS_CA_BEACON_PERIOD=15.0
EPICS_CAS_INTF_ADDR_LIST=""
EPICS_CAS_BEACON_PERIOD=
EPICS_CAS_BEACON_PORT=
EPICS_CAS_AUTO_BEACON_ADDR_LIST=""
EPICS_CAS_BEACON_ADDR_LIST=""
EPICS_CAS_SERVER_PORT=
EPICS_CAS_INTF_ADDR_LIST=""
EPICS_CAS_IGNORE_ADDR_LIST=""
# Log Server:
# EPICS_IOC_LOG_PORT Log server port number etc.

View File

@@ -23,7 +23,8 @@
# <operating system>-<architecture>[-<alternate compiler>]
#
# Currently Supporting:
# hpux-parisc
# hpux-parisc (HP compiler used for host builds)
# hpux-parisc-gnu (GNU compiler used for host builds)
# osf-alpha
# solaris-sparc (sun compiler used for host builds)
# solaris-sparc-gnu (GNU compiler used for host builds)
@@ -34,10 +35,19 @@
# win32-x86 (MS Visual C++ compiler used for host builds)
# win32-x86-borland (Borland C++ compiler used for host builds)
# lynxos-x86
#
# EPICS_HOST_ARCH is an environment variable
# EPICS_HOST_ARCH=$(shell /usr/local/epics/startup/EpicsHostArch)
# darwin-ppc
# linux-mpc82xx
# Debugging builds
# linux-x86-debug (GNU compiler with -g option for host builds)
# solaris-sparc-debug (sun compiler with -g option for host builds)
# 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.
# Use base/startup files to set EPICS_HOST_ARCH or
# set EPICS_HOST_ARCH on the GNU make command line.
# The cross-compiler architectures to build EPICS for
#
@@ -48,18 +58,21 @@
# vxWorks-68060
# vxWorks-pentium
# vxWorks-ppc603
# vxWorks-ppc603_long
# vxWorks-ppc604
# vxWorks-ppc604_long
# RTEMS-gen68360
# RTEMS-mvme167
# RTEMS-pc386
# RTEMS-mcp750
# RTEMS-psim
#
# 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 vxWorks-ppc604
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
@@ -81,21 +94,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
@@ -120,4 +131,5 @@ HOST_WARN=YES
CROSS_WARN=YES
# Installation directory
INSTALL_LOCATION=$(TOP)
#Note: INSTALL_LOCATION definition moved to configure/RELEASE file

View File

@@ -30,10 +30,13 @@
# Time service:
# EPICS_TIMEZONE needed for vxWorks
# EPICS_TIMEZONE=<name>::<minutesWest>:<start daylight>:<end daylight>
#NOTE: start and end are mmddhh that bis mounth,day,hour
# 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=CUS::360:033102:102802
EPICS_TIMEZONE=CUS::360:040602:102602
EPICS_TS_NTP_INET=

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

@@ -13,3 +13,7 @@
# Tornado directory
VX_DIR = /usr/local/vw/tornado202
# If you don't want to install into $(TOP) dir then
# define INSTALL_LOCATION here
#INSTALL_LOCATION=<fullpathname>

View File

@@ -13,9 +13,9 @@
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 %.substitutions $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
vpath %.template $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
vpath %.edf $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
vpath bpt%.data $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
##################################################### dbdflags
@@ -51,7 +51,22 @@ SOURCE_DB_aaa = $(addsuffix /$(file), $(dir) )
COMMONS = $(COMMON_DIR)/*.dbd $(COMMON_DIR)/*.db $(COMMON_DIR)/*.h \
$(COMMON_DIR)/*.substitutions $(COMMON_DIR)/*.template
PREFIX=$(shell echo $* | sed -e 's-[0-9]--g' | sed -e 's-\.db--g')
# Remove trailing numbers (to 99) on stem
TEMPLATE1=$(patsubst %0,%,$(patsubst %1,%,$(patsubst %2,%,$(patsubst %3,%,$(patsubst %4,%, \
$(patsubst %5,%,$(patsubst %6,%,$(patsubst %7,%,$(patsubst %8,%,$(patsubst %9,%, \
$*))))))))))
TEMPLATE2=$(patsubst %0,%,$(patsubst %1,%,$(patsubst %2,%,$(patsubst %3,%,$(patsubst %4,%, \
$(patsubst %5,%,$(patsubst %6,%,$(patsubst %7,%,$(patsubst %8,%,$(patsubst %9,%, \
$(TEMPLATE1)))))))))))
TEMPLATE3=$(addsuffix .template,$(addprefix ../,$(TEMPLATE2)))
TEMPLATE_FILENAME=$(firstword $(wildcard $(addprefix ../,$($*_TEMPLATE)) ../$*.template $(TEMPLATE3)) $(TEMPLATE3))
# dbst based database optimization
ifeq '$(DB_OPT)' 'YES'
RAW=.raw
COMMON_DBS = $(addprefix $(COMMON_DIR)/,$(filter %.db,$(DB)))
COMMON_DBS += $(addsuffix $(RAW),$(addprefix $(COMMON_DIR)/,$(filter %.db,$(DB))))
endif
##################################################### dependancies
@@ -79,10 +94,10 @@ COMMONS = $(DBD) $(DB)
all: install
buildInstall : build
install: buildInstall
buildInstall : build
rebuild: clean install
.PHONY: all inc build install clean rebuild buildInstall
@@ -97,16 +112,26 @@ $(DBDDEPENDS_FILES):
##################################################### build dependancies, clean rule
ifdef DBD_INSTALLS
buildInstall : dbdInstalls
endif
ifdef 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)
@$(RM) $(TARGETS)
##################################################### "Foreign" templates
@@ -133,7 +158,7 @@ endif
$(COMMON_DIR)/%.edf: ../%.sch $(DEPSCHS)
@$(RM) $@
@if [ ! -f cad.rc -a -r ../cad.rc ] ; then ln -s ../cad.rc ; fi
$(SCH2EDIF) $(SCH2EDIF_SYSFLAGS) $(SCH2EDIF_FLAGS) $<
$(SCH2EDIF) $(SCH2EDIF_SYSFLAGS) $(SCH2EDIF_FLAGS) -o $@ $<
##################################################### Substitution files
@@ -145,17 +170,25 @@ $(COMMON_DIR)/%.substitutions:
@$(CREATESUBSTITUTIONS) $(COMMON_DIR)/$*
endif
.PRECIOUS: $(DB:%.db=$(COMMON_DIR)/%.substitutions)
$(INSTALL_DB)/%.substitutions: %.substitutions
@echo "Installing db file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PRECIOUS: $(COMMON_DIR)/%.substitutions
##################################################### Template files
$(COMMON_DIR)/%.template: %.edf
$(COMMON_DIR)/%.template: $(COMMON_DIR)/%.edf
@$(RM) $@
$(E2DB) $(E2DB_SYSFLAGS) $(E2DB_FLAGS) -n $@.VAR $<
@$(REPLACEVAR) < $@.VAR > $@
@$(RM) $@.VAR
.PRECIOUS: $(DB:%.db=$(COMMON_DIR)/%.template)
$(INSTALL_DB)/%.template: %.template
@echo "Installing db file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PRECIOUS: $(COMMON_DIR)/%.template
##################################################### INC files
@@ -178,32 +211,39 @@ $(COMMON_DIR)/%.dbd: %Include.dbd
@$(DBDDEPENDS_CMD)
@echo "Expanding dbd"
@$(RM) $@
$(DBEXPAND) $(DBDFLAGS) $< > $@
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
$(INSTALL_DBD)/%: %
@echo "Installing dbd file $@"
@$(INSTALL) -d -m 644 $< $(@D)
dbdInstalls: $(DBD_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_DBD)
.PRECIOUS: $(COMMON_DBDS)
##################################################### DB files
$(COMMON_DIR)/%.db$(RAW): %.edf
$(COMMON_DIR)/%.db$(RAW): $(COMMON_DIR)/%.edf
$(E2DB) $(E2DB_SYSFLAGS) $(E2DB_FLAGS) -n $@.VAR $<
@$(REPLACEVAR) < $@.VAR > $@
@$(RM) $@.VAR
$(COMMON_DIR)/%.db$(RAW): %.substitutions %.template
# dbst based database optimization
$(COMMON_DIR)/%.db$(RAW): %.substitutions
@$(RM) $@$(DEP)
@$(DBDDEPENDS_CMD)
@echo "$@:$(TEMPLATE_FILENAME)" >> $@$(DEP)
@echo "Inflating database from $<"
@$(RM) $@
$(MSI) -S $^ > $@
$(MSI) -S$< $(TEMPLATE_FILENAME) > msi.tmp
$(MV) msi.tmp $@
# dbst based database optimization
ifeq '$(DB_OPT)' 'YES'
$(COMMON_DIR)/%.db$(RAW): %.db
$(COMMON_DIR)/%.db$(RAW): ../%.db
@$(RM) $@
$(CP) $< $@
@@ -212,28 +252,31 @@ $(COMMON_DIR)/%.db: $(COMMON_DIR)/%.db$(RAW)
@$(RM) $@
$(DBST) . $< -d > $@
$(INDDBFROMTEMPLATE):%.db: %.substitutions
$(RM) $@
ifndef WIN32
$(MSI) -S$*.substitutions $(PREFIX).template > $@
endif
RAW=.raw
$(INSTALL_DB)/%.db: $(COMMON_DIR)/%.db
@echo "Installing db file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PRECIOUS: $(COMMON_DIR)/%.db
.PRECIOUS: $(DB:%=$(COMMON_DIR)/%$(RAW))
endif
else
$(INSTALL_DB)/%: %
@echo "Installing db file $@"
@$(INSTALL) -d -m 644 $< $(@D)
endif
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: %.dbd
@$(RM) $@
$(REGISTERRECORDDEVICEDRIVER) $< > $@
$(REGISTERRECORDDEVICEDRIVER) $< $(basename $@) > $@
.PRECIOUS: %_registerRecordDeviceDriver.cpp

View File

@@ -15,7 +15,8 @@ install: buildInstall
buildInstall: $(TARGETS)
cdCommands: $(wildcard $(TOP)/configure/RELEASE*) $(TOP)/configure/CONFIG
envPaths cdCommands: $(wildcard $(TOP)/configure/RELEASE*) \
$(TOP)/configure/CONFIG $(TOP)/bin
@$(RM) $@
ifeq ($(IOCS_APPL_TOP),)
$(PERL) $(TOOLS)/convertRelease.pl -a $(ARCH) $@
@@ -24,5 +25,5 @@ else
endif
clean:
@$(RM) cdCommands
@$(RM) cdCommands envPaths

View File

@@ -15,7 +15,7 @@ all: install
build install buildInstall: $(CHECK_RELEASE_$(CHECK_RELEASE))
rebuild: clean all
rebuild: clean install
ACTIONS = inc
ACTIONS += build
@@ -29,6 +29,8 @@ archPart = $(word 2, $(subst $(DIVIDER), ,$@))
actionArchTargets = $(foreach x, $(ACTIONS),\
$(foreach arch,$(BUILD_ARCHS), $(x)$(DIVIDER)$(arch)))
cleanArchTargets = $(foreach arch,$(BUILD_ARCHS), clean$(DIVIDER)$(arch))
buildDirs = $(addprefix O.,$(BUILD_ARCHS))
$(actionArchTargets) : $(buildDirs) O.Common
@@ -54,15 +56,15 @@ checkRelease: $(wildcard $(TOP)/configure/RELEASE*)
clean ::
$(RMDIR) $(addprefix O.,$(BUILD_ARCHS)) O.Common
clean$(DIVIDER)% ::
$(RMDIR) O.$*
$(cleanArchTargets) ::
$(RMDIR) O.$(archPart)
realclean ::
$(RMDIR) O.*
.PHONY : $(buildActionTargets)
.PHONY : $(buildActionArchTargets)
.PHONY : $(buildArchs)
.PHONY : $(actionArchTargets)
.PHONY : $(cleanArchTargets)
.PHONY : $(BUILD_ARCHS)
.PHONY : $(ACTIONS) clean realclean all
.PHONY : checkRelease

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
@$(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,10 +94,10 @@ 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)
@@ -130,19 +108,19 @@ endif
# Main targets
inc : $(COMMON_INC) $(INSTALL_INC)
build : inc
install: buildInstall
buildInstall : build
install: buildInstall
rebuild: clean install
build : inc
build: $(OBJSNAME) $(LIBTARGETS) $(PRODTARGETS) $(TESTPRODNAME) \
$(TARGETS)
inc : $(COMMON_INC) $(INSTALL_INC)
buildInstall : \
$(INSTALL_SCRIPTS) $(INSTALL_PROD) $(INSTALL_MUNCHS) \
$(INSTALL_TCLLIBS) $(INSTALL_TCLINDEX) \
@@ -160,7 +138,7 @@ clean::
@echo "Cleaning"
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
$(INC) *$(RES) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
*.out MakefileInclude \
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) \
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS)
ifdef BAF
@$(RM) $(PROD_BAF) $(LIB_BAF) *$(BOF)
@@ -175,18 +153,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 !!!!
@@ -201,7 +167,7 @@ $(OBJLIBNAME):%$(OBJ): $(OBJLIB_LD_OBJS)
%_ctdt$(OBJ) : %_ctdt.c
@$(RM) $@
$(COMPILE.c) -traditional $<
$(COMPILE.ctdt) $<
%$(OBJ): %.c
@$(HDEPENDS_CMD)
@@ -295,14 +261,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) $@
@@ -375,6 +345,10 @@ $(INSTALL_TCLLIB)/%: ../%
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
endif
$(INSTALL_LOADABLE_SHRLIBS): $(INSTALL_SHRLIB)/%: %
@echo "Installing loadable shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
$(INSTALL_CONFIG)/%: %
@echo "Installing config file $@"
@$(INSTALL) -d -m 644 $< $(@D)

View File

@@ -33,9 +33,9 @@ actionArchTargets = $(foreach action, $(ACTIONS),\
$(foreach arch, $(ARCHS), \
$(action)$(DIVIDER)$(arch)))
all : buildInstall
all : install
rebuild : clean all
rebuild : clean install
$(DIRS) $(dirActionTargets) $(dirArchTargets) $(dirActionArchTargets) :
$(MAKE) -C $(dirPart) $(actionArchPart)

View File

@@ -16,7 +16,7 @@
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)/$(OS_CLASS) -I$(COMMON_DIR)
JAVACCMD = $(subst \,/,$(JAVA_BIN)/javac$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVACFLAGS))
JAVAHCMD = $(subst \,/,$(JAVA_BIN)/javah$(EXE) -d $(COMMON_DIR) -force $(CLASSPATH) $(JAVAHFLAGS))
@@ -29,18 +29,19 @@ CLASSPATH=-classpath $(INSTALL_JAVA)$(addprefix :,$(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
@@ -68,33 +69,43 @@ else
JAR_OPTIONS = cvf
endif
#-------------------------------------------------------
# Java doc definitions
ifdef JAVADOC
JAVADOCFLAGS += $(USR_JAVADOCFLAGS)
JAVADOCCMD = $(subst \,/,$(JAVA_BIN)/javadoc$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVADOCFLAGS))
INSTALL_JAVADOC = $(addprefix $(INSTALL_HTML)/,$(JAVADOC))/index.html
endif
#-------------------------------------------------------
# Java rules
all: install
install: buildInstall
buildInstall : build
rebuild: clean install
inc: $(JAVA_DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(COMMON_JAVAINC)
build: inc
build: $(COMMON_TESTCLASSES) $(COMMON_JAR)
buildInstall : build
buildInstall : $(INSTALL_JAR)
install: buildInstall
rebuild: clean install
buildInstall : $(INSTALL_JAR) $(INSTALL_JAVADOC)
#This clean works only from O.* dirs.
clean::
@$(RMDIR) $(INSTALL_CLASSES)
@$(RM) $(INSTALL_JAR)
@$(RM) $(INSTALL_JAR) $(INSTALL_JAVADOC)
@$(RM) $(COMMON_TESTCLASSES) $(COMMON_JAR) $(COMMON_JAVAINC)
ifdef JAVA_DIRECTORY_TARGETS
$(JAVA_DIRECTORY_TARGETS):
$(MKDIR) -p $@
endif
$(COMMON_JAVAINC):$(JAVAINC_CLASSFILES)
@echo Creating header files $(COMMON_JAVAINC)
@@ -111,6 +122,11 @@ $(INSTALL_CLASSES): $(addprefix ../,$(DEPJAVA))
@$(RM) $@
$(JAVACCMD) -d $(INSTALL_JAVA) $^
$(INSTALL_JAVADOC): $(addprefix ../,$(JAVA))
@echo Creating java doc files
@$(RM) $@
$(JAVADOCCMD) -d $(addprefix $(INSTALL_HTML)/,$(JAVADOC)) $^
$(COMMON_DIR)/%.jar: $(JARDEPFILES)
@echo Creating java jar file $@
@$(RM) $@
@@ -120,3 +136,7 @@ $(INSTALL_JAVA)/%.jar: $(COMMON_DIR)/%.jar
@echo "Installing java jar file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PHONY: all install buildInstall rebuild clean build inc
.PRECIOUS: $(COMMON_JAVAINC)

View File

@@ -13,8 +13,11 @@
include $(CONFIG)/RULES_DIRS
uninstall$(DIVIDER)%: uninstallDirs
@$(RMDIR) $(INSTALL_LOCATION_BIN)/$* $(INSTALL_LOCATION_LIB)/$*
uninstallArchTargets = $(foreach arch,$(BUILD_ARCHS), uninstall$(DIVIDER)$(arch))
archPart = $(word 2, $(subst $(DIVIDER), ,$@))
$(uninstallArchTargets): uninstallDirs
@$(RMDIR) $(INSTALL_LOCATION_BIN)/$(archPart) $(INSTALL_LOCATION_LIB)/$(archPart)
cleandirs:
@echo " " #stops "nothing to be done for cleandirs" message
@@ -67,5 +70,6 @@ help:
@echo "Indiv. object targets are supported by O.<arch> level Makefile .e.g"
@echo " xxxRecord.o"
.PHONY : uninstall help cleandirs distclean uninstallDirs realuninstall realclean distclean
.PHONY : $(uninstallArchTargets)
.PHONY : uninstall help cleandirs distclean uninstallDirs realuninstall

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,
@@ -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

View File

@@ -34,8 +34,7 @@ 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 := $(LDFLAGS)
LINK.cpp = $(CCC) -o $@ $(RTEMS_LDFLAGS) $(LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
RANLIB := $(RTEMS_BASE)/bin/$(RANLIB)
#-------------------------------------------------------
@@ -47,27 +46,29 @@ 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) $(STATIC_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 =
#--------------------------------------------------
# operating system class (include/os/<os_class>)
@@ -75,8 +76,8 @@ OS_CLASS = RTEMS
#--------------------------------------------------
# Operating system flags
OP_SYS_LDLIBS = -lrtemscpu -lrtemsCom -lreadline -lcurses -lm
OP_SYS_LDFLAGS = $(CPU_CFLAGS) -u Init \
OP_SYS_LDLIBS += -lrtemsCom -lrtemscpu -lCom -lm
OP_SYS_LDFLAGS += $(CPU_CFLAGS) -u Init \
$(PROJECT_RELEASE)/lib/no-dpmem.rel \
$(PROJECT_RELEASE)/lib/no-mp.rel \
$(PROJECT_RELEASE)/lib/no-part.rel \
@@ -91,10 +92,15 @@ 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
#--------------------------------------------------
# Allow site overrides
-include $(CONFIG)/os/CONFIG_SITE.Common.RTEMS

View File

@@ -0,0 +1,10 @@
#
# $Id$
# Author: W. Eric Norum
# Canadian Light Source
# eric@cls.usask.ca
#
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU=ppc
include $(CONFIG)/os/CONFIG.Common.RTEMS

View File

@@ -0,0 +1,10 @@
#
# $Id$
# Author: W. Eric Norum
# University of Saskatchewan
# eric.norum@usask.ca
#
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU=ppc
include $(CONFIG)/os/CONFIG.Common.RTEMS

View File

@@ -24,6 +24,8 @@ OBJ = .o
LIB_PREFIX = lib
LIB_SUFFIX = .a
SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_PREFIX = lib
#-------------------------------------------------------
# names of libraries to build
@@ -31,40 +33,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 $@ $(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,25 @@
# 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_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_ALL_SOURCE
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = -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

@@ -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,21 +28,31 @@ OP_SYS_CFLAGS += -fno-common
CPPSNCFLAGS += -no-cpp-precomp
#
# Need to get some fink-installed packages (readline, etc.).
# If you don't have readline on your system you must remove
# or comment out these lines and make the appropriate changes
# to src/libCom/osi/os/Darwin/osdReadline.h
# The following two definitions enable the use of DarwinPorts packages.
#
OP_SYS_CPPFLAGS += -I$(FINK_DIR)/include
OP_SYS_LDFLAGS += -L$(FINK_DIR)/lib
OP_SYS_LDLIBS += -lreadline
OP_SYS_CPPFLAGS += -I/opt/local/include
OP_SYS_LDFLAGS += -L/opt/local/lib
#
# Stuff that will be needed when going to shared libraries
# The following two definitions enable the use of Fink packages.
#
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
-install_name $(EPICS_BASE)/lib/$(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_CPPFLAGS += -I/sw/include
OP_SYS_LDFLAGS += -L/sw/lib
#
# Libraries for command-line editing.
#
LDLIBS_LIBTECLA = -ltecla_r -lncurses
LDLIBS_READLINE = -lreadline
#
# Command-line input support
#
# Install the DarwinPorts or Fink libtecla1 package and place the following
# line in CONFIG_SITE.darwin-ppc.Common to use libtecla command-line editing:
#COMMANDLINE_LIBRARY=LIBTECLA
# or install the DarwinPorts or Fink readline package and place the following
# line in CONFIG_SITE.darwin-ppc.Common to use GNU readline
# command-line editing:
#COMMANDLINE_LIBRARY=READLINE

View File

@@ -13,21 +13,24 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = hpux
ARCH_CLASS = parisc
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES +=
POSIX_LDLIBS_NO +=
# 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_CFLAGS = +z
OP_SYS_CXXFLAGS = +z
OP_SYS_LDLIBS += -lpthread
OP_SYS_CPPFLAGS = -DHP_UX
OP_SYS_CFLAGS = -D_HPUX_SOURCE
OP_SYS_CXXFLAGS =
SHRLIB_SUFFIX = .sl
SHRLIB_SUFFIX = .sl$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_SUFFIX = .sl$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_PREFIX =
# Set runtime path for shared libraries
empty:= # trick from the make docs...
space:= $(empty) $(empty)
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
ifdef CROSS
GNU_TARGET=parisc-hp-unix
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

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

View File

@@ -13,7 +13,7 @@ ARCH_CLASS = mpc82xx
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
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 =
@@ -21,14 +21,18 @@ 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 = -lreadline -lcurses -lrt
OP_SYS_LDFLAGS +=
OP_SYS_LDLIBS = -lrt
#ARCH_DEP_CPPFLAGS += -D_X86_
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
ifdef CROSS
GNU_TARGET=ppc_82xx
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

@@ -15,25 +15,24 @@ ARCH_CLASS = x86
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
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 = -lreadline -lcurses -lrt
OP_SYS_LDLIBS += -lrt
ARCH_DEP_CPPFLAGS += -D_X86_
ARCH_DEP_CFLAGS += -mcpu=pentium
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
ifdef CROSS
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 readline curses rt

View File

@@ -0,0 +1,33 @@
# 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_CPPFLAGS_NO =
POSIX_LDLIBS_YES = 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_
ARCH_DEP_CFLAGS += -mcpu=pentium
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
ifdef CROSS
GNU_TARGET=i586-pc-linux-gnu
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

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

@@ -21,7 +21,6 @@ POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_NO +=
OP_SYS_CPPFLAGS = -D_OSF_SOURCE
OP_SYS_LDLIBS +=
ifdef CROSS
GNU_TARGET=alpha-osf

View File

@@ -13,26 +13,22 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = solaris
ARCH_CLASS = sparc
CODE_CPPFLAGS = -D__EXTENSIONS__
CODE_CPPFLAGS = -D__EXTENSIONS__
# This is the only combination of posix threads flags that works with solaris 6
####POSIX_CPPFLAGS_YES = -D_REENTRANT -D_POSIX_C_SOURCE=199506L
####POSIX_LDLIBS_YES += -lposix4 -lpthread -lthread
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
# This set of flags is recommended by sun for posix threads and works with solaris 8
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L
POSIX_LDLIBS_YES += -lposix4 -lpthread
# Flags for solaris 6
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_NO +=
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES_6 += -lthread
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS = -DSOLARIS=$(subst 5.,,$(shell uname -r))
# socket and nsl needed by libca.a
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
# -R does not work unless full path names are specified
# use loader's -R option
PROD_LDFLAGS += $(sort $(DEPLIB_DIRS:%=-R%))
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
ifdef CROSS
GNU_TARGET=sparc-sun-solaris2
@@ -40,6 +36,16 @@ ifdef CROSS
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
#Allow R3.13 built extensions to load R3.14 shared libs
SYS_SHRLIB_LIBS += posix4 pthread Crun
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
GNU_DIR = /opt/gnu
INCLUDES_READLINE = -I$(GNU_DIR)/include
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,7 @@
# Include definitions common to all solaris-sparc target archs
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
# CONFIG.Common.solaris-sparc
OP_SYS_LDLIBS_8 = -lc

View File

@@ -15,21 +15,21 @@ ARCH_CLASS = x86
CODE_CPPFLAGS = -D__EXTENSIONS__
# This is the only combination of posix threads flags that works on solaris-sparc with solaris 6
#POSIX_CPPFLAGS_YES = -D_REENTRANT -D_POSIX_C_SOURCE=199506L
#POSIX_LDLIBS_YES += -lposix4 -lpthread -lthread
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
# This set of flags is recommended by sun for posix threads and works with solaris 8
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L
POSIX_LDLIBS_YES += -lposix4 -lpthread
# Flags for solaris 6
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_NO +=
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES_6 += -lthread
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS = -DSOLARIS=$(subst 5.,,$(shell uname -r))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
ARCH_DEP_CPPFLAGS = -D_X86_
# socket and nsl needed by libca.a
OP_SYS_LDLIBS += -lsocket -lnsl
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
ifdef CROSS
GNU_TARGET=x86-sun-solaris2
@@ -37,6 +37,6 @@ ifdef CROSS
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
#Allow R3.13 built extensions to load R3.14 shared libs
SYS_SHRLIB_LIBS += posix4 pthread Crun
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))

View File

@@ -15,19 +15,22 @@ ARCH_CLASS = x86
CODE_CPPFLAGS = -D__EXTENSIONS__
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L
POSIX_LDLIBS_YES += -lpthread -lthread
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_NO +=
POSIX_LDLIBS_YES += -lpthread -lthread
OP_SYS_CPPFLAGS = -DSUNOS4
OP_SYS_LDLIBS += -lsocket -lnsl
ARCH_DEP_CPPFLAGS += -D_X86_
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
ifdef CROSS
GNU_TARGET=x86-sun-sunos4
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
OP_SYS_LDLIBS += -lsocket -lnsl

View File

@@ -3,8 +3,8 @@
# $Id$
# This file is maintained by the build community.
#
# Definitions for vxWorks-ppc604 target archs
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc604
# Definitions for vxWorks-ppc603 target archs
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc603
#-------------------------------------------------------
# Include definitions common to all vxWorks target archs

View File

@@ -0,0 +1,21 @@
# CONFIG.Common.vxWorks-ppc603_long
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for vxWorks-ppc603 target archs with at least 32MB
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc603_long
#-------------------------------------------------------
# Include definitions common to all vxWorks target archs
include $(CONFIG)/os/CONFIG.Common.vxWorksCommon
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
ARCH_CLASS = ppc
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC603
ARCH_DEP_CFLAGS = -mcpu=603 -mstrict-align -mlongcall

View File

@@ -16,6 +16,6 @@ CMPLR_SUFFIX = ppc
ARCH_CLASS = ppc
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
ARCH_DEP_CFLAGS = -mcpu=604 -mstrict-align

View File

@@ -0,0 +1,21 @@
# CONFIG.Common.vxWorks-ppc604_long
#
# $Id
# This file is maintained by the build community.
#
# Definitions for vxWorks-ppc604 target archs with at least 32MB
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc604_long
#-------------------------------------------------------
# Include definitions common to all vxWorks target archs
include $(CONFIG)/os/CONFIG.Common.vxWorksCommon
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
ARCH_CLASS = ppc
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
ARCH_DEP_CFLAGS = -mcpu=604 -mstrict-align -mlongcall

View File

@@ -29,14 +29,19 @@ LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
#--------------------------------------------------
# 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))
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
PROD_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
PRODDIR_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
#-------------------------------------------------------
# Prod definitions
@@ -47,10 +52,11 @@ NMS = $(PRODNAME:%$(EXE)=%.nm)
#-------------------------------------------------------
# R3.13 compatability object library definitions
# Does not allow $*_SRCS or $*_OBJS. Allows only OBJLIB_SRCS and OBJLIB_OBJS.
OBJLIB += $(OBJLIB_$(OS_CLASS))
OBJLIB_SUFFIX = Library.o
OBJLIBNAME = $(addsuffix $(OBJLIB_SUFFIX),$(basename $(OBJLIB)))
OBJLIB_LD_OBJS = $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS)))
OBJLIB_LD_OBJS += $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS)))
PRODTARGETS += $(OBJLIBNAME)
INSTALL_PROD += $(OBJLIBNAME:%=$(INSTALL_BIN)/%)
OBJLIB_MUNCHNAME += $(OBJLIBNAME:%$(OBJ)=%$(MUNCH_SUFFIX))
@@ -60,7 +66,6 @@ CTDT_SRCS += $(OBJLIBNAME:%$(OBJ)=%_ctdt.c)
CTDT_OBJS += $(OBJLIBNAME:%$(OBJ)=%_ctdt$(OBJ))
NMS += $(OBJLIBNAME:%$(OBJ)=%.nm)
OBJLIB_LINK.cpp = $(LD) -o $@ $(OBJLIB_LD_OBJS)
TARGET_SRCS += $(foreach name, $(OBJLIB), $($(name)_SRCS))
SRC_FILES += $(OBJLIB_SRCS)
#--------------------------------------------------
@@ -79,13 +84,17 @@ NM = $(GNU_BIN)/$(CMPLR_PREFIX)nm$(CMPLR_SUFFIX)$(HOSTEXE)
export WIND_BASE = $(VX_DIR)
export WIND_HOST_TYPE
#--------------------------------------------------
# Tornado2.2
# The follow export allows vxWorks.h to include gnu header files
export TOOL_FAMILY = GNU
#--------------------------------------------------
# Operating system flags
OP_SYS_CPPFLAGS = -DvxWorks
OP_SYS_CFLAGS = -fno-builtin
#OP_SYS_CFLAGS = -fno-builtin -fdollars-in-identifiers
OP_SYS_LDFLAGS =
OP_SYS_LDLIBS =
OP_SYS_CPPFLAGS += -DvxWorks
OP_SYS_CFLAGS += -fno-builtin
#OP_SYS_CFLAGS += -fno-builtin -fdollars-in-identifiers
OP_SYS_LDFLAGS +=
# Fix for vxWorks headers using macros defined in
# vxWorks.h but not including vxWorks.h
@@ -106,13 +115,24 @@ CODE_CXXFLAGS = -fno-implicit-templates
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
POSIX_CPPFLAGS_NO =
#--------------------------------------------------
# no shared libs for vxWorks
SHRLIB_CFLAGS =
SHRLIB_LDFLAGS =
#--------------------------------------------------
# osithead use default stack, YES or NO override
OSITHREAD_USE_DEFAULT_STACK = NO
#--------------------------------------------------
# Link definitions
LINK.cpp = $(LD) -o $@ $(LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
LINK.cpp = $(LD) -o $@ $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS)
LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
#--------------------------------------------------
# Definitions for compile of *_ctdt.c file
CFLAGS_ctdt = $(filter-out -pedantic,$(CFLAGS)) -fdollars-in-identifiers
COMPILE.ctdt = $(CC) -c $(CPPFLAGS) $(CFLAGS_ctdt) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_FLAG)
#--------------------------------------------------
# Allow site overrides

View File

@@ -15,16 +15,11 @@ ARCH_CLASS = x86
EXE=.exe
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS
POSIX_CPPFLAGS_NO =
#####POSIX_LDLIBS_YES = -lpthread
#####POSIX_LDLIBS_YES = -lthread
POSIX_LDLIBS_NO =
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32
OP_SYS_LDFLAGS =
####OP_SYS_LDLIBS = -lreadline -lcurses -lrt
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
# _POSIX_SOURCE eliminates select()
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
#POSIX_LDLIBS_YES += -lpthread
ARCH_DEP_CPPFLAGS += -D_X86_
OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32

View File

@@ -14,12 +14,5 @@ RM = rm -f
MKDIR = mkdir
RMDIR = rm -rf
# Set LD_LIBRARY_PATH for shared library builds
ifneq ($(EPICS_BASE),$(INSTALL_LOCATION))
export LD_LIBRARY_PATH := $(INSTALL_HOST_LIB):$(EPICS_BASE_HOST_LIB):$(LD_LIBRARY_PATH)
else
export LD_LIBRARY_PATH := $(INSTALL_HOST_LIB):$(LD_LIBRARY_PATH)
endif
# Allow site overrides
-include $(CONFIG)/os/CONFIG_SITE.UnixCommon.Common

View File

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

View File

@@ -0,0 +1,22 @@
# CONFIG.aix-ppc.aix-ppc
#
#
# Definitions for aix-ppc host - aix-ppc target builds
# Sites may override these definitions in CONFIG_SITE.aix-ppc.aix-ppc
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /usr/common/usg/gcc/3.2.1
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
AR = ar
ARFLAGS = rcv
RANLIB = ranlib -t
SHRLIB_LDFLAGS = -shared
LOADABLE_SHRLIB_LDFLAGS = -shared

View File

@@ -0,0 +1,10 @@
# CONFIG.aix-ppc.Common
#
# This file is maintained by the build community.
#
# Definitions for aix-ppc host builds
# Sites may override these definitions in CONFIG_SITE.aix-ppc.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common

View File

@@ -14,6 +14,18 @@ GNU_DIR = /usr
CC = $(GNU_BIN)/cc
CCC = $(GNU_BIN)/c++
#
# Darwin shared libraries
#
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
-install_name $(firstword $(SHRLIB_SEARCH_DIRS))/$@ \
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
SHRLIB_SUFFIX = .$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).dylib
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
LOADABLE_SHRLIB_LDFLAGS = -bundle -flat_namespace -undefined suppress
#
# Position-independent code is the default on Darwin.
#
@@ -21,7 +33,14 @@ CODE_CFLAGS =
CODE_CXXFLAGS =
#
# -O3 is too agressive on Darwin with the April, 2002 Developer Tools
# Add support for Objective-C source
#
OPT_CFLAGS_YES = -O2
OPT_CXXFLAGS_YES = -O2
vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
%.o: %.m
$(COMPILE.c) -c $<
#
# Pedantic produces way too many unnecessary messages
#
CONFORM_CFLAGS_STRICT=-ansi
CONFORM_CXXFLAGS_STRICT=-ansi

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