Compare commits

..

2009 Commits

Author SHA1 Message Date
Janet B. Anderson
24e482b8a2 UPdated version number. 2000-10-19 14:11:36 +00:00
Janet B. Anderson
f4986c9bea Removed old readme files. 2000-10-17 15:10:55 +00:00
Marty Kraimer
ca75c2f08e latest 2000-10-17 15:07:53 +00:00
Janet B. Anderson
2e8235467f Removed old readme file. 2000-10-17 15:01:48 +00:00
Janet B. Anderson
2e31336180 Moved copyright files to subdirectory. 2000-10-17 14:58:06 +00:00
Janet B. Anderson
f0ffe357c5 Copyright files moved to copyright subdirectory. 2000-10-17 14:53:03 +00:00
Janet B. Anderson
3fa3ef8a9f Added -v option for ANSI. 2000-10-16 18:46:32 +00:00
Janet B. Anderson
3ffee74b19 Added curses and rt libraries for Redhat 7. 2000-10-16 18:34:09 +00:00
Janet B. Anderson
1f090f2706 Added GCC_STATIC_LDLIBS_* libraries. Added -v to ANSI flags. 2000-10-16 18:33:10 +00:00
Andrew Johnson
7efd0c759d Added 686 CPU type. 2000-10-16 16:04:27 +00:00
Jeff Hill
e3ae4a4357 removed 2000-10-16 15:51:27 +00:00
Marty Kraimer
8b07d77189 remove unneeded include 2000-10-16 14:24:33 +00:00
Jeff Hill
0438d86bff made write vf receive a const gdd 2000-10-13 01:48:41 +00:00
Jeff Hill
3e44dee76d fixed proper use of const 2000-10-13 01:29:14 +00:00
Jeff Hill
c92c62dc21 updated comment 2000-10-13 01:22:49 +00:00
Jeff Hill
c20d47a8d8 fixed spelling 2000-10-13 01:20:39 +00:00
Jeff Hill
346523c081 made gdd param to copy const 2000-10-13 01:17:52 +00:00
Janet B. Anderson
feb2fd1f2a Changed includes onf RCCMD line and removed -DBORLAND option. 2000-10-12 22:37:05 +00:00
Jeff Hill
b1f1573af6 changes to support compilation by borland 2000-10-12 21:52:49 +00:00
Jeff Hill
300768c93c moved include 2000-10-12 20:59:35 +00:00
Jeff Hill
51b3ea2446 fixed gnu warning 2000-10-12 20:45:02 +00:00
Jeff Hill
2d5ce8fcce added newline at EOF 2000-10-12 20:44:35 +00:00
Jeff Hill
fe3aef6841 use new socl length typedef from osiSock.h 2000-10-12 20:43:26 +00:00
Jeff Hill
8022b3f9cb moved include 2000-10-12 20:41:58 +00:00
Janet B. Anderson
d85a15500e Added epics/base include/os/<arch> dir to brcc32 command. 2000-10-12 20:01:24 +00:00
Janet B. Anderson
95f9cc2164 Added borland include dir to brcc32 command. 2000-10-12 19:22:06 +00:00
Jeff Hill
a9e9b5f4c1 fixed gnu waring 2000-10-12 19:01:28 +00:00
Jeff Hill
3761789928 optimized fetchClientContext () 2000-10-12 18:53:12 +00:00
Jeff Hill
39a7c4ad20 optimized access to IIU 2000-10-12 18:50:26 +00:00
Jeff Hill
15e9d69a66 fixed type of inclusion used 2000-10-12 18:45:27 +00:00
Jeff Hill
d1e3683277 changed functions to not be inline to fix Borland build 2000-10-12 18:42:48 +00:00
Jeff Hill
df78e9c4e0 fixed type of inclusion used 2000-10-12 18:37:06 +00:00
Jeff Hill
65758da5c4 fixed sun pro warning 2000-10-12 18:36:35 +00:00
Jeff Hill
65c5359c22 added newline at EOF 2000-10-12 18:36:05 +00:00
Janet B. Anderson
67f9243b65 Moved MakeRelease to configure/tools. 2000-10-12 18:33:39 +00:00
Janet B. Anderson
75f13c31f4 Moved MakeRelease from base dir. 2000-10-12 18:31:18 +00:00
Jeff Hill
a58e3bccf1 fixed type of inclusion used 2000-10-12 16:48:33 +00:00
Janet B. Anderson
b747dbab02 Remove cygwin for R3.14. 2000-10-12 16:44:02 +00:00
Jeff Hill
edfd43d5b9 changing include order fixes GNU warning 2000-10-12 16:10:53 +00:00
Jeff Hill
9e23ff58ee use proper size argument type 2000-10-12 16:08:35 +00:00
Jeff Hill
e7f2d2310c use proper form of include 2000-10-12 16:07:34 +00:00
Janet B. Anderson
3e35ac96e3 Fixed directory structure and modified infor about README.htm location. 2000-10-12 16:04:15 +00:00
Janet B. Anderson
9d1ae26645 Changed definition of location of snc. 2000-10-12 15:51:20 +00:00
Janet B. Anderson
1275b89bec Added .c state notatation rules. 2000-10-12 15:48:55 +00:00
Jeff Hill
7a970ec569 fixed improper format 2000-10-12 15:41:24 +00:00
Janet B. Anderson
c5281ac193 Changed location of snc. 2000-10-12 15:37:57 +00:00
Janet B. Anderson
af26c5c544 Bug fix for missing parenthesis. 2000-10-12 15:29:24 +00:00
Janet B. Anderson
30a068a53e Fixed BORLAND definitions. 2000-10-12 14:52:08 +00:00
Marty Kraimer
409986c69d for 3.14.0alpha1 2000-10-12 14:49:08 +00:00
Janet B. Anderson
9c3cbb95ce Removed env var INCLUDE and LIB requirement. 2000-10-12 14:35:59 +00:00
Marty Kraimer
36b24f350e New version from Eric; Now thread safe for 1 reader, 1 writer 2000-10-12 13:58:57 +00:00
Janet B. Anderson
566ca6aacf Changed seq location. 2000-10-12 02:09:54 +00:00
Janet B. Anderson
c6303dd203 Changed DBDNAME dependancy. 2000-10-12 02:09:29 +00:00
Janet B. Anderson
517b01bb71 Added RELEASE_NOTES.HTM file. 2000-10-12 01:54:51 +00:00
Janet B. Anderson
bff494d739 Iniial version. 2000-10-12 01:53:08 +00:00
Jeff Hill
bd8db23aec temp removed use of RTTI 2000-10-12 00:45:26 +00:00
Jeff Hill
7c58404cb6 fixed use of nill piiu pointer 2000-10-12 00:22:54 +00:00
Andrew Johnson
6742c4db06 Fixed bug in TSgetMasterTime() - round-trip adjustment was garbage
Replaced TSprintf() with printf() where logging inappropriate
2000-10-11 23:08:56 +00:00
Jeff Hill
d3a0cee977 added additional debug output 2000-10-11 22:35:35 +00:00
Jeff Hill
3b670031b6 avoid synchronous DNS calls 2000-10-11 22:27:48 +00:00
Jeff Hill
f920a1241e configure that WINSOCK is very different about SO_REUSEADDR 2000-10-11 22:26:41 +00:00
Jeff Hill
aeec89103c configure that WINSOCK is very different about SO_REUSEADDR
and print warning message when TCP port is dynamically assigned
2000-10-11 22:22:19 +00:00
Jeff Hill
6bf3771462 allow UDP in buf to expand 2000-10-11 19:48:34 +00:00
Jeff Hill
ac2b421401 removed debug output 2000-10-11 19:47:34 +00:00
Jeff Hill
ae0f01b2ff convert tabs to spaces 2000-10-11 19:44:34 +00:00
Jeff Hill
a746ac770d tabs to spaces 2000-10-11 19:32:48 +00:00
Jeff Hill
784adfa5a7 avoid problems with compilers that dont have default template arguments 2000-10-11 19:31:51 +00:00
Jeff Hill
6606dd6d31 tabs converted to spaces 2000-10-11 19:29:45 +00:00
Jeff Hill
48ca9b8a37 visual C++ 6.0 still does not allocate the proper amount of memory for a
pointer to a member function
2000-10-11 19:27:18 +00:00
Marty Kraimer
4331775413 changed comment 2000-10-11 19:14:53 +00:00
Janet B. Anderson
5ea3436b9d Many items added. 2000-10-11 19:11:52 +00:00
W. Eric Norum
e892cade83 Show both current and real priority when they differ.
Show true priority, not the value clipped to the EPICS limits.
2000-10-11 17:57:33 +00:00
Jeff Hill
e43f44232f avoid default template arguments 2000-10-11 14:26:09 +00:00
Jeff Hill
1f99335386 removed cast related warning 2000-10-11 14:25:27 +00:00
Jeff Hill
b34f800f31 removed synchronous DNS lockup vulnerability 2000-10-10 22:42:37 +00:00
Jeff Hill
05134e7b9f upgraded use DNS asynchronously in order to avoid lock ups 2000-10-10 22:39:36 +00:00
Jeff Hill
f967804a0d changed the name of sockAddrToDottedA 2000-10-10 22:19:04 +00:00
Jeff Hill
71d0be742d took out DNS calls to avoid possible lock up if DNS isnt working 2000-10-10 22:17:21 +00:00
Jeff Hill
4af28c5ad6 installed compromise mutex solution which implements a timeout, but
still uses the more efficent WIN32 critical section primitive
2000-10-10 22:14:42 +00:00
Jeff Hill
f00cccc76e fixed issues discovered by the Borland compiler 2000-10-10 21:38:38 +00:00
Jeff Hill
c10f47db21 removed static definition inside header file 2000-10-10 21:35:00 +00:00
Janet B. Anderson
4e80089ade Added iocBoot lines. 2000-10-10 20:23:01 +00:00
Janet B. Anderson
895f84a5b8 Added iocBoot lines. 2000-10-10 20:16:17 +00:00
Jeff Hill
25a730ed88 avoid problems with the borland compiler 2000-10-10 19:37:40 +00:00
Jeff Hill
15505d6a92 proper form of incude 2000-10-10 19:36:52 +00:00
Jeff Hill
583e5f6a63 removed dated comment 2000-10-10 19:35:42 +00:00
Janet B. Anderson
1e6206b3ee Added file RULES.Db. 2000-10-09 21:39:32 +00:00
Marty Kraimer
9f884c0641 undef _POSIX options; minor changes 2000-10-06 13:33:52 +00:00
Jeff Hill
8b8b4a736d use epicsAssert 2000-10-06 00:33:31 +00:00
Jeff Hill
c5f33a7475 allowed acces to the chid from the evid 2000-10-06 00:14:00 +00:00
Jeff Hill
c07cd661cd more diagnostics when we run low on pool 2000-10-05 23:55:13 +00:00
Jeff Hill
b7d09d4106 no message 2000-10-05 23:54:36 +00:00
Jeff Hill
00f098894d fixed improper logic when we run out of memory 2000-10-05 22:56:31 +00:00
Marty Kraimer
70317853a8 correct option should be PTHREAD_PROCESS_PRIVATE 2000-10-05 20:46:07 +00:00
Marty Kraimer
aa769ee715 semBinaryGive, semBinaryTake, semMutexGive, semMutexTake are now macros 2000-10-04 19:34:23 +00:00
Marty Kraimer
01b8b82a94 remove start_time 2000-10-04 19:33:04 +00:00
W. Eric Norum
08297f56b3 Split RTEMS configuration from startup routines. This makes it possible
for application developers to supply their own configuration while
retaining the RTEMS startup routines.
2000-10-02 18:52:19 +00:00
Janet B. Anderson
b57349f6d5 Fix for timespec register problem. 2000-10-02 18:07:35 +00:00
Janet B. Anderson
4ae03e7c60 Initial version. 2000-09-29 20:39:12 +00:00
Janet B. Anderson
1e289afbe7 Munching using vxWorks tools removed. 2000-09-29 20:37:13 +00:00
Janet B. Anderson
7fd0f129cc Modified PROD defintion. 2000-09-29 16:13:20 +00:00
Jeff Hill
d1fe0e6f12 removed junk, make iiu wait for users to finish with io before
going away
2000-09-29 00:19:39 +00:00
Jeff Hill
b42f4585e8 removed debug message 2000-09-29 00:17:44 +00:00
Jeff Hill
a896fc1915 fixed gnu warning 2000-09-29 00:16:22 +00:00
Jeff Hill
459139c8fe removed junk 2000-09-28 20:40:21 +00:00
Jeff Hill
11f19ed383 uninstalled 2000-09-28 20:39:49 +00:00
Marty Kraimer
0bc54a098d PTHREAD_CANCEL_ASYNCHRONOUS so myAtExit cancels immediately 2000-09-28 20:31:35 +00:00
Janet B. Anderson
95850d58e3 Simplified makefile. 2000-09-28 19:35:03 +00:00
Janet B. Anderson
7a511cf020 Modified munching rules. 2000-09-28 19:33:44 +00:00
Janet B. Anderson
3c228d80e0 Initial version. 2000-09-28 19:19:33 +00:00
Janet B. Anderson
e02a805330 Added USR_ARFLAGS. 2000-09-28 17:45:39 +00:00
Marty Kraimer
d5cb392922 fix myAtExit 2000-09-28 15:28:48 +00:00
Jeff Hill
d64ed3e699 close the handle 2000-09-28 00:56:24 +00:00
Marty Kraimer
73419a9d4b dont cancel main thread 2000-09-27 21:22:12 +00:00
Jeff Hill
f727d33dda fixed ifdef around vis c++ pragma 2000-09-27 19:45:55 +00:00
Jeff Hill
5bf77e90d1 cosmetic 2000-09-27 19:43:52 +00:00
Jeff Hill
75eb4853f3 fixed ifdef on vis C++ version 2000-09-27 19:42:16 +00:00
Jeff Hill
a393e78f0d added new debug message 2000-09-27 19:38:34 +00:00
Janet B. Anderson
869091f147 Removing old messages. 2000-09-27 19:12:36 +00:00
Jeff Hill
a08476d61d fixed improper test for message too large 2000-09-27 18:06:51 +00:00
Janet B. Anderson
2ee3d8b76a Bug fix on comment line. 2000-09-27 16:20:44 +00:00
Janet B. Anderson
5218f656ec Added makeBaseExt directory. 2000-09-27 16:08:06 +00:00
Janet B. Anderson
fc492297b8 Initial version. 2000-09-27 16:06:58 +00:00
Janet B. Anderson
80b4c40a9d makeDbDepends.pl and makeIocCdCommands.pl moved to base/configure/tools 2000-09-27 14:54:40 +00:00
Janet B. Anderson
e34878c2f1 Changed EPICS_UPDATE_LEVEL to BASE_UPDATE_LEVEL. 2000-09-27 14:33:17 +00:00
Janet B. Anderson
fb1d143bc2 Comment changes. 2000-09-27 14:32:06 +00:00
Janet B. Anderson
eb278e7aa0 Modified comments. 2000-09-27 14:29:52 +00:00
Janet B. Anderson
48b2fac181 Added vpath for .java files. Added JAVA_DIRECTORY_TARGETS. 2000-09-27 14:27:10 +00:00
Janet B. Anderson
4a548625a5 makeDbDepends.pl and replaceVAR.pl now in base/configure/tools. 2000-09-27 14:22:47 +00:00
Janet B. Anderson
3dea99d683 makeDbDepends.pl and makeIocCdCommands.pl moved to base/configure/tools. 2000-09-27 14:21:16 +00:00
Janet B. Anderson
ce84219db8 Modified CROSS_COMPILER_HOST_ARCHS default. 2000-09-27 14:15:08 +00:00
Janet B. Anderson
50b11179a1 Comment changes. 2000-09-27 14:13:09 +00:00
Marty Kraimer
20d23b90d6 atexit cancels threads 2000-09-27 13:39:42 +00:00
Marty Kraimer
43080fe748 remove call to threadExitMain 2000-09-27 13:35:39 +00:00
Jeff Hill
0aaf29b9a7 dont build empty files 2000-09-27 00:33:01 +00:00
Jeff Hill
f01d955e34 fixed static constructors when building on WIN32 2000-09-26 23:53:53 +00:00
Jeff Hill
61ec68d973 added missing include file 2000-09-26 22:28:58 +00:00
Janet B. Anderson
95ed149097 Set EPICS_UPDATE_LEVEL to 1 2000-09-26 22:13:59 +00:00
Jeff Hill
b9e04b7cfe turn off effective C++ warnings 2000-09-26 21:22:09 +00:00
Jeff Hill
047c69e388 added definition of min 2000-09-26 21:11:56 +00:00
Jeff Hill
3e302e5982 uncommented gdd and cas 2000-09-26 21:03:08 +00:00
Jeff Hill
e6f2fd4194 fix for mising left paren 2000-09-26 20:59:53 +00:00
Jeff Hill
945cd55ff2 use new udp size constants defined by ca lib 2000-09-26 20:32:50 +00:00
Jeff Hill
725b56e81b export additional symbols from dll 2000-09-26 20:24:56 +00:00
Marty Kraimer
d0aeba086b fix priority bug; better Show 2000-09-26 20:22:39 +00:00
Jeff Hill
b9fb83d506 allow IOC to mount through different path than build system 2000-09-26 16:41:34 +00:00
Janet B. Anderson
cab274cc36 Removed extra character at end of vs_version line. 2000-09-26 14:51:00 +00:00
Marty Kraimer
7e197541bd free mutex 2000-09-26 12:53:28 +00:00
Janet B. Anderson
15abf72fa6 Added win32 resource file. 2000-09-25 22:20:26 +00:00
Janet B. Anderson
670c772738 Added win32 resource file. 2000-09-25 22:15:10 +00:00
Janet B. Anderson
2c22665371 Added win32 resource files. 2000-09-25 22:13:37 +00:00
Janet B. Anderson
b1535b0e16 Added win32 resource file. 2000-09-25 22:09:03 +00:00
Janet B. Anderson
87aaff4c53 Changes for win32 borland compiler. 2000-09-25 22:05:59 +00:00
Janet B. Anderson
aae3676fa0 Added win32 resource file. 2000-09-25 22:02:14 +00:00
Janet B. Anderson
1eab671798 Comment changes. 2000-09-25 21:21:32 +00:00
Janet B. Anderson
864f4f8997 Added win32 resource files. 2000-09-25 20:22:44 +00:00
Janet B. Anderson
4c4734b2d6 Initial version. 2000-09-25 20:13:55 +00:00
Janet B. Anderson
5165fd9aa1 Changed munch rule, depends dependancies. Changes for ARCMD and LINK defs. 2000-09-25 19:52:39 +00:00
Janet B. Anderson
48a4f6d39a Changed TARGET_RESS, ARCMD, DEPENDS_RULE. Added SRC_FILES definition. 2000-09-25 19:42:24 +00:00
Janet B. Anderson
488f2c2222 Comment changes only. 2000-09-25 19:36:45 +00:00
Janet B. Anderson
78b92fa5cc Some updates for R3.14. 2000-09-25 19:35:15 +00:00
Janet B. Anderson
d27489eed5 LINK, DEPENDS_RULE, and ARCMD definition changes. 2000-09-25 19:33:23 +00:00
Janet B. Anderson
51ef3a61f8 LINK defintion change. Munch changes. 2000-09-25 19:31:43 +00:00
Janet B. Anderson
61834c395f LINK definition changes. 2000-09-25 19:30:56 +00:00
Janet B. Anderson
3f12547739 Added Jeff's hack for win32. 2000-09-25 19:29:21 +00:00
Janet B. Anderson
713c4b5883 Initial version. 2000-09-25 19:28:42 +00:00
Janet B. Anderson
31d3a0d938 Added a remove of tabs and blanks in RELEASE lines. 2000-09-25 19:27:37 +00:00
Janet B. Anderson
0263e931de Changed EPICS_HOST_ARCH) to EPICS_HOST_ARCH 2000-09-25 15:08:59 +00:00
Marty Kraimer
56dae11a7f better exception handler messages 2000-09-25 12:50:59 +00:00
Marty Kraimer
2e85eb0f1f changes to dfanout as described in 3.13 release notes 2000-09-25 12:49:00 +00:00
W. Eric Norum
66c7b2b2fa Add iocLogInit() registration. 2000-09-21 22:19:47 +00:00
Janet B. Anderson
11376dbd41 Changed LIB_LD_OBJS to LIBRARY_LD_OBJS. 2000-09-15 21:02:00 +00:00
Marty Kraimer
c4827bc1f7 lock while processing link 2000-09-15 19:27:36 +00:00
Jeff Hill
db52f124b9 improved management of per channel IO list 2000-09-15 17:32:24 +00:00
Jeff Hill
83c72bce7a fixed lock where an unlock should be 2000-09-14 19:42:17 +00:00
Jeff Hill
6d701a9626 restored Roger Coles data type manipulation macros to their
orignal horrific state
2000-09-14 16:05:44 +00:00
Jeff Hill
7cf4d6bc57 cosmetic 2000-09-14 00:43:31 +00:00
Jeff Hill
53faeff877 added new line at EOF 2000-09-14 00:41:53 +00:00
Jeff Hill
b933cb9421 proper cleanup of local channels 2000-09-14 00:39:47 +00:00
Jeff Hill
51fa417e9f proper cleanup of local channels and remove static from operator
new/delete  following convention
2000-09-14 00:38:45 +00:00
Jeff Hill
52fa8a40ff avoid benign diagnostic from error checking programs 2000-09-14 00:34:25 +00:00
Jeff Hill
d727e229eb proper cleanup of local channels 2000-09-14 00:33:35 +00:00
Jeff Hill
5e764be847 improved message 2000-09-14 00:30:29 +00:00
Jeff Hill
760bc84761 set debug level with unsigned number now 2000-09-14 00:29:50 +00:00
Jeff Hill
0b68381cf0 use of static on operator new and delete does not appear to follow
convention (other than in effective C++)
2000-09-14 00:29:02 +00:00
Jeff Hill
1496c44a3a cosmetic 2000-09-14 00:28:00 +00:00
Jeff Hill
8f2a5171c9 cleanup if event add fails 2000-09-14 00:25:58 +00:00
Jeff Hill
fbb50928ce added cancel method 2000-09-14 00:21:43 +00:00
Jeff Hill
226fc86ce5 improved shutdown behavior 2000-09-14 00:21:09 +00:00
Jeff Hill
a8d4bdfa66 improved socket shutdown behavior and fixed byte order for
status code retrieved from exception message
2000-09-14 00:19:56 +00:00
Jeff Hill
af52592030 detect problems with type manipulation macros 2000-09-14 00:18:23 +00:00
Jeff Hill
b419f26e3f added additional system librarries for static build 2000-09-13 17:37:03 +00:00
W. Eric Norum
bbf577ba54 Add utility routines which vxWorks provides but RTEMS does not. 2000-09-13 16:21:32 +00:00
Jeff Hill
1536bd52f6 added debug messages 2000-09-12 19:40:11 +00:00
Jeff Hill
8b69dee979 fixed improper status check on ellFind 2000-09-12 18:37:37 +00:00
Jeff Hill
40b4b1766c added new header install to INC 2000-09-12 14:57:12 +00:00
Jeff Hill
f58dd57315 doc 2000-09-11 16:15:29 +00:00
Jeff Hill
2e86137945 deprecated old iterators 2000-09-11 15:24:18 +00:00
Jeff Hill
de4b096a70 check for N == 0 in release function also 2000-09-11 15:22:47 +00:00
Jeff Hill
0b21179092 made more functions inline 2000-09-11 15:21:34 +00:00
Jeff Hill
2fa4a247c7 fixed spelling problems 2000-09-11 13:56:20 +00:00
Marty Kraimer
afb5908b03 merged_epics_R3_13_1_branchToTrunk 2000-09-08 14:26:36 +00:00
Marty Kraimer
da811dcf1d add warnings for violation of effective c++ guidelines 2000-09-08 12:50:39 +00:00
Marty Kraimer
73725a3791 revert to using ca_task_initialize 2000-09-08 12:49:12 +00:00
Jeff Hill
cc21e955bf changed abotive shutdown 2000-09-07 19:32:48 +00:00
Jeff Hill
f14203f83c fixed gnu warning 2000-09-07 19:32:08 +00:00
Jeff Hill
e31e9fd04a changed messages 2000-09-07 19:31:37 +00:00
Jeff Hill
b27129b684 removed 2000-09-07 01:42:06 +00:00
Jeff Hill
57143c27c7 installed 2000-09-07 01:41:31 +00:00
Jeff Hill
58b5aa0256 eliminated claimsPendingIIU class and moved IO counters into
independent class
2000-09-07 01:39:24 +00:00
Jeff Hill
b6ba34d372 eliminated claimsPendingIIU class 2000-09-07 01:36:26 +00:00
Jeff Hill
85bc26978f eliminated claimsPendingIIU class and also debug sleep call 2000-09-07 01:34:43 +00:00
Jeff Hill
1a75f78159 fixed GNU warning 2000-09-07 01:33:11 +00:00
Jeff Hill
8328d9a8e9 added newline at EOF 2000-09-07 01:32:41 +00:00
Jeff Hill
8ad391b0c5 made lock members const 2000-09-07 01:31:27 +00:00
Jeff Hill
ef77d41cc1 fixed potential race condition and turned TCPNODELAY on 2000-09-07 01:30:43 +00:00
Jeff Hill
b7b1a82472 fixed potential race condition 2000-09-07 01:25:04 +00:00
Jeff Hill
042dfaded2 modified shutdown sequence 2000-09-07 01:22:58 +00:00
Jeff Hill
ffaadbd95f removed unused methods 2000-09-07 01:20:47 +00:00
Jeff Hill
47aeeb2d18 removed 2000-09-07 01:18:45 +00:00
Jeff Hill
3aaa3282ad installed 2000-09-07 01:17:47 +00:00
Jeff Hill
94267b9b22 removed unused methods and data 2000-09-07 01:17:12 +00:00
Jeff Hill
4015d6f811 made IO counter into independent class 2000-09-07 01:15:33 +00:00
Jeff Hill
70edcb1fde added newline at EOF 2000-09-07 01:13:41 +00:00
Jeff Hill
58093dc6b6 changed names and added new source files 2000-09-07 01:12:42 +00:00
Jeff Hill
8cb926b254 improved diagnostic 2000-09-07 01:10:30 +00:00
Jeff Hill
b1a7c46788 fixed too many arguments for format 2000-09-06 19:51:36 +00:00
Marty Kraimer
2f501ffb74 change to be like dbca 2000-09-06 17:49:00 +00:00
Jeff Hill
8b62128e2b dont use 0u in pure virtual declaration 2000-09-06 14:41:01 +00:00
Jeff Hill
2fa3e3d139 added diagnostics 2000-09-06 00:35:00 +00:00
Jeff Hill
87a8230100 better diagnostics and disconnect claims pending channels
in tcpiiu::~tcpiiu
2000-09-06 00:33:14 +00:00
Jeff Hill
6387924a87 installed 2000-08-31 22:35:55 +00:00
Jeff Hill
959c9fb392 fixed sun pro warning 2000-08-31 00:42:12 +00:00
Jeff Hill
cb776300f0 dont print warning message 2000-08-31 00:40:10 +00:00
Jeff Hill
2a4fb01af5 check for disconnected state first so they will get that error code 2000-08-31 00:36:39 +00:00
Jeff Hill
1233537ea0 cosmetic 2000-08-31 00:34:20 +00:00
Jeff Hill
5217af4050 fixed sun pro warning 2000-08-30 22:57:16 +00:00
Jeff Hill
332b238dd4 fixed sunpro warning 2000-08-30 22:48:22 +00:00
Jeff Hill
ebf6f271af fixed sun pro compiler warning 2000-08-30 22:21:10 +00:00
Janet B. Anderson
cdc5cc50f5 Added R3.14 definitions. 2000-08-30 21:19:07 +00:00
Janet B. Anderson
00e922dc48 Initial version. 2000-08-30 21:10:12 +00:00
Jeff Hill
77835f345f distinguish between a clean and an abrupt shutdown.
cancel send watchdog timer immediately after exiting send
2000-08-30 19:49:52 +00:00
Jeff Hill
35335ee1cb cosmetic 2000-08-30 19:48:01 +00:00
Jeff Hill
d5da2c1f16 removed unused data member 2000-08-30 17:09:15 +00:00
Jeff Hill
67bbc1aef2 execute shutdown locgic with lock applied 2000-08-30 17:07:28 +00:00
Jeff Hill
e066e5c22a cosmetic 2000-08-30 17:05:22 +00:00
Jeff Hill
2de4aebb86 fixed GNU warnings 2000-08-30 15:28:41 +00:00
Marty Kraimer
3f3e77bce5 add THREADFUNC prototype for threadOnce 2000-08-30 12:19:30 +00:00
Marty Kraimer
232aaf659d zero upper_disp_limit, etc 2000-08-30 12:18:05 +00:00
Jeff Hill
bccc803512 clean out orphans 2000-08-29 22:54:35 +00:00
Jeff Hill
49da8ca043 cancel () watchdog when disconnecting and report correct disconnect
timer total interval
2000-08-29 22:52:15 +00:00
Jeff Hill
9a5b709a0a use socket_close () instead of shutdown () 2000-08-29 22:51:16 +00:00
Jeff Hill
9f142dc9ed enable CA preemption of main thread 2000-08-29 22:50:10 +00:00
Jeff Hill
604eb1e89b fixed Tornado II GNU warning 2000-08-29 22:49:07 +00:00
Jeff Hill
57a0e5ded3 fixed doc 2000-08-29 22:43:49 +00:00
Jeff Hill
43fef5d326 removed declaration for unused class 2000-08-29 17:33:08 +00:00
Jeff Hill
a5108c78a6 cosmetic 2000-08-28 21:33:21 +00:00
Janet B. Anderson
a212ac06f2 Added missing endif print stmnt. 2000-08-28 14:34:30 +00:00
Janet B. Anderson
77cfc3ac12 Reinstated needed osclass specific DBDEXPAND and DBDNAME. 2000-08-28 14:25:04 +00:00
Jeff Hill
032a5bf234 fixed repeater register port bug 2000-08-26 00:56:06 +00:00
Jeff Hill
cba713ec10 added forward ref 2000-08-26 00:55:10 +00:00
Jeff Hill
2bca5e63df set flag before emitting signal 2000-08-26 00:50:58 +00:00
Jeff Hill
5ded632331 Linux apparantely does accept zero length UDP 2000-08-26 00:27:46 +00:00
Jeff Hill
e2a4730f44 linux apparently does not accept zero length UDP messages 2000-08-26 00:10:20 +00:00
Jeff Hill
2549ad8615 fixed sun pro warnings 2000-08-25 20:55:15 +00:00
Jeff Hill
205aaf9d05 fixed declared in func proto warning 2000-08-25 20:43:58 +00:00
Jeff Hill
5351224ae7 fixed inline not emitted if not defined in module w virtual destructor and -g 2000-08-25 20:28:56 +00:00
Jeff Hill
bf228963b2 fixed Linux uses unsigned where int is used on other OS 2000-08-25 19:50:01 +00:00
Jeff Hill
a911a27845 fixed Linux uses unsigned where int is used on other OS 2000-08-25 19:44:30 +00:00
Janet B. Anderson
607ee29fb3 Modified comment. 2000-08-25 18:27:43 +00:00
Janet B. Anderson
e854eadbbf Removed INSTALL_DB definition which is now in base/configure. 2000-08-25 18:27:17 +00:00
Janet B. Anderson
c9dd3233ad Added INSTALL_DB definition. 2000-08-25 18:26:18 +00:00
Jeff Hill
18b885af33 fixed GNU and SUN PRO warnings 2000-08-25 17:55:18 +00:00
Jeff Hill
b1d85b357c getsockname does not return an IP address for wildcarded UDP socket
so we must force use of loop back address
2000-08-25 15:40:06 +00:00
Jeff Hill
5fcac78ee1 fixed inline virtual destructor 2000-08-25 15:02:29 +00:00
Jeff Hill
e1a25e18b1 added newline at EOL 2000-08-25 14:51:31 +00:00
Jeff Hill
6b54aedb9a cosmetic 2000-08-25 02:11:36 +00:00
Jeff Hill
057299c53b added newline at EOF 2000-08-25 02:09:29 +00:00
Jeff Hill
fe42173b57 added missing include 2000-08-25 01:54:53 +00:00
Jeff Hill
f830e99e58 many, many changes 2000-08-25 01:52:33 +00:00
Jeff Hill
0bf430d822 additional WIN32 libs 2000-08-25 01:51:36 +00:00
Jeff Hill
71598bc0f1 better message when request is too large 2000-08-25 01:50:34 +00:00
Jeff Hill
874a254bb9 added newline at EOF 2000-08-25 01:46:28 +00:00
Jeff Hill
200b6a88ec installed 2000-08-25 01:39:17 +00:00
Jeff Hill
e926b5b837 cosmetic 2000-08-25 01:37:45 +00:00
Jeff Hill
95dadce66f first cut 2000-08-25 01:35:49 +00:00
Jeff Hill
e33dab4299 added isCurrentThread() member func 2000-08-25 01:35:06 +00:00
Jeff Hill
ce193d5c57 added new dotted IP addr ascii conversions 2000-08-25 01:34:20 +00:00
Jeff Hill
ad17787317 added new source files 2000-08-25 01:33:22 +00:00
Jeff Hill
27c8c6612c added newline at EOF 2000-08-25 01:28:19 +00:00
Jeff Hill
02df98b82c first cut 2000-08-25 01:25:25 +00:00
Jeff Hill
a3341382b8 added debug level 2000-08-25 01:14:37 +00:00
Jeff Hill
cf2c8e4e82 made compatible with latest ca 2000-08-25 01:03:06 +00:00
Jeff Hill
64b254fb60 removed -DCPU_FAMILY=I80x86 2000-08-25 00:44:45 +00:00
Jeff Hill
83c2cfc8e7 removed 2000-08-25 00:42:55 +00:00
Jeff Hill
c910728494 installed 2000-08-25 00:42:38 +00:00
W. Eric Norum
d09da0eb6b Use a special RTEMS-specific version of fopen to add the RTEMS TFTP
prefix to path names.  This is a cleaner solution since it requires
no changes to any other EPICS code and works for all places that
files are opened.
2000-08-23 22:31:39 +00:00
W. Eric Norum
d387b5d5b2 RTEMS no longer needs special version of the IOC shell file access routines. 2000-08-23 22:29:25 +00:00
Janet B. Anderson
3c50e3839e Removed reference to installEpics. 2000-08-22 19:56:57 +00:00
W. Eric Norum
7cba58991f Always generate initialization (C++ constructor) code. 2000-08-22 19:14:50 +00:00
W. Eric Norum
0886eaf6d7 Fix typo in name of RTEMS MVME167 target. 2000-08-22 18:43:34 +00:00
W. Eric Norum
c442b9e850 Since RTEMS sequencers use C++ constructors to register the sequencer
commands, they must be compiled with a C++ compiler.
2000-08-22 18:40:38 +00:00
Andrew Johnson
16f572b06d Added support for 'info' items in database records - named strings that
are saved & loaded in the .db file, with an API for access at runtime and
the ability to associate a void* pointer with each at runtime.

Also added a capability to dbToRecordTypeH allowing a record type's .dbd
file to add lines to the generated .h file.  The C code should be placed
inside the recordtype's braces {} and each line must start with a '%'.
This facility is not currently accessible through a dbStaticLib API.
2000-08-09 21:38:34 +00:00
Janet B. Anderson
086196b9f7 Removed comments about not building c++ code. 2000-08-09 20:05:35 +00:00
Ralph Lange
d3fce00c03 MODULO bug (range was limited to short int) fixed. 2000-08-09 13:51:08 +00:00
Janet B. Anderson
b74fd70ca3 Added osclass specific RCS. Removed osclass specific DBDEXPAND and DBDNAME.
Added lib dependancy on lib specific RESS.
2000-08-08 16:11:27 +00:00
W. Eric Norum
06ef32ff95 Increase number of file descriptors.
Add comment showing how to enable the stack checker.
2000-08-08 06:35:13 +00:00
Janet B. Anderson
b5ed2037ad Modified include file specification in RCCMD command. 2000-08-07 22:07:01 +00:00
Janet B. Anderson
611b7485c5 Added prefix and suffix to executable genApps. 2000-08-07 18:40:40 +00:00
Janet B. Anderson
b1e7425719 Fixed comments. 2000-08-02 21:52:16 +00:00
W. Eric Norum
10eb2dbc73 Use new RTEMS fast-mutex routines. 2000-07-19 15:14:16 +00:00
W. Eric Norum
cf81d7794c Increase RTEMS executive workspace. Don't bother trying to fit EPICS/RTEMS
on to machines with less than 16 Mbytes of RAM.
Ensure console serial line handshaking is off.  We don't want a rogue terminal
or terminal concentrator locking things up.
2000-07-19 15:13:52 +00:00
Marty Kraimer
841ba47b85 change alarm to checkAlarms 2000-07-19 12:42:35 +00:00
Marty Kraimer
ab64a7e641 dont include devPtSoft 2000-07-19 12:35:49 +00:00
W. Eric Norum
4872f0a212 Linux needs its own version of this file. The default (POSIX) version
results in multiple definitions of `struct timespec'.
2000-07-18 16:24:27 +00:00
Marty Kraimer
030d53baa1 devPtSoft.c is unbundled 2000-07-13 19:42:54 +00:00
Marty Kraimer
54b3779359 add sys/times.h 2000-07-13 19:13:27 +00:00
Marty Kraimer
c121709361 change alarm to checkAlarms; dfanout.VAL to double; remove unbundled records 2000-07-13 18:38:34 +00:00
Jeff Hill
16308c114f fixed null func returns a value warning 2000-07-13 17:36:16 +00:00
Jeff Hill
c53233b56b removed "backwards" declarations has suggested by Ralph and
added included osdTime.h as suggested by Marty
2000-07-13 17:31:24 +00:00
Jeff Hill
91050c7155 turn of omnipresent USE DEFAULT STACK -D 2000-07-13 17:21:28 +00:00
Jeff Hill
eaf92e0d65 switch on _POSIX_TIMERS 2000-07-11 19:03:27 +00:00
Marty Kraimer
be90158390 revert to previous version 2000-07-11 16:08:55 +00:00
Janet B. Anderson
6eec691c13 Modified touch definition. 2000-07-07 20:07:11 +00:00
Janet B. Anderson
f9b6a4640c Modified comments. 2000-07-07 20:06:25 +00:00
Janet B. Anderson
fe7465fe7c Modified comment. 2000-07-07 20:04:04 +00:00
Janet B. Anderson
9ea2c6f679 Removed host and cross archs. 2000-07-07 19:58:44 +00:00
Janet B. Anderson
24ef7a7e10 Added -m68040. 2000-07-07 19:53:09 +00:00
Ralph Lange
f2095ae7df Bugfix: Changed RVAL/ROFF conversion to use double arithmetics 2000-07-07 18:15:30 +00:00
Marty Kraimer
02f2d97694 undo last commit 2000-07-07 12:59:11 +00:00
Marty Kraimer
889ca7efcf change /configure to 2000-07-07 12:53:38 +00:00
Jeff Hill
9350c01f98 added DLL export of virtual destructor 2000-07-06 15:37:32 +00:00
Janet B. Anderson
4c3bf8207f Commented out tornado101 override. 2000-07-06 15:12:48 +00:00
Marty Kraimer
ef5aa5ae60 remove pid record from base 2000-07-05 12:23:27 +00:00
Marty Kraimer
0f37eb3178 allow put callback to work for ACKS and ACKT 2000-07-05 12:14:47 +00:00
Ralph Lange
d5b9507dec More small changes for HP-UX (hpux-parisc) 2000-07-03 10:06:03 +00:00
Janet B. Anderson
17f1355c1f Fixed names of hp files. 2000-06-30 18:50:34 +00:00
Marty Kraimer
aebf0ceb9c wait for errLog message to be sent 2000-06-30 17:46:34 +00:00
Ralph Lange
d50642026d Was the last committed version ever tested? Who defines should implement ... 2000-06-30 16:14:56 +00:00
Ralph Lange
9cf8650ff0 += newline at end of file (HP aCC warning fix) 2000-06-30 15:47:27 +00:00
Ralph Lange
6a4d0a5918 HP-UX needs an additional define to include the reentrant time functions 2000-06-30 15:44:56 +00:00
Ralph Lange
4023dc924b HP-UX defines things a bit different (HP aCC error fix) 2000-06-30 15:32:05 +00:00
Ralph Lange
93b1462805 Shuffled things around a bit (HP aCC error fix) 2000-06-30 14:54:24 +00:00
Ralph Lange
8d8a2d3ff9 HP-UX defines timespec and timeval in sys/time.h (HP aCC warning fix) 2000-06-30 14:50:57 +00:00
Ralph Lange
0eeae6e4b4 Moved some inline operators to the class definition (HP aCC error fix) 2000-06-30 14:37:40 +00:00
Ralph Lange
2e5c6b90a6 Bugfix: Don't suppress conditions to test for ... 2000-06-29 17:03:02 +00:00
Jeff Hill
48ba6a3f57 cosmetic 2000-06-29 14:36:49 +00:00
Jeff Hill
3ccbc07746 added newline at EOF 2000-06-29 14:36:14 +00:00
Jeff Hill
6599c80c18 added newline at EOF 2000-06-29 14:30:18 +00:00
Jeff Hill
910b93de18 installed 2000-06-29 00:40:57 +00:00
Jeff Hill
71f7435760 clean up 2000-06-29 00:21:43 +00:00
Marty Kraimer
8a2347f4c5 use new osi code to retrieve broadcast addr 2000-06-28 20:46:52 +00:00
Janet B. Anderson
60fa2b0694 Changed 68k to x86 in lynxos files. 2000-06-28 19:51:38 +00:00
Janet B. Anderson
a88c0b7b4e Initial version 2000-06-28 19:47:54 +00:00
Marty Kraimer
c2562b8aac soft time support for vxWorks 2000-06-28 19:36:14 +00:00
Marty Kraimer
a309283f20 put drcTS command in correct place 2000-06-28 19:32:30 +00:00
Marty Kraimer
c6657832b8 timezone and drvTS for vxWorks 2000-06-28 19:07:10 +00:00
Marty Kraimer
2cfdfece71 replace tsStampToText with tsStampToStrftime 2000-06-28 18:42:37 +00:00
Ralph Lange
1d1539d356 Changes for more convenience 2000-06-28 15:56:34 +00:00
Ralph Lange
4f4d35a1d8 Changes for HP-UX 2000-06-28 15:55:36 +00:00
Jeff Hill
e16b93f3f2 cleaned up double if stmnt into one if stmnt 2000-06-27 23:50:17 +00:00
Jeff Hill
a87af205c7 use iter.valid() and not iter.eol() (cosmetic) 2000-06-27 23:42:39 +00:00
Jeff Hill
e1c6fe975d fixed beacon protocol bug 2000-06-27 23:38:15 +00:00
Jeff Hill
c9d466380d specify that the client's timer queue is thread managed 2000-06-27 23:09:16 +00:00
Jeff Hill
66b35e578b added host name pointer function 2000-06-27 23:08:04 +00:00
Jeff Hill
69162db301 use iter.valid() and not iter.eol() (cosmetic) 2000-06-27 23:07:01 +00:00
Jeff Hill
45c116e750 use shutdown() in addition to close because of subtle difference
between linux and Solaris when knock a thread out of recv()
2000-06-27 23:02:02 +00:00
Janet B. Anderson
b2eab57ea7 Change definition of host executables. 2000-06-27 23:01:45 +00:00
Jeff Hill
84659ca1b7 uses host name pointer function now 2000-06-27 22:59:07 +00:00
Jeff Hill
bdfd67f9cc installed into CVS 2000-06-27 22:57:02 +00:00
Jeff Hill
d0260ff39a added new source file: localHostName.cpp 2000-06-27 22:56:36 +00:00
Jeff Hill
a94770361c use iter.valid() and not iter.eol() (cosmetic) 2000-06-27 22:55:50 +00:00
Jeff Hill
f27e839ab1 removed "pinging repeater" message 2000-06-27 22:44:22 +00:00
Jeff Hill
9fd3e2a494 many changes 2000-06-27 22:35:43 +00:00
Jeff Hill
db0905f2ab use iter.valid() 2000-06-27 22:34:08 +00:00
Jeff Hill
33e6ae6470 balanced lock calls 2000-06-27 22:33:22 +00:00
Jeff Hill
384daa87cc backed out over-zelous use of smart pointers 2000-06-27 22:32:22 +00:00
Jeff Hill
46d8c1edaf cosmetic 2000-06-27 22:30:25 +00:00
Jeff Hill
f91be05cde 1) users must now select between
single threaded and multi threaded operation
2) default timer queue does not now have manager thread
2000-06-27 22:24:58 +00:00
Marty Kraimer
746c7f2af6 add _POSIX_THREAD_PROCESS_SHARED 2000-06-27 17:53:17 +00:00
Jeff Hill
d633a0001e fixed duplicate definition of valid () member func 2000-06-27 17:30:32 +00:00
Jeff Hill
d815872938 added valid() member function, moved function implementations down,
fixed DLL export issues
2000-06-27 00:24:41 +00:00
Jeff Hill
ab3608aada cosmetic 2000-06-26 23:57:23 +00:00
Jeff Hill
d525da0a7b use different method for finding eol 2000-06-26 23:56:01 +00:00
Jeff Hill
65da62b879 fixed problem which slipped through testing because IDE modified
installed version.
2000-06-26 23:54:53 +00:00
Jeff Hill
9e9ead744a cosmetic 2000-06-26 23:49:04 +00:00
Jeff Hill
af9a564c3e fixed bug which was impacting performance, but not functionality
(we needed to process once for each expired timer on the queue)
2000-06-26 23:45:16 +00:00
Jeff Hill
16946b8b40 added valid iterator member to bidirectional iterator class 2000-06-26 23:42:56 +00:00
Jeff Hill
84c1b75d8d moved inline func out of instantiate ifdef 2000-06-26 23:42:12 +00:00
Jeff Hill
2bae9d1f21 adjusted DLL symbol export 2000-06-26 15:37:41 +00:00
Jeff Hill
78aa3f6a9f fixed gnu formatted IO warning 2000-06-23 22:15:49 +00:00
Jeff Hill
703080f8fa cleaning up 2000-06-23 21:58:18 +00:00
Jeff Hill
adf84044d2 doc 2000-06-23 00:05:16 +00:00
Jeff Hill
c27b99996b initialize id variable in constructor 2000-06-23 00:04:09 +00:00
Jeff Hill
47729fed41 added preemptive callback control
reinstalled flow control
2000-06-22 23:59:51 +00:00
W. Eric Norum
a0c9a0ea91 Major change to try to make performance (and semantics) match the vxWorks
implementation.  The previous implementation would not perform partial copies.
The vxWorks implementation would copy as much as possible.
2000-06-22 16:57:56 +00:00
Marty Kraimer
821582df52 option now in configure 2000-06-22 15:25:10 +00:00
Janet B. Anderson
08fb42ae64 Moved thread libraries to CCC_STATIC_LDLIBS_NO. 2000-06-22 15:03:53 +00:00
Marty Kraimer
7323486b9e back out to previous version 2000-06-20 21:12:45 +00:00
Marty Kraimer
7834744bb2 add iocClock 2000-06-20 20:22:38 +00:00
Marty Kraimer
257adf3569 1) remove ntp support code
2) replace ntpEpochOffset by posixEpochToEpicsEpoch
2000-06-20 20:18:39 +00:00
Marty Kraimer
cde6a63dbb add sample TIMEZONE definition 2000-06-20 19:58:22 +00:00
Marty Kraimer
a8eaec8d17 drvTS is now optional for vxWorks 2000-06-20 19:54:40 +00:00
Marty Kraimer
8e6720b483 added soft clock support 2000-06-20 19:52:10 +00:00
Janet B. Anderson
869db16fd8 Remove references to R3.12 directories rec and rec.bak. 2000-06-20 19:49:28 +00:00
Janet B. Anderson
5bc66b6ec1 Removed extra referenecs to install. 2000-06-20 19:19:13 +00:00
Janet B. Anderson
3d0f5c8af2 Moved the execution of the cleandirs rule. 2000-06-20 19:04:21 +00:00
W. Eric Norum
3c44955ad5 Call lower-level RTEMS mutex support routines.
This one change improves the catime benchmark results be more than 13%.
The RTEMS maintainers are now planning to implement a special fast-mutex
which should provide even greater improvement.
2000-06-20 17:06:15 +00:00
Jeff Hill
74c81652e0 made include of string.h os independent 2000-06-19 23:29:12 +00:00
Marty Kraimer
0f6c3a8dfc remove hardware support 2000-06-19 13:09:07 +00:00
Jeff Hill
9639af7f3a increase the maximum size of the cached host name string 2000-06-17 00:35:52 +00:00
Jeff Hill
645b0883aa correctly calculate the number of bytes in the CA connect sequence 2000-06-17 00:35:01 +00:00
Jeff Hill
8fa9db48ad added new activate methods 2000-06-16 23:36:37 +00:00
Jeff Hill
2e67127f25 eliminate the UDP send thread 2000-06-16 23:35:02 +00:00
W. Eric Norum
5f4e31c600 Fix typo that was making the startup/shell task non-FP. 2000-06-16 20:37:06 +00:00
Jeff Hill
5313404121 elevated priority of CAC timer event thread 2000-06-16 20:00:06 +00:00
Marty Kraimer
7efef48a21 remove def for putenv; failed on solaris 8 2000-06-16 15:02:40 +00:00
W. Eric Norum
097a822319 Include stdio.h to get declaration for stderr.
Ensure that all execution paths through osiGetUserName actually return a value.
Fix missing apostrophe in couldn't.
2000-06-16 14:57:52 +00:00
Marty Kraimer
7a53aa7d45 get rid of tsSubr; more call to TSinit to os/osdThead 2000-06-16 14:08:54 +00:00
Marty Kraimer
d65bcef5a9 add TSinit 2000-06-16 14:03:59 +00:00
Jeff Hill
4fb22f09a3 Fixed use of errlogPrintf () in spawned process ulting in a hang.
Removed use of assert() when the executable couldnt be located
which aslo caused a hang.
2000-06-16 00:21:43 +00:00
Jeff Hill
828bd4392b fixed solaris cleanup hang by using close instead of shutdown 2000-06-15 23:06:09 +00:00
Jeff Hill
dd83010c37 fixed solaris cleanup hang by using close instead of shutdown 2000-06-15 22:47:18 +00:00
Jeff Hill
60e2324406 defined a new error constant 2000-06-15 22:39:52 +00:00
Jeff Hill
7741f6b45c added shutdown () sys call diagnostics 2000-06-15 21:47:20 +00:00
Jeff Hill
9a885db4d1 fixed recv thread shutdown bug 2000-06-15 20:46:29 +00:00
Jeff Hill
0185bd2fba include proper ANSI header and fix usage diagnostic 2000-06-15 17:52:52 +00:00
Jeff Hill
d2aaae9be6 dont break out of semaphore block every 60 sec as in the past 2000-06-15 17:47:57 +00:00
Jeff Hill
dc979956c1 upgraded catime to allow N channels to be specified 2000-06-15 17:46:05 +00:00
Jeff Hill
acaa247dad cosmetic 2000-06-15 15:28:39 +00:00
W. Eric Norum
d6b988d155 Track Jeff's changes to vxWorks/osdThread.c priority calculations. 2000-06-15 15:15:53 +00:00
Marty Kraimer
93c345b514 unbundle 2000-06-15 13:58:44 +00:00
Jeff Hill
dec79926e5 cleaned up disconnect timer logic 2000-06-15 01:23:56 +00:00
Jeff Hill
b52f9f084d typo in comment 2000-06-14 23:48:14 +00:00
Jeff Hill
f6303c29a9 removed warning messages 2000-06-14 21:53:57 +00:00
Jeff Hill
152d874163 changed message 2000-06-14 21:51:12 +00:00
Jeff Hill
a73125ccc6 dont base priority on the server's priority 2000-06-14 21:38:45 +00:00
Jeff Hill
c5e7a1ed82 removed unused priority assignments 2000-06-14 21:36:15 +00:00
Jeff Hill
ee7e3ba7d0 use self relative priorities 2000-06-14 21:35:38 +00:00
W. Eric Norum
cedcb42d63 Try switching to FIFO (no priority inheritence) mutex. This improves
the response shown by catime by about 5%.
2000-06-14 21:35:37 +00:00
Jeff Hill
c75ec8fda0 cosmetic 2000-06-14 21:34:38 +00:00
Jeff Hill
022fb68485 installed fix for range mapping integer overflow 2000-06-14 21:11:05 +00:00
Marty Kraimer
d6bf15feae changes in thread priorities 2000-06-14 14:35:09 +00:00
W. Eric Norum
3d57ac34ef The latest release of RTEMS reduced the default size of many system values.
Modify rtems_init.c to restore these to values which will work with EPICS.
Move clockInit call to threadInit.
Minor cleanups.
2000-06-13 22:33:55 +00:00
Jeff Hill
889e03fa83 check for shutdown condition when socket sys call returns EINTR 2000-06-13 22:33:27 +00:00
W. Eric Norum
78b8324a8d Add call to clockInit.
Clean up some threadInit calls.
2000-06-13 22:30:40 +00:00
Jeff Hill
0c5b00ce4c cosmetic 2000-06-13 22:30:05 +00:00
Jeff Hill
f945d5e6c9 cosmetic 2000-06-13 20:41:17 +00:00
Jeff Hill
9fced3bc4f codmetic 2000-06-13 20:40:14 +00:00
Jeff Hill
2518b8f727 cosmetic 2000-06-13 20:37:04 +00:00
Marty Kraimer
081ceea52d call threadInit where needed 2000-06-13 19:08:16 +00:00
Marty Kraimer
ac8754459d remove threadInit; add caMonitor.c 2000-06-13 19:05:25 +00:00
Marty Kraimer
5e252ab9fe client/server priorities were reversed 2000-06-13 15:01:25 +00:00
W. Eric Norum
64b4e5cb80 Increase init task (IOC sh) priority to be higher than all EPICS tasks.
Adjust RTEMS workspace to a size that allows simple IOC applications
to run on machines with `only' 4 Megabytes of memory.
2000-06-13 01:59:13 +00:00
W. Eric Norum
5c085da486 Use three characters in name since EPICS uses *lots* of semaphores. 2000-06-13 01:56:58 +00:00
Jeff Hill
5a29032168 clear channel to avoid disconnect warning 2000-06-13 01:04:34 +00:00
Jeff Hill
63f850eaf8 call ca_task_exit() 2000-06-13 01:00:09 +00:00
Jeff Hill
18b38cb969 fixed printf format warnings from GNU 2000-06-13 00:57:53 +00:00
Jeff Hill
07bcb7a55d cosmetic 2000-06-12 23:59:58 +00:00
Jeff Hill
00ba314344 init sufficent space in pool global sooner 2000-06-12 23:59:39 +00:00
Jeff Hill
963fee1856 added exception handler for UDP protocol errors 2000-06-12 23:53:34 +00:00
Jeff Hill
9a41b6d2ba fixed duplicate address entry search loop bug 2000-06-12 20:59:58 +00:00
Jeff Hill
f4e905be5b fixed priority polarization of event thread 2000-06-12 19:16:19 +00:00
Jeff Hill
0077b27fe3 moved stdlib.h (an ANSI C file) outside of OS depen switch 2000-06-12 17:32:11 +00:00
W. Eric Norum
3e75b6f0c2 Add `level' argument to semstat command.
Dynamically size task, semaphore, timer and queue tables.
Set aside more memory for RTEMS executive and network buffers.
RTEMS IOCs now need at least 8Mbytes.
2000-06-11 18:52:58 +00:00
Janet B. Anderson
40420a56b6 Changed cpu definition. 2000-06-09 15:31:16 +00:00
Ralph Lange
443cf69d3c Bugfix: -include only with Tornado 2000-06-09 14:23:37 +00:00
Ralph Lange
337a3c94c0 Add for shared libs under HPUX / aCC 2000-06-09 14:18:36 +00:00
Ralph Lange
5563b1ef12 Bugfix for shared libs under HPUX / aCC 2000-06-09 14:12:31 +00:00
Marty Kraimer
25b4959f3f added caMonitor 2000-06-09 12:48:10 +00:00
Janet B. Anderson
bbb3f2cf9a Aded clean rule and changed .DEPENDS to DEPENDS. 2000-06-08 21:21:16 +00:00
Janet B. Anderson
d4d6febe69 Changed comment. 2000-06-08 20:51:30 +00:00
Janet B. Anderson
9f59150d35 Some changes for new build method. 2000-06-08 20:50:53 +00:00
Jeff Hill
faf8e5f2d2 cleaned up thread names 2000-06-08 18:08:39 +00:00
Jeff Hill
314671f6e9 cleaned up thread names 2000-06-08 17:59:30 +00:00
Jeff Hill
fc5e479d97 cleaned up thread names 2000-06-08 17:56:22 +00:00
Jeff Hill
a828ff01fe minor optimization 2000-06-08 17:56:03 +00:00
Jeff Hill
e613d58ea5 fixed lock () where unlock() was needed 2000-06-08 16:55:24 +00:00
Jeff Hill
e37dd309fc cosmetic 2000-06-08 16:26:22 +00:00
Jeff Hill
d53c56763b many changes 2000-06-08 15:11:54 +00:00
Jeff Hill
0c960706b6 changed locking mechanisms 2000-06-08 15:09:12 +00:00
Jeff Hill
6065f78d3b locking mechanism is now virtual 2000-06-08 15:06:04 +00:00
Jeff Hill
9e3dafa4bb improved message 2000-06-08 15:05:17 +00:00
Jeff Hill
7d6d6e6b11 addded lock member functions 2000-06-08 15:04:45 +00:00
Jeff Hill
a2b7e25be5 removed lock macros 2000-06-08 15:04:16 +00:00
Jeff Hill
c95b5225e2 added mutex protection 2000-06-08 15:03:10 +00:00
Jeff Hill
10570cfe0c removed warning message when lower priority is unavailable 2000-06-08 15:00:57 +00:00
Jeff Hill
436cdc0562 cosmetic 2000-06-08 14:59:51 +00:00
Jeff Hill
9c65e69c0b added test for first subscription update 2000-06-08 14:59:21 +00:00
Marty Kraimer
a4f1f73330 fix big bug in semBCreate 2000-06-07 20:41:28 +00:00
Marty Kraimer
f0df1e4519 add message 2000-06-07 12:03:13 +00:00
Jeff Hill
7cda8e208f fixed user name exits test logic 2000-06-06 21:18:59 +00:00
Marty Kraimer
e1cce327ef include not needed 2000-06-06 15:19:15 +00:00
Jeff Hill
bd3a2ed76a install loopback address into the address list if no interfaces
found during auto-configure.
2000-06-06 00:17:33 +00:00
Jeff Hill
e698db7345 fixed printf format miss-match 2000-06-06 00:15:20 +00:00
Jeff Hill
4ce66fbc3d cleaned up arch ifdefs 2000-06-05 23:57:33 +00:00
W. Eric Norum
1c9ae934f9 Since registerRecordDeviceDriver.c is part of example_SRCS_DEFAULT there's
no need to add it to example_SRCS_RTEMS.
2000-06-05 17:52:58 +00:00
Marty Kraimer
0cb718c4d6 threadPrivateGet must return 0 before first call to threadPrivateSet 2000-06-05 14:38:59 +00:00
Marty Kraimer
4e3cceba33 prevent duplicate -I for dbExpand 2000-06-05 12:38:09 +00:00
W. Eric Norum
a690ac58e8 Gcc allows -g to be used with -O. 2000-06-04 01:39:30 +00:00
W. Eric Norum
856a98f244 Remove reference to non-existent include file. 2000-06-04 01:38:30 +00:00
Jeff Hill
9b5c502142 use thread once during initialization 2000-06-03 01:19:29 +00:00
Jeff Hill
a2fd2a5463 no message 2000-06-03 01:15:53 +00:00
Jeff Hill
a3e9ee3146 removed variable which is no-longer extern 2000-06-03 01:15:00 +00:00
Jeff Hill
0c1417f15a new error message 2000-06-03 01:14:29 +00:00
Jeff Hill
086b19d059 nill out thread private storage pointer just after making it a task variable in
the new thread so that it will not point at the other thread's task variable
2000-06-03 00:48:28 +00:00
Jeff Hill
a62dcb8215 reveresed sense of if in previous change, but otherwise purpose was valid 2000-06-03 00:26:59 +00:00
Jeff Hill
37881ab4e1 threadPrivateGet() now retuns undefined variables as NULL 2000-06-02 23:42:39 +00:00
Jeff Hill
f3275d7a3d added newline at EOF 2000-06-02 22:43:58 +00:00
Janet B. Anderson
562b08d4ed Changed HOST_ARCH to EPICS_HOST_ARCH. 2000-06-02 21:19:00 +00:00
Jeff Hill
9258359949 fixed BSD version test 2000-06-02 20:18:31 +00:00
Janet B. Anderson
27d39243b3 Added Host to record names. 2000-06-02 19:36:05 +00:00
Marty Kraimer
77da57d2a1 provide for DBDEXPAND 2000-06-02 19:30:11 +00:00
Marty Kraimer
696b553d50 allow multiple build in one directory 2000-06-02 19:28:56 +00:00
Jeff Hill
2380c4bcda export cacChannel class from the DLL 2000-06-02 16:28:39 +00:00
Janet B. Anderson
dfdee71b30 Removed Base from registerRecordDeviceDriverBase name. 2000-06-02 15:52:47 +00:00
Janet B. Anderson
d38346ede6 The exampleApp now has one src directory. 2000-06-02 15:14:39 +00:00
Janet B. Anderson
6e5ab5a213 The exampleApp now has one src directory. 2000-06-02 15:00:18 +00:00
Marty Kraimer
c67d0a44ef TakeTimeout: make ticks at least 1 2000-06-02 14:48:13 +00:00
Marty Kraimer
e0c9a741d2 return semTakeTimeout if ticks<=0 2000-06-01 20:52:18 +00:00
Jeff Hill
059422460c removed windows specifc lines 2000-06-01 16:06:18 +00:00
Jeff Hill
e58e527b12 use osiUnistd.h 2000-06-01 15:55:39 +00:00
Jeff Hill
31b61dd408 installed 2000-06-01 15:54:51 +00:00
Jeff Hill
0aaf36f63b installed 2000-06-01 14:50:22 +00:00
Marty Kraimer
25956c938b remove duplicate include 2000-06-01 12:45:01 +00:00
Jeff Hill
a2ace4e106 fixed build problem (lack of cacChannel class in cacIO.h) 2000-05-31 23:26:04 +00:00
Jeff Hill
3e99facbd3 changed the name of bsdSock{Attach,Release} 2000-05-31 22:56:36 +00:00
W. Eric Norum
85c2135b0d Add putenv command. 2000-05-31 22:36:40 +00:00
Jeff Hill
4674eccf2d changed the name of bsdSock{Attach,Release} 2000-05-31 22:36:31 +00:00
Jeff Hill
54b82732d6 modernized the code to avoid any possibility of integer overflow 2000-05-31 22:14:33 +00:00
Jeff Hill
86c604e53f use INVALID_SOCKET to test socket() return 2000-05-31 22:12:34 +00:00
Jeff Hill
937bbc7dca added proper rundown of db events and db put call backs 2000-05-31 22:05:19 +00:00
Jeff Hill
c9d6b15639 improved test 2000-05-31 22:01:36 +00:00
Jeff Hill
9bd5cdd198 added local channel rundown and split mutex 2000-05-31 22:00:49 +00:00
Jeff Hill
281563320e added lock member and local channel member 2000-05-31 21:58:42 +00:00
Jeff Hill
f468be9d39 added local channel IO class 2000-05-31 21:57:54 +00:00
Jeff Hill
ada4b952b7 return local channel 2000-05-31 21:57:00 +00:00
Jeff Hill
58aa6aa2ba clarified message 2000-05-31 21:56:27 +00:00
Jeff Hill
765753e7bc added local channel list and split mutex to avoid deadlock 2000-05-31 21:53:59 +00:00
Jeff Hill
813b3ec871 attach to channel in the constructor 2000-05-31 21:41:44 +00:00
Janet B. Anderson
8de1ecea53 Fixed test for Tornado II. 2000-05-31 21:40:15 +00:00
Jeff Hill
a1fe981d98 cosmetic 2000-05-31 21:39:54 +00:00
Jeff Hill
6c9909eea1 write flush removed because it servers no purpose and slows
things down
2000-05-31 21:37:01 +00:00
Jeff Hill
1ac6493678 cosmetic 2000-05-31 21:21:47 +00:00
Janet B. Anderson
89787b139c Code now uses dbGetFieldIndex. 2000-05-31 20:15:43 +00:00
Marty Kraimer
4276a503ad add defs for c++ 2000-05-31 19:17:33 +00:00
Janet B. Anderson
a8111065af Added fields drvh and drvl. 2000-05-31 18:32:10 +00:00
Marty Kraimer
4ed49a1613 try registryFind if registryFunctionFind fails 2000-05-31 12:20:45 +00:00
W. Eric Norum
c303ad0550 Remove call to max(). 2000-05-30 19:52:00 +00:00
Jeff Hill
4337981a29 dont return failure code when there is no OS support - return
no support error code instead
2000-05-30 17:15:14 +00:00
Jeff Hill
390d9f1fb8 removed warning message 2000-05-30 17:13:50 +00:00
Jeff Hill
6ee0d611fd fixed message format 2000-05-30 17:12:55 +00:00
Jeff Hill
c863e0a631 use errlogPrintf instead of fprintf (stderr, ...) 2000-05-30 17:11:46 +00:00
Jeff Hill
f03ef5eb5d fixed pool corruption problems 2000-05-30 17:08:57 +00:00
W. Eric Norum
49982e20a7 Add RTEMS-specific netstat and semstat commands. 2000-05-26 22:04:10 +00:00
W. Eric Norum
118036917d Decouple aToIPAddr from bsdSockAttach by using threadOnce to create the mutex. 2000-05-26 19:08:40 +00:00
Jeff Hill
10b3db1964 improved bind failure messages 2000-05-25 22:34:31 +00:00
Jeff Hill
3dd26027d6 improved bind failure messages 2000-05-25 22:31:56 +00:00
W. Eric Norum
44c872ca3e Track change to IOC shell common registration. 2000-05-25 22:28:25 +00:00
Marty Kraimer
ecb63cc5c4 changed name 2000-05-25 19:18:00 +00:00
W. Eric Norum
900f32c792 Add -D_BSD_SOURCE to ARCH_DEP_CPPFLAGS. This is needed to get the
prototype for gethostname() in unistd.h as needed by cacChannelIO.cpp.
Add -DIOCSH_USE_READLINE and -lreadline.
2000-05-25 18:43:18 +00:00
Marty Kraimer
b323d16eab check for pdbbase=0 2000-05-25 17:57:06 +00:00
Jeff Hill
b67288ec77 enable socket option REUSEADDR to make debugging easier 2000-05-25 17:37:08 +00:00
Jeff Hill
2ee38b4754 print an error when cd fails 2000-05-25 17:35:26 +00:00
Jeff Hill
009ebefec4 changed the name of the CAC process thread to not include blanks 2000-05-25 16:52:46 +00:00
Jeff Hill
5d18f555fa use generic stack size 2000-05-25 15:12:30 +00:00
Jeff Hill
2c47e57940 move arguments back to the constructtor 2000-05-25 14:43:47 +00:00
Jeff Hill
ad792ae19a dont crash if this isrun before iocInit 2000-05-24 22:09:28 +00:00
Jeff Hill
34b352cc5b updated to match thread class changes 2000-05-24 22:07:40 +00:00
Jeff Hill
15fca75a88 fixed startup order problems without impactiing the structure of the
design
2000-05-24 22:07:10 +00:00
Jeff Hill
5040152dc9 cosmetic 2000-05-24 22:04:05 +00:00
Jeff Hill
dd24055ea8 fixed Tornado II build 2000-05-24 21:52:02 +00:00
Marty Kraimer
ed6b736a89 registerRecordDeviceDriver=>registerRecordDeviceDriverBase 2000-05-23 20:13:27 +00:00
Janet B. Anderson
08d961c27b Changes and renames for CFLAGS. 2000-05-23 19:08:30 +00:00
Janet B. Anderson
4d0622c8cb Changes for TESTPROD. 2000-05-23 19:07:44 +00:00
Janet B. Anderson
adb10e1351 Changed default tornado release to tornado 2. 2000-05-23 16:10:30 +00:00
Marty Kraimer
faf5c4fcdf fix several bugs 2000-05-19 15:50:07 +00:00
Marty Kraimer
8230a0622d add start method to osiThread 2000-05-19 15:40:15 +00:00
Marty Kraimer
e4d9ceb26c add epicsPrtEnvParams 2000-05-19 14:32:28 +00:00
Marty Kraimer
adff30bf2e remove errVerbose 2000-05-18 20:26:03 +00:00
Marty Kraimer
91f6c63908 add decoration to names 2000-05-18 20:24:07 +00:00
Marty Kraimer
f6229067dd add call to threadInit 2000-05-18 13:07:22 +00:00
Marty Kraimer
8dfca1a176 on solaris null string not allowed 2000-05-18 13:06:19 +00:00
Marty Kraimer
87148bd602 remove duplicate def for dbGetNelements 2000-05-18 13:05:29 +00:00
Marty Kraimer
6ea6478d40 all doc now in AppDevGuide 2000-05-18 12:16:50 +00:00
Marty Kraimer
502527e7cf add astac, dbtpn, threadSleep 2000-05-10 12:58:48 +00:00
Marty Kraimer
be5abe7d07 add decorated names to dbtpn 2000-05-10 12:56:22 +00:00
Marty Kraimer
5f07efb487 add decorated names to astac 2000-05-10 12:55:23 +00:00
Marty Kraimer
2b89e74777 force dbServiceIO to register with CA 2000-05-09 17:50:12 +00:00
W. Eric Norum
3da88ff8df Add check for __i386__ to detect Linux 'x86 machines. 2000-05-09 16:17:42 +00:00
W. Eric Norum
96f30d12e0 Convert iocccrf to take a single pathname argument.
If the pathname is NULL, emit prompts and read from stdin.
Use the last component of the pathname as the `filename' argument to showError.
Get the prompt from the IOCSH_PS1 environment variable or use default "iocsh> ".
Return 0 on success.  Print message and return -1 on failure (e.g. can't open file).
If using readline, get history size from IOCSH_HISTSIZE environment variable.
2000-05-08 18:59:59 +00:00
W. Eric Norum
37d9ca299d Add include file to finish off previous change. 2000-05-06 03:02:38 +00:00
W. Eric Norum
1a690fa68b Add call to registerRecordDeviceDriverRegister(). 2000-05-06 02:47:07 +00:00
Jeff Hill
003b83f74c beter size check 2000-05-05 18:50:56 +00:00
Marty Kraimer
b7b57507a7 changes for new shell 2000-05-05 18:11:40 +00:00
Jeff Hill
dd6e06ad2f renamed loadTimeInit class 2000-05-05 14:44:43 +00:00
Marty Kraimer
75764e26b2 add include ioccrf.h 2000-05-05 12:42:07 +00:00
Marty Kraimer
c16d0e774d remove debug printf statemenst 2000-05-05 12:41:16 +00:00
Jeff Hill
091147080c fixed gnu warnings 2000-05-05 01:19:32 +00:00
Jeff Hill
43e856cf11 removed 2000-05-05 01:09:21 +00:00
Jeff Hill
9a6f2d4389 fixed some GNU warnings 2000-05-05 00:53:48 +00:00
Jeff Hill
aeda4c72cd set g++ warnings to -Wall 2000-05-05 00:44:21 +00:00
Janet B. Anderson
d03698e990 Changes for win32 build. 2000-05-04 20:40:45 +00:00
W. Eric Norum
0cea7fc069 Add dummy threadExitMain routine. 2000-05-04 19:59:39 +00:00
Marty Kraimer
69da66e029 changes for registerRecordDeviceDriverRegister 2000-05-04 19:15:37 +00:00
Marty Kraimer
ff148ecc32 changes for registerRecordDeviceDriver 2000-05-04 19:08:51 +00:00
Jeff Hill
c4a67d46b7 fixed DLL keyword related problems 2000-05-04 16:32:01 +00:00
Jeff Hill
1a460294ce fixed DLL keyword related problems 2000-05-04 16:20:55 +00:00
Jeff Hill
489bf56f72 fixed DLL keyword related problems 2000-05-04 15:52:25 +00:00
Jeff Hill
6d1bed689e use proper form of include for system libraries 2000-05-04 15:39:58 +00:00
Jeff Hill
b67f3c49d1 fixed DLL keyword related problems 2000-05-04 15:18:54 +00:00
Jeff Hill
50715dd5f2 fixed DLL keyword related problems 2000-05-04 15:08:47 +00:00
W. Eric Norum
ccaaa51d33 No need to specify iocsh as a PROD_LIBS since the makeApp scripts now do this. 2000-05-04 15:08:34 +00:00
Jeff Hill
c41446d0a5 fixed DLL keyword related problems 2000-05-04 14:53:46 +00:00
Marty Kraimer
351b87e72b new 2000-05-04 13:03:06 +00:00
Marty Kraimer
e9aa6298c3 move location on include ioccrf 2000-05-04 13:02:39 +00:00
Jeff Hill
dca0b0d9c0 changed it so that there re not two functions with the same name
inside and outside of base (generated in the application).
2000-05-04 01:24:01 +00:00
Jeff Hill
0f67cc3054 fixed some of the DLL export problems 2000-05-04 01:21:44 +00:00
Jeff Hill
84f37edbe9 cosmetic 2000-05-04 01:17:41 +00:00
Jeff Hill
7d9cca3918 added dll libs 2000-05-04 01:16:55 +00:00
Jeff Hill
326e2cad35 added stub for thread id from name 2000-05-04 01:15:53 +00:00
Jeff Hill
e722536d7a removed prototype for function that is no longer exported 2000-05-04 01:13:23 +00:00
Jeff Hill
98b9a5c3e1 fixed several bugs 2000-05-04 01:11:29 +00:00
Jeff Hill
8c2b53c9af added additional library locations 2000-05-03 22:13:03 +00:00
W. Eric Norum
056adbe300 Add support for input redirection.
Add some utility commands.
2000-05-03 21:53:10 +00:00
W. Eric Norum
6ad0172747 Add -liocsh to linker arguments. 2000-05-03 21:48:31 +00:00
W. Eric Norum
a374888f07 There is no longer an RTEMS-specific command interpreter.
Its functions have been taken over by the routines in src/iocsh.
2000-05-03 21:34:10 +00:00
W. Eric Norum
bacef349bc Minor cosmetic change on task information table header. 2000-05-03 20:47:26 +00:00
Janet B. Anderson
9edbb3fd44 Added SRC_DIRS definition. 2000-05-03 19:04:05 +00:00
Janet B. Anderson
24e7892386 Updated Makefile for multiple testprods. 2000-05-03 19:01:40 +00:00
Janet B. Anderson
ef51233280 Changes for win32 build. 2000-05-03 18:56:24 +00:00
Marty Kraimer
3ba710a304 check for non null pointer 2000-05-03 18:05:29 +00:00
Marty Kraimer
9f26b98730 correct name 2000-05-03 13:37:48 +00:00
Marty Kraimer
9eeeb258e6 add static where appropriate 2000-05-03 13:12:58 +00:00
Jeff Hill
cff5d80b7c fixed host name func to match prototype 2000-05-03 00:53:51 +00:00
Jeff Hill
b8c7f8f8b6 fixes for various sun pro compiler warnings 2000-05-03 00:47:16 +00:00
Jeff Hill
33f8e63c21 various gnu compiler dialect issue fixes 2000-05-03 00:41:30 +00:00
Marty Kraimer
6c61596f9e asLib.h no longer needed 2000-05-02 20:10:33 +00:00
Marty Kraimer
16e36d43b0 moved as subroutine functions to here 2000-05-02 20:09:42 +00:00
Marty Kraimer
ff1bb798fd make it easier for user code 2000-05-02 20:07:59 +00:00
Marty Kraimer
3d13428701 better separation on code 2000-05-02 20:06:10 +00:00
Marty Kraimer
3093fe5421 implement many more function calls 2000-05-02 20:04:46 +00:00
Marty Kraimer
62878ec9b7 S_xxx defs moved from dbAccess.h to dbAccessDefs.h 2000-05-02 18:57:57 +00:00
Marty Kraimer
860b4313e6 add casr 2000-05-02 13:47:45 +00:00
Marty Kraimer
a71778bfcc export casr; remove client_stat 2000-05-02 13:47:03 +00:00
Marty Kraimer
4b5ca321fd bad choice 2000-05-02 12:19:33 +00:00
Marty Kraimer
0b808d31da ioctest_DLL_LIBS => iocsh_DLL_LIBS 2000-05-02 12:12:00 +00:00
Marty Kraimer
12bb0dce08 moved as functions 2000-05-02 12:11:04 +00:00
Marty Kraimer
e111930978 added register functions 2000-05-02 12:10:27 +00:00
Marty Kraimer
69a09717ec create proper defs for dbcar 2000-05-01 21:03:00 +00:00
Marty Kraimer
f6ce8bdbce change RegisterInit to Register 2000-05-01 20:57:01 +00:00
Marty Kraimer
437dfe40f0 new 2000-05-01 20:45:57 +00:00
Marty Kraimer
76fbbc0084 changes for dlls 2000-05-01 18:26:46 +00:00
Marty Kraimer
4adb22b4ce if not all args given assume null or 0 2000-05-01 17:56:26 +00:00
Jeff Hill
4710f52e25 simplify code by starting out with unsigned 2000-05-01 16:31:11 +00:00
Marty Kraimer
82d441411b changes for iocsh 2000-04-28 20:40:58 +00:00
Marty Kraimer
52d078b531 misc before iocsh 2000-04-28 20:36:42 +00:00
Marty Kraimer
cc368beb10 add iocsh; build misc later 2000-04-28 18:33:45 +00:00
Marty Kraimer
4138d876f2 remove redundent def 2000-04-28 18:32:35 +00:00
Marty Kraimer
432dd776b6 moved iocInit from db to here 2000-04-28 18:31:46 +00:00
Marty Kraimer
d40cdf85ae forget old style c 2000-04-28 18:30:46 +00:00
Marty Kraimer
0892a7965c add dbior; add support for c++ 2000-04-28 18:29:49 +00:00
Marty Kraimer
9bba2b9dc5 added new utility functions 2000-04-28 18:28:59 +00:00
Marty Kraimer
03722676f6 moved to src/misc 2000-04-28 18:27:44 +00:00
Marty Kraimer
c9025702bd new 2000-04-28 18:23:12 +00:00
Marty Kraimer
0464f03415 implement threadGetPrioritySelf 2000-04-28 15:50:16 +00:00
W. Eric Norum
34fca4e872 Add implementation of threadGetPrioritySelf(). 2000-04-28 14:59:51 +00:00
Jeff Hill
eee86b8106 many, many changes 2000-04-28 02:23:35 +00:00
Jeff Hill
0e823a62c7 fixed memcpy () arguments reversal 2000-04-28 02:19:49 +00:00
Jeff Hill
d9bd2a3bdf workaround for Solaris compiler bug 2000-04-28 02:16:03 +00:00
Jeff Hill
d3dfd93151 cosmetic 2000-04-28 02:00:42 +00:00
Jeff Hill
cefdde06d4 added missing void 2000-04-28 01:46:11 +00:00
Jeff Hill
ba268dff17 many changes 2000-04-28 01:40:08 +00:00
Jeff Hill
eaf104873a change this to a binary install 2000-04-28 01:35:18 +00:00
Jeff Hill
a84a547d9a change this to a binary install 2000-04-28 01:34:18 +00:00
Jeff Hill
5c6cbe2c20 added support for ptr to const GDD 2000-04-28 01:32:02 +00:00
Jeff Hill
547f1b15fa major revisions 2000-04-28 01:29:00 +00:00
Jeff Hill
68c049fa73 include net_convert.h again so that byte swaps will run on WIN32 2000-04-28 01:04:39 +00:00
Jeff Hill
070c34cccc invoke perl script with perl (for WIN32) 2000-04-28 01:02:39 +00:00
Jeff Hill
0150adbbf7 improved initialization 2000-04-28 01:00:43 +00:00
Jeff Hill
cb2904af5d build new source files 2000-04-28 00:54:54 +00:00
Jeff Hill
52467d71dd installed 2000-04-28 00:54:26 +00:00
Jeff Hill
a18943ad9f removed NOOP routines 2000-04-28 00:53:20 +00:00
Jeff Hill
79728bc07d removed call to NOOP routine 2000-04-28 00:50:59 +00:00
Jeff Hill
423fcc1dbd removed my junk 2000-04-28 00:50:16 +00:00
Jeff Hill
1ca847078e cleaned out trash 2000-04-28 00:49:33 +00:00
Jeff Hill
9f94eee742 allow C++ 2000-04-28 00:41:38 +00:00
Jeff Hill
06f8507803 use threadPrioritySelf () 2000-04-28 00:39:04 +00:00
Jeff Hill
dc7a13ddcc added ms keywords 2000-04-27 17:58:50 +00:00
Jeff Hill
9b9ce436a8 added ms keywords 2000-04-27 17:49:45 +00:00
Jeff Hill
7d884560d4 removed backslash 2000-04-27 17:46:38 +00:00
Jeff Hill
092c301e3a added threadExitMain() 2000-04-27 17:30:13 +00:00
Jeff Hill
22fdbb1913 removed extern from epicsShareDef because strange mysteries
persist with the microsoft compiler: sometines extern is required
with the instantiation and other times not ...
2000-04-27 17:27:46 +00:00
Jeff Hill
a7b7c7cf16 removed coreRelease () function prototype 2000-04-27 17:26:07 +00:00
Jeff Hill
93f840f146 reformatted 2000-04-27 17:24:44 +00:00
Jeff Hill
2d8fb10ef9 removed strict compiler specification 2000-04-27 16:44:51 +00:00
Jeff Hill
e5d5c9f62f added default for number of objects allocated 2000-04-27 16:23:01 +00:00
Jeff Hill
c92b60022c cosmetic 2000-04-27 16:22:04 +00:00
Jeff Hill
4de7f10b96 include interface specifications 2000-04-27 16:20:21 +00:00
Jeff Hill
5a0cea855e dont specify strict compiler 2000-04-25 23:33:40 +00:00
Marty Kraimer
0b31c54889 registerRecordDeviceDriver no needed here 2000-04-25 13:03:07 +00:00
Marty Kraimer
1cefd4b008 fix error reporting 2000-04-25 13:00:39 +00:00
W. Eric Norum
09194d1871 Rename file to match EPICS C++ convention. 2000-04-24 19:27:18 +00:00
Marty Kraimer
9d41d523f8 changed extension from .cc to .cpp 2000-04-24 18:54:20 +00:00
W. Eric Norum
34bf86f1d6 Add rule for converting .st' to .o'. RTEMS needs C++ constructors
to register sequencer commands and programs so the output of snc has
to be compiled with C++.
2000-04-21 22:45:19 +00:00
Jeff Hill
cc6511fe95 additional visual C++ build env hints 2000-04-20 00:34:59 +00:00
Janet B. Anderson
cc7418fedf Changed name GNU_TARGET_PREFIX to CMPLR_PREFIX. 2000-04-17 15:25:23 +00:00
Janet B. Anderson
175410ddd0 Changed name GNU_TARGET_PREFIX to CMPLR_PREFIX. 2000-04-17 15:24:21 +00:00
W. Eric Norum
6f7f4e6a9a Add flags for state notation compiler. 2000-04-16 22:46:10 +00:00
W. Eric Norum
d16882b9b4 Rename RTEMS MVME167 configuration file to match RTEMS BSP name. 2000-04-14 22:25:04 +00:00
Jeff Hill
fabc0187e9 install tsFreeList.h 2000-04-13 22:35:12 +00:00
Jeff Hill
8d6060372a installed 2000-04-13 22:34:33 +00:00
W. Eric Norum
547c51f422 Use common UNIX defines.
Modifications to allow building of RTEMS executable images with makeBaseApp.
2000-04-13 22:33:31 +00:00
Janet B. Anderson
ae8bd2bcdd Added OBJ suffix to <name>_OBJS for prod and lib dependancy. 2000-04-13 20:03:27 +00:00
Jeff Hill
e4dac73988 cosmetic 2000-04-12 18:04:38 +00:00
Jeff Hill
584a931821 removed most of the case statements 2000-04-12 18:03:23 +00:00
Jeff Hill
1a551e4fb6 dont use CreateThread() 2000-04-12 17:58:25 +00:00
Jeff Hill
cec6f7471a added C++ support 2000-04-12 17:55:51 +00:00
Jeff Hill
09b6989a06 added iter for const items 2000-04-12 17:54:31 +00:00
Janet B. Anderson
88d4d88cdc Changed install location. 2000-04-11 22:05:33 +00:00
Janet B. Anderson
96fe79a69a Removed MUNCH_LIBRARY. 2000-04-11 22:04:01 +00:00
Janet B. Anderson
3adbbdfedf Changed order of definitions. 2000-04-11 14:26:02 +00:00
Janet B. Anderson
227d3ac6d6 Added install_shrlib definition and allowed prod for ioc builds. 2000-04-11 14:25:37 +00:00
W. Eric Norum
b14725f360 Clean up task info display. 2000-04-11 01:18:49 +00:00
W. Eric Norum
a785881d9f Clean up formatting.
Allow for more semaphores -- sequencers use a whole bunch!
2000-04-11 01:15:48 +00:00
Janet B. Anderson
0c09c096db Added include of definitions common to all Unix target archs. 2000-04-07 23:10:09 +00:00
Janet B. Anderson
15a42eaf49 Commented out jba changes. 2000-04-07 22:32:43 +00:00
W. Eric Norum
cd54f99b71 Reflect changes to file names. 2000-04-07 22:24:29 +00:00
Janet B. Anderson
3cf2a7bcb8 Changed os filenames to form CONFIG[_SITE].<host>.<target>. 2000-04-07 21:18:01 +00:00
W. Eric Norum
2378bce7f6 Try harder to destroy mutex semaphores. If an attempt to destroy one
fails because it is locked, try again after unlocking it.  This won't
work if the thread has recursively locked the mutex, but it seems to
be fine for all the cases the EPICS uses.
2000-04-07 17:21:39 +00:00
Janet B. Anderson
d387eedb35 Made xxx_RESS an += definition. 2000-04-07 15:43:31 +00:00
Janet B. Anderson
3c0501d790 Changed USER_VPATH to USR_VPATH.
Removed CPPFLAGS from CPP command line.
2000-04-07 15:41:56 +00:00
Janet B. Anderson
7946dfdc1a Separated command name from cpp and c flags.
Some cppflag and cflag names changed.
Added TARGET_OBJS and TARGET_RESS definitions.
Added CPPFLAGS to CPPSNCFLAGS definition.
2000-04-07 15:41:37 +00:00
W. Eric Norum
f05c0169bf Add loopback network interface.
Allow NULL `substitution' argument to dbLoadRecords.
2000-04-06 02:40:46 +00:00
W. Eric Norum
4656e2521c Return osiSpawnDetachedProcessNoSupport as required by src/iocinf.cpp. 2000-04-06 02:38:54 +00:00
Janet B. Anderson
4d8599fa3f Added HOST_LIB definitions. 2000-04-05 17:56:46 +00:00
Janet B. Anderson
0f68b08f44 Added sequencer flags. 2000-04-05 17:55:48 +00:00
Janet B. Anderson
204da30d2f Moved include CONFIG_SITE.Host.<host>. 2000-04-05 17:54:52 +00:00
Janet B. Anderson
e7cc15e120 Removed comment. 2000-04-05 17:53:08 +00:00
W. Eric Norum
079a610185 Add some RTEMS source files. With these added to libCom the EPICS Makefiles
can produce a complete RTEMS executable image.
2000-04-05 16:51:36 +00:00
W. Eric Norum
7b505c00aa RTEMS initialization routines.
Adding this file to libCom lets the EPICS Makefiles produce a complete
RTEMS executable image.
2000-04-05 16:49:11 +00:00
William Lupton
45d8f94f26 changed to printf in threadShow 2000-04-03 22:38:31 +00:00
William Lupton
dad9f18ed8 removed threadSleep from threadShow 2000-04-01 01:24:03 +00:00
Janet B. Anderson
607a5139ee Fixed shared library version number. 2000-03-30 19:10:33 +00:00
Janet B. Anderson
65aefb4137 Added TESTPROD. 2000-03-30 16:49:36 +00:00
Janet B. Anderson
b3d6cb0fb9 Remove reference to SHRLIB_PREFIX. 2000-03-29 22:46:09 +00:00
Janet B. Anderson
2f49d49e5b Changed linux to Linux. 2000-03-29 22:00:01 +00:00
Janet B. Anderson
760de21777 Bug fix for arch dep ldlibs. 2000-03-29 19:07:42 +00:00
Janet B. Anderson
0a21339f99 Added R3.14 libraries. 2000-03-29 19:04:50 +00:00
Janet B. Anderson
baab92ab51 Added epics base definition. 2000-03-29 17:28:13 +00:00
Marty Kraimer
4ed07d37b9 TSinit now automatically called 2000-03-29 16:49:17 +00:00
Marty Kraimer
f2d0369337 add code to automaticall call TSinit 2000-03-29 16:47:31 +00:00
Marty Kraimer
be0f79c2cd vxSrc => iocSrc 2000-03-29 14:57:30 +00:00
Janet B. Anderson
faadcce444 Upward compatibility changes for extensions. 2000-03-28 21:53:47 +00:00
Janet B. Anderson
551724839b Fix uninstall rule for WIN32. 2000-03-28 21:06:12 +00:00
William Lupton
ad88ed900d added more info (and short sleep) to threadShow 2000-03-28 20:30:07 +00:00
Janet B. Anderson
b22811bf98 Replaced double slashes with single slash. 2000-03-28 18:56:14 +00:00
Janet B. Anderson
50fa302c6f Dir vxSrc replaced by iocSrc. 2000-03-28 18:50:02 +00:00
Janet B. Anderson
edefaef38b Changed double slashes to single slashes. 2000-03-28 18:29:16 +00:00
Marty Kraimer
dc3cdbf00b add INSTALL_HOST_BIN 2000-03-27 20:31:29 +00:00
W. Eric Norum
ae4890e59a RTEMS now allows locked simple binary semaphores to be deleted. 2000-03-26 02:01:26 +00:00
W. Eric Norum
e1f69a21e9 Let dbtr process the record after acquiring the lock. 2000-03-23 22:29:58 +00:00
Janet B. Anderson
9ab28d75c8 Removed README file. 2000-03-23 21:37:44 +00:00
Janet B. Anderson
54b1d79775 Added include of registerRecordDeviceDriver rules file. 2000-03-23 21:35:50 +00:00
Janet B. Anderson
a53226c318 Fixed include of RULES file. 2000-03-23 21:32:20 +00:00
Janet B. Anderson
3d3292a42f Munched library now always built. 2000-03-23 21:30:42 +00:00
Janet B. Anderson
f1335baee2 Added <name>_OBJS 2000-03-23 21:27:48 +00:00
Janet B. Anderson
5af6cf3ac0 Modified comments about platform specific objects 2000-03-23 21:26:02 +00:00
Janet B. Anderson
f0a489ba75 Added LIBOBJS. 2000-03-23 21:22:47 +00:00
Janet B. Anderson
299fcdf81d Always build munched library. 2000-03-23 21:21:50 +00:00
Janet B. Anderson
859548d51b Adding files from epics/startup. 2000-03-23 20:52:24 +00:00
Marty Kraimer
dc56ff0b0d pvEventQueuePostSingleEventNoop noew returns void 2000-03-23 14:15:42 +00:00
Marty Kraimer
d2cf024099 strip trailing 0s and . from scan task names 2000-03-22 21:38:39 +00:00
Marty Kraimer
9f3c93ef94 get correct order 2000-03-22 21:21:23 +00:00
Marty Kraimer
1001f39f9f build dbPutNotifyInitiate and dbPutNotifyDestroy 2000-03-22 21:20:20 +00:00
Marty Kraimer
d2a396536f allow papTSD to be created in Get 2000-03-22 21:16:42 +00:00
Marty Kraimer
89f0141257 added threadHighestPriorityLevelBelow,threadLowestPriorityLevelAbove 2000-03-22 20:22:57 +00:00
Jeff Hill
63852bb1f9 change single event post to return void 2000-03-22 17:37:40 +00:00
Marty Kraimer
37245fe309 added pvAdapter 2000-03-22 17:13:37 +00:00
Jeff Hill
1f748b515c changed init func to return void 2000-03-22 16:58:02 +00:00
Marty Kraimer
800b45a28b separate pvAdapter definitions from cadef 2000-03-22 16:49:58 +00:00
Jeff Hill
7de7df7b58 fixed problem with win32 dll keywords and added new interface 2000-03-21 23:55:03 +00:00
Jeff Hill
23255f64a0 fixed problem with win32 dll keywords 2000-03-21 23:53:51 +00:00
Janet B. Anderson
25c789100e Fix for user name. 2000-03-21 22:44:57 +00:00
Janet B. Anderson
af001a6f8e Added clean for MUNCH rule files. 2000-03-21 22:01:44 +00:00
Janet B. Anderson
11abd060ed Move -fPIC -D_REENTRANT to UnixCommon target config file. 2000-03-21 21:26:12 +00:00
W. Eric Norum
18586d2026 Add preliminary `show' information. 2000-03-21 21:10:03 +00:00
Janet B. Anderson
f7776419f0 Added -fPIC -D_REENTRANT to gnu compiler builds. 2000-03-21 19:26:19 +00:00
Marty Kraimer
5f907737c5 changes per Benjamin Franksen 2000-03-21 19:23:28 +00:00
Jeff Hill
99d8271d84 removed extra include 2000-03-21 19:16:19 +00:00
Jeff Hill
de0f3dc9ed removed rsrv_init() definition 2000-03-21 19:16:01 +00:00
Jeff Hill
86ee372527 added libCom dependency 2000-03-21 18:52:27 +00:00
Marty Kraimer
50a696dd83 change example for iocCore on host 2000-03-21 18:49:23 +00:00
Jeff Hill
0b71825578 dont wrap other header files with extern "C" 2000-03-21 18:47:31 +00:00
Jeff Hill
d71cc2b7b3 cosmetic 2000-03-21 18:43:13 +00:00
Jeff Hill
1f58d2722e improved samnity checking for search/claim requests 2000-03-21 17:11:24 +00:00
Jeff Hill
eda62d862f install rsrv.h 2000-03-20 23:15:16 +00:00
W. Eric Norum
b35e62ed07 Ensure that semaphore is destroyed even if it is held by the calling task. 2000-03-20 23:08:46 +00:00
Jeff Hill
e2c7b26c60 removed test message 2000-03-20 22:38:57 +00:00
Jeff Hill
486a30ea01 removed bogus include 2000-03-20 21:30:16 +00:00
Janet B. Anderson
098accfc7d Commented out CROSS_COMPILER_TARGET_ARCHS definition. 2000-03-20 19:18:45 +00:00
Janet B. Anderson
f26614a8f5 Added SRCS and PROD_SRCS 2000-03-18 04:57:43 +00:00
Janet B. Anderson
2b835b0ff3 Added munching. 2000-03-17 23:35:28 +00:00
Janet B. Anderson
05763a415a Added c++ munching for vxWorks. 2000-03-17 23:16:36 +00:00
Janet B. Anderson
6bcb2da54f Added c++ munching. 2000-03-17 23:15:27 +00:00
William Lupton
5d3e80838c added ca 2000-03-17 23:08:10 +00:00
William Lupton
cc51f3d449 added html 2000-03-17 21:16:25 +00:00
W. Eric Norum
58ff396eef Fix test for PV name termination. 2000-03-17 20:16:17 +00:00
W. Eric Norum
61bba9985b Set task variable notepad entry properly.
Ensure that a threadPrivateGet before a threadPrivateSet returns a NULL pointer.
2000-03-17 19:58:27 +00:00
Marty Kraimer
60564f4758 run iocInit 2000-03-17 19:40:27 +00:00
Marty Kraimer
3a2b543bfb fix bugs 2000-03-17 16:38:06 +00:00
W. Eric Norum
07d72972f0 Add dummy implementation of osiSpawnDetachedProcess. 2000-03-16 23:21:12 +00:00
Marty Kraimer
e776939e60 add threadInit() 2000-03-16 20:58:36 +00:00
Marty Kraimer
8833a4f33e add date since vxWorks doesnt supply it 2000-03-16 20:56:05 +00:00
W. Eric Norum
2853828297 Give the initial thread a `taskVar' structure.
Add functions to compute next higher and next lower priority level.
2000-03-16 18:59:02 +00:00
Janet B. Anderson
0cea0d7991 Updated release and added cvs tag definition. 2000-03-16 15:38:06 +00:00
Janet B. Anderson
ba75cd3066 Added cvs tag to epics release strings. 2000-03-16 15:35:45 +00:00
Jeff Hill
4ebcbd5f50 added new priority manipulating routines 2000-03-16 02:25:10 +00:00
Marty Kraimer
740f2de82a add test for threadPrivate 2000-03-15 21:36:02 +00:00
Marty Kraimer
eef55f43cc added threadInit() 2000-03-15 20:20:10 +00:00
Marty Kraimer
ebfe6d3d50 changes so that example works on vxWorks 2000-03-15 20:11:14 +00:00
Marty Kraimer
ac597db46f add definition for sysClkRateGet 2000-03-15 19:10:51 +00:00
Marty Kraimer
e67d89e8a6 changes so things build 2000-03-15 18:49:33 +00:00
Jeff Hill
5c10c3b409 proper flush for claim messages 2000-03-15 16:05:38 +00:00
Marty Kraimer
cc40e5989e changes to build on solaris and vxWorks 2000-03-15 14:19:52 +00:00
William Lupton
0149a2c6e0 made threadPrivate error messages (some) dependent on errVerbose 2000-03-15 00:14:01 +00:00
William Lupton
96f0eea5bd supported BSD timeval 2000-03-15 00:13:30 +00:00
Jeff Hill
62dd1dfef8 link with the db library 2000-03-14 23:16:43 +00:00
Jeff Hill
20f46a2283 cosmetic 2000-03-14 22:55:12 +00:00
Jeff Hill
4602470c64 changed function names 2000-03-14 22:49:41 +00:00
Jeff Hill
a96e26b018 moved new definitions here 2000-03-14 22:48:49 +00:00
Jeff Hill
e854d70404 dont include net_convert.h 2000-03-14 22:46:45 +00:00
Jeff Hill
b9ab41263e changed symbol names and moved routines within the file 2000-03-14 22:45:58 +00:00
Jeff Hill
99cf6c259f dont include addrList.h 2000-03-14 22:45:03 +00:00
Jeff Hill
d98f89a45f use new symbol name 2000-03-14 22:42:00 +00:00
Jeff Hill
a76d253bd3 added dll export keywords 2000-03-14 22:41:30 +00:00
Jeff Hill
ffe00db8a9 added new line at EOF 2000-03-14 22:39:05 +00:00
Jeff Hill
d92991d035 added port config fetch 2000-03-14 22:35:06 +00:00
Jeff Hill
9f26419e89 removed unused -Ds 2000-03-14 22:32:14 +00:00
Jeff Hill
833ea12de9 made compatible with new version of cac 2000-03-14 22:30:05 +00:00
Marty Kraimer
f809f3a716 lock for ++nthreadPrivate 2000-03-14 21:18:05 +00:00
Marty Kraimer
7ffd786c1c remove definition of callbackRequest 2000-03-14 20:54:39 +00:00
Marty Kraimer
eb3bb1d5ce call threadInit() in main 2000-03-14 20:33:52 +00:00
Marty Kraimer
9edfa9f2e6 threadPrivateMutex not necessary 2000-03-14 20:31:20 +00:00
Marty Kraimer
606441c089 changes for 3.14 2000-03-14 20:23:07 +00:00
Janet B. Anderson
cb57dc29e2 Updated dll libs. 2000-03-14 20:09:28 +00:00
Janet B. Anderson
06faf45271 Updated dll libs. 2000-03-14 20:03:04 +00:00
Marty Kraimer
7aef8a2766 unistd.h not available on winXX 2000-03-14 19:57:14 +00:00
William Lupton
b3b992c697 removed 'const' from ca_add_fd_registration arg 2000-03-14 19:40:23 +00:00
Marty Kraimer
80e8ba8419 include unistd.h 2000-03-14 19:36:29 +00:00
Marty Kraimer
0e80cdb41d include dbAccess.h instead of defining dbLoadRecords 2000-03-14 19:32:11 +00:00
Marty Kraimer
18cfa83a26 threadOnceMutex => threadPrivateMutex 2000-03-14 19:27:10 +00:00
Marty Kraimer
47631977f3 remove redundent db_access.h 2000-03-14 19:11:27 +00:00
Jeff Hill
a8d3509088 fixed DLL import problem 2000-03-14 19:05:17 +00:00
W. Eric Norum
614a83fad3 Use mutex to prevent race in threadPrivateCreate.
Use RTEMS task notepad instead of task variables to implement private
thread variables.
2000-03-14 18:49:27 +00:00
Jeff Hill
049e46366b fixed WIN32 DLL inmort/export issues 2000-03-14 18:23:47 +00:00
Jeff Hill
39a65244b5 link DLL with CA 2000-03-14 18:21:45 +00:00
Jeff Hill
53753e3bf6 use ansi prototype 2000-03-14 17:13:42 +00:00
W. Eric Norum
f7f517e27d Add definition for SOCKADDR_HAS_LEN -- this ensures the the correct
code in default/osdNetIntf.c is used.
2000-03-14 16:51:11 +00:00
W. Eric Norum
6ee30c7d0f Group os-dependent code into a single location.
Add SOCKADDR_HAS_LEN conditional.
2000-03-14 16:50:20 +00:00
Jeff Hill
1a426076b1 fixed prototype for ca_add_exception_event() 2000-03-14 16:47:24 +00:00
Jeff Hill
bc3802b106 fixed missing #define in Solaris build 2000-03-14 16:20:04 +00:00
Jeff Hill
f072daf26e cleaned up include order 2000-03-14 16:04:35 +00:00
Jeff Hill
71e9d31ccd added osdNetIntf.c 2000-03-14 16:02:06 +00:00
Janet B. Anderson
a49827b9bc Added dbLoadTemplate.h dependancy. 2000-03-14 15:46:34 +00:00
Jeff Hill
f285e77d5f added osdNetIntf.c 2000-03-14 15:09:11 +00:00
W. Eric Norum
0665dc7eb3 Add newline at end of file. 2000-03-13 22:43:34 +00:00
Jeff Hill
74f1058f52 fixed more sun pro warnings 2000-03-13 22:33:38 +00:00
W. Eric Norum
697df77aad Add some definitions. 2000-03-13 22:24:50 +00:00
Jeff Hill
6cb1493727 sun pro warnings 2000-03-13 22:23:40 +00:00
Jeff Hill
fa7986c634 fixed sun pro warnings 2000-03-13 22:11:12 +00:00
W. Eric Norum
99777c8c38 Protect calls to gethostbyname and gethostbyaddr with a mutex.
On Solaris and RTEMS (and perhaps others) these routines are not thread-safe.
2000-03-13 21:44:29 +00:00
Jeff Hill
20b809963b fixed sun pro warning 2000-03-13 21:36:56 +00:00
Jeff Hill
c9aabdcfac fixed sun pro warnings 2000-03-13 21:35:19 +00:00
Jeff Hill
0ca000e6fe fixed sun pro warnings 2000-03-13 21:30:06 +00:00
Jeff Hill
970c037703 more fixes for sun pro warnings 2000-03-13 21:08:43 +00:00
Jeff Hill
5e37f1b01c more sun pro warning fixes 2000-03-13 21:04:36 +00:00
Jeff Hill
0b99eea4e5 more fixes for sun pro warnings 2000-03-13 20:58:20 +00:00
Marty Kraimer
0a7b76b7ce minor changes so things build 2000-03-13 20:46:07 +00:00
Marty Kraimer
3866810d01 add struct dbCommon; 2000-03-13 20:45:10 +00:00
Jeff Hill
8cc078c466 fixed more sun pro warnings 2000-03-13 19:42:11 +00:00
Marty Kraimer
1ab3714211 make threadPrivate mthread safe 2000-03-13 19:11:09 +00:00
Jeff Hill
b895eb0d18 fixed sun pro warning 2000-03-13 18:10:48 +00:00
Jeff Hill
8c1bd84bf3 backed out certain sun pro compiler warning fixes 2000-03-13 17:56:12 +00:00
Jeff Hill
7c8f9d0530 fixed more sun prowarnings 2000-03-13 17:39:34 +00:00
Jeff Hill
311925da0e fixed sun pro warnings 2000-03-13 17:30:36 +00:00
Jeff Hill
2699b86153 fix some of the Cfront like Sun Pro warnings 2000-03-13 17:17:27 +00:00
Jeff Hill
44774e69b7 doc 2000-03-13 16:48:49 +00:00
Jeff Hill
b9d17e8a1e use virtual destructor 2000-03-13 16:44:00 +00:00
Jeff Hill
45621fb8b6 file now ends in a new line 2000-03-13 16:42:55 +00:00
Jeff Hill
f79190200f getting size_t from stddef.h is more portable 2000-03-13 16:12:55 +00:00
Janet B. Anderson
b63ccc7962 Added -g to G++_OPT_YES. 2000-03-13 16:04:44 +00:00
Jeff Hill
e028f5b09a fixed gnu warning 2000-03-13 15:58:12 +00:00
Janet B. Anderson
d6997574f3 Added -g to GCC_OPT_YES. 2000-03-13 15:55:16 +00:00
Jeff Hill
dd0cc4722d fixed unintialized local problem 2000-03-13 15:46:43 +00:00
Jeff Hill
d50a3bd0dd remoded const from puser member 2000-03-13 15:45:56 +00:00
Jeff Hill
c9f1ec72d1 better way to fix gnu warnings 2000-03-13 15:37:11 +00:00
Jeff Hill
d02b8a526d fixed gnu warnings 2000-03-13 15:35:11 +00:00
William Lupton
06f49001ff added ca_puser() 2000-03-13 09:48:20 +00:00
William Lupton
03fd3956d5 added SD_BOTH definition 2000-03-13 08:51:01 +00:00
William Lupton
3c76688a88 added missing 'miu.' in 'usr_arg' references 2000-03-13 08:50:41 +00:00
W. Eric Norum
3cb400f0c1 Add definition for SD_BOTH. 2000-03-13 01:15:56 +00:00
W. Eric Norum
df52a9b1fa Need to include sys/types.h to get size_t declaration. 2000-03-13 01:15:05 +00:00
W. Eric Norum
e944b442b2 Always provide `extern' declaration of dbr_size, dbr_value_offset, and
dbr_value_size.  For some reason g++ makes these `local' unless the
extern declaration is present.
2000-03-13 01:13:39 +00:00
W. Eric Norum
ecd0ce91e5 Move conditional inclusion of stdarg.h after conditional define of CAC_ANSI_FUNC_PROTO. 2000-03-13 01:10:30 +00:00
W. Eric Norum
f0eeaecdc1 Add explicit initialization for nullBuff -- gcc complained otherwise. 2000-03-13 01:08:47 +00:00
Jeff Hill
7a173ed34c vxWorks does not have SD_BOTH ?? 2000-03-11 01:39:59 +00:00
Jeff Hill
0767a35b96 first cut at multi-threading version 2000-03-11 01:35:27 +00:00
Jeff Hill
a266d0e586 first cut at multi-threading version 2000-03-11 01:27:54 +00:00
Jeff Hill
63c647198c first cut at multi-threading version 2000-03-11 01:15:28 +00:00
Jeff Hill
64dceda8e3 add extern keyword to file scope variable definition for visual C++
depite the fact that their doc indicates that this is not required.
2000-03-10 16:16:18 +00:00
Marty Kraimer
8f8b3b0b76 change order of defs 2000-03-09 21:56:44 +00:00
Ralph Lange
2ce6c32816 Length fix for ControlEnum mapping (analogous to GraphicEnum fixes) as suggested by S. Allison 2000-03-09 20:32:03 +00:00
Jeff Hill
bbcec6d58d support for C++ 2000-03-09 19:24:51 +00:00
Jeff Hill
289587f87e added const to string tables 2000-03-09 17:33:43 +00:00
Janet B. Anderson
f70b5a12f1 Added DIRECTORY_TARGETS to buildInstall dependancies. 2000-03-09 17:30:33 +00:00
Marty Kraimer
f1579761db changes for initialization errors 2000-03-09 15:38:17 +00:00
Jeff Hill
b04776e855 added missing win32 keywords 2000-03-09 01:50:09 +00:00
Jeff Hill
a8937526bf made two routines static 2000-03-09 01:41:32 +00:00
W. Eric Norum
a02cd4b95d Don't call threadInit from threadCreate -- just print an error message and stop.
This avoids problems with recursive failures should a function called by
threadInit call errlogPrintf.
2000-03-08 23:26:12 +00:00
Marty Kraimer
a1df362b2c epicsPrintf=>errlogPrintf; threadSuspendSelf replaces abort 2000-03-08 21:11:40 +00:00
Marty Kraimer
a0065fb2eb more changes for threadInit 2000-03-08 21:09:21 +00:00
Marty Kraimer
bc42a7d000 prevent problems when threadInit not called 2000-03-08 18:50:58 +00:00
Marty Kraimer
a13bf6cc0e prevent recursive calls if errlogInit fails 2000-03-08 18:49:56 +00:00
Jeff Hill
6573b34b01 win32 related keywords 2000-03-08 16:25:20 +00:00
Jeff Hill
ff0fcde762 doc 2000-03-08 16:24:20 +00:00
Jeff Hill
887fc4cd67 dont wrap include files with extern "C" - let the files themselves take care of it 2000-03-08 16:23:29 +00:00
Jeff Hill
74f7d15487 changed to binary 2000-03-08 16:21:01 +00:00
Jeff Hill
f1467f153b removed so that I can do a binary add 2000-03-08 16:16:29 +00:00
Jeff Hill
b7a2ca9239 fixed gnu version test 2000-03-08 16:12:08 +00:00
Janet B. Anderson
9d282499fd Fixed link line in C++ munching for VxWorks 2000-03-07 20:39:51 +00:00
W. Eric Norum
bd169cc2d5 Clean up threadOnceOsd.
Start up interrupt message daemon from threadInit.
2000-03-07 20:33:07 +00:00
Marty Kraimer
cdf3825c97 implement latest changes to osiThread.h 2000-03-07 20:24:54 +00:00
W. Eric Norum
4b3e30ddac Make RTEMS version of threadShow work like POSIX version when passed a
thread ID of 0 (print a header).
2000-03-07 17:44:00 +00:00
Marty Kraimer
1b3ca00e0a use threadOnce 2000-03-07 16:51:49 +00:00
Marty Kraimer
635df95acb use threadOnce; add lazy init 2000-03-07 14:51:05 +00:00
Jeff Hill
4ed3956c92 updated threadShow() and threadInit to match new interface from William 2000-03-06 23:45:32 +00:00
Janet B. Anderson
8b37a86446 Added dirs for libraries. 2000-03-06 22:14:42 +00:00
Janet B. Anderson
277d1fab82 Moved NM and MUNCH to vxWorks file. 2000-03-06 22:06:46 +00:00
Marty Kraimer
1c6e496995 split db_access.h so ca not dependent on db 2000-03-06 21:44:08 +00:00
Marty Kraimer
d9b4a5a4c3 remove include for cadef.h 2000-03-06 21:12:57 +00:00
Janet B. Anderson
267dd2cf99 Changed static build var names. 2000-03-06 20:30:46 +00:00
William Lupton
e47924e852 added #ifdef __cplusplus extern C definition 2000-03-06 20:21:31 +00:00
Janet B. Anderson
9d0ec7c0d5 Modified AR and RANLIB definitions. Added OP_SYS_CPPFLAGS.
Added defs for gnu bin and lib.
2000-03-06 19:56:10 +00:00
Janet B. Anderson
955e6ae607 Updated comments. 2000-03-06 19:54:09 +00:00
Janet B. Anderson
c3c6810de6 Added cygwin. 2000-03-06 19:37:03 +00:00
William Lupton
75f9864349 added threadInit call to threadCreate (it _is_ safe!) 2000-03-06 18:16:46 +00:00
Janet B. Anderson
555fa3ed44 Removed unused reference to _NO_PROTO and unused LIBTYPE definition. 2000-03-06 14:57:13 +00:00
W. Eric Norum
2645a038f1 Add call to threadInit before starting tests.
Change threadShow to threadShowAll.
2000-03-06 01:16:33 +00:00
W. Eric Norum
7c93a18b2a Reflect changes to osiThread.h. New `show' functions. Implement threadInit. 2000-03-05 21:44:06 +00:00
William Lupton
1125a4fe09 added threadInit, threadExitMain and modified threadShow family 2000-03-04 02:59:50 +00:00
William Lupton
820fb6bd6c restored setting of id to 1 after func call in threadOnce (added comments) 2000-03-03 18:37:41 +00:00
Marty Kraimer
9dcfc96a10 in threadOnceOsd get rid of *id = 1 after call to func 2000-03-03 16:37:00 +00:00
Marty Kraimer
cd630a1424 change defs for threadOnceOsd; remove threadIsReady 2000-03-03 16:33:00 +00:00
Marty Kraimer
ed23308c88 execute many times so that time is random 2000-03-03 15:11:28 +00:00
Marty Kraimer
25b1ab8e23 pdbbase is defined in dbAccessDefs.h 2000-03-03 13:38:42 +00:00
W. Eric Norum
ecfb9eac2f Clean up in preparation for release of threadInit. 2000-03-03 01:45:23 +00:00
Janet B. Anderson
cecd7f8a92 Only build vxWorks directory when there is a vxWorks target. 2000-03-02 23:18:03 +00:00
Janet B. Anderson
7dd69d1f6c Reorganized POSIX flags. 2000-03-02 21:20:19 +00:00
Marty Kraimer
39ed279872 cvtBpt.c moved from src/bpt to here 2000-03-02 19:14:35 +00:00
Marty Kraimer
fd157d320e changes for building win32 dlls 2000-03-02 19:11:40 +00:00
Janet B. Anderson
99455bfa18 Removed trailing semicolon on RANLIB command line. 2000-03-02 16:50:57 +00:00
Jeff Hill
a366afb80d added thread once 2000-03-02 00:00:01 +00:00
Jeff Hill
99dc24ef61 doc 2000-03-01 23:59:39 +00:00
Jeff Hill
9909fb1de1 fixed gnu warnings 2000-03-01 23:57:49 +00:00
W. Eric Norum
6952fcffc0 Avoid recursive lockups in threadOnce while still ensuring that a
preempting task does not incorrectly determine that the `init'
function has completed.
2000-03-01 23:47:19 +00:00
Jeff Hill
cb81dd020a fixed unterminated string 2000-03-01 23:22:10 +00:00
Jeff Hill
e3ec00e71d dont use C++ std lib 2000-03-01 23:19:25 +00:00
William Lupton
1f57197b5f threadOnce fix (fixes use of macro) 2000-03-01 23:14:18 +00:00
Jeff Hill
2e863b53a3 additional header files 2000-03-01 23:12:51 +00:00
Jeff Hill
56602e4ff9 added maxPosixFD() 2000-03-01 23:09:59 +00:00
Jeff Hill
4b1a83231f included additional header files 2000-03-01 22:53:36 +00:00
Jeff Hill
eb3179849b added newline at EOF for UNIX 2000-03-01 22:48:47 +00:00
Jeff Hill
1d58342fc4 move back to solaris 2000-03-01 22:43:05 +00:00
Jeff Hill
ba31a14dda transfer back to windows 2000-03-01 21:39:32 +00:00
Jeff Hill
db0f9d6541 checked in wrong version 2000-03-01 21:25:24 +00:00
Jeff Hill
c9cf18477b removed RTTI 2000-03-01 21:21:36 +00:00
Marty Kraimer
a93636fcfa add epicsShareAPI to asInit 2000-03-01 20:58:54 +00:00
William Lupton
273668a206 reverted inadvertent temporary local change 2000-03-01 18:51:01 +00:00
William Lupton
35f949f2cc threadOnceOsd fix for recursive invocations 2000-03-01 18:49:46 +00:00
W. Eric Norum
8fca36d03c Simplified implementation of threadOnce. 2000-03-01 18:22:51 +00:00
W. Eric Norum
664c03b8e6 Add RTEMS implementations of threadGetId and threadOnceOsd. 2000-03-01 15:09:05 +00:00
William Lupton
34449f547a new threadOnce implementation; added threadGetId 2000-03-01 02:30:20 +00:00
William Lupton
ed81b2df2f changed tsStrftime to tsStampToStrftime 2000-03-01 02:29:39 +00:00
Jeff Hill
8ede70eb66 fixed committed wrong file version 2000-03-01 00:59:55 +00:00
Jeff Hill
02db522092 installed 2000-03-01 00:39:26 +00:00
Jeff Hill
8f6cee8bfb use INVALID_SOCKET and new osi routines 2000-03-01 00:22:19 +00:00
Jeff Hill
3a832e9295 use double not long double 2000-03-01 00:19:45 +00:00
Jeff Hill
9aa1dd1b1d fixed for C++ 2000-03-01 00:19:05 +00:00
Jeff Hill
6ad327f551 added routines needed by CA 2000-03-01 00:17:51 +00:00
Jeff Hill
ab54980ca5 installed ... (again) 2000-03-01 00:17:16 +00:00
Jeff Hill
a30e9fd50e added routines needed by CA 2000-03-01 00:10:32 +00:00
Jeff Hill
3b41c114ea use location exception 2000-03-01 00:05:53 +00:00
Jeff Hill
34ee04b930 added routines needed by CA 2000-03-01 00:04:33 +00:00
Jeff Hill
df5d6fdbd0 installed 2000-03-01 00:03:56 +00:00
Jeff Hill
f8245e69c2 use location exception 2000-02-29 23:39:02 +00:00
Jeff Hill
5bfbd4c2e7 abort() is probably a better default than cantProceed on most os 2000-02-29 23:37:11 +00:00
Jeff Hill
93150b12d5 installed 2000-02-29 23:35:33 +00:00
Jeff Hill
00f93e250e added routines needed by CA 2000-02-29 23:34:53 +00:00
Jeff Hill
d8cbfb90a0 added SOCK_SHUTDOWN 2000-02-29 23:34:13 +00:00
Jeff Hill
4822b368d2 use location exception 2000-02-29 23:28:09 +00:00
Jeff Hill
a33c2b2b69 added location exception header 2000-02-29 23:26:04 +00:00
Jeff Hill
9a277c0a3b fixed deadlock 2000-02-29 22:47:41 +00:00
Janet B. Anderson
870a75d0ae Changes for win32 build. 2000-02-29 22:31:21 +00:00
Janet B. Anderson
a9955ee419 Changes for win33 build. 2000-02-29 22:29:37 +00:00
Janet B. Anderson
5396de28ee Added asHost_DIR and asIoc_DIR definitions. 2000-02-29 22:18:49 +00:00
Jeff Hill
b3d4bcb0ca use new API 2000-02-29 22:14:19 +00:00
Jeff Hill
84ee09ab8a use new API 2000-02-29 21:37:31 +00:00
Jeff Hill
2d68bb90ef fixed deadlock 2000-02-29 21:37:13 +00:00
Marty Kraimer
b7477bd63a add OSITHREAD_ONCE_INIT 2000-02-29 21:31:16 +00:00
Marty Kraimer
aa5d967405 dummy implementation of threadOnce for win32 2000-02-29 21:25:13 +00:00
Marty Kraimer
51faf1f45a move dbLoadDatabase and dbLoadRecords to dbAccess.c 2000-02-29 21:02:04 +00:00
William Lupton
5324e009c6 used new threadOnce() routine 2000-02-29 20:41:49 +00:00
William Lupton
6cc7f656c6 added threadOnce() implementation for posix and vxworks 2000-02-29 20:39:58 +00:00
Marty Kraimer
a477054b92 get includes correct 2000-02-29 19:41:53 +00:00
Marty Kraimer
5b1af69c04 fix includes 2000-02-29 19:35:52 +00:00
Marty Kraimer
1b379f1fa8 get rid of warnings 2000-02-29 19:34:40 +00:00
Marty Kraimer
186748dc8d more changes for win32 build 2000-02-29 19:33:37 +00:00
Marty Kraimer
612a3e975f include db_access.h 2000-02-29 19:26:34 +00:00
Marty Kraimer
15152e76da dummy threadShow 2000-02-29 18:42:16 +00:00
Marty Kraimer
2a4492056b changes for building win32 dlls 2000-02-29 16:04:50 +00:00
Marty Kraimer
cdf41e42c4 changes for building win32 dlls 2000-02-29 15:27:56 +00:00
Marty Kraimer
489f70323c call threadShow 2000-02-29 13:56:47 +00:00
Marty Kraimer
d531a281f4 define pdbbase in correct places 2000-02-28 22:35:16 +00:00
Marty Kraimer
4caa557842 still changes for building win32 dlls 2000-02-28 22:21:10 +00:00
Marty Kraimer
2802837e88 add epicsShareExtern for pamaplinkType 2000-02-28 22:13:37 +00:00
Marty Kraimer
7113b8c63a try moving dbCa.h 2000-02-28 21:26:19 +00:00
Marty Kraimer
77bc79f57a changes for win32 dlls 2000-02-28 21:22:56 +00:00
Marty Kraimer
2f96451fc5 changes for win32 dlls 2000-02-28 20:57:39 +00:00
Marty Kraimer
960d0499ef add decorated names 2000-02-28 20:50:12 +00:00
Marty Kraimer
e20bc046ba changes for building win32 dlls 2000-02-28 20:34:07 +00:00
Marty Kraimer
83000c4be8 move dbAccess.h 2000-02-28 20:12:11 +00:00
Marty Kraimer
dd94c5714e set pdbbase =0; 2000-02-28 20:11:07 +00:00
Marty Kraimer
5dabd895d8 added epicsShareAPI 2000-02-28 19:57:29 +00:00
Marty Kraimer
9184eab746 added 2000-02-28 19:53:42 +00:00
Marty Kraimer
3cf6b5d37a changes for creating win dlls 2000-02-28 19:40:58 +00:00
Marty Kraimer
36696976f1 epicsShareAPI on db_post_single_event 2000-02-28 16:53:46 +00:00
Marty Kraimer
e898373f4a add epicsShareAPI 2000-02-28 16:40:44 +00:00
Marty Kraimer
18d435ed34 move all definitions for putNotify to dbNotify.h 2000-02-28 16:31:02 +00:00
Marty Kraimer
c5c43911d8 dont call set_stacksize if USE_DEFAULT_STACK 2000-02-28 16:15:39 +00:00
Marty Kraimer
0b3c540b4f remove return 2000-02-28 15:41:14 +00:00
W. Eric Norum
2ed0736bd0 Reflect routine name change from threadSuspend() to threadSuspendSelf(). 2000-02-26 23:45:24 +00:00
W. Eric Norum
46dff5ec2b Break osiTimeTest into two parts like the other tests.
Build IOC version of osiTimeTest.
2000-02-26 17:55:40 +00:00
William Lupton
8c60195f4b various, mostly posix, thread mods 2000-02-26 03:11:42 +00:00
Marty Kraimer
7f2867d5d0 put include in correct place 2000-02-25 22:30:01 +00:00
Marty Kraimer
7a24fa2299 more changes for creating dlls 2000-02-25 22:28:44 +00:00
Marty Kraimer
92f89579f6 changes for creating DLLs 2000-02-25 22:01:31 +00:00
Jeff Hill
2ba7aa3741 added C++ support 2000-02-25 21:13:48 +00:00
Janet B. Anderson
5b3e659e18 Fixed typo on ARCH_alpha definition. 2000-02-25 21:08:35 +00:00
Janet B. Anderson
6ff00ea639 Added osithread default stack flags. 2000-02-25 20:55:31 +00:00
William Lupton
7295f22089 added tsStrftime() and corresponding osiTime support 2000-02-25 18:20:58 +00:00
Jeff Hill
c6892ef291 void * args 2000-02-25 16:31:11 +00:00
W. Eric Norum
07e164fa94 Add task name access routines.
Add preliminary `show task' support.
2000-02-24 22:21:22 +00:00
Marty Kraimer
fd910c14e6 add decorated names for stupid win32 2000-02-24 22:07:15 +00:00
Janet B. Anderson
4b931c83ed Added DIRs for dbIoc and dbStaticIoc. 2000-02-24 21:33:06 +00:00
Marty Kraimer
ed7eb18a52 include recGbl.h 2000-02-24 21:31:50 +00:00
Marty Kraimer
ca99984602 moved from libCom/misc to here 2000-02-24 20:37:14 +00:00
Marty Kraimer
f4ef2979b5 order of build 2000-02-24 20:35:29 +00:00
Marty Kraimer
3469bf6bc0 moved recSup.h to dbStatic 2000-02-24 20:34:45 +00:00
Marty Kraimer
95dfd8a179 moved from libCom/misc 2000-02-24 20:33:42 +00:00
Marty Kraimer
8923eeeae8 moved include files to where they belong 2000-02-24 20:33:06 +00:00
Marty Kraimer
671be8fc32 move to src/as 2000-02-24 19:49:49 +00:00
Marty Kraimer
6a1adf6bfd change build order 2000-02-24 19:48:27 +00:00
Marty Kraimer
fea2884cfe changes so that db doesnt call as 2000-02-24 19:47:22 +00:00
Marty Kraimer
59a559055e changes so that db doesnt depend on as; as on rec 2000-02-24 19:45:20 +00:00
Marty Kraimer
b0cd1f2103 moved asSub code from asDbLib to here 2000-02-24 19:44:18 +00:00
Marty Kraimer
c9578a7e6e add extern struct dbBase *pdbbase; 2000-02-24 16:33:00 +00:00
Marty Kraimer
01626bb37a include stdef.h 2000-02-24 16:27:54 +00:00
Marty Kraimer
bfa0f69f02 osiSem.cpp was not used 2000-02-24 16:25:43 +00:00
Marty Kraimer
894521916a move declaration for pdbbase from iocInit to dbAccess 2000-02-24 15:12:07 +00:00
Jeff Hill
792acfa505 work around WIN32 shutdown issues 2000-02-23 16:11:30 +00:00
Jeff Hill
a8b4c8a72a define WIN32 DLL entry points 2000-02-23 16:10:29 +00:00
Janet B. Anderson
85a7e8c70e Removed continuation to make code more readable. 2000-02-23 15:20:16 +00:00
Janet B. Anderson
5985e9ed86 Removed unused reference to INSTALL_OSINC. 2000-02-23 15:18:57 +00:00
Janet B. Anderson
0887e1481d Added tab to make code more readable. 2000-02-23 15:17:57 +00:00
Janet B. Anderson
2b4123c8c8 Removed rebuild action. Rebuild is a target. 2000-02-23 15:17:19 +00:00
Marty Kraimer
3d26617b91 drv before rec 2000-02-22 19:11:20 +00:00
Marty Kraimer
1a6a0ce01c change osiSockResource.h to osiSock.h 2000-02-22 19:07:16 +00:00
Marty Kraimer
a20f196f73 use dbIoc 2000-02-22 19:02:20 +00:00
Janet B. Anderson
ed4352d352 Updated library names. 2000-02-22 17:30:29 +00:00
Janet B. Anderson
4aa6d2bc23 BPTS now created in install directory. 2000-02-22 16:49:39 +00:00
Janet B. Anderson
c4ed1f1aef Install all CONFIG.Host.* and CONFIG_HOST_ARCH.* files. 2000-02-22 16:20:07 +00:00
Janet B. Anderson
b274169fde Added <name>_SRCS to depends rule dependancies. 2000-02-22 16:17:30 +00:00
Janet B. Anderson
e92caebae3 Added file for backward compatability to old HOST_ARCH env var. 2000-02-22 16:16:10 +00:00
Janet B. Anderson
740c2e1eee Upated comments. 2000-02-22 16:08:28 +00:00
Janet B. Anderson
af1069de03 BPTS, DBDNAME, RECTYPES, and MENUS now created in install directory. 2000-02-22 16:07:59 +00:00
Janet B. Anderson
9470cf0edc Changed HOST_ARCH to EPICS_HOST_ARCH. 2000-02-22 16:03:03 +00:00
Janet B. Anderson
6083f3836b Removed references to LIBSRCS_HOST and LIBSRCS_IOC. 2000-02-22 16:00:34 +00:00
Janet B. Anderson
87e8e8d702 Changed HOST_ARCH to EPICS_HOST_ARCH. Include os/CONFIG_COMPAT. 2000-02-22 15:59:49 +00:00
Janet B. Anderson
a96a3f7333 Added output file name as an optional command line param. 2000-02-22 15:57:17 +00:00
Janet B. Anderson
ee38a74c9a File dbCommon.h now created in install include directory. 2000-02-22 15:55:53 +00:00
Marty Kraimer
3a5faa5e84 use YYYY/MM/DD 2000-02-21 19:30:21 +00:00
Marty Kraimer
bba9d246d1 define storage for pdbbase 2000-02-21 19:25:42 +00:00
Marty Kraimer
08e5895e0c get rid of warning; get rid of threadDestroy 2000-02-21 19:24:47 +00:00
Marty Kraimer
3171c257b9 same changes as for 3.13.3 2000-02-21 19:22:22 +00:00
Marty Kraimer
2876b88b8d when building dbCommon only look in source directory 2000-02-21 19:19:49 +00:00
Marty Kraimer
8ce6d07bb7 latest build rules 2000-02-21 19:15:18 +00:00
Marty Kraimer
027d9e1407 nothing left to build 2000-02-21 15:39:56 +00:00
Jeff Hill
50b63036cd taskwdInit() needs ANSI style func proto that specifies no args
not any num of args
2000-02-17 22:00:47 +00:00
Jeff Hill
0839180648 dont import libCom symbols 2000-02-17 21:59:35 +00:00
Marty Kraimer
c6a1eb28a0 moved to libCom/taskwd 2000-02-17 20:59:53 +00:00
Marty Kraimer
cda567985c moved taskwd.c taskwd.h from src/db to src/libCom/taskwd 2000-02-17 20:59:17 +00:00
Marty Kraimer
c428d5cd05 more changes for threadPrivate 2000-02-17 20:33:03 +00:00
W. Eric Norum
7c1a8cd4ff Change implementation of thread-private storage to one similar to the
vxWorks implementation by Andrew Johnson APS/ASD.
2000-02-17 19:25:18 +00:00
Marty Kraimer
2fddb8a998 get rid of threadIsReady 2000-02-17 17:17:01 +00:00
Marty Kraimer
24c780d8c1 added 2000-02-17 16:48:06 +00:00
Marty Kraimer
b1118e6ec4 more changes for osdThread.c 2000-02-17 15:39:56 +00:00
Marty Kraimer
b90c209436 added implementation for threadPrivate 2000-02-16 22:03:39 +00:00
Janet B. Anderson
723f82ed14 Removing man files. 2000-02-16 19:53:05 +00:00
Janet B. Anderson
8aa7142663 Removing man files. 2000-02-16 19:39:47 +00:00
Jeff Hill
083528799d removed use of ANSI "long double" 2000-02-15 22:02:23 +00:00
Jeff Hill
86207a8540 added dbl include guard 2000-02-15 22:00:50 +00:00
Janet B. Anderson
f3bcb99847 Modified comments. 2000-02-15 21:16:01 +00:00
Janet B. Anderson
9c40bd12ad Fixed HTML definition. 2000-02-15 16:20:41 +00:00
Janet B. Anderson
e13e8bdb2f Modified HTMLS definitions. 2000-02-14 17:20:22 +00:00
Janet B. Anderson
570cdeb332 Updated compiler definitions. 2000-02-14 15:51:47 +00:00
Janet B. Anderson
1930763d86 Added site files for Linux cross-compile. 2000-02-14 15:46:07 +00:00
Janet B. Anderson
3e4f68ef05 Made all ranlib command lines the same. 2000-02-14 15:42:45 +00:00
Janet B. Anderson
0a9bffe14d Allow cross compiles on all hosts. 2000-02-14 15:41:29 +00:00
Janet B. Anderson
a4800bd0e6 Modified library names in xxx_DIR lines. 2000-02-12 00:04:30 +00:00
Janet B. Anderson
d1fadc46cc Moved include for CONFIG_SITE.Host.<host_arch>. 2000-02-11 23:47:31 +00:00
Marty Kraimer
0a8f657117 provide better error behavior for main host thread 2000-02-11 21:01:20 +00:00
Janet B. Anderson
3accdb732f Added HTMLS. 2000-02-11 20:13:41 +00:00
Marty Kraimer
de8a6213b0 get correct name for .html files 2000-02-11 19:55:21 +00:00
Janet B. Anderson
adf7f9ae01 Added HTMLS. 2000-02-11 17:30:41 +00:00
Janet B. Anderson
88ca942bec Converted man to html. 2000-02-11 17:19:09 +00:00
Marty Kraimer
d85256a196 add timerTest 2000-02-11 17:01:42 +00:00
Marty Kraimer
ff969e6f48 tsStampOK on success; att \n at end of file 2000-02-11 16:55:56 +00:00
Marty Kraimer
6d5037eef3 queue.show => show 2000-02-11 16:54:37 +00:00
Janet B. Anderson
411751338b Added DIR for dbStaticHost. 2000-02-10 21:41:46 +00:00
Marty Kraimer
c6ba37abce add db/test 2000-02-10 21:19:29 +00:00
Marty Kraimer
555e714f66 initialize taskwdInit, errlogInit, callbackInit 2000-02-10 21:06:46 +00:00
Janet B. Anderson
24a25463bb Added HTMLS. 2000-02-10 20:50:40 +00:00
Janet B. Anderson
693e2ee541 Modified TOP definition. 2000-02-10 19:22:16 +00:00
Janet B. Anderson
ec61ce1ee7 cxxTemplates files now moved to libCom/cxxTemplates. 2000-02-10 19:19:24 +00:00
Janet B. Anderson
28ee655784 Removed cxxtemplates dir because it was moved to libCom. 2000-02-10 19:09:05 +00:00
Janet B. Anderson
6ea9658055 Added INC files from cxxTemplates. 2000-02-10 19:07:46 +00:00
Marty Kraimer
e8ae54e916 build changes 2000-02-10 19:06:32 +00:00
Marty Kraimer
f69e9f4323 look for UDF after calling dbPutStringNum 2000-02-10 19:04:55 +00:00
Jeff Hill
26ca503aa2 dont include osiSockResource.h 2000-02-10 17:47:13 +00:00
Jeff Hill
7233e6f9d3 self define ERROR and OK 2000-02-10 17:45:37 +00:00
Jeff Hill
8e0b78d9d2 removed 2000-02-10 17:43:45 +00:00
Jeff Hill
2c1d3f334d removed use of OK 2000-02-10 17:42:19 +00:00
Jeff Hill
23cc035607 fixed dll symbol export 2000-02-10 17:36:51 +00:00
Jeff Hill
7dee3a3543 include shareLib.h 2000-02-10 17:35:47 +00:00
Jeff Hill
910338853b removed include of shareLib.h 2000-02-10 17:35:06 +00:00
Jeff Hill
a7a236f2f7 removed C++ style comments 2000-02-10 16:26:39 +00:00
Jeff Hill
161306a4f5 implemented vxWorks pool status 2000-02-10 16:13:59 +00:00
Jeff Hill
0c7674036c many changes 2000-02-10 16:05:01 +00:00
Marty Kraimer
aed8054f38 new tests for db 2000-02-10 15:47:37 +00:00
Marty Kraimer
89e5563437 get rid of threadGetName 2000-02-10 15:46:01 +00:00
Marty Kraimer
ff7a40d68c define dbCalloc 2000-02-10 15:45:22 +00:00
Marty Kraimer
d510c65e6b ' in c++ comment caused c to fail 2000-02-10 15:06:03 +00:00
Marty Kraimer
521a605f3b change c++ comment to c comment 2000-02-10 14:59:02 +00:00
Marty Kraimer
a062a27c95 logic wromg in threadIsReady 2000-02-10 14:03:15 +00:00
Marty Kraimer
f5497b827d cosmetic changes 2000-02-10 14:02:04 +00:00
Jeff Hill
3fe6392a93 code to protect against potential race condition when timer queue is destroyed 2000-02-09 22:18:05 +00:00
Jeff Hill
ff75a04031 fixed more sun pro detected problems 2000-02-09 22:04:18 +00:00
Jeff Hill
73fbfb7d1e dont include C++ headerfiles from C code 2000-02-09 21:58:48 +00:00
Jeff Hill
7ed3a4cc3b fixed problems detected by Solaris compiler 2000-02-09 21:53:18 +00:00
Jeff Hill
f31710a3d2 upgraded db event api 2000-02-09 21:20:50 +00:00
Jeff Hill
8aec0f3ecd converted to ANSI function definition 2000-02-09 21:08:09 +00:00
Jeff Hill
aa7de061e7 added struct tag to db_field_log type 2000-02-09 21:07:01 +00:00
Jeff Hill
f4d4776218 added func proto 2000-02-09 21:05:58 +00:00
Jeff Hill
06296ab7c5 added fix for old versions of gnu 2000-02-09 20:59:54 +00:00
Jeff Hill
3361eaa349 made compatible with gcc 2.7.2 2000-02-09 20:48:49 +00:00
Jeff Hill
951df5f436 fixed main() return 2000-02-09 20:47:21 +00:00
Jeff Hill
5ad2970bd1 update 2000-02-09 20:11:05 +00:00
Jeff Hill
ed268367ac converted const static data member to static member func for old gnu compilers 2000-02-09 19:49:31 +00:00
Jeff Hill
182945fa93 removed sunos bs 2000-02-09 17:15:41 +00:00
Jeff Hill
8ac0c5ad92 added "int" to main() proto 2000-02-09 17:12:16 +00:00
Jeff Hill
c603248935 fixed iterator class pTable => table ref 2000-02-09 16:56:23 +00:00
Jeff Hill
714a8876ed fixed function pointer 2000-02-09 16:51:42 +00:00
Jeff Hill
276caa520d added double include protection 2000-02-09 16:50:54 +00:00
Jeff Hill
b913b747b0 removed epicsShareClass from template 2000-02-09 16:49:56 +00:00
Jeff Hill
77167f76c7 fixed problems with the gnu compiler 2000-02-09 16:41:22 +00:00
Jeff Hill
b503a7b4cf converted to new makefile format 2000-02-09 16:40:44 +00:00
Jeff Hill
c2faad0590 removed unused variable 2000-02-09 16:29:32 +00:00
Jeff Hill
ee3ee9d2ad updated to new makefile format 2000-02-09 16:07:32 +00:00
Marty Kraimer
2f1cdc98a5 change DBBASE to struct dbBase 2000-02-09 15:31:03 +00:00
Jeff Hill
1fe1e0a658 still working gnuu warning 2000-02-09 01:16:40 +00:00
Jeff Hill
e912796d4f fixed gnu warning 2000-02-09 01:06:46 +00:00
Jeff Hill
ce28781b77 fixed gnu warnings 2000-02-09 00:53:51 +00:00
Jeff Hill
50cefc7a13 fixed gnu warning 2000-02-09 00:44:12 +00:00
Jeff Hill
e82530365f fixed gnu warnings 2000-02-09 00:40:24 +00:00
Jeff Hill
384892fda6 fixed gnu warning 2000-02-09 00:33:30 +00:00
Jeff Hill
8026cdc26a fixed gnu warnings 2000-02-08 23:15:18 +00:00
Janet B. Anderson
b2273b8a37 Updated library OBJS name. 2000-02-08 23:04:28 +00:00
Jeff Hill
fb62ba0dc2 tip toe around sun pro compiler bug 2000-02-08 22:10:23 +00:00
W. Eric Norum
a23d093e29 Remove task argument to threadSuspend(). 2000-02-08 20:14:59 +00:00
Janet B. Anderson
110e3b4cf3 Removed comment. 2000-02-08 20:05:22 +00:00
Jeff Hill
27f94174b2 base warnings on warn flag and not opt flag 2000-02-08 19:56:40 +00:00
Marty Kraimer
1fc8e02193 added newline to end of file 2000-02-08 19:55:02 +00:00
Jeff Hill
63e9600bf0 GNU does not like "extern" in friend 2000-02-08 19:28:56 +00:00
Jeff Hill
609fc8a3af fix MS warning, but dont cause problems with other C++ compilers 2000-02-08 19:25:52 +00:00
Jeff Hill
5f2b90bcea removed arg from threadSuspend 2000-02-08 19:10:06 +00:00
Jeff Hill
8cb8533077 added forward ref for socket API structures 2000-02-08 18:49:40 +00:00
Jeff Hill
304a015007 added missing include directive 2000-02-08 18:24:18 +00:00
Jeff Hill
42fce24eca fixed func proto 2000-02-08 16:01:14 +00:00
W. Eric Norum
3b7effc95b Make functions match prototypes. 2000-02-08 03:36:20 +00:00
Jeff Hill
444d42082f cleaned out osdSockResource 2000-02-08 00:20:26 +00:00
Jeff Hill
41447943fc installed 2000-02-07 23:13:28 +00:00
Janet B. Anderson
ea705fe025 Updated the ifndef at beginning of file. 2000-02-07 22:47:18 +00:00
Janet B. Anderson
af0f36394e Initial version. 2000-02-07 22:36:01 +00:00
Jeff Hill
4f06c40b09 added osiThread.cpp and removed link with unused WIN32 lib 2000-02-07 22:02:36 +00:00
Jeff Hill
c92e3235dd added C interface and made thread safe 2000-02-07 22:00:33 +00:00
Jeff Hill
8981b13b53 reinstalled osiTimeTest.cc 2000-02-07 21:59:58 +00:00
Jeff Hill
c7cbe12e65 updated 2000-02-07 21:59:21 +00:00
Jeff Hill
f9a17aaa6c under construction 2000-02-07 21:56:13 +00:00
Jeff Hill
b32f744d0e use ANSI function prototype 2000-02-07 21:54:31 +00:00
Jeff Hill
eb7cd78414 installed 2000-02-07 21:53:15 +00:00
Jeff Hill
bc75765342 removed extra arg from threaduspend() 2000-02-07 21:52:03 +00:00
Jeff Hill
4c9b75b5ad added zero length UDP flag 2000-02-07 21:50:42 +00:00
Jeff Hill
3d698c76cd many C++ related changes 2000-02-07 21:38:05 +00:00
Jeff Hill
ea59e4af15 use ANSI function prototype 2000-02-07 21:35:55 +00:00
Jeff Hill
f1708d65a7 removed ERROR and OK definitions since they are nolonger used
and vxWorks specific
2000-02-07 21:31:22 +00:00
Jeff Hill
c3f9a86b2f removed extra arg from threaduspend() 2000-02-07 21:17:05 +00:00
Jeff Hill
99e13d8304 use WIN32 DLL krywords 2000-02-07 21:07:31 +00:00
Jeff Hill
d15b7f24c1 use ANSI function prototype 2000-02-07 21:06:34 +00:00
Jeff Hill
b6488e07e3 use ANSI function prototype 2000-02-07 21:00:34 +00:00
Jeff Hill
9f529db910 added missing argument to threadSuspend() and made errVerbose
visible outside of WIN32 DLL
2000-02-07 20:35:20 +00:00
Janet B. Anderson
9ec0538624 Removed debug print statements. 2000-02-07 17:39:40 +00:00
Janet B. Anderson
b260a6aeac Modified library definitions. 2000-02-07 16:23:19 +00:00
Marty Kraimer
2d253ebb38 changes for build 2000-02-04 19:30:03 +00:00
Janet B. Anderson
6cdb0fc669 Added epicsShare API for win32 build. 2000-02-04 19:17:02 +00:00
Janet B. Anderson
7419689ffd Initial version. 2000-02-04 19:13:45 +00:00
Janet B. Anderson
c1726f67ab New method of building prod and libraries. 2000-02-04 19:12:57 +00:00
Janet B. Anderson
e70e3fba3e Changes for dll build. 2000-02-04 19:12:26 +00:00
Marty Kraimer
c9c95e603b ascheck_LIBS => PROD_LIBS 2000-02-04 16:22:12 +00:00
Marty Kraimer
192ac944c5 change errMdef to errlog 2000-02-04 16:21:55 +00:00
Marty Kraimer
6225d1daf1 bsdSocketResource=>osiSockResource 2000-02-04 15:52:33 +00:00
Marty Kraimer
019723bcb1 bsdSocketResource=>osiSockResource; extra arg for semXXXShow 2000-02-04 15:52:03 +00:00
Marty Kraimer
7a4da80075 get definition for ERROR 2000-02-04 15:42:54 +00:00
Marty Kraimer
b432361ab0 SHARED_LIBRARIES=NO 2000-02-04 15:20:12 +00:00
Janet B. Anderson
2b59fe270f Modified OBJS build. 2000-02-04 15:06:51 +00:00
Janet B. Anderson
3a74d9263b Remove references to MAN and changed OBJS build. 2000-02-04 14:57:30 +00:00
Marty Kraimer
8d6c6f7e1d latest version of semBinary 2000-02-04 14:43:58 +00:00
Marty Kraimer
ea27976241 latest version of osiThread 2000-02-03 21:56:33 +00:00
Marty Kraimer
1bbf5141d4 new implementation of semBinary 2000-02-03 20:27:30 +00:00
Janet B. Anderson
3dc04f401a Removed Makefile.Unix. 2000-02-03 16:16:34 +00:00
Jeff Hill
8eaf1a4451 fixed bug in error handling 2000-02-03 01:23:56 +00:00
W. Eric Norum
5e4c7e178f Check for correct RTEMS status code when obtaining a semaphore without waiting. 2000-02-03 01:01:50 +00:00
Janet B. Anderson
b40f003fb0 Fixed test stmnt errors in previous commit. 2000-02-02 23:08:18 +00:00
Janet B. Anderson
0476526aef Do nothing Makefile. 2000-02-02 22:42:20 +00:00
Janet B. Anderson
137ac31a23 Fixed test stmnt errors in previous commit. 2000-02-02 22:25:27 +00:00
Janet B. Anderson
af081e0786 Changed test order in while stmnts to prevent UMR problem. - Evans 2000-02-02 22:20:11 +00:00
Janet B. Anderson
1a11a13f28 Changed test order in while stmnts to prevent UMR problem. - Evans 2000-02-02 22:09:20 +00:00
Jeff Hill
d967ff6c2f added iterator test 2000-02-02 21:48:07 +00:00
Marty Kraimer
80eabf1529 use new callback Delay routines 2000-02-02 21:48:06 +00:00
Jeff Hill
17a7f128fc doc 2000-02-02 21:47:07 +00:00
Marty Kraimer
60427c66e2 new way to build 2000-02-02 20:06:49 +00:00
Marty Kraimer
9fe023c66a add callbackRequestDelayed and callbackRequestProcessCallbackDelayed 2000-02-02 19:55:51 +00:00
Marty Kraimer
8a2a27bfce sem*Show level is now unsigned 2000-02-02 19:50:06 +00:00
Marty Kraimer
bb37ab49f8 osiClock;osiwatchdog => callbackRequestDelayed 2000-02-02 19:43:38 +00:00
W. Eric Norum
506903d590 Finish conversion of task variable code from include file (INLINE) to functions. 2000-02-02 16:31:14 +00:00
Marty Kraimer
a1f275cdbd use errVerbose for posix osiSem osiThread messages 2000-02-02 15:07:21 +00:00
Marty Kraimer
b79dc734bf Show has additional argument 2000-02-02 14:58:59 +00:00
Janet B. Anderson
41f49187bc Portability change. 2000-02-01 21:42:24 +00:00
Janet B. Anderson
f640c2e82c Removed references to PRODMT. 2000-02-01 21:02:03 +00:00
Janet B. Anderson
f590dee35f Removed unneeded astrisk from clean rules. 2000-02-01 20:59:57 +00:00
Marty Kraimer
b8d7ab2f9d backout INLINE; add level argument to semXXXShow 2000-02-01 19:40:43 +00:00
Janet B. Anderson
48886ee4c8 Moved code from RULES to RULES_ARCHS. 2000-02-01 16:08:41 +00:00
Janet B. Anderson
0dcf44bf5c Fixed opt and warn flags. 2000-02-01 16:03:36 +00:00
Marty Kraimer
d6ec8c04cf add missing ) 2000-02-01 15:28:05 +00:00
Marty Kraimer
045410a368 another attemp at implementing priorities 2000-02-01 14:15:54 +00:00
Marty Kraimer
a7c0657cf1 add some tests 2000-02-01 14:14:56 +00:00
Marty Kraimer
5042abe7cc changes for ToOctalString and ToHwxString 2000-02-01 14:14:29 +00:00
Jeff Hill
7a8afecc34 removed include of osd files 2000-02-01 01:20:46 +00:00
Marty Kraimer
0d79fb26d5 change threadGetName to taskName 2000-01-31 22:26:15 +00:00
Marty Kraimer
4936435302 another attemp to use priorities 2000-01-31 22:25:41 +00:00
Jeff Hill
4761c987e6 fixed sun pro specific pragma 2000-01-31 20:14:55 +00:00
Janet B. Anderson
9af1ac0ad2 Modified comment. 2000-01-31 19:59:08 +00:00
Jeff Hill
9a9854de0d changed GNU from "extern __inline__" to "static __inline__" 2000-01-31 19:27:26 +00:00
Jeff Hill
834bb4a86b fixed no newline at eof 2000-01-31 16:54:53 +00:00
W. Eric Norum
bb656dbd6e Numerous modifications to track changes to OSI/OSD API. 2000-01-29 16:13:52 +00:00
Jeff Hill
6064fc8385 reduce WIN32 header file overhead 2000-01-29 02:44:02 +00:00
Jeff Hill
ee5ab27674 removed INLINE def 2000-01-29 02:29:48 +00:00
Jeff Hill
188c758172 added INLINE definition 2000-01-29 02:28:50 +00:00
Jeff Hill
f8256836b9 INLINE is now "extern inline" on GNU 2000-01-29 02:01:20 +00:00
Jeff Hill
0d6fd86fc3 fixed warning 2000-01-29 01:31:06 +00:00
Jeff Hill
a169822d7f use extern with inline on GNU compiler 2000-01-29 00:55:52 +00:00
Jeff Hill
19c8408fba include osdSem.h before any inline implementations 2000-01-28 23:27:31 +00:00
Marty Kraimer
e3c0ea762a add epicsShareFunc 2000-01-28 22:06:24 +00:00
Janet B. Anderson
0a6a1eb59d Added strip function to if tests. 2000-01-28 21:41:18 +00:00
Jeff Hill
33e1ff8d78 now has newline at the end of the file 2000-01-28 21:37:28 +00:00
Jeff Hill
d4096f5c5e removed error checking of localtime_r() because wrs does not implement
what is in the posix standard.
2000-01-28 21:15:30 +00:00
Jeff Hill
184abc2857 removed gmtime_r prototype 2000-01-28 21:07:49 +00:00
Jeff Hill
be67ff22e9 added gmtime_r 2000-01-28 21:07:21 +00:00
Jeff Hill
0b5ca385c3 added osiSockRes.c 2000-01-28 20:54:47 +00:00
Marty Kraimer
564b96136b still getting to work 2000-01-28 20:51:54 +00:00
Janet B. Anderson
6d04c9ba5a Added -I. include directory. 2000-01-28 20:40:49 +00:00
Marty Kraimer
4b799fa912 osdSocketResource => osiSockResource 2000-01-28 20:32:40 +00:00
Marty Kraimer
734eab20cc dont implement via header file 2000-01-28 20:04:16 +00:00
Jeff Hill
27dc01ea64 added include of stdlib.h for size_t 2000-01-28 19:59:29 +00:00
Jeff Hill
20298f75b8 removed INLINE from interface specification 2000-01-28 19:53:58 +00:00
Jeff Hill
199738304b file now ens in a new line 2000-01-28 19:41:05 +00:00
Jeff Hill
965b682614 file now ends in a new line 2000-01-28 19:39:48 +00:00
Jeff Hill
dfb737504d added thread var support 2000-01-28 19:36:17 +00:00
Janet B. Anderson
90de86e97e Changing INSTALL_LOCATION back to top. 2000-01-28 18:52:55 +00:00
Janet B. Anderson
d759163d10 Fixed directory specifications for files moved from src include. 2000-01-28 18:51:37 +00:00
Jeff Hill
0b8447b4d6 use new semId typedefs 2000-01-28 17:48:17 +00:00
Janet B. Anderson
e8d52c2e83 Removed include directory. 2000-01-28 17:42:48 +00:00
Janet B. Anderson
bcdb108e44 Added files which were moved from src/include. 2000-01-28 17:37:44 +00:00
Janet B. Anderson
ee8b00c079 Moved all files to libCom. 2000-01-28 17:36:16 +00:00
Jeff Hill
fa2752257a renamed files 2000-01-28 16:47:51 +00:00
Marty Kraimer
e517f56be5 latest version of osiSem and osiThread 2000-01-28 15:06:47 +00:00
Jeff Hill
35051088fd renamed files 2000-01-28 02:32:08 +00:00
Jeff Hill
d16b7ddfb9 renamed files 2000-01-28 02:24:14 +00:00
Jeff Hill
d184d47a67 renamed files 2000-01-28 02:09:15 +00:00
Jeff Hill
4126ec79f5 include osdInterrupt.h 2000-01-28 01:46:59 +00:00
Jeff Hill
1f5a026089 include osdPoolStatus.h 2000-01-28 01:46:19 +00:00
Jeff Hill
99f027fb44 include osdRing.h 2000-01-28 01:45:47 +00:00
Jeff Hill
b9edf9cf46 added thread private storage API 2000-01-28 01:45:10 +00:00
Jeff Hill
0e15963517 moved installed files under the base/install directory by default
added vpath for lex skel files
2000-01-28 01:43:34 +00:00
Marty Kraimer
6638fc6e1e semId => semMutexId and semBinaryId 2000-01-27 20:14:38 +00:00
Marty Kraimer
dbf87b772e semId => semMutexId and semBinaryId 2000-01-27 20:06:03 +00:00
Marty Kraimer
2d86915255 semIf => semMutexId 2000-01-27 19:58:36 +00:00
Marty Kraimer
407e23c772 add libCom/test 2000-01-27 19:51:40 +00:00
Marty Kraimer
72328cce1b semId => semBinaryId and semMutexId 2000-01-27 19:47:32 +00:00
W. Eric Norum
373df816e7 RTEMS-specific implementation of per-thread variable. 2000-01-27 19:44:01 +00:00
W. Eric Norum
3084c417c5 RTEMS-specific modifications to osiSem.h declarations. 2000-01-27 19:43:13 +00:00
Jeff Hill
584b825c96 removed .. rule for include install and added vpath directive
for .skel.static
2000-01-27 19:24:14 +00:00
Jeff Hill
bc02a4d156 restored .. rule for include file install 2000-01-27 18:59:10 +00:00
Jeff Hill
bf7da8c601 install headers to only include and inclode/$(OS_CLASS) 2000-01-27 18:50:18 +00:00
Marty Kraimer
393671c0b2 add tests; build new way 2000-01-27 17:07:22 +00:00
Janet B. Anderson
0184d31020 Fixed OJBS build and some LIBRARY changes. 2000-01-26 22:49:45 +00:00
Janet B. Anderson
f8f48527e1 Fixed include order. 2000-01-26 20:48:41 +00:00
Janet B. Anderson
578b35bd6f Changed order of build targets. 2000-01-26 20:33:23 +00:00
Janet B. Anderson
f3eed80f2d Converted to new build method. 2000-01-26 20:32:07 +00:00
Janet B. Anderson
e30336aee7 Fixed include line. 2000-01-26 20:16:22 +00:00
Janet B. Anderson
6e8fe801f1 Removed duplicate lines. 2000-01-26 20:15:13 +00:00
Janet B. Anderson
5c81147e30 Removed extra slash. 2000-01-26 20:14:17 +00:00
Janet B. Anderson
8d7c1ebbda Updated include line. 2000-01-26 20:13:32 +00:00
Janet B. Anderson
dbb02bd57e Added os/posix directory. 2000-01-26 19:22:43 +00:00
Janet B. Anderson
9f4b60bc2a Fixed library build. 2000-01-26 17:43:25 +00:00
Marty Kraimer
b02f2905b7 get rid of warnings about extern and INLINE conflict 2000-01-26 14:15:54 +00:00
Jeff Hill
c730c64c34 fixed timespec already defined on linux 2000-01-26 01:33:13 +00:00
Jeff Hill
82217b56a3 use WIN32 lean and mean 2000-01-26 01:29:17 +00:00
Janet B. Anderson
1e40474050 Added lines which were accidently removed. 2000-01-25 23:16:48 +00:00
Janet B. Anderson
8fda4a2d62 Converted to single Makefile build method. 2000-01-25 23:12:32 +00:00
Janet B. Anderson
0ede5ae624 Changed RULES_ARCHS to RULES. 2000-01-25 23:09:42 +00:00
Janet B. Anderson
f14a5e4635 C++ exceptions Yes for all archs except vxWorks and RTEMS. 2000-01-25 23:08:50 +00:00
Janet B. Anderson
8c122b3fb4 Added epicsShareAPI. 2000-01-25 21:37:05 +00:00
Janet B. Anderson
96c17fc49a Changes to fix win32 build of libraries. 2000-01-25 21:29:56 +00:00
Janet B. Anderson
027f160bc2 Added epics base library dirs for extensions. 2000-01-25 21:21:41 +00:00
Marty Kraimer
8106ba3d1e add this 2000-01-25 20:08:07 +00:00
Jeff Hill
a2c0682839 moved g++ optimixzation up also 2000-01-25 19:13:57 +00:00
Jeff Hill
747b4c856e turned on higher level of optimization in the optimized build 2000-01-25 19:09:28 +00:00
Jeff Hill
f3e6d3bc8f fixed declarations and include osdSem.h 2000-01-25 18:47:52 +00:00
Jeff Hill
5c54bab940 go ahead and redefine assert in traditional C 2000-01-25 18:27:50 +00:00
Marty Kraimer
573536e4ba threadLockContextSwitch not necessary 2000-01-25 15:08:48 +00:00
Janet B. Anderson
6ae86082b8 Converted to new build method. 2000-01-25 02:31:25 +00:00
Janet B. Anderson
5c54dfa7c6 CHanged to new build method. 2000-01-25 02:30:27 +00:00
Janet B. Anderson
455ef34301 Changed LIB to LIBRARY and made a few bug fixes. 2000-01-25 02:29:08 +00:00
Janet B. Anderson
93cdce4fbf Changed LIB to LIBRARY. 2000-01-25 02:24:48 +00:00
Janet B. Anderson
e1ec370fe8 Updated directory and exe suffix. 2000-01-25 02:22:31 +00:00
Janet B. Anderson
9220796e7e Converted to new build method. 2000-01-25 02:20:28 +00:00
Jeff Hill
4302eb2145 "must" functions are now inline and also OSI 2000-01-25 01:31:49 +00:00
Jeff Hill
ac891fde6a added definition of INLINE 2000-01-25 01:25:07 +00:00
Jeff Hill
02846c5acc no change 2000-01-25 00:32:19 +00:00
Janet B. Anderson
892aa868a4 Changed libComNew to libCom. 2000-01-24 22:49:32 +00:00
Marty Kraimer
946ee85869 moved where ca is built 2000-01-24 21:57:11 +00:00
Marty Kraimer
65d9c939bc new way to build 2000-01-24 21:56:08 +00:00
Marty Kraimer
4da3efe2a7 reorginized 2000-01-24 21:36:14 +00:00
Marty Kraimer
37dcdccd39 new way to build 2000-01-24 21:28:52 +00:00
Marty Kraimer
f05a15b8d6 new way to build; put pal stuff here 2000-01-24 21:26:11 +00:00
Marty Kraimer
44fddbddb9 new way to build 2000-01-24 21:18:45 +00:00
Marty Kraimer
99ef10d0c3 new way to build 2000-01-24 21:10:02 +00:00
Marty Kraimer
6d44e17e46 new way to build 2000-01-24 20:59:24 +00:00
Marty Kraimer
988d7d4969 new organization 2000-01-24 20:55:50 +00:00
Marty Kraimer
3377657ca2 new way to build 2000-01-24 20:44:57 +00:00
Jeff Hill
d3fd188e55 bye bye osiSleep 2000-01-21 00:58:20 +00:00
Jeff Hill
91ef01803b upgrade 2000-01-20 16:30:42 +00:00
Jeff Hill
9b77ed8956 fixed exception condition logic 2000-01-20 16:28:55 +00:00
Marty Kraimer
a42190fe9b eliminate multiply when delay=maxdelay 2000-01-20 14:34:25 +00:00
Ralph Lange
8a1e54433c IVOA/IVOV (raw support) fix (B. Franksen) 2000-01-18 08:00:27 +00:00
Marty Kraimer
ccfe089420 call the tsDrv routines 2000-01-17 18:54:33 +00:00
Marty Kraimer
f02e97e186 correct mistakes made in last set of changes 2000-01-17 15:55:01 +00:00
Ralph Lange
50d808ed39 += IVOV/IVOA support, UDF behaviour fixed. (B. Franksen) 2000-01-11 17:12:39 +00:00
Ralph Lange
d43f331cfb Change suggested by R. Wright (makes it work with perl 5.003) 2000-01-11 13:41:49 +00:00
Marty Kraimer
306913b991 replace osiClock calls with tsStamp calls 2000-01-07 13:36:51 +00:00
Jeff Hill
a0bba4fa7f added make host only comment 2000-01-05 21:53:09 +00:00
Jeff Hill
c48189c048 clarified the \ issue 2000-01-05 21:39:23 +00:00
Jeff Hill
8eeb61ee79 fixed doc nit 2000-01-05 20:38:17 +00:00
Marty Kraimer
e9e96d96d6 replace calls to tsDefs.h by calls to tsStamp 2000-01-05 20:22:35 +00:00
Jeff Hill
607166118c doc upgrade 2000-01-05 17:34:49 +00:00
Marty Kraimer
692b571e01 replace osiClock calls by tsStamp calls 2000-01-04 21:53:05 +00:00
Marty Kraimer
20196ff502 replace osiClock calls with tsStamp calls 2000-01-04 20:26:19 +00:00
Marty Kraimer
1c7e8ed138 change tsDefs.h to tsStamp.h 2000-01-04 20:22:10 +00:00
Jeff Hill
41f2d63faf removed include of String.h 2000-01-04 18:39:09 +00:00
Marty Kraimer
712fd5c133 dont include osiTime.h 2000-01-04 17:09:34 +00:00
Jeff Hill
0885e029d4 nSec => nsec (TS_STAMP fields) 1999-12-23 01:01:15 +00:00
Jeff Hill
9580811806 removed change log 1999-12-23 00:58:14 +00:00
Jeff Hill
fa2a1395a0 o created tsStamp.h
o include tsStamp.h into tsDefs.h
o use assert() instead of C++ exceptions on certain os
1999-12-22 23:12:51 +00:00
Jeff Hill
7a6bc4e1df turn off exceptions for all versions of vxWorks andd allow iterators to be copied 1999-12-22 23:05:18 +00:00
Jeff Hill
3992ca8e38 revised to use tsStamp.h 1999-12-21 23:17:02 +00:00
Jeff Hill
eda455f6f6 installed 1999-12-21 23:16:19 +00:00
Marty Kraimer
f9e516b9bd changes for osiSem changes 1999-12-14 22:08:05 +00:00
Marty Kraimer
4f40aa0953 Assert -> Must; add MustCreate; remove Flush 1999-12-14 21:43:54 +00:00
Jeff Hill
668451c43d use osiTime.h to get TS_STAMP 1999-12-14 21:35:34 +00:00
Jeff Hill
23f9771eae include iocLogClient.h 1999-12-14 21:33:01 +00:00
Jeff Hill
f0cb4f712a removed redundant func protos 1999-12-14 21:31:26 +00:00
Jeff Hill
a29b9f7c7a dont include tsSubr.h 1999-12-14 21:26:03 +00:00
Jeff Hill
8b7d1425e5 added C callable API 1999-12-14 21:19:38 +00:00
Jeff Hill
a24415f0c9 compare to INVALID_SOCKET not ERROR 1999-12-14 21:13:49 +00:00
Jeff Hill
6132a8762d added lookup and remove capability 1999-12-14 21:12:42 +00:00
Jeff Hill
e8d89c45b3 removed double decl of asInit() 1999-12-14 21:07:21 +00:00
Janet B. Anderson
2105d9776e Modified BPTS dependancies. 1999-12-14 16:21:27 +00:00
Janet B. Anderson
321aa893be Removed trailing blank space. 1999-12-14 16:08:56 +00:00
W. Eric Norum
161cff4c0d Initial checkin of RTEMS operating-system-specific routines. 1999-12-13 22:12:50 +00:00
Marty Kraimer
8239d64767 lock is no longer a fast_lock 1999-12-13 20:06:36 +00:00
Janet B. Anderson
7ee119b465 Added PROD_OBJS to PROD dependancies to fix "make depends". 1999-12-10 15:54:57 +00:00
Janet B. Anderson
adcb319a19 Converted to UNIX end of lines. 1999-12-07 20:52:03 +00:00
Janet B. Anderson
74996b22df Converted to unix end of lines. 1999-12-07 20:51:22 +00:00
Jeff Hill
94b3852f17 fixed compiler warnings 1999-12-07 20:33:08 +00:00
Jeff Hill
d2188f6a75 throw exception instead of assert() 1999-12-07 20:19:22 +00:00
Jeff Hill
c9b7c7391d use posix RT 1999-12-07 20:06:26 +00:00
Jeff Hill
650aeed2d5 throe exception on failure 1999-12-07 20:05:40 +00:00
Jeff Hill
ac0d96b4ae allow the timer queue to be specified 1999-12-07 18:00:16 +00:00
Jeff Hill
33b1003b85 removed def of fdctx as a stuct (now a void) 1999-12-07 17:58:16 +00:00
Jeff Hill
5ddf5b1a60 first cut 1999-12-07 17:54:25 +00:00
Jeff Hill
3ca20ae24b fixed DLL symbol export 1999-12-07 17:53:48 +00:00
Jeff Hill
2d14e18256 added fdmgrTest.cc 1999-12-07 17:50:12 +00:00
Jeff Hill
8471c1a92f nsec => nSec 1999-12-07 17:49:50 +00:00
Jeff Hill
0887c5be76 installed 1999-12-07 01:32:18 +00:00
Jeff Hill
fc89b62feb fixed typo 1999-12-01 00:00:13 +00:00
Marty Kraimer
3faec55a56 check for null errorMessage 1999-11-30 16:48:42 +00:00
Marty Kraimer
ec2993c492 add ca exception handler 1999-11-19 21:57:08 +00:00
Marty Kraimer
0100e71290 include dbDefs.h for TRUE and FALSE 1999-11-19 21:56:10 +00:00
Marty Kraimer
f77ceaa47c resolve diffs between Jeff's and my changes 1999-11-19 21:55:11 +00:00
Marty Kraimer
f798e984ab correct arg for wdCallback to get rid of warning messages 1999-11-19 21:54:35 +00:00
Marty Kraimer
8faa582734 provide ca exception handler 1999-11-19 21:53:41 +00:00
Marty Kraimer
2214ccf39c moved include dbEvent.h after include dbAccess.h to get rid of warning 1999-11-19 21:53:12 +00:00
Marty Kraimer
c57568eb19 changed task name 1999-11-19 14:34:52 +00:00
Janet B. Anderson
549b16e588 File cleanup. 1999-11-19 05:14:44 +00:00
Janet B. Anderson
e5b46707ec File cleanup. 1999-11-19 05:04:01 +00:00
Jeff Hill
8a74112ba3 added private parm to errLogAddListner 1999-11-19 02:15:20 +00:00
Jeff Hill
de4eecb462 added private parm to errLogAddListner 1999-11-19 02:09:49 +00:00
Jeff Hill
5a0a8d3fc2 log client is now portable 1999-11-19 02:08:15 +00:00
Jeff Hill
7f2fe5ee45 made this code portable and moved it to libCom 1999-11-19 02:02:36 +00:00
Jeff Hill
2f220d57bd fixed string overwrite bug 1999-11-19 00:26:12 +00:00
Marty Kraimer
f377202f20 for iocCore port 1999-11-18 21:45:11 +00:00
Marty Kraimer
1a1065ed89 changes to get example to build 1999-11-18 21:43:27 +00:00
Marty Kraimer
b8dd7a7659 change for apps 1999-11-18 21:41:30 +00:00
Jeff Hill
b88f58a9df visual C++ requires extern with defs 1999-11-18 20:57:09 +00:00
Jeff Hill
cb0edb09ca allow the current item in an iterator to be examined 1999-11-18 20:55:41 +00:00
Jeff Hill
4f0d8c08ad added keywords from shareLib.h 1999-11-18 20:46:11 +00:00
Jeff Hill
3529d5181c fixed bug where ++ -- operators were not properly guarded on RISC arch 1999-11-18 18:19:15 +00:00
Marty Kraimer
5423fc1409 new way to build 1999-11-18 17:33:08 +00:00
Marty Kraimer
fa9fa19552 moved to misc/os 1999-11-18 17:24:02 +00:00
Marty Kraimer
6dd786167a moved to here from vxWorksMT 1999-11-18 17:08:56 +00:00
Marty Kraimer
061076e229 more changes for iocCore port 1999-11-18 17:07:21 +00:00
Marty Kraimer
7e6a3c8f78 still changes for iocCore port 1999-11-18 16:23:22 +00:00
Marty Kraimer
bfe8599200 changes for iocCore port 1999-11-18 16:15:43 +00:00
Marty Kraimer
0194c36106 moved to os/osix/caOsDependent 1999-11-18 16:15:12 +00:00
Marty Kraimer
5f4db30d31 removed. Was not being built 1999-11-18 16:07:58 +00:00
Marty Kraimer
dd523e7f29 code moved to os/xxx/caOsDependent.c 1999-11-18 16:06:53 +00:00
Marty Kraimer
ede1ee1cdf new way to build 1999-11-18 16:05:40 +00:00
Marty Kraimer
cf2d3c3357 new way to build 1999-11-18 15:58:02 +00:00
Marty Kraimer
f91da5d830 moved to src/vxWorks 1999-11-18 15:55:58 +00:00
Marty Kraimer
567dde3e14 changes for iocCore port 1999-11-18 15:51:32 +00:00
Marty Kraimer
6e595f86ec new way to build 1999-11-18 15:46:14 +00:00
Marty Kraimer
ee56af725d get rid of vxWorks specific symbols 1999-11-18 15:45:27 +00:00
Marty Kraimer
079441dbe8 changes for iocCore port 1999-11-18 15:30:42 +00:00
Marty Kraimer
4ce334d59d new way to build 1999-11-18 15:27:46 +00:00
Marty Kraimer
2a55808079 added includes for vxWorks 1999-11-18 15:26:53 +00:00
Marty Kraimer
ab1f239953 moved to src/vxWorks/include 1999-11-18 15:24:07 +00:00
Marty Kraimer
9f06418137 new way to build 1999-11-18 15:22:15 +00:00
Marty Kraimer
76f7caa362 changes for iocCore port 1999-11-18 15:17:51 +00:00
Marty Kraimer
f62b50da17 new way to build 1999-11-18 14:48:25 +00:00
Marty Kraimer
a278c97d5a new way to build 1999-11-18 14:39:48 +00:00
Marty Kraimer
520992a494 new way to build 1999-11-18 14:15:08 +00:00
Marty Kraimer
75e91102b3 new way to build 1999-11-18 13:59:40 +00:00
Marty Kraimer
cf5e87149e moved to vxWorks specific code 1999-11-18 13:54:15 +00:00
Marty Kraimer
3f0cddfcfc new build method 1999-11-18 13:53:47 +00:00
Marty Kraimer
4ffa73832a new method of building 1999-11-18 13:40:20 +00:00
Marty Kraimer
e5b85bd61e new method of building 1999-11-18 13:32:17 +00:00
Marty Kraimer
ad46275c9e new makefile method; moved drvTS.h to vxWorks specific code 1999-11-18 13:30:07 +00:00
Marty Kraimer
b1efdf3bf3 new way to build 1999-11-18 13:27:50 +00:00
Jeff Hill
99db9bd2d6 reformatted 1999-11-17 16:20:03 +00:00
Jeff Hill
54400c12cf apparently IPPORT_USERRESERVED isnt defined on certain SGI OS versions 1999-11-16 22:12:37 +00:00
Jeff Hill
c856fe54c8 cosmetic 1999-11-10 23:12:33 +00:00
Jeff Hill
0f1f25a2b7 cosmetic 1999-11-10 22:49:35 +00:00
Jeff Hill
97ae761c9e cosmetic 1999-11-10 22:38:52 +00:00
Jeff Hill
01ca842066 added EMFILE to osi_sock.h 1999-11-08 21:56:23 +00:00
Jeff Hill
3e50a508f4 removed extern from epicsShareDef and moved extern in
epicsShareExtern
1999-11-08 21:52:23 +00:00
Jeff Hill
be623553b4 added shareLib.h macros 1999-11-08 21:48:31 +00:00
Jeff Hill
01a086a501 dont print too many messages if the host runs out of fd slots 1999-11-08 21:37:00 +00:00
Jeff Hill
5a49dcb206 added prenthesis around arguments to VALID_MSG macro 1999-11-08 17:14:43 +00:00
Jeff Hill
3ea50f1bb7 fixed problem with VALID_MSG(PIIU) macro 1999-11-08 17:01:43 +00:00
Jeff Hill
242af49758 use /GX so that exceptions will work 1999-11-05 02:10:55 +00:00
Jeff Hill
982dc928e7 added new functionality to allow replacement of vxWorks watchdogs 1999-11-04 01:32:37 +00:00
Jeff Hill
351971a749 fixed sunpro warning 1999-11-01 17:50:27 +00:00
Jeff Hill
14b4aa9a33 fixed sun pro warning 1999-11-01 17:47:11 +00:00
Jeff Hill
d9d261de0e fixed sun pro warning 1999-11-01 17:30:56 +00:00
Jeff Hill
b6cfdb91e3 fixed sunpro warnings 1999-11-01 17:16:15 +00:00
Jeff Hill
febba9698e fixed sun pro warnings 1999-10-30 00:12:37 +00:00
Jeff Hill
4046eeb612 added missing dbMappper.h include 1999-10-29 20:25:18 +00:00
Jeff Hill
1b9e7847f6 use extern in WIN32 global ddefs 1999-10-29 20:21:13 +00:00
Janet B. Anderson
f746894465 Rules now single colon. Added lost browser rules. Other fixes. 1999-10-29 18:46:12 +00:00
Janet B. Anderson
6875fc9d05 Rules now single colon. Added tarVersion. Fixed cleandirs and distclean. 1999-10-29 18:43:50 +00:00
Janet B. Anderson
8066c33172 Changed rules to single colon. Modified actionArchPart definition. 1999-10-29 18:32:09 +00:00
Janet B. Anderson
d8c67d3728 Changed rules to single colon rules. 1999-10-29 18:31:05 +00:00
Janet B. Anderson
6587460556 Changed comments. 1999-10-29 18:30:09 +00:00
Janet B. Anderson
3144214b81 Epics rules changed to single colon rules. 1999-10-29 18:27:21 +00:00
Janet B. Anderson
4e1469c373 Removed DIRS definition. (DIRS defined in RULES.iocBoot). 1999-10-29 18:19:30 +00:00
Janet B. Anderson
8a0cb2d358 Removed DIRS def (DIRS defined in RULES.iocBoot). 1999-10-29 18:18:19 +00:00
Janet B. Anderson
1c6891d93d Changed epics rules to single colon rules. 1999-10-29 18:13:37 +00:00
Jeff Hill
9461ed159f remove redundant includes 1999-10-29 00:42:04 +00:00
Jeff Hill
6739a6a0d5 disable microslock warning 1999-10-29 00:41:32 +00:00
Jeff Hill
ac6a1cae12 pPV -> this 1999-10-29 00:28:33 +00:00
Jeff Hill
01cb4f7266 removed extra & 1999-10-29 00:26:44 +00:00
Jeff Hill
573613c128 use reference to fetch const enum string table 1999-10-29 00:22:31 +00:00
Jeff Hill
75623f5add use fully qualified namespace names for C++ RTL classes 1999-10-28 23:33:41 +00:00
Jeff Hill
ef7df109ad removed unnecessary inline keywords 1999-10-28 20:37:25 +00:00
Jeff Hill
7b824136ea workaround for sun pro bug 1999-10-28 20:29:38 +00:00
Jeff Hill
f3dbdba8a8 fixed sun pro warnings 1999-10-28 19:16:59 +00:00
Jeff Hill
a8b9d79cdb fixed sun pro warning 1999-10-28 19:07:07 +00:00
Jeff Hill
f90b223a28 fixed gnu warnings 1999-10-28 19:00:34 +00:00
Jeff Hill
1a25db8776 doc 1999-10-28 19:00:05 +00:00
Jeff Hill
ef02bba1e6 removed use of aitTrure 1999-10-28 18:59:13 +00:00
Jeff Hill
d48d5c8337 use proper form of include 1999-10-28 18:56:22 +00:00
Jeff Hill
b2642612e9 added access to experimental diagnostic counters 1999-10-28 18:55:32 +00:00
Jeff Hill
a461bb8535 added enum string table cache to PV class 1999-10-28 18:53:56 +00:00
Jeff Hill
8ac6bec3d7 fixed gnu warnings 1999-10-28 18:48:41 +00:00
Jeff Hill
fbb7e014c0 moved ukn msg action to strm and dg clients 1999-10-28 18:46:40 +00:00
Jeff Hill
044ae25beb removed use of macro max() because it was classing with the C++ RTL 1999-10-28 18:12:54 +00:00
Jeff Hill
4bbd751526 fixed build of aitGen etc 1999-10-28 18:10:18 +00:00
Jeff Hill
599ec27356 dont send exception message if bad request received over UDP 1999-10-28 17:18:25 +00:00
Jeff Hill
2d963d94fe fixed gnu warnings 1999-10-28 16:07:26 +00:00
Jeff Hill
156a1ce3ea added enum string table access function 1999-10-28 16:05:22 +00:00
Jeff Hill
ca1dc3c9b1 newline added at EOF 1999-10-28 16:04:17 +00:00
Jeff Hill
2a13ae8a5f now supports copy only the addressed portions between one GDD
and another
1999-10-28 15:57:09 +00:00
Jeff Hill
d606338c2b special case enum to string conversion 1999-10-28 00:28:41 +00:00
Jeff Hill
e1f3efe521 many bugs fixed 1999-10-28 00:26:46 +00:00
Jeff Hill
c893f91513 defined new dbr types 1999-10-28 00:25:44 +00:00
Jeff Hill
6e4443db8c fixed vxWorks build 1999-10-28 00:22:51 +00:00
Janet B. Anderson
1857ca2ab3 R3.14 tools installed into bin. 1999-10-25 15:53:34 +00:00
Janet B. Anderson
e8913e439d Tools installed into <install_location>/config/tools. 1999-10-25 15:51:01 +00:00
Janet B. Anderson
cb6e8bb8cb Bug fix for include stmnt. 1999-10-22 21:21:02 +00:00
Ralph Lange
89310a0512 += copy any non-Apps under $top; allow links for apptype directories 1999-10-22 19:18:58 +00:00
Janet B. Anderson
9dba21fc83 Added iocCore dependancies. 1999-10-22 19:03:15 +00:00
Jeff Hill
a98628a581 reformatted 1999-10-21 23:41:11 +00:00
Janet B. Anderson
398a2f4241 Executables now from install directory. 1999-10-21 22:03:14 +00:00
Janet B. Anderson
e7695c09ad Added target-osclass specific flags. Added REENTRANT. Added DEPLIB_* flags. 1999-10-21 21:42:41 +00:00
Janet B. Anderson
735328b2f3 Converted to new target names. 1999-10-21 21:09:38 +00:00
Jeff Hill
7a38a9bc64 installed 1999-10-21 17:04:21 +00:00
Jeff Hill
818b4d87dd fixed Tornado II include file organization change 1999-10-21 17:02:39 +00:00
Jeff Hill
9a9ae9e857 fixed thread unsafe GDD build for vxWorks 1999-10-21 00:08:47 +00:00
Jeff Hill
ffd692df15 use new HOSTEXE variable 1999-10-20 22:51:59 +00:00
Jeff Hill
79c50d0617 changed :: rule to : rule when my version of gnu make stopped
during the build
1999-10-20 22:51:22 +00:00
Jeff Hill
b56faaa610 removed clean rule 1999-10-20 22:33:01 +00:00
Jeff Hill
a2ff8f4858 interface query updated to be compatible with Tornado II 1999-10-20 22:30:24 +00:00
Jeff Hill
66e6ece25d dont build if_depen.c under vxWorks 1999-10-20 22:26:01 +00:00
Jeff Hill
16e0762593 copy flags since they are now stored in a union 1999-10-20 22:21:24 +00:00
Jeff Hill
41ea8605ae use new HOSTEXE extension 1999-10-20 22:18:53 +00:00
Jeff Hill
de872007b1 Tornado II does not allow intConnect with intel compiler 1999-10-20 22:17:59 +00:00
Janet B. Anderson
c0cc7b7827 Added depends target. 1999-10-18 13:50:40 +00:00
Janet B. Anderson
ea1c318a76 Fixed typo distclean. 1999-10-15 18:43:40 +00:00
Janet B. Anderson
a677959426 Added depends rule. 1999-10-15 18:34:31 +00:00
Jeff Hill
7584199835 suspend task if ca_import() fails 1999-10-14 23:34:18 +00:00
Jeff Hill
37b25dd8dc dont detect a flow control situation when select is telling us there is
something to read when there isnt anything there
1999-10-14 23:25:10 +00:00
Janet B. Anderson
0f23813e7c Fixed install of inc files. 1999-10-14 14:40:14 +00:00
Jeff Hill
704b352ba4 cleaned up doc 1999-10-13 23:08:42 +00:00
Jeff Hill
54f10f1fe2 proper blocking test around the call to flow_control_on() 1999-10-13 22:35:04 +00:00
Jeff Hill
d7f730d49b reformatted tabs in the TCP recv stub 1999-10-13 22:30:32 +00:00
Janet B. Anderson
1b4a805233 Fixed install of tools files. 1999-10-13 20:02:45 +00:00
Janet B. Anderson
e7e124db0c Added config files with R3.14 target names. 1999-10-13 15:20:05 +00:00
Janet B. Anderson
290a2fb37c Removed drvTip810 inc line. 1999-10-13 14:40:44 +00:00
Janet B. Anderson
94a0aba549 Removed debug lines. 1999-10-13 14:36:54 +00:00
Jeff Hill
2e1c249fc2 updated comment 1999-10-12 22:43:38 +00:00
Janet B. Anderson
8b1b87c3f7 More R3.14 config file changes. 1999-10-12 22:19:30 +00:00
Janet B. Anderson
12c2acb9a1 Removed canDev and some Ipac files which should not be in R3.14. 1999-10-12 20:59:55 +00:00
Janet B. Anderson
d2b9d4c089 Removed canDev and some Ipac files which should not be in R3.14. 1999-10-12 20:50:53 +00:00
Janet B. Anderson
c5ff72cd29 More config file changes for R3.14. 1999-10-12 20:28:55 +00:00
Janet B. Anderson
86a17c77c8 More R3.14 Makefile changes. 1999-10-12 19:36:30 +00:00
Janet B. Anderson
9e38ce78ab Moved osi directory to libCom. 1999-10-12 19:35:47 +00:00
Janet B. Anderson
4651361f0c Moved registry headers to src/include. 1999-10-12 19:34:39 +00:00
Janet B. Anderson
1fe31a37ac Moved files to libCom/misc/os 1999-10-12 19:32:17 +00:00
Janet B. Anderson
e5288818a0 libCom source files moved to libCom/misc/generic. 1999-10-12 19:03:51 +00:00
Janet B. Anderson
b26cdad859 New directory structure for libCom. 1999-10-12 19:01:38 +00:00
Janet B. Anderson
78fe1595df Changes for WIN32 build. 1999-10-12 18:53:10 +00:00
Janet B. Anderson
51e4dd8b25 Portability changes. 1999-10-12 18:32:42 +00:00
Janet B. Anderson
fc74ecc875 More Makefile changes for R3.14. 1999-10-12 18:32:01 +00:00
Janet B. Anderson
14b32702ed Files moved from src/osi directory. 1999-10-12 18:23:03 +00:00
Janet B. Anderson
e1afac029d Moved asDbLib.h and asLib.h to src/include. 1999-10-12 18:04:08 +00:00
Janet B. Anderson
426b874353 More Makefile changes for R3.14. 1999-10-12 18:03:38 +00:00
Janet B. Anderson
eb4eca432b Moved cadev.h caerr.h and caeventmask.h to src/include. 1999-10-12 18:01:43 +00:00
Janet B. Anderson
1395ef2193 Moved devSup and drvSup header files to src/include. 1999-10-12 17:58:27 +00:00
Janet B. Anderson
07774fae24 More R3.14 Makefile changes. 1999-10-12 17:50:12 +00:00
Janet B. Anderson
2e46481600 More R3.14 changes. 1999-10-12 17:48:23 +00:00
Janet B. Anderson
78458d6edd More changes for R3.14. 1999-10-12 17:22:22 +00:00
Janet B. Anderson
0b1e5ef11a More changes for R3.14. 1999-10-12 16:35:38 +00:00
Janet B. Anderson
23005ec02f LIBRARY definition change for R3.14. 1999-10-12 16:33:30 +00:00
Janet B. Anderson
8f3c59e8cd Moved vxWorks.h include to top. 1999-10-12 16:30:23 +00:00
Janet B. Anderson
014d29859b RPOD and LIBRARY definition changes for R3.14. 1999-10-12 16:28:25 +00:00
Janet B. Anderson
43d0bfd6ac PROD definition changes for R3.14. 1999-10-12 16:27:25 +00:00
Janet B. Anderson
781edf1f88 More 3.14 changes. 1999-10-12 16:25:49 +00:00
Janet B. Anderson
a28811599e More R3.14 changes. 1999-10-12 16:23:56 +00:00
Janet B. Anderson
371606aae7 Removed comment lines and unused c and cpp flags. 1999-10-12 15:58:38 +00:00
Janet B. Anderson
eed1bbac79 Added files for ppc604 target. 1999-10-12 15:26:16 +00:00
Janet B. Anderson
4abd93b1a8 Config Makefile now installs config files. 1999-10-12 14:27:55 +00:00
Andrew Johnson
2fea617523 Added conditional #include "vxWorks.h" to the output file,
needed for Tornado 2.0 building.
1999-10-08 18:39:51 +00:00
Ralph Lange
83a39ab353 Changes for hp700 build 1999-09-29 13:20:03 +00:00
Ralph Lange
c3b7ffc766 Changes for hp700 build 1999-09-29 13:02:14 +00:00
Ralph Lange
876efc039f Bugfix 1999-09-29 12:13:43 +00:00
Janet B. Anderson
89063394ee Removed unused include of module_types.h 1999-09-22 18:59:59 +00:00
Janet B. Anderson
98cdce7147 Added makeBaseApp to dirs list. 1999-09-22 18:59:07 +00:00
Janet B. Anderson
88a60fbe6f Some 3.14 updates. 1999-09-20 22:16:30 +00:00
Janet B. Anderson
24aae2fad1 changes for 3.14 1999-09-20 20:58:06 +00:00
Janet B. Anderson
bb6ead1842 Def of TOP may come from command line. 1999-09-20 19:52:49 +00:00
Janet B. Anderson
e4d3983fad Fixed typo. 1999-09-20 19:48:31 +00:00
Janet B. Anderson
5883622f59 changes for 3.14 1999-09-20 19:43:29 +00:00
Janet B. Anderson
566922a184 LIBOBJS used for compatability. 1999-09-20 19:13:12 +00:00
Janet B. Anderson
231c1fb4bd Removed getLastWSAErrorAsString from LIBSRCS. 1999-09-20 19:07:53 +00:00
Janet B. Anderson
494e998695 single Makefile for 3.14 1999-09-20 18:52:51 +00:00
Jeff Hill
d279c25ffb added comment 1999-09-15 22:35:16 +00:00
Jeff Hill
4dab84e2e6 Tornado II defines _WIN32 ???? 1999-09-15 22:34:00 +00:00
Jeff Hill
bff25d93d2 Dont set the local interfaces's address in the msg header
when sending a beacon because it is difficult to predict
which interface will be used
1999-09-15 00:12:42 +00:00
Jeff Hill
9bf9641d7f changed the field name "m_type" to "m_dataType" to avoid
collision with a MACRO that is defined by the SENS IP stack
which is mandatory in WRS's Tornado II product.
1999-09-15 00:08:37 +00:00
Jeff Hill
6bb78c9725 removed cvs log 1999-09-15 00:06:02 +00:00
Jeff Hill
65d28cbe05 added Ken evans's event performance counters 1999-09-15 00:05:17 +00:00
Jeff Hill
0ef5c49519 changed the field name "m_type" to "m_dataType" to avoid
collision with a MACRO that is defined by the SENS IP stack
which is mandatory in WRS's Tornado II product.

Dont set the local interfaces's address in the msg header
when sending a beacon because it is difficult to predict
which interface will be used
1999-09-15 00:02:31 +00:00
Jeff Hill
b9cb4dbdba changed the field name "m_type" to "m_dataType" to avoid
collision with a MACRO that is defined by the SENS IP stack
which is mandatory in WRS's Tornado II product.
1999-09-15 00:00:40 +00:00
Jeff Hill
675342d709 set server ptr to nill in destructor 1999-09-14 23:59:16 +00:00
Jeff Hill
c1c8cd70f6 removed use of aitBool 1999-09-14 23:56:43 +00:00
Jeff Hill
214ce75781 use a protocol jump table 1999-09-14 23:54:57 +00:00
Jeff Hill
0df94ed5cd dont save interface's IP address when querying local interfaces 1999-09-14 23:54:24 +00:00
Jeff Hill
889a98b86f changed the field name "m_type" to "m_dataType" to avoid
collision with a MACRO that is defined by the SENS IP stack
which is mandatory in WRS's Tornado II product.
1999-09-14 23:51:22 +00:00
Jeff Hill
14e2645c00 added ca_signal_formatted () 1999-09-14 23:50:43 +00:00
Jeff Hill
90e5cbad9c changed the field name "m_type" to "m_dataType" to avoid
collision with a MACRO that is defined by the SENS IP stack
which is mandatory in WRS's Tornado II product.

dont use sprintf() buffer for exceptions
1999-09-14 23:49:08 +00:00
Jeff Hill
51deb91ce7 removed fetch of local address for the EPICS_CA_ADDR_LIST 1999-09-14 23:40:02 +00:00
Jeff Hill
c0fd63bc0e added ca_vprintf() function 1999-09-14 23:38:18 +00:00
Jeff Hill
a33c71e163 dont save interface's IP address when querying local interfaces 1999-09-14 23:35:37 +00:00
Jeff Hill
322c54aaf0 changed the field name "m_type" to "m_dataType" to avoid
collision with a MACRO that is defined by the SENS IP stack
which is mandatory in WRS's Tornado II product.
1999-09-14 23:29:39 +00:00
Jeff Hill
5c2dbe7de3 In this revision I no longer include the interface's IP address inside
the beacon message because it is difficult to predict which interface
will be used ahead of time, and because any beacon redirect
servers in use can always reassign the appropriate field in the
beacon message to the effective IP address.
1999-09-14 23:26:41 +00:00
Marty Kraimer
e4f77f1f73 remove tools 1999-09-14 14:42:10 +00:00
Marty Kraimer
f05667e9bb install tools 1999-09-14 14:39:17 +00:00
Marty Kraimer
4928f410d2 added configure 1999-09-14 14:38:23 +00:00
Marty Kraimer
8659af3ee4 moved to top/configure/tools 1999-09-14 13:30:24 +00:00
Marty Kraimer
faeda02dbd allow empty template 1999-09-14 13:27:05 +00:00
Marty Kraimer
c0bd9f4065 temporily dont build makeBaseApp 1999-09-14 13:25:43 +00:00
Marty Kraimer
03bdc1db83 latest notes 1999-09-14 13:25:00 +00:00
Marty Kraimer
c5f680196f added 1999-09-14 12:32:51 +00:00
Marty Kraimer
b6834c7957 moved to src/vxWorks 1999-09-13 21:07:56 +00:00
Marty Kraimer
c76a20731b moved to src/vxWorks 1999-09-13 21:01:09 +00:00
Marty Kraimer
1a70c8950f change for 3.14 1999-09-13 20:26:19 +00:00
Marty Kraimer
358b9544b2 new for 3.14 1999-09-13 20:22:21 +00:00
Marty Kraimer
d4a16bd8c5 changes for 3.14 1999-09-13 20:20:05 +00:00
Marty Kraimer
476cfe5cb7 changes for 3.14 1999-09-13 20:09:14 +00:00
Marty Kraimer
caa97ab4d0 changtes for 3.14 1999-09-13 20:07:33 +00:00
Marty Kraimer
fa275b9b20 temporary; should become part of other rules 1999-09-13 19:58:45 +00:00
Marty Kraimer
b829f6a75e use MSI instead of dbLoadTemplate 1999-09-13 19:57:52 +00:00
Marty Kraimer
810d85767b added for 3.14 1999-09-13 19:52:37 +00:00
Marty Kraimer
5b68f3c08e add some extra directorys 1999-09-13 19:50:55 +00:00
Marty Kraimer
1becf02fda changes for 3.14 1999-09-13 19:49:00 +00:00
Marty Kraimer
b38806a37e changes for configure 1999-09-13 19:46:33 +00:00
Marty Kraimer
3dc2fc9f19 3.14 has only a single Makefile 1999-09-13 19:44:06 +00:00
Marty Kraimer
dc2ba1c07f changes for 3.14 1999-09-13 19:39:55 +00:00
Marty Kraimer
4417db23fe new for 3.14 1999-09-13 19:33:37 +00:00
Marty Kraimer
76ef734aed changes for 3.14 1999-09-13 19:30:11 +00:00
Marty Kraimer
e27097edb3 only a single Makeffile for 3.14 1999-09-13 19:19:43 +00:00
Marty Kraimer
c786f54b63 changes for 3.14 1999-09-13 19:18:48 +00:00
Marty Kraimer
d9960fd24e moved to src/vxWorks/iocCore 1999-09-13 19:06:01 +00:00
Marty Kraimer
9ee612684d changes for 3.14 or moved to src/vxWorks/include 1999-09-13 19:05:05 +00:00
Marty Kraimer
cfa3ba381d single Makefile for 3.14 1999-09-13 19:00:31 +00:00
Marty Kraimer
bfb21afcce changes for 3.14 1999-09-13 18:54:51 +00:00
Marty Kraimer
3c2e5070ef unbundled or moved to /home/phoebus/MRK/epics/base/src/vxWorks/drv/ansi 1999-09-13 18:51:50 +00:00
Marty Kraimer
9a1a37fce2 moved to src/dbStatic/devOpt 1999-09-13 18:48:36 +00:00
Marty Kraimer
47d9fffc49 changes for 3.14 1999-09-13 18:42:59 +00:00
Marty Kraimer
e37bd9fac8 changes for 3.14 1999-09-13 18:28:08 +00:00
Marty Kraimer
9ac1e36d7a moved from src/db 1999-09-13 18:21:31 +00:00
Marty Kraimer
46e5f26dc0 single Makefile for 3.14 1999-09-13 18:17:59 +00:00
Marty Kraimer
6c9746edcb new way to build 1999-09-13 18:13:44 +00:00
Marty Kraimer
6b13ca6c7f most support moved to src/vxWorks 1999-09-13 14:33:56 +00:00
Marty Kraimer
c703c51e57 changes for 3.14 1999-09-13 14:31:36 +00:00
Marty Kraimer
ed28ac3cd7 cvtDctsdr is removed for 3.14 1999-09-13 14:15:22 +00:00
Marty Kraimer
306ef6cefb for 3.14 only a single Makefile 1999-09-13 14:09:42 +00:00
Marty Kraimer
19ec77dd64 changes for 3.14 1999-09-13 14:08:41 +00:00
Marty Kraimer
605eb45c0d for 3.14 only single Makefile 1999-09-13 13:46:31 +00:00
Marty Kraimer
293ac8bc52 changes for 3.14 1999-09-13 13:45:29 +00:00
Marty Kraimer
924eec5066 new for 3.14; replaces config 1999-09-13 13:36:29 +00:00
Marty Kraimer
a640ae2ce6 changes for 3.14; actually config is no longer used 1999-09-13 13:32:59 +00:00
Marty Kraimer
3cf31c2dd3 new way to build 1999-09-13 13:26:05 +00:00
Marty Kraimer
d4aa57badd build iocCore for vxWorks 1999-09-13 13:25:15 +00:00
Marty Kraimer
9295b678e9 new way to build 1999-09-13 13:15:40 +00:00
Marty Kraimer
3091b3c997 changes for 3.14 1999-09-13 13:11:45 +00:00
Marty Kraimer
cf8d70a5a0 new way to build 1999-09-13 12:55:21 +00:00
Marty Kraimer
a7086aee9c new build 1999-09-10 19:24:55 +00:00
Marty Kraimer
2206f63617 new way to build 1999-09-10 19:17:04 +00:00
Marty Kraimer
05230245da new build method 1999-09-10 19:14:43 +00:00
Marty Kraimer
035239516b new build method 1999-09-10 18:45:56 +00:00
Marty Kraimer
82aeec907e new 1999-09-10 18:39:22 +00:00
Marty Kraimer
c96b1eb2dc change malloc to calloc 1999-09-10 14:42:44 +00:00
Marty Kraimer
5e242c9d09 added 1999-09-10 14:05:12 +00:00
Jeff Hill
b8016d1713 fixed spelling 1999-09-09 18:54:55 +00:00
Jeff Hill
79caa85485 fixed spelling 1999-09-09 18:50:28 +00:00
Jeff Hill
973a03b477 dont build device and driver support for the simulator 1999-09-03 21:39:03 +00:00
Jeff Hill
76dd1474a8 workaround for Tornado II not using LONG_MAX and LONG_MIN
that are constants of type long
1999-09-03 20:20:48 +00:00
Jeff Hill
f4c3e9a3ac first cut 1999-09-03 20:11:59 +00:00
Jeff Hill
d7358084fe removed build of source file which is no longer used 1999-09-03 18:19:41 +00:00
Jeff Hill
12c5ad210d removed redundant -Fno-builtin 1999-09-03 15:45:44 +00:00
Jeff Hill
02fee71033 first cut 1999-09-03 15:39:50 +00:00
Jeff Hill
b920858d50 improved the way that socket error numbers are converted to strings
and cleaned up the osiMutex class
1999-09-02 22:13:49 +00:00
Jeff Hill
4439a11cb6 removed 1999-09-02 22:11:17 +00:00
Janet B. Anderson
92027086c2 Added distclean rule. 1999-09-02 22:04:18 +00:00
Janet B. Anderson
b4a0016a72 Modified link line in build rules. 1999-09-02 22:03:50 +00:00
Jeff Hill
33d29a458d o changed UDP to non-blocking IO
o cleaned up (consolodated) UDP interface class structure
1999-09-02 21:50:29 +00:00
Jeff Hill
971e71c28d improved the way that socket error numbers are converted to strings,
changed () to (void) in func proto, and fixed missing parameter to
checkConnWatchdogs() bug resulting from this
1999-09-02 21:44:50 +00:00
Jeff Hill
7ef021d8f2 improved the way that socket error numbers are converted to strings 1999-09-02 21:41:09 +00:00
Jeff Hill
d976c7e70b dont supress ENOBUFs message 1999-09-02 21:40:21 +00:00
Andrew Johnson
5181043b85 Fixed to use INUM_TO_IVEC() 1999-09-02 20:47:08 +00:00
Jeff Hill
05fb4aa04b improved access control message 1999-09-01 23:42:06 +00:00
Janet B. Anderson
42492ea5f2 Added == binary operator. 1999-09-01 22:36:16 +00:00
Jeff Hill
896a4e31a0 backed out epicsAssertPrintf() changes 1999-08-31 21:41:01 +00:00
Jeff Hill
b8cded5774 installed bsdSockRecCom.c 1999-08-31 18:49:34 +00:00
Jeff Hill
07c78b3adf clean up 1999-08-31 18:48:56 +00:00
Jeff Hill
1aaee1f798 move to proper date in file if iocLogServer opens old log 1999-08-31 16:03:27 +00:00
Jeff Hill
e9ebeb5202 move to proper date in file if open old log 1999-08-31 15:51:00 +00:00
Andrew Johnson
02c6dc08e0 Changed floats to double in alarm(), should be checked with full accuracy. 1999-08-30 21:34:38 +00:00
Andrew Johnson
bee1bb5c8f Fixed intConnect to use INUM_TO_IVEC macro 1999-08-30 20:18:42 +00:00
Janet B. Anderson
8b18735f25 Bug fix for EPICS_INCLUDES 1999-08-30 16:21:56 +00:00
Janet B. Anderson
8fb8ac5edb Added browse rule for MS VC++ source browser. 1999-08-30 15:08:07 +00:00
Janet B. Anderson
a07bc929ae Added another WIN32 source browser rule. 1999-08-27 22:12:37 +00:00
Janet B. Anderson
934db45a5b Corrected Hp compiler comment line. 1999-08-27 21:54:14 +00:00
Janet B. Anderson
addfff51fa Changes to remove bin and lib dirs. 1999-08-27 21:52:40 +00:00
Janet B. Anderson
e09684f012 Moved def of EPICS_INCLUDES to CONFIG_COMMON and reordered dirs. 1999-08-27 21:40:52 +00:00
Janet B. Anderson
d56d5b3e49 Added ifdef CPLUSPLUS around linker def. 1999-08-27 21:33:35 +00:00
Janet B. Anderson
2311c2bac6 Added ifdef for BAF. 1999-08-27 21:29:06 +00:00
Janet B. Anderson
a287ed9690 Add WIN95/NT source browser code. 1999-08-27 14:45:38 +00:00
Jeff Hill
f16b63da0b fixed bug where time sync UDP client was getting in a state where
it was using the response from the previous request, and ending
up setting the time 10 seconds back
1999-08-26 21:36:39 +00:00
Jeff Hill
22354438c7 reformat 1999-08-16 21:06:18 +00:00
Jeff Hill
880b6b8c92 removed build of casMsgIO.cc 1999-08-16 19:38:43 +00:00
Jeff Hill
5aaadb706f added epicsAssertPrintf 1999-08-16 17:21:47 +00:00
Jeff Hill
84ddc6291e use epicsAssert.h 1999-08-16 17:06:27 +00:00
Jeff Hill
f4a7751dc7 bail out if select returns errors besides EINTR 1999-08-12 20:46:29 +00:00
Jeff Hill
098b24055e return "no write access" when it is an SPC_NOMOD field 1999-08-11 19:40:56 +00:00
Jeff Hill
56f587bbcf dont increment file pos on error 1999-08-11 00:24:11 +00:00
Jeff Hill
b8ed5a2e1f track changes in osiTime 1999-08-10 21:27:06 +00:00
Jeff Hill
c6f2571762 use proper scanf format for type double 1999-08-10 21:20:24 +00:00
Jeff Hill
97e28bd97c reordered base initializers to quash g++ warnings 1999-08-10 21:15:53 +00:00
Jeff Hill
e7dd7eb9f4 reordered base initializers to quash g++ warnings 1999-08-10 20:47:08 +00:00
Jeff Hill
c7437dfcb2 changed format in show routine in case the LOCALE isnt Y2K compliant 1999-08-10 20:33:26 +00:00
Jeff Hill
4bf41e59ea removed inline keyword 1999-08-10 20:19:59 +00:00
Jeff Hill
4e84acafa2 moved inlines in order to eliminate g++ warnings 1999-08-10 19:57:15 +00:00
Jeff Hill
c62d42bbef moved inlines in order to eliminate g++ warnings 1999-08-10 17:23:55 +00:00
Jeff Hill
b316cb1d40 moved inlines in order to eliminate g++ warnings 1999-08-10 17:11:01 +00:00
Jeff Hill
691aeaaba7 added blank line to remove GNU warning 1999-08-10 16:56:42 +00:00
Jeff Hill
9223ffc4d2 moved inlines in order to eliminate g++ warnings 1999-08-10 16:54:05 +00:00
Jeff Hill
a3ad16c742 removed getPrev and getNext from public interface in node 1999-08-10 00:38:44 +00:00
Jeff Hill
c24c96c2ac removed getPrev and getNext from public interface in node 1999-08-10 00:31:24 +00:00
Jeff Hill
44da2fb24e made node interface public in fdReg 1999-08-10 00:29:47 +00:00
Jeff Hill
640c2d2674 make prototype match implementation 1999-08-10 00:13:57 +00:00
Jeff Hill
bf791d14dc rearranged exception classes 1999-08-09 21:32:30 +00:00
Jeff Hill
64baafdd34 back out stringIdentifier class 1999-08-09 20:18:43 +00:00
Jeff Hill
6378214b68 addwd epicsShareClass to stringId 1999-08-09 20:15:35 +00:00
Jeff Hill
e8a43e9aa2 back out stringIdentifier class 1999-08-09 19:44:07 +00:00
Jeff Hill
42f4be6db0 back out stringIdentifier class 1999-08-09 19:09:36 +00:00
Jeff Hill
990bc35896 solaris compiler issues 1999-08-07 01:02:31 +00:00
Jeff Hill
4fd24a1338 solaris compiler issues 1999-08-07 00:55:35 +00:00
Jeff Hill
49a6b46eba fixed issues discoverd by GNU G++ 1999-08-07 00:36:14 +00:00
Jeff Hill
211282e62a eliminated GNU warnings 1999-08-07 00:27:27 +00:00
Jeff Hill
4e69dc243b remove extern "C" from no convert proto 1999-08-06 23:08:31 +00:00
Jeff Hill
0d72d3f50d fixed spelling 1999-08-06 22:22:55 +00:00
Jeff Hill
ef30d45409 fixed sun pro warnings 1999-08-06 22:13:50 +00:00
Jeff Hill
ff1f10bea3 fixed solaris compiler incompatibility 1999-08-06 21:27:33 +00:00
Jeff Hill
8174323cca updated to reflect new API 1999-08-06 21:21:21 +00:00
Jeff Hill
3fd5e46608 rearranged to compile on the solaris compiler, and added index
bit width template args to string identifier
1999-08-06 21:20:16 +00:00
Jeff Hill
2512afc4a8 index bit width functions in fd id were changed to cinst data members 1999-08-06 21:18:04 +00:00
Jeff Hill
5d2004ce5c added blank line at the end of the file to fix compiler warning 1999-08-06 15:39:10 +00:00
Jeff Hill
ff969dfaca removed redundant function prototype 1999-08-06 15:24:42 +00:00
Jeff Hill
56ccc1f383 removed extra semi colon 1999-08-06 15:23:52 +00:00
Jeff Hill
51518132c0 removed out of date comment 1999-08-06 15:21:56 +00:00
Jeff Hill
00327f65d7 use epics assert 1999-08-06 01:00:41 +00:00
Jeff Hill
5138380d9c use proper form of include 1999-08-06 00:54:59 +00:00
Jeff Hill
1acbabb0ab need to include header for assert 1999-08-06 00:54:00 +00:00
Jeff Hill
f2fca5dd5e solaris compiler does not like member w name of the struct 1999-08-06 00:41:42 +00:00
Jeff Hill
ec76f36f4c use proper format for double precision variable in scanf 1999-08-06 00:30:39 +00:00
Jeff Hill
9af4f39658 use proper format for unsigned number 1999-08-06 00:22:47 +00:00
Jeff Hill
11892d6e85 installed fix for certain versions of perl 1999-08-06 00:21:04 +00:00
Jeff Hill
3c5be2be3f optimized symbol lookup 1999-08-06 00:18:03 +00:00
Jeff Hill
137f9e06ee o use care converting "char" to "unsigned"
o use C++ style cast
1999-08-05 23:54:31 +00:00
Jeff Hill
7f5acb8fbb eliminated app types "seconds" and "nanoseconds"
in favor of atomic app type "timeStamp"
1999-08-05 23:44:01 +00:00
Jeff Hill
78bd9ad2ec removed knowledge of class osiTime, and made ref/unref mf const 1999-08-05 22:48:44 +00:00
Jeff Hill
39bf37e622 removed knowledge of class osiTime, and made ref/unref mf const 1999-08-05 22:19:34 +00:00
Jeff Hill
881199672f removed knowledge of class osiTime 1999-08-05 22:17:11 +00:00
Jeff Hill
a74f3f98b4 global reformat 1999-08-05 21:50:21 +00:00
Jeff Hill
4ed26a55be updated 1999-08-05 21:08:59 +00:00
Jeff Hill
b4e5b1b764 installed 1999-08-05 20:18:15 +00:00
Jeff Hill
67fc67f121 removed inline from "osiTime::operator +" 1999-08-05 17:33:32 +00:00
Jeff Hill
2596f1d05b updated tests 1999-08-05 17:31:26 +00:00
Jeff Hill
47efdd2569 cosmetic changes 1999-08-05 17:30:53 +00:00
Jeff Hill
754f46ab7d added ipAddrToHostName 1999-08-05 17:29:07 +00:00
Jeff Hill
0b37acb061 use new osiTime API 1999-08-05 17:28:18 +00:00
Jeff Hill
195534a61c added localtime_r and gmtime_r 1999-08-05 17:18:25 +00:00
Jeff Hill
43ebcdcae0 moved constants here 1999-08-05 17:15:38 +00:00
Jeff Hill
9132350c55 added ipAddrToHostName 1999-08-05 17:11:54 +00:00
Jeff Hill
6bda1f82f2 added ipAddrToHostName 1999-08-05 16:57:22 +00:00
Jeff Hill
cdcd2d6a00 general overhaul of the osiTimer class 1999-08-05 16:53:19 +00:00
Jeff Hill
49371f759f general overhaul of the osiTime class 1999-08-05 16:15:06 +00:00
Jeff Hill
80eb971817 updated comment 1999-08-05 16:09:31 +00:00
Jeff Hill
409b476b2b updated to reflect resource table API changes 1999-08-05 16:08:00 +00:00
Jeff Hill
30aab31caf pass by ref to PV exist test async IO posrt completion 1999-08-05 15:43:18 +00:00
Jeff Hill
405182b8b4 added new func proto 1999-08-05 15:35:41 +00:00
Jeff Hill
3d3f9d7e36 dont build dllmain.cc on WIN32 if C++ compiler not specified 1999-08-05 15:34:16 +00:00
Jeff Hill
6e58e4c647 install B tree header 1999-08-05 15:30:47 +00:00
Jeff Hill
35f139ff64 upgraded tests 1999-08-05 15:30:27 +00:00
Jeff Hill
d8baefb2c5 use exeception instead of assert 1999-08-05 15:28:21 +00:00
Jeff Hill
f326d7c63c moved inline functions out of class definition 1999-08-05 15:27:18 +00:00
Jeff Hill
30940f7393 cosmetic changes 1999-08-05 15:24:12 +00:00
Jeff Hill
e3c8453e72 use const ref in exist test async io completion 1999-08-05 00:37:05 +00:00
Jeff Hill
eb3a27940b updated to reflect resource table API changes 1999-08-05 00:35:00 +00:00
Jeff Hill
e40fa396b5 updated to reflect osiTimer API changes
eliminated unused PV attribute stubs
1999-08-05 00:15:54 +00:00
Jeff Hill
4deec7851f save last recv IP addr 1999-08-05 00:13:58 +00:00
Jeff Hill
ccd139a8ea osiTimer constructor now requires delay of type double 1999-08-05 00:09:54 +00:00
Jeff Hill
a779f7e75e removed init flag 1999-08-05 00:06:25 +00:00
Jeff Hill
140fdcf2d2 updated to new DLL terminators 1999-08-05 00:03:11 +00:00
Jeff Hill
0869898fa0 eliminated has been initialized flag 1999-08-05 00:00:55 +00:00
Jeff Hill
e59a287a50 updated to reflect new osiTime operators 1999-08-05 00:00:03 +00:00
Jeff Hill
57328d0e02 chronIntIdRes name change 1999-08-04 23:54:51 +00:00
Jeff Hill
976768a781 elimated init flag and init routine 1999-08-04 23:53:20 +00:00
Jeff Hill
710ae0ee28 chronIntIdResTable name change 1999-08-04 23:52:10 +00:00
Jeff Hill
d116fb0926 updated to new DLL terminators 1999-08-04 23:27:07 +00:00
Jeff Hill
df3f26afd7 print who sent the message when a bad message arrives 1999-08-04 23:23:01 +00:00
Jeff Hill
3a893a3f72 updated to new DLL terminators 1999-08-04 23:21:14 +00:00
Jeff Hill
f3482d7ef3 cosmetic changes 1999-08-04 23:19:45 +00:00
Jeff Hill
cd00c09186 cosmetic changes 1999-08-04 23:11:07 +00:00
Jeff Hill
5ef46a8e31 applied chronIntId name change 1999-08-04 23:05:29 +00:00
Jeff Hill
1ba9735555 udated to reflect osiTime and resourceLib API changes 1999-08-04 23:02:33 +00:00
Janet B. Anderson
6ca8f9fb28 Change to get exServer.cc to build on solaris. 1999-08-02 15:31:38 +00:00
Janet B. Anderson
ce99b91956 Moved ifdef to get camessage.c to build. 1999-08-02 14:51:33 +00:00
Janet B. Anderson
cb152f957d Put base dbd dir back on user dbdflags definition. 1999-07-29 19:30:54 +00:00
Janet B. Anderson
a28dc9f784 Updated WIND_HOST_TYPE definition. 1999-07-26 21:55:20 +00:00
Janet B. Anderson
d55567ddc6 Modifed dependancy definitions to handle case when no .a file exists. 1999-07-26 21:52:20 +00:00
Janet B. Anderson
195281ebee Modified to handle dir/filename sources. 1999-07-26 21:49:51 +00:00
Jeff Hill
512de97665 improved coment 1999-07-20 17:08:57 +00:00
Jeff Hill
380771093f more doc 1999-07-20 16:47:59 +00:00
Jeff Hill
9a1f1a216b fixed DLL export 1999-07-17 00:54:21 +00:00
Jeff Hill
cbfdea14f3 include build date 1999-07-17 00:43:30 +00:00
Jeff Hill
94ab686e4c merged changes from R3.13.1 patch branch 1999-07-17 00:40:58 +00:00
Jeff Hill
5b9a5604e6 removed prototype 1999-07-17 00:33:12 +00:00
Jeff Hill
eea6ff3181 fixed bug occurring when connection dropped while waiting to send 1999-07-16 21:09:00 +00:00
Jeff Hill
97f0ca4039 fixed bug occurring when connection dropped while waiting to send, and
initialize new search gongestion thresh parm
1999-07-16 17:08:05 +00:00
Jeff Hill
27229f9c14 close open files not associated with stdio before exec'ing the
repeater
1999-07-16 17:05:43 +00:00
Jeff Hill
5df25bf67a cosmetic changes 1999-07-16 17:03:23 +00:00
Jeff Hill
250eb430ae added congestion thresh parm for search alg 1999-07-16 17:02:06 +00:00
Jeff Hill
22143f39ee cosmetic changes 1999-07-16 16:40:14 +00:00
Jeff Hill
0fd2f6479b added congestion thresh parm to search alg 1999-07-16 16:38:59 +00:00
Jeff Hill
4fb64e8933 fixed bug occurring when connection dropped while waiting to send, and
initialize new search gongestion thresh parm
1999-07-16 16:28:24 +00:00
Jeff Hill
b68eb7dbb2 removed revision comments in favor of CVS 1999-07-15 23:20:01 +00:00
Jeff Hill
4ee8f8a8ee fixed comment 1999-07-15 23:14:30 +00:00
Janet B. Anderson
39929aa454 Changes to automatically generate CONFIG_APP definitions. 1999-07-15 20:20:15 +00:00
Jeff Hill
1909fed55c fixed infinite loop when ENOBUFS returned by sendto() 1999-07-15 20:15:30 +00:00
Marty Kraimer
c5b9200212 changes per Ned Arnold 1999-07-15 17:45:06 +00:00
Marty Kraimer
b6584ad562 must INC bitbus error header file 1999-07-08 15:40:37 +00:00
Marty Kraimer
ae75faa19c cd top; look at all definitions in config/RELEASE 1999-07-08 14:57:15 +00:00
Marty Kraimer
933a6daed2 change INCpostfixh to INCsCalcPostfixH 1999-07-08 14:52:36 +00:00
Marty Kraimer
a76802eaef removed 1999-07-08 14:51:17 +00:00
Marty Kraimer
87fa10b58f always generate DBF_DEVICE fields 1999-07-08 14:40:58 +00:00
Marty Kraimer
8cff7f8030 check for sCalcPostfix and well as postfix 1999-07-08 14:39:48 +00:00
Marty Kraimer
534d53f8e0 remove reboot 1999-07-08 14:38:59 +00:00
Marty Kraimer
f1963332ed make dbpr work correctly for DBF_NOACCESS 1999-07-08 14:38:39 +00:00
Marty Kraimer
5dfbd99af1 make ACKT DCT confgurable 1999-07-08 14:37:37 +00:00
Marty Kraimer
829a134d7e better error message if asInit fails 1999-07-08 14:36:37 +00:00
Marty Kraimer
19bb952d60 dont build bitbus support. It is now unbundled 1999-07-07 20:46:32 +00:00
Marty Kraimer
23467b753b dont build devBBInteract.c; fix Gpib support for compiler bug 1999-07-07 20:22:04 +00:00
Marty Kraimer
5dc7f22d90 sscanf response now checked to be equal to 1 rather than just not zero. 1999-07-07 20:07:13 +00:00
Marty Kraimer
f0a195ee7d ErGetTicks now locks while updating ticks 1999-07-07 19:54:46 +00:00
Janet B. Anderson
772d6e199a Removed INSTALLS dependancy. 1999-06-23 21:07:27 +00:00
Janet B. Anderson
3ea69a0eb8 Added substitution on INPA line. 1999-06-04 18:32:03 +00:00
Andrew Johnson
39216a089b Moved export statements to the right place. 1999-05-17 15:09:59 +00:00
Jeff Hill
85aa738529 added new line at EOF 1999-05-13 22:09:23 +00:00
Jeff Hill
9541d2ca4d use fast osiTime const 1999-05-13 22:05:35 +00:00
Jeff Hill
9576f678ea doc 1999-05-13 22:04:13 +00:00
Jeff Hill
0df5352f68 removed redundant includes 1999-05-13 20:59:39 +00:00
Andrew Johnson
fe89248624 Converted most void* entries in dbCommon into struct ... * entries
and removed the casts in the code.  There are more casts in device
and record support which should now be removed, but I haven't done
them (yet..).
1999-05-13 20:52:40 +00:00
Andrew Johnson
4785daecc0 Cleaned up warnings - the RCS Log: keyword was on the comment line
that starts with a '/' which RCS replicates for these notes...
1999-05-13 16:06:23 +00:00
Jeff Hill
aeb07cfc3c close all open files when spawning the repeater 1999-05-11 20:31:54 +00:00
Jeff Hill
5ec6a3522f close all open files when spawning the repeater 1999-05-11 20:09:58 +00:00
Jeff Hill
679d3529f0 close all open files when spawning the repeater 1999-05-11 19:42:44 +00:00
Jeff Hill
8435ca4218 fixed no use arg warning 1999-05-11 18:13:07 +00:00
Jeff Hill
6313dc1e6c fixed gnu warning 1999-05-11 00:45:00 +00:00
Jeff Hill
054bcc10e9 simplified time stamp support 1999-05-11 00:44:38 +00:00
Jeff Hill
243cc6b8ea fixed const warnings 1999-05-11 00:32:29 +00:00
Jeff Hill
2cdf5ecd88 removed redun gdd: 1999-05-11 00:31:34 +00:00
Jeff Hill
b3629cf1c2 removed unused includes 1999-05-11 00:30:04 +00:00
Jeff Hill
a840130e9c fixed missing arg 1999-05-11 00:14:47 +00:00
Jeff Hill
218b931d2e ifixed bad assert test 1999-05-10 23:43:54 +00:00
Jeff Hill
f6dff37fc1 fixed many const releated problems 1999-05-10 23:42:25 +00:00
Jeff Hill
4ff595f7b5 fixed sleazy time stamp cast, and some const problems 1999-05-10 23:41:38 +00:00
Jeff Hill
0207e0ac67 removed timespec def and os specific ifdef maintenance nightmare 1999-05-10 23:40:06 +00:00
Jeff Hill
9bc2ceaa06 convert to and from other time stamp formats 1999-05-10 23:38:33 +00:00
Jeff Hill
84837a4017 simplified time stamp support 1999-05-10 23:34:28 +00:00
Jeff Hill
03ce7056c3 better message 1999-05-10 23:33:08 +00:00
Janet B. Anderson
e6122b7cad Updated perl info. Perl now must be in users path. 1999-05-10 20:44:25 +00:00
Janet B. Anderson
76ee24baad Updated perl www site. 1999-05-10 20:43:31 +00:00
Jeff Hill
aee60322c9 throw warning exception with get/put callback failure detail 1999-05-07 23:07:11 +00:00
Jeff Hill
62ca569660 changed getCurrent to osdGetCurrent 1999-05-07 21:35:16 +00:00
Jeff Hill
9dcc4ee7b0 fixed operator return type 1999-05-07 20:34:50 +00:00
Jeff Hill
9836393849 fixed missing const 1999-05-07 20:01:00 +00:00
Jeff Hill
a51ea84a3a many improvements to osiTime 1999-05-07 19:12:40 +00:00
Jeff Hill
ce42f0c56a added structure tag to typedef TS_STAMP so that osiTime.h
can forward reference struct TS_STAMP (and not require that
tsDefs.h is included)
1999-05-07 19:07:16 +00:00
Jeff Hill
fc0c697a2f improved osiTime test 1999-05-07 18:41:07 +00:00
Janet B. Anderson
34e966d99e Removed unused files. 1999-05-06 21:50:09 +00:00
Jeff Hill
b4cc937af1 improved tests 1999-05-05 18:00:12 +00:00
Janet B. Anderson
3ee23236b5 Moved install java definition. Added INSTALL_LIBRARY. Fix mult prod depend. 1999-05-05 17:09:34 +00:00
Janet B. Anderson
f596057300 Uninstall rule fixes. 1999-05-05 16:29:40 +00:00
William Lupton
c78137180c added 'N to 1 Median' algorithm (only for array inputs) 1999-05-03 18:13:17 +00:00
Jeff Hill
e05277886c derive from gddDestructor so that same form of new and delete are used 1999-05-03 17:33:02 +00:00
Jeff Hill
3c3b72f770 fixed used of gddDestructor 1999-05-03 17:11:51 +00:00
Jeff Hill
f40769e7b0 allow osiTime to convert toaitTimeStamp without binding to gdd 1999-05-03 16:22:29 +00:00
Jeff Hill
999cdd719f allow aitTimeStamp to convert to TS_STAMP (without binding to libCom) 1999-05-03 16:20:51 +00:00
Jeff Hill
fe54b858ef streamlined time stamp usage 1999-05-03 16:18:38 +00:00
Jeff Hill
2eae47d927 no need to touch DEPENDS because of -include 1999-05-03 16:09:43 +00:00
Jeff Hill
c986b90450 added osiTime.cc 1999-05-03 16:06:36 +00:00
Jeff Hill
430e4ced23 be backwards compatible 1999-05-03 15:54:05 +00:00
Jeff Hill
05796df1e6 doc 1999-05-03 15:49:26 +00:00
Jeff Hill
353ec00708 made compatible with visual C++ 6.0 1999-05-03 15:41:40 +00:00
Jeff Hill
8d656cac4b fixed time overflow calc 1999-04-30 15:52:20 +00:00
Jeff Hill
8a2a474ed0 use osiTime::getCurrentEPICS() 1999-04-30 15:50:24 +00:00
Jeff Hill
d0ecf8f956 deal with situation where bounds on managed DD must be modified 1999-04-30 15:46:54 +00:00
Jeff Hill
ef9208d3ce changed certain ptr args to const ref 1999-04-30 15:42:19 +00:00
Jeff Hill
7e89a4a2a9 doc 1999-04-30 15:39:41 +00:00
Jeff Hill
93d8c939ab better range check on index to gddAitToDbr 1999-04-30 15:36:26 +00:00
Jeff Hill
180e39e591 better message 1999-04-30 15:33:46 +00:00
Jeff Hill
da1a725a58 arg was changed to a reference 1999-04-30 15:32:41 +00:00
Jeff Hill
031564d1fa detect redundant IO completionpost 1999-04-30 15:31:40 +00:00
Jeff Hill
bb2689b491 fixed improper container index bug 1999-04-30 15:24:53 +00:00
Jeff Hill
36eeebf94a removed redundant code 1999-04-30 00:11:12 +00:00
Jeff Hill
5c7d99aac7 proper borrow 1999-04-30 00:09:47 +00:00
Jeff Hill
dffbef7d44 allow const / use cursor in dump 1999-04-30 00:05:20 +00:00
Jeff Hill
ef5d6a475d added getCurrentEPICS() 1999-04-30 00:02:02 +00:00
Jeff Hill
ef64ab51c2 better test for overflow in ca_time_diff() 1999-04-30 00:00:58 +00:00
Jeff Hill
1750eef1c0 now compatible with API changes in winsock provided with 6.0 SDK 1999-04-29 23:53:32 +00:00
Jeff Hill
a9d2c3ae3c added latency test 1999-04-29 23:18:27 +00:00
Jeff Hill
a84818d9e6 added gr dbl test 1999-04-29 23:14:57 +00:00
Ralph Lange
65a2820a46 Compile with -fPIC only with SHARED_LIBRARIES=YES;
DBDNAME only in build targets when DBDEXPAND is defined
1999-04-23 12:05:24 +00:00
Jeff Hill
a479190ef7 added B treee targets 1999-04-14 15:34:00 +00:00
Jeff Hill
21fa3016c9 removed test target 1999-04-13 23:44:46 +00:00
Jeff Hill
01b2e5531a included func proto for math lib 1999-04-05 22:52:30 +00:00
Jeff Hill
eca0e5ebd4 fixed .o where .cc should have been 1999-04-05 16:16:42 +00:00
Jeff Hill
da839dea68 removed redundant -I 1999-04-05 16:02:56 +00:00
Janet B. Anderson
bdd672cbaf ActivePerl requires a parm for getopt. 1999-04-05 15:16:10 +00:00
Andrew Johnson
5fe61d39ef drvBBMsg.c was an old version of drvBB232.c - removed. 1999-04-05 14:38:02 +00:00
Andrew Johnson
d57f8b21a7 Extremely old Digitel500 support removed. 1999-04-05 14:35:35 +00:00
Janet B. Anderson
fdcd2ce382 Removed 2 comment lines. 1999-04-01 22:16:47 +00:00
Janet B. Anderson
9ec094c642 always use c++ linker 1999-04-01 22:14:56 +00:00
Janet B. Anderson
c112b8b306 Uninstall now removes bin and lib dirs 1999-04-01 22:07:17 +00:00
Janet B. Anderson
ee478f2347 Changes for Linux build. 1999-04-01 22:05:27 +00:00
Janet B. Anderson
92ad0491d6 Fixed order of includes. 1999-04-01 22:02:36 +00:00
Janet B. Anderson
94b08b9378 Fixed definition of ARCH_DEP_LDLIBS. 1999-03-17 19:22:58 +00:00
Jeff Hill
1e5602564e arch neutral 1999-03-16 23:02:33 +00:00
Jeff Hill
e484b4a62a use LYNXOS_RELEASE_2_4_0 1999-03-16 21:12:10 +00:00
Ralph Lange
4011e6b23e Bugfix: single bits' monitors are posted if the severity changes 1999-03-02 18:15:49 +00:00
Jeff Hill
596edff56c added dbr_long_t readback test 1999-02-12 00:26:31 +00:00
Jeff Hill
2d927db988 fixed ca_put() for 64 bit machines 1999-02-11 23:44:15 +00:00
Jeff Hill
b4ba1b10c2 removed potential infinite recursion from tsForceSoftSync() 1999-02-11 17:02:34 +00:00
Janet B. Anderson
e68f130831 Removed accidental commit line. 1999-02-05 23:06:21 +00:00
Janet B. Anderson
4c167cea47 Added dependancies so that INSTALLS will be built. 1999-02-05 23:05:31 +00:00
Jeff Hill
41d7a7a7c8 removed redundant API 1999-02-01 21:49:04 +00:00
Jeff Hill
a5da7b3c98 doc 1999-01-29 23:03:02 +00:00
Jeff Hill
1fe7ff165a reinstalled const cast away 1999-01-29 22:51:09 +00:00
Jeff Hill
f9ea4c847d removed const cast away 1999-01-29 22:36:53 +00:00
Jeff Hill
4eea4c5dbe fixed alignment problem when building share lib on VMS 1999-01-28 21:27:16 +00:00
Jeff Hill
3556f965a6 shorter iteration count for VMS 1999-01-28 21:19:01 +00:00
Jeff Hill
e4e365d22e improved VAX floating point 1999-01-28 21:12:17 +00:00
Jeff Hill
18b54fd1f1 removed implicit int 1999-01-28 20:18:14 +00:00
Jeff Hill
e0b317a544 removed bzero,gettimeofday protos and added INADDR_LOOPBACK 1999-01-28 20:16:00 +00:00
Jeff Hill
f039b24836 NILL => NULL 1999-01-28 20:14:51 +00:00
Jeff Hill
631b662439 fixed a mostly benign string array bounds over reach 1999-01-28 19:12:46 +00:00
Jeff Hill
7cf854f546 installed 1999-01-27 21:39:22 +00:00
Jeff Hill
01c8c46af1 fixed spelling 1999-01-27 21:14:46 +00:00
Jeff Hill
2f1f934bbe restored locationProbe() 1999-01-27 18:42:36 +00:00
Janet B. Anderson
1c4eef9163 Added INSTALL_DOC to uninstall. 1999-01-19 17:14:07 +00:00
Janet B. Anderson
56fee671fe epics_R3_13_1_1 1999-01-11 15:38:57 +00:00
Marty Kraimer
4c7cfd7b2f added description of -i to help 1999-01-11 14:20:09 +00:00
Janet B. Anderson
28cdb2b5e1 Bug fix for warning and opt flags in Vx builds. 1999-01-07 23:14:16 +00:00
Janet B. Anderson
f006ec6a8e Don't copy vxWorks and vxWorks.sym into base. 1999-01-07 21:50:08 +00:00
Janet B. Anderson
f468f0e33c Changes from Mark Rivers. 1999-01-06 22:21:59 +00:00
Janet B. Anderson
3cfd9a79f5 Fixed VX_GNU_NO definition. 1999-01-06 22:10:43 +00:00
Janet B. Anderson
0c0b5d44ba Added $(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS) $(DBDNAME) to clean rule. 1999-01-06 22:04:37 +00:00
Janet B. Anderson
95a399e4a2 Now only create package dir if package is defined. 1999-01-06 21:58:51 +00:00
Janet B. Anderson
4daf75e295 Added vendor compiler dependent options ( -KPIC -D_REENTRANT for solaris) 1999-01-06 21:52:47 +00:00
Janet B. Anderson
0ef60ec09a Added CPPSNCFLAGS to cpp step of state notation language rule 1999-01-06 21:37:23 +00:00
Janet B. Anderson
42bd805108 Created ARCH_DEP_CPPFLAGS for Vx build. 1999-01-06 21:34:55 +00:00
Janet B. Anderson
5e7ec2be6c Bug fix - added space after link definition. 1999-01-06 19:48:22 +00:00
Janet B. Anderson
2c1609e2ed perl now must be in user's path. 1999-01-06 19:43:12 +00:00
Janet B. Anderson
4d0785b899 Release string now contains update name/level only if non blank/non zero. 1999-01-06 19:35:54 +00:00
Marty Kraimer
1fc97eb429 reinitialize eoff in special 1999-01-06 19:14:21 +00:00
Marty Kraimer
54f3de4b0d cosmetic change 1999-01-06 19:11:00 +00:00
Marty Kraimer
4907dfd43d remove defining storage twice 1999-01-06 19:10:06 +00:00
Marty Kraimer
14414ab86f If dbPutNotify called dbProcess and dbProcess returned an error the notify completion callback was called twice. 1999-01-06 18:59:20 +00:00
Marty Kraimer
08761bebff remove restriction that table names must be alphanumeric 1999-01-06 18:54:26 +00:00
Ralph Lange
6619c06109 Bugfix .DEPENDS -> DEPENDS 1999-01-06 16:50:48 +00:00
Jeff Hill
5ba5209891 changes from Salikova 1998-12-21 20:59:30 +00:00
Jeff Hill
5d4eddf424 fixed typo 1998-12-21 17:50:01 +00:00
Jeff Hill
1982c777be Include the next resource id allocated in casr diagnostic 1998-12-21 17:49:05 +00:00
Jeff Hill
842f9e33cf drvEpvxi.h 1998-12-21 17:46:36 +00:00
Jeff Hill
d4f44b9bc9 fixed warning 1998-12-21 17:39:02 +00:00
Jeff Hill
d2acbb21b5 improved the portability of devLib 1998-12-19 01:32:35 +00:00
Jeff Hill
4ab910abd1 renamed createPV() to pvAttach() 1998-12-19 00:04:53 +00:00
Jeff Hill
6f8e2cd675 Changed the remove() function in tsSLList class because users were
confused by it. The name is now removeNextItem() and it is now a private
member of class tsSLNode.
1998-12-18 19:02:47 +00:00
Jeff Hill
9658302528 fixed warning 1998-12-18 18:58:20 +00:00
Janet B. Anderson
1b8da9848e Removed duplicate line. 1998-12-14 17:08:11 +00:00
Jeff Hill
4f983714c7 doc 1998-12-07 23:21:53 +00:00
Jeff Hill
31d5dee317 removed inline frm evt msk alloc 1998-12-01 23:32:15 +00:00
Jeff Hill
e1bc747104 Use EPICS_CA_BEACON_PERIOD 1998-12-01 18:54:45 +00:00
Jeff Hill
82d119fcef fixed warning 1998-11-23 23:51:04 +00:00
Jeff Hill
2ef8e387e0 added build date to corerelease() 1998-11-23 23:49:29 +00:00
1643 changed files with 159377 additions and 114925 deletions

84
LICENSE
View File

@@ -1,84 +0,0 @@
Copyright (c) 1991-2004 University of Chicago and The Regents of the
University of California. All rights reserved.
EPICS BASE is distributed subject to the following license conditions:
SOFTWARE LICENSE AGREEMENT
Software: EPICS BASE
Versions: 3.13.7 and higher
1. The "Software", below, refers to EPICS BASE (in either source code, or
binary form and accompanying documentation). Each licensee is
addressed as "you" or "Licensee."
2. The copyright holders shown above and their third-party licensors
hereby grant Licensee a royalty-free nonexclusive license, subject to
the limitations stated herein and U.S. Government license rights.
3. You may modify and make a copy or copies of the Software for use
within your organization, if you meet the following conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement.
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy.
4. You may modify a copy or copies of the Software or any portion of it,
thus forming a work based on the Software, and distribute copies of
such work outside your organization, if you meet all of the following
conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement;
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy;
c. Modified copies and works based on the Software must carry
prominent notices stating that you changed specified portions of
the Software.
5. Portions of the Software resulted from work developed under a U.S.
Government contract and are subject to the following license: the
Government is granted for itself and others acting on its behalf a
paid-up, nonexclusive, irrevocable worldwide license in this computer
software to reproduce, prepare derivative works, and perform publicly
and display publicly.
6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME
ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE
OR THAT ANY ERRORS WILL BE CORRECTED.
7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY
REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF
CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR
OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGES.
________________________________________________________________________
This software is in part copyrighted by the BERLINER SPEICHERRING
GESELLSCHAFT FUER SYNCHROTRONSTRAHLUNG M.B.H. (BESSY), BERLIN, GERMANY.
In no event shall BESSY be liable to any party for direct, indirect,
special, incidental, or consequential damages arising out of the use of
this software, its documentation, or any derivatives thereof, even if
BESSY has been advised of the possibility of such damage.
BESSY specifically disclaims any warranties, including, but not limited
to, the implied warranties of merchantability, fitness for a particular
purpose, and non-infringement. This software is provided on an "as is"
basis, and BESSY has no obligation to provide maintenance, support,
updates, enhancements, or modifications.
________________________________________________________________________

View File

@@ -1,54 +1,19 @@
#*************************************************************************
# 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.
#*************************************************************************
#
# Top Level EPICS Makefile
# by Matthew Needes and Mike Bordua
#
# Notes:
# The build, clean, install, and depends "commands" do not have
# their own dependency lists; they are instead handled by
# the build.%, clean.%, etc. dependencies.
#
# However, the release dependencies DOES require a complete
# install because the release.% syntax is illegal.
#
# $Id$
#
TOP=.
include $(TOP)/config/CONFIG_BASE
TOP = .
include $(TOP)/configure/CONFIG
DIRS = src config
DIRS += config configure src
INSTALL_BIN = $(INSTALL_LOCATION)/bin/$(HOST_ARCH)
include $(TOP)/configure/RULES_TOP
#
# this bootstraps in makeMakefile.pl (and others) so that it can
# be used to create the first O.xxxx/Makefile
#
PERL_BOOTSTRAP_SCRIPTS = $(notdir $(wildcard $(TOP)/src/tools/*.pl))
PERL_BOOTSTRAP_SCRIPTS_INSTALL = $(PERL_BOOTSTRAP_SCRIPTS:%=$(INSTALL_BIN)/%)
all host cross inc rebuild clean depends buildInstall :: $(PERL_BOOTSTRAP_SCRIPTS_INSTALL)
RMDIR=$(PERL) $(TOP)/src/tools/rm.pl -rf
include $(TOP)/config/RULES_TOP
release:
release::
@echo TOP: Creating Release...
@./MakeRelease
@$(TOOLS)/MakeRelease
built_release:
built_release::
@echo TOP: Creating Fully Built Release...
@./MakeRelease -b $(INSTALL_LOCATION)
$(INSTALL_BIN)/%.pl: $(TOP)/src/tools/%.pl
$(PERL) $(TOP)/src/tools/installEpics.pl -d -m 555 $< $(INSTALL_BIN)
@$(TOOLS)/MakeRelease -b $(INSTALL_LOCATION)

290
README
View File

@@ -1,290 +0,0 @@
$Id$
----------------------------------------------------------------------------
3.13 EPICS BASE Notes and Build Instructions.
- By Matthew Needes
----------------------------------------------------------------------------
Notes:
1. Before you can build or use EPICS, the environemnt variable HOST_ARCH
must be set. The base/startup/HostArch script file has been provided
to set HOST_ARCH.
2. You must use GNU make (which is now THE supported make utility) for
the build, gnumake. Set your path so that a recent version (e.g.
V3.70) of gnumake is available.
3. You must have perl installed. See the README.Perl in this directory. The
config files specify the perl full pathname as /usr/bin/perl for
unix builds and C:\Perl\bin\perl for WIN95/NT builds. You can override
these specifications with a CONFIG_SITE_HOST_ARCH.<host_arch> file.
4. You may need vendors C and C++ compilers in your search path. (Check
the definitions of ACC and CCC in CONFIG.Host.<host_arch> or gnu GCC
and G++ if ANSI=GCC and CPLUSPLUS=GCC are specified in CONFIG_SITE).
4. For building base you must have echo in your search path. For unix host
builds you must also have ar, cp, rm, mv, ranlib, and mkdir in your search
path and /bin/chmod must exist.
----------------------------------------------------------------------------
Part 1 - Configuring and Building EPICS Base
----------------------------------------------------------------------------
1.1 To configure EPICS, edit the following file:
config/CONFIG_SITE - Build choices/HOST_ARCH/Vx location.
config/CONFIG_SITE_ENV - For site-specific environment settings
For a specific host architecture you may want to edit the following file
config/CONFIG_SITE.Host.<arch> - Override Host build settings for a host arch
config/CONFIG_SITE.Vx.<arch> - Override Vx build settings for a host arch
config/CONFIG_SITE_HOST_ARCH.<arch> - Override build settings for a host arch
Optionally you may want to edit the following files
config/CONFIG_SITE.Host - Override Host build settings for all host archs.
config/CONFIG_SITE.Vx - Override Vx build settings for all host archs.
config/CONFIG - Override build settings for all host archs.
1.2 To add a target architecture to EPICS:
cd base/config
cp CONFIG.Vx.mv167 CONFIG.Vx.YOUR_ARCH
edit CONFIG.Vx.YOUR_ARCH - For compiler flags / etc.
edit CONFIG_SITE - Add architecture to CROSS_COMPILER_TARGET_ARCHS list.
1.3 To build EPICS:
cd epics/base
gnumake - To install include files, build and install EPICS.
(Same as "gnumake inc install")
gnumake all - Same as "gnumake"
gnumake clean - To clean temporary object files. Top level
clean will remove the O.ARCH dirs specified
in BUILD_ARCHS.
gnumake uninstall - Only available at the top level directory.
Cleans directories created by the install.
gnumake rebuild - Same as "gnumake clean all"
1.4 "Partial" build commands:
The complete set of targets now supported are:
action
arch
action.arch
dir
dir.action
dir.arch
dir.action.arch
where:
action can be clean, inc, install, depends, or build
action can also be uninstall or rebuild at top level only
dir is the name of a subdirectory.
arch can be host, cross, sun4, solaris, mv167, ...
Examples are:
gnumake inc - To install include files
gnumake install.host - To build and install EPICS for host arch.
gnumake install.cross - To build and install EPICS for Vx archs.
gnumake clean.sun4 - Cleans sun4 binaries in O.sun4 dirs only.
gnumake install.sun4 - Builds sun4 only.
gnumake install.mv167 - Builds mv167 only (a HOST_ARCH build must
be complete before this can be issued).
NOTES:
1. EPICS binaries and shell scripts are installed into the directory
$(INSTALL_LOCATION)/bin/ARCH.
2. EPICS libraries are installed into the $(INSTALL_LOCATION)/lib/ARCH
directory.
3. During a normal build (a "make" or "make install"), the "depends"
dependency will NOT be invoked. Only if "make depends" is run
explicitly, or a "make built_release" is performed will dependencies
be generated automatically.
4. Temporary objects are stored in src/DIR/O.ARCH, This allows objects
for multiple architectures to be maintained at the same time.
While developing source for EPICS, merely cd src/DIR/O.ARCH, and
invoke "make":
cd epics/base/src/db/O.mv167
make dbAccess.o
The above example instructs make to build dbAccess.o for the
mv167 target.
----------------------------------------------------------------------------
Part 2 --- Configuration Files in epics/base/config
----------------------------------------------------------------------------
CONFIG - This file is meant to be included in the low-level EPICS Makefiles.
It includes the other EPICS makefiles, and allows individual developers
and the EPICS system manager to override specific variables in the rest of
the configuration.
----------------------------------------------------------------------------
CONFIG_SITE - This file is meant to be changed only by the EPICS system
manager. It specifies:
HOST_ARCH: The system's host architecture (sun4/hp700/etc).
This now come from an environment variable.
CROSS_COMPILER_HOST_ARCHS: List of unix architectures with cross_compilers.
CROSS_COMPILER_TARGET_ARCHS: List of architectures to build epics for.
VX_DIR: Location of vxWorks.
STATIC_BUILD: Whether or not to build clients statically.
etc.
----------------------------------------------------------------------------
CONFIG.Host.ARCH - This file defines a particular host architecture. It
contains the following variables:
ARCH_CLASS: solaris / sun4 / hp700 / etc.
Host architecture OS vendor C and C++ complier variables.
Architecture dependent build flags. The flag names / contents
depend on your architecture class.
----------------------------------------------------------------------------
CONFIG_HOST_ARCH.ARCH - This file contains the following variable:
WIND_HOST_TYPE: sun4-solaris2 / sun4-sunos4 / x86-win32 / etc.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
CONFIG.Vx.ARCH - This file defines a particular target architecture. It
contains the following variables:
ARCH_CLASS: 68k / sun4 / hp700 / etc.
Architecture dependent build flags. The flag names / contents
depend on your architecture class.
CMPLR_SUFFIX: Vx GNU cross compiler suffix definition.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
CONFIG_SITE.BUILD_TYPE.ARCH - Contains site specific definitions pertaining to a
particular architecture and build type. This file's primary usefulness is to
define site specific compile and link flags.
----------------------------------------------------------------------------
CONFIG_COMMON - Contains definitions describing the layout of base
and definitions common to all builds.
----------------------------------------------------------------------------
CONFIG.Host.UnixCommon - Contains host definitions common to all Unix archs.
----------------------------------------------------------------------------
CONFIG_BASE - Defines what subdirectories get built by default under base.
----------------------------------------------------------------------------
CONFIG_BASE_VERSION - Defines the version of base.
----------------------------------------------------------------------------
CONFIG_ENV - EPICS Environment Parameter configuration file.
----------------------------------------------------------------------------
CONFIG_SITE_ENV - EPICS Environment Parameter Site configuration file
----------------------------------------------------------------------------
RULES.Vx - Rules for building with Makefile.Vx makefiles.
----------------------------------------------------------------------------
RULES.Host - Rules for building with Makefile.Host makefiles.
----------------------------------------------------------------------------
RULES_TOP - Top level rules for building.
----------------------------------------------------------------------------
RULES_ARCHS
RULES_DIRS - Allows top-level type command syntax in low-level directories.
----------------------------------------------------------------------------
Table of files to change when building and adding architectures.
etc.
Filename SYS_MGR ADD_VX_ARCH ADD_UNIX_ARCH DEVELOPER
CONFIG m - - m
CONFIG_SITE m m m -
CONFIG_SITE_ENV m - - -
CONFIG.Host.ARCH - c c -
CONFIG_HOST_ARCH.ARCH - c c -
CONFIG_SITE.Host.ARCH - - - -
CONFIG.Vx.ARCH - c c -
CONFIG_SITE.ARCH - c c -
CONFIG.Vx.ARCH_CLASS - c* - -
RULES.Vx - - - -
RULES.Host - - - -
CONFIG_BASE - - - -
CONFIG_BASE_VERSION - - - -
CONFIG_COMMON - - - -
CONFIG_ENV - - - -
RULES_ARCHS - - - -
RULES_DIRS - - - -
RULES_TOP - - - -
m - Modify an existing file.
c - Create a new file.
* - Create an ARCH_CLASS file only if you are adding a
fundamentally new architecture, such as hp700 or
a SPARC VME board. If your board is 68k based,
you will not need to create CONFIG.Vx.68k,
since it already exists !
----------------------------------------------------------------------------
Part 3 --- Configuration File Inclusion Tree Examples
----------------------------------------------------------------------------
---------------------------- hkv2f example --------------------------------
(files are numbered in the order of their inclusion)
src/db/Makefile.Vx (An example EPICS makefile)
^ ^
| +--- 2. RULES.Vx
| Default rules.
+----1. CONFIG_BASE
^
|
+ 1. CONFIG
^^^^^^^
||||||+- 1. CONFIG_COMMON
|||||| General info about base.
|||||+-- 2. CONFIG_BASE_VERSION
||||| Base version.
||||+--- 3. CONFIG_SITE
|||| HOST_ARCH = sun4
|||| CROSS_COMPILER_TARGET_ARCHS = mv167 hkv2f
|||| VX_DIR = /vxworks
|||| More.
|||+---- 4. CONFIG_HOST_ARCH.sun4
||| WIND_HOST_TYPE = sun4-sunos4
||+----- 5. CONFIG.Vx
|| Definitions for Vx builds
|+------ 6. CONFIG.Vx.hkv2f
| ARCH_CLASS = 68k
| Arch Specific Compiler Flag Setup
| Vx GNU cross compiler suffix
+------- 7. CONFIG_SITE.Vx.hkv2f
Site Specific setup
---------------------------- sun4 example --------------------------------
(files are numbered in the order of their inclusion)
src/db/Makefile.Unix (An example EPICS makefile)
^ ^
| +--- 2. RULES.Vx
| Default rules.
+----1. CONFIG_BASE
^
|
+ 1. CONFIG
^^^^^
|||||+- 1. CONFIG_COMMON
||||| General info about base.
||||+-- 2. CONFIG_BASE_VERSION
|||| Base version.
|||+--- 3. CONFIG_SITE
||| HOST_ARCH = sun4
||| CROSS_COMPILER_TARGET_ARCHS = mv167 hkv2f
||| VX_DIR = /vxworks
||| More.
||+---- 4. CONFIG_HOST_ARCH.sun4
|| WIND_HOST_TYPE = sun4-sunos4
|+----- 5. CONFIG.Host.sun4
| ARCH_CLASS = sun4
| Arch Specific Compiler Flag Setup
| Vx GNU cross compiler suffix
+------ 6. CONFIG_SITE.Host.sun4
Site Specific setup

View File

@@ -1,17 +0,0 @@
Special Notes on Linux
At this point, support for Linux only involves channel access
clients. Since Vxworks is not available for Linux, you must
use other platforms for developing server side code.
You MUST start caRepeater by hand before running a client.
Prior to running a client, you must run:
caRepeater &
---
jpq@nwu.edu

View File

@@ -1,44 +0,0 @@
Perl
====
A number of shell scripts are now Perl scripts,
most important:
tools/installEpics.pl
include/makeEpicsVersion.pl
libCom/bldEnvData.pl
libCom/makeStatTbl.pl
sequencer/makeVersion.pl
WIN32 also uses
tools/cp.pl, mv.pl, rm.pl, mkdir.pl
which should behave like the UNIX cp, mv, rm, rmdir.
All systems could use the Perl versions but that seems
to be overkill for UNIX.
Advantages:
* no need for ls, date, basename, grep, awk, sed, ...,
which made the make UNIX-specific.
* Perl is currently available for Unix, OS/2, WIN32, VMS
and the scripts should work on all those systems
Disadvantage:
* You have to get Perl, look e.g. at http://www.perl.com
* Perl version 5.003_02 works, we don't know about earlier versions.
Compile Perl:
No big deal,
* on UNIX say 'configure' and 'gnumake',
* on Windows use MX Visual C++,
use File/Open Workspace to open the Makefile {PERL}/perl5i.mak,
use Build/Batch build to select eiher the Release or Debug targets.
You can do the same with the Makefile {Perl}/Ext/WIN32/win32.mak
- nice tools but not necessary for EPICS.
Then call {PERL}/bin/perlw32-install.bat
In any case, read the texts that come with perl!

View File

@@ -25,6 +25,10 @@ Right now this port of EPICS to WIN32 should allow you to
and all other EPICS base libraries as DLLs.
* build gdd, cas and a demo of the new portable CA server on WIN32.
To build only for WIN32 and not cross compile for IOC development type
"make host" or in your config files set "CROSS_COMPILER_HOST_ARCHS=void"
1) see what you have
--------------------
@@ -47,19 +51,28 @@ If you cannot/don't want to find them, contact me, please!
(Setting env. vars. is different: for NT, use Settings/System,
for Win95 use autoexec.bat)
When setting paths in the EPICS CONFIG files for WIN32:
When setting paths in the EPICS CONFIG files for WIN32 the following
are hints in case you have trouble. You should not need to worry about
this unless you type a path into one of the EPICS config files that
includes a "\". In most situations gnu make, windows NT, the MS compiler,
and the MS linker will accept "/" and this will result in less trouble.
** Note that that each "\" in any path variables
** Note that that each "\" in any path variables you set
must be replaced with a "\\" (this is because GNU make treats
all "\" characters as line continuation)
** Note that that each space in any file name or
path name variable must be replaced with
path name variable you set must be replaced with
a "\ " (this is because GNU make treats all " " separated
input as independent tokens in the input stream.
** WIN32 will generally allow "/" and "\" interchangeably in file paths,
but the DOS shell appears to only accept "\".
but the DOS shell only accepts "\".
** Certain command line utilities such as the MS linker are known to in rare
situations confuse "/" in a path with command line options, and it may
be necessary to replace a "/" in a path that configured with "\\", but
the bulk of our experience indicates that this is not the necessary.
Your path should include:
- The EPICS-binaries that we are about to build in <EPICS>base/bin/WIN32
@@ -169,13 +182,13 @@ style project. This allows EPICS programs to be developed directly inside of
the visual C++ environment. To do this create a "makefile" project and place your
gnu make command in the build configuration (accessed from the project/settings menu).
You will also need to add GNU make and <EPICS>/bin/win32 into the Visual C++
executable search path (from the tools/options menu). I have not so far determined
how to configure visual C++ so that it is possible to double click on the compiler
executable search path (from the tools/options menu).
In visual C++ it is possible to double click on the compiler
error messages generated within an EPICS "makefile" style project and have visual
C++ immediately position the cursor on the corresponding line in the source (as is
normally the case in the visual C++ environment). If you solve this problem please
forward the details to johill@lanl.gov.
C++ immediately position the cursor on the corresponding line in the source. I
have found that this works correctly with Makefile projects if the project is in a
directory just below the source code. The following build command works well
in a visual C++ make file project: "kill caRepeater.exe&make -C ..". Be careful
not to introduce additional spaces around the &. The kill.exe command is in the
NT resource kit.
Good luck !
-Kay

View File

@@ -1,54 +0,0 @@
Compiling EPICS on cygwin32 (Windows95/NT)
------------------------------------------
Right now this port of EPICS base to cygwin32 R1.3.3 fails
because cygwin does not yet support point-to-point interfaces.
To build EPICS on Win95 or NT using cygwin32, we need
EPICS base distribution, R3.12.0.beta12 or later, available
from http://aps.anl.gov/...
The latest cygwin distribution, available from
http://www.cygwin.com
BUILD INSTRUCTIONS
------------------
1) Install the cygwin binary release
------------------------------------
2) Install the epics base distribution
--------------------------------------
cp <dirname>\<basereleasename>.tar.gz .
gunzip -d <basereleasename>.tar.gz
tar xvf <basereleasename>.tar
chmod +w -R *
cd <epicsBaseDir>
3) Set environment variables and path using cygwin32.bat
-------------------------------------------------------------
<edit <epicsBaseDir>/startup/cygwin32.bat changing paths if necessary>
cd <epicsBaseDir>\startup
edit cygwin32.bat
<execute cygwin32.bat>
cygwin
4) Set site specific parms in epics config files
------------------------------------------------
cd <epicsBaseDir>\config
<edit CONFIG_SITE* files>
5) Build epics base
-------------------
cd <epicsBaseDir>
make
6) Create an example EPICS application (<epicsBaseDir> needs drive letter)
--------------------------------------------------------------------------
mkdir <epicsappdir>
cd <epicsappdir>
perl <epicsBaseDir>\bin\cygwin32\makeBaseApp.pl -l
perl <epicsBaseDir>\bin\cygwin32\makeBaseApp.pl -t example example
make

View File

@@ -1,28 +0,0 @@
#
# supplement README for HP700
#
# Johnny Tang 5-29-97
#
1. VxWorks 5.2 for HP-UX
- Make sure that you have set VX_DIR and VX_GNU to your
VxWorks root directory.
- Under $(VX_DIR), create a soft link:
hp700.68k -> hp9700.68k
2. Modify base/config/CONFIG_SITE file
- ANSI=HPACC
- STANDARD=HPCC
- CPLUSPLUS=G++
3. HP native c++ compiler has problem to handle the head files
in which a inline function is used in conjuction with template
base/src/cas, the portable CA server can't be compiled successfully
because of the above limitation.
This problem can be resolved by spliting the function declarations
from the inline code in the files in base/src/cxxTemplates.

1144
README.htm Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,25 +0,0 @@
----------------------------------------------------------------------------
EPICS Notes for Solaris
- By Andrew Johnson
updated 12-16-96 by Jeff Hill
----------------------------------------------------------------------------
Notes:
1. In order to build EPICS under Solaris 2, you must ensure that the
solaris directory /usr/ccs/bin is in your search path.
2. It is now possible to compile EPICS under Solaris 2 using either the
GNU gcc compiler or the Sun SPARCworks ANSI C compiler. The g++/
Sun SPARCworks ANSI C compiler combination has compiled and linked
without errors but has not been extensively tested.
3. EPICS under Solaris 2 no longer uses the UCB compatability libraries.
In order to ensure that the /usr/ucblib files are not inherited, you
should ensure that your LD_LIBRARY_PATH environment variable does not
include /usr/ucblib when you build any of the host tools.
--
anj@ast.cam.ac.uk

File diff suppressed because it is too large Load Diff

5
config.hkv2f.mk Normal file
View File

@@ -0,0 +1,5 @@
BUILD_TYPE = Vx
DIRS = src/as src/ca src/db src/dev src/devOpt src/drv \
src/libCom src/libvxWorks src/rec src/rsrv \
src/sequencer src/util src/dbtools src/misc .

1
config.mk Normal file
View File

@@ -0,0 +1 @@
BUILD_ARCHS=sun4 mv167 mv147

5
config.mv147.mk Normal file
View File

@@ -0,0 +1,5 @@
BUILD_TYPE = Vx
DIRS = src/as src/ca src/db src/dev src/devOpt src/drv \
src/libCom src/libvxWorks src/rec src/rsrv \
src/sequencer src/util src/dbtools src/misc .

5
config.mv167.mk Normal file
View File

@@ -0,0 +1,5 @@
BUILD_TYPE = Vx
DIRS = src/as src/ca src/db src/dev src/devOpt src/drv \
src/libCom src/libvxWorks src/rec src/rsrv \
src/sequencer src/util src/dbtools src/misc .

13
config.sun4.mk Normal file
View File

@@ -0,0 +1,13 @@
BUILD_TYPE = Unix
DIRS = src/libCom \
src/db \
src/ca \
src/toolsComm/antelope \
src/toolsComm/flex \
src/as \
src/bld \
src/dct \
src/util \
src/sequencer \
src/dbtools \
rec

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#

View File

@@ -1,10 +1,10 @@
# CONFIG.Host.Borland
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Borland
BORLAND_LIB = $(BORLAND)\\lib
BORLAND_INC = $(BORLAND)\\include
BORLAND_BIN = $(BORLAND)\\bin
# Use std path variables from ms
HOME = $(HOMEDRIVE)$(HOMEPATH)
#
#
@@ -12,61 +12,38 @@ ANSI = ACC
CPLUSPLUS = CCC
#
# -q supress command line banner
WINLINK = $(BORLAND_BIN)/ilink32 -q
#
WINLINK = ilink32
# -l specifies default language
# -fo Renames the output .RES file
RCCMD = $(BORLAND_BIN)/brcc32 $(subst -I,-i,$(INCLUDES)) -l0x409 -fo$@ $<
RCCMD = brcc32 -i . -i .. -i $(INSTALL_INCLUDE) -i $(EPICS_BASE_INCLUDE) -fo $@ $<
ARCMD = $(BORLAND_BIN)/tlib $@
ARCMD = tlib $@
#
# Configure Borland C compiler
# -q suppress compiler identification banner
# -tWM generate a 32-bit multi-threaded target
# -tWD generate a .DLL executable
# -a8 quad word alignment
# -D_WIN32 macro defined to be consistant with Microsoft Visual C++
# -D_RTLDLL macro defined to use Borland C++ RTL library
CCLINKOPT = -q -tWM -tWD -a8 -D_WIN32 -D_RTLDLL
ACC = $(BORLAND_BIN)/bcc32 $(CCLINKOPT)
# Configure OS vendor C compiler
CCLINKOPT = -WM -D_WIN32
ACC = bcc32 $(CCLINKOPT)
#
# __STDC__=0 works but not as cleanly as with
# Microsoft Visual C++.
# The Borland header files use ifdef __STDC__
# to disable many nice things. This is overridden
# by defining NO_BORLAND_STDC in the Makefile.Host.
# __STDC__=0 is a real great idea of Jeff that gives us both:
# 1) define STDC for EPICS code (pretend ANSI conformance)
# 2) set it to 0 to use MS C "extensions" (open for _open etc.)
# because MS uses: if __STDC__ ... disable many nice things
#
ifdef NO_BORLAND_STDC
ACC_ANSI = $(ACC)
ACC_STRICT = $(ACC)
else
ACC_ANSI = $(ACC) -D__STDC__=0
ACC_STRICT = $(ACC) -D__STDC__=0
endif
ACC_TRAD = $(ACC)
ACC_TRAD = $(ACC) /nologo
# -w display warnings on
# -g0 no limit to warning messages
# some warning message here are always disabled because they are
# trivial and numerous
# -w-8012 Comparing signed and unsigned values
# -w-8060 Possibly incorrect assignment
# -w-8071 Conversion may lose significant digits
ACC_WARN_YES = -w -g0 -w-8012 -w-8060 -w-8071
# -w- display warnings off
#
ACC_WARN_YES = -w -g0
ACC_WARN_NO = -w-
#
# -k- turn off standard stack frame
# -H- turn off precompiled headers
# -R- don't include browser info in .obj files
# -O1 optimization for size
# -v- turn off source debugging
# -vi control expansion of inline functions
ACC_OPT_YES = -k- -H- -R- -O1 -v- -vi
# -k- turn off standard stack frame
# -H- Turn off precompiled headers
# -R- Don't include browser info in .obj files
ACC_OPT_YES = -k- -H- -R- -O1
#
ACC_OPT_NO =
@@ -80,39 +57,26 @@ ACC_SLIBS_NO=
# Configure OS vendor C++ compiler
#
# __STDC__=0 works but not as cleanly as with
# Microsoft Visual C++.
# The Borland header files use ifdef __STDC__
# to disable many nice things. This is overridden
# by defining NO_BORLAND_STDC in the Makefile.Host.
# __STDC__=0 is a real great idea of Jeff that gives us both:
# 1) define STDC for EPICS code (pretend ANSI conformance)
# 2) set it to 0 to use MS C "extensions" (open for _open etc.)
# because MS uses: if __STDC__ ... disable many nice things
#
CCC = $(BORLAND_BIN)/bcc32 $(CCLINKOPT)
ifdef NO_BORLAND_STDC
CCC_NORMAL = $(CCC)
CCC_STRICT = $(CCC)
else
CCC = bcc32 $(CCLINKOPT)
CCC_NORMAL = $(CCC) -D__STDC__=0
CCC_STRICT = $(CCC) -D__STDC__=0
endif
CCC_TEMPL_INST_FLAG =
# -w display warnings on
# -g0 no limit to warning messages
# -w-8012 Comparing signed and unsigned values
# -w-8060 Possibly incorrect assignment
# -w-8071 Conversion may lose significant digits
CCC_WARN_YES = -w -g0 -w-8012 -w-8060 -w-8071 -w-8008 -w-8027 -w-8066 -w-8080 -w-8004
# -w- display warnings off
#
CCC_WARN_YES = -w -g0
CCC_WARN_NO = -w-
#
# -O1 optimization for size
# -k- turn off standard stack frame
# -H- Turn off precompiled headers
# -R- Don't include browser info in .obj files
# -O1 optimization for size
# -v- turn off source debugging
# -vi control expansion of inline functions
CCC_OPT_YES = -k- -H- -R- -O1 -v- -vi
CCC_OPT_YES = -k- -H- -R- -O1
#
CCC_OPT_NO =
@@ -124,15 +88,16 @@ CCC_SLIBS_YES=
CCC_SLIBS_NO=
PROD_VERSION=3.13
# -c case sensitive linking
# -C clear state before linking
# -Gi generate import library
# -Gn no state files
# -Tpd targets a Windows .DLL file
# -x no map
# -w display warnings on
LINK_OPT_FLAGS_YES = -c -C -Gi -Gn -Tpd -x -w
LINK_OPT_FLAGS_NO = -c -C -Gi -Gn -Tpd -x -w-
# -C clear state before linking
# -Gn no state files
# -x no map
# -Gi generate import library
# -Tpd this flag specifies the output file type
# -aa this flag specifies the application type
# -c case sensitive linking
LINK_OPT_FLAGS_YES = -w -C -Gn -x -Gi -Tpd -aa -c
LINK_OPT_FLAGS_NO = -w- -C -Gn -x -Gi -Tpd -aa -c
WIN32_DLLFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT))
OPT_LDFLAGS =
@@ -146,7 +111,6 @@ ARCH_CLASS=WIN32
# ifdef WIN32 looks better that ifeq ($(ARCH_CLASS),WIN32) ??
WIN32=1
BORLANDC=1
EXE=.exe
OBJ=.obj
@@ -154,7 +118,7 @@ RES=.res
# Problem: BorlandC does not recognize *.cc as C++ source,
# we have to compile xx.cc using the flag -P xx.cc,
SOURCE_CXXFLAG = -P -D__cplusplus
SOURCE_CXXFLAG = -P
# Operating system flags
OP_SYS_CFLAGS =
@@ -162,14 +126,13 @@ OP_SYS_CFLAGS =
#
# Borland specific include files
#
OP_SYS_INCLUDES = -I$(BORLAND_INC)
OP_SYS_INCLUDES = -I$(INCLUDE)
#
OP_SYS_LDLIBS =
#
# specify dll .def file only if it exists
#
#DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(LIBRARY).def))
DLL_DEF_FLAG = $(subst /,\\,$(wildcard ../$(LIBRARY).def))
# HOST_OPT_FLAGS is part of CFLAGS/CXXFLAGS,
@@ -189,7 +152,7 @@ HOST_OPT_FLAGS += $(subst $@, /_WINDLL, $(findstring $@,$(LIBOBJS)))
# x.lib: what you link to progs that use the dll (LIBNAME)
# x.exp: what you need to build the dll (in no variable)
#
LINK.shrlib = $(WINLINK) $(WIN32_DLLFLAGS) -L$(BORLAND_LIB) -L$(BORLAND_LIB)\\Psdk c0d32.obj
LINK.shrlib = $(WINLINK) $(WIN32_DLLFLAGS) -L$(LIB) -L$(LIB)\\Psdk c0d32.obj
# adjust names of libraries to build
#
@@ -208,12 +171,7 @@ SHRLIBNAME = $(LIBRARY).dll
#
DLL_LINK_LIBNAME_YES = $(LIBRARY).lib
DLL_LINK_LIBNAME = $(DLL_LINK_LIBNAME_$(SHARED_LIBRARIES))
#ifeq ($(strip $(SHARED_LIBRARIES)),NO)
#LIBNAME = $(LIBRARY).lib
#else
LIBNAME = $(LIBRARY)Obj.lib
#endif
# dll install location
INSTALL_SHRLIB = $(INSTALL_BIN)
@@ -223,7 +181,6 @@ INSTALL_SHRLIB = $(INSTALL_BIN)
OBJECT_LIB_EXT_YES = Obj.lib # object library extension for static build
OBJECT_LIB_EXT_NO = .lib # object library extension for dynamic build
OBJECT_LIB_EXT = $(OBJECT_LIB_EXT_$(STATIC_BUILD))
COND_PROD_DEPLIBS = $(foreach prod,$(PROD), $(foreach lib, $($(basename $(prod))_LIBS),\
$(firstword $($(lib)_DIR) $(EPICS_BASE_LIB))/$(lib)$(OBJECT_LIB_EXT)))
PRODNAME_DEPLIBS = $(foreach lib,$(PRODNAME_LIBS),$(firstword $(wildcard $($(lib)_DIR)/$(lib).lib $($(lib)_DIR)/$(lib)Obj.lib $(EPICS_BASE_LIB)/$(lib).lib $(EPICS_BASE_LIB)/$(lib)Obj.lib ) $(filter $(LIBRARY)$(OBJECT_LIB_EXT), $(lib)$(OBJECT_LIB_EXT)) ))
@@ -233,7 +190,7 @@ USR_DEPLIBS = $(foreach lib,$(USR_LIBS),$(firstword $(wildcard $($(lib)_DIR)/$(l
# by default the libraries used when linking the DLL are just
# PROD_LIBS ans SYS_PROD_LIBS minus the DLL name
DLL_LIBS = $(patsubst $(LIBRARY),, $(PROD_LIBS))
DLL_LIBS = $(subst $(LIBRARY),, $(PROD_LIBS))
#
# EPICS libs that we need to link the DLL with
@@ -244,18 +201,18 @@ USR_LDLIBS = $(PRODNAME_DEPLIBS) $(PROD_DEPLIBS) $(USR_DEPLIBS) $(SYS_PROD_LIBS:
DLL_LDLIBS = $(DLL_DEPLIBS) $(SYS_PROD_LIBS:%=%.lib) $(OP_SYS_LDLIBS)
#multithreaded import library
LIBSUF=mti
# -c case sensitive linking
#multithreaded
LIBSUF=mt
# -w display warnings on
# -C clear state before linking
# -Gn no state files
# -Tpe targets a Windows .EXE file
# -x no map
# -w display warnings on
LDFLAGS += -c -C -Gn -Tpe -x -w -L$(BORLAND_LIB) -L$(BORLAND_LIB)\\Psdk
# -c case sensitive linking
LDFLAGS += -w -C -Gn -x -c -L$(LIB) -L$(LIB)\\Psdk
LINKSTARTUP = c0x32.obj
LINKLIBS=import32.lib cw32$(LIBSUF).lib
LINK.c = $(WINLINK) $(LDFLAGS) $(LINKSTARTUP)
LINK.cc = $(WINLINK) $(LDFLAGS) $(LINKSTARTUP)

View File

@@ -26,7 +26,7 @@ ACC_WARN_YES = -Wall
ACC_WARN_NO = -w
ACC_OPT_YES = -O
ACC_OPT_NO = -g
ACC_SFLAGS_YES = -static
ACC_SFLAGS_YES = -Bstatic
ACC_SFLAGS_NO=
ACC_SLIBS_YES =
ACC_SLIBS_NO=
@@ -43,7 +43,7 @@ CCC_WARN_YES = -Wall
CCC_WARN_NO =
CCC_OPT_YES = -O
CCC_OPT_NO = -g
CCC_SFLAGS_YES = -static
CCC_SFLAGS_YES = -Bstatic
CCC_SFLAGS_NO=
CCC_SLIBS_YES =
CCC_SLIBS_NO=
@@ -60,7 +60,7 @@ G++_STRICT = $(G++) -Wtraditional
#ARCH_DEP_CFLAGS = -D_X86_ -Dlinux -D_USE_BSD
ARCH_DEP_CFLAGS = -D_X86_ -Dlinux
ARCH_DEP_LDFLAGS =
ARCH_DEP_LDFLAGS += -lpthread
#glibc FAQ
# "_GNU_SOURCE: glibc does not make the GNU extensions available

56
config/CONFIG.Host.LynxOS Normal file
View File

@@ -0,0 +1,56 @@
# CONFIG.Host.LynxOS
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.LynxOS
ARCH_CLASS = LynxOS
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
AR = ar -rc
ARCMD = $(AR) $@
RANLIB = ranlib -t
# Configure OS vendor C compiler
ACC_ANSI = $(ACC) -ansi
ACC_STRICT = $(ACC) -ansi -pedantic
ACC_TRAD = $(ACC)
ACC_WARN_YES = -Wall
ACC_WARN_NO = -w
ACC_OPT_YES = -O
ACC_OPT_NO = -g
ACC_SFLAGS_YES = -Bstatic
ACC_SFLAGS_NO=
ACC_SLIBS_YES =
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES =
ACC_SHRLIB_LDFLAGS_YES =
# Configure OS vendor C++ compiler
CCC_NORMAL = $(CCC)
CCC_STRICT = $(CCC)
CCC_TEMPL_INST_FLAG = -pedantic -DEXPL_TEMP
CCC_WARN_YES = -Wall
CCC_WARN_NO = -w
CCC_OPT_YES = -O
CCC_OPT_NO = -g
CCC_SFLAGS_YES = -Bstatic
CCC_SFLAGS_NO=
CCC_SLIBS_YES =
CCC_SLIBS_NO=
CCC_DEPENDS_FLAG = -pedantic
# added smh 6/5/98 : when building fdmgr - seems to use this not ACC
# in effect this overides orig def in CONFIG_COMMON :
# which is GCC_STRICT = $(GCC) -ansi -pedantic
GCC_STRICT = $(GCC)
G++_STRICT = $(G++) -Wtraditional -DEXPL_TEMP
ARCH_DEP_CFLAGS = -DLynxOS -mposix -D_X86_ -DLYNXOS_RELEASE_2_4_0
ARCH_DEP_LDLIBS = -lc -lbsd -lnsl -lm -lposix4d9 -llynx

View File

@@ -1,4 +1,4 @@
# CONFIG.Host.UnixCommon
#
# Contains definitions common to all Unix archs
#
@@ -20,8 +20,7 @@ SHRLIB_SUFFIX = .so
SHRLIBNAME = lib$(LIBRARY)$(SHRLIB_SUFFIX)$(SHRLIB_VERSION:%=.%)
DLL_LIBS = $(patsubst $(LIBRARY),, $(PROD_LIBS) $(USR_LIBS))
DLL_LDLIBS = $(PRODNAME_LIBS:%=-l%) $(DLL_LIBS:%=-l%)
DLL_LDLIBS = $(PRODNAME_LIBS:%=-l%) $(PROD_LIBS:%=-l%) $(USR_LIBS:%=-l%)
INSTALL_SHRLIB = $(INSTALL_LIB)
@@ -62,8 +61,7 @@ USR_LDLIBS = $(PRODNAME_LIBS:%=-l%) $(PROD_LIBS:%=-l%) $(USR_LIBS:%=-l%)\
#--------------------------------------------------
# Operating system definitions
OP_SYS_INCLUDES =
OP_SYS_CFLAGS = -DUNIX
OP_SYS_CFLAGS = -DUNIX
OP_SYS_LDFLAGS =
OP_SYS_LDLIBS = -lm

View File

@@ -3,6 +3,9 @@
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.WIN32
# Use std path variables from ms
HOME = $(HOMEDRIVE)$(HOMEPATH)
#
# You currently get Visual C++ even if you ask for GNU.
#
@@ -17,7 +20,7 @@ CPLUSPLUS = CCC
MSVISC = c:\\Program\ Files\\DevStudio\\Vc
WINLINK = link
RCCMD = rc -l 0x409 -i . -i .. -I$(INSTALL_INCLUDE)/os/$(OS_CLASS) -I$(INSTALL_INCLUDE) $(INSTALL_INCLUDES) -I$(EPICS_BASE_INCLUDE)/os/$(OS_CLASS) -I$(EPICS_BASE_INCLUDE) -fo $@ $<
RCCMD = rc -l 0x409 -i . -i .. -i $(INSTALL_INCLUDE) -i $(EPICS_BASE_INCLUDE) -fo $@ $<
ARCMD = lib /nologo /verbose /out:$@
@@ -233,7 +236,7 @@ USR_DEPLIBS = $(foreach lib,$(USR_LIBS),$(firstword $($(lib)_DIR) $(EPICS_BASE_L
# by default the libraries used when linking the DLL are just
# PROD_LIBS ans SYS_PROD_LIBS minus the DLL name
DLL_LIBS = $(patsubst $(LIBRARY),, $(PROD_LIBS))
DLL_LIBS = $(subst $(LIBRARY),, $(PROD_LIBS))
#
# EPICS libs that we need to link the DLL with

View File

@@ -24,11 +24,5 @@ SHARED_LIBRARIES=NO
#==========================
ARCH_DEP_CFLAGS = -DCYGWIN32 -U_WIN32
ARCH_DEP_LDLIBS =
OP_SYS_LDLIBS =
# cygwin32 overrides to eliminate following warning message -
# -fPIC ignored for target (all code is position independent)
GCC_DEP_CFLAGS = -D_REENTRANT
G++_DEP_CFLAGS = -D_REENTRANT
ARCH_DEP_LDLIBS = -lm

View File

@@ -27,7 +27,6 @@ ACC_SLIBS_YES =
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES = +Z
ACC_SHRLIB_LDFLAGS_YES = -b
ACC_DEP_CFLAGS=+DAportable
# Configure OS vendor C++ compiler
HPCC = cc
@@ -44,7 +43,6 @@ 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
@@ -53,8 +51,8 @@ HPCC_DEP_CFLAGS=+DAportable
#New HP C++ compiler
CCC = aCC
# avoid treating "future errors" as actual errors
CCC_NORMAL = $(CCC) -AA -Aa +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W392 +W684
CCC_STRICT = $(CCC) -AA -Aa +p
CCC_NORMAL = $(CCC) +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W392 +W684
CCC_STRICT = $(CCC) +p
CCC_TEMPL_INST_FLAG =
CCC_WARN_YES = +w
CCC_WARN_NO =
@@ -69,15 +67,11 @@ CCC_SHRLIB_CFLAGS_YES = +Z
# 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
empty:=
space:= $(empty) $(empty)
ARCH_DEP_CFLAGS = -D_HPUX_SOURCE -DHP_UX
ARCH_DEP_CXXFLAGS = -D_HPUX_SOURCE -DHP_UX
ARCH_DEP_CFLAGS = -D_HPUX_SOURCE -DHP_UX +DAportable
ARCH_DEP_CXXFLAGS = -D_HPUX_SOURCE -DHP_UX +DAportable
ARCH_DEP_LDLIBS =
ARCH_DEP_LDFLAGS = -Wl,+b,$(subst $(space),:,$(DEFAULT_SHRLIB_SEARCH_PATH)),+s
ARCH_DEP_LDFLAGS = -Wl,+b$(DEFAULT_SHRLIB_SEARCH_PATH),+s

View File

@@ -0,0 +1,4 @@
# $Id$
# linux-x86 is the new name for linux
-include $(EPICS_BASE)/config/CONFIG.Host.Linux

View File

@@ -23,18 +23,17 @@ SPARCWORKS = /opt/SUNWspro
# Configure OS vendor C compiler
ACC = $(SPARCWORKS)/bin/cc
ACC_ANSI = $(ACC) -Xa
ACC_ANSI = $(ACC) -Xa -v
ACC_STRICT = $(ACC) -Xc -v
ACC_TRAD = $(ACC) -Xs
ACC_DEP_CFLAGS = -KPIC -D_REENTRANT
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
ACC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic -lXext -lX
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES =
ACC_SHRLIB_LDFLAGS_YES = -G -h $@
@@ -43,7 +42,7 @@ ACC_SHRLIB_LDFLAGS_YES = -G -h $@
CCC = $(SPARCWORKS)/bin/CC
CCC_NORMAL = $(CCC) +p
CCC_STRICT = $(CCC) +p
CCC_DEP_CFLAGS = -KPIC -D_REENTRANT
CCC_DEP_CFLAGS = -KPIC -D_REENTRANT
CCC_TEMPL_INST_FLAG =
CCC_WARN_YES = +w
CCC_WARN_NO =
@@ -51,16 +50,15 @@ CCC_OPT_YES = -O
CCC_OPT_NO = -g
CCC_SFLAGS_YES= -Bstatic
CCC_SFLAGS_NO=
CCC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic
CCC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic -lXext -lX
CCC_SLIBS_NO=
CCC_DEPENDS_FLAG = -xM1
CCC_SHRLIB_CFLAGS_YES =
CCC_SHRLIB_LDFLAGS_YES = -G -h $@
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
ARCH_DEP_CFLAGS = -DSOLARIS
# socket and nsl needed by libca.a
ARCH_DEP_LDLIBS = -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread -lthread

View File

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

View File

@@ -1,10 +0,0 @@
# CONFIG.Host.solaris-x86
#
# 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
# Solaris on x86
ARCH_DEP_CPPFLAGS += -D_X86_

View File

@@ -1,29 +0,0 @@
# 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
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)
# socket and nsl needed by libca.a
ARCH_DEP_LDLIBS += -lsocket -lnsl

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
#
# This file contains definitions for Vx builds
@@ -29,6 +20,7 @@ CXX = g++
# the override definitions.
# Tornado directory definitions
VX_CONFIG_DIR_YES =
VX_INCLUDE_YES =
VX_GNU_YES =
VX_GNU_BIN_YES =
@@ -36,12 +28,14 @@ VX_GNU_LIB_YES =
# pre Torando directory definitions
VX_CONFIG_DIR_NO =
VX_INCLUDE_NO =
VX_GNU_NO =
VX_GNU_BIN_NO =
# directory definitions
VX_DIR =
VX_CONFIG_DIR =
VX_INCLUDE =
VX_GNU =

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
#
# This file contains definitions for Vx builds
@@ -20,22 +11,25 @@ OS_CLASS = vxWorks
# The definitions VX_DIR, VX_GNU, GNU_DIR and GNU_LIB
# can be overridden for specific host architectures
# by creating a CONFIG_SITE.Vx.<host_arch> file with
# by creating a CONFIG_SITE.Vx.<host_archfile with
# the override definitions.
# Tornado directory definitions
VX_CONFIG_DIR_YES = $(VX_DIR)/target/config
VX_INCLUDE_YES = $(VX_DIR)/target/h
VX_GNU_YES = $(VX_DIR)/host/$(WIND_HOST_TYPE)
VX_GNU_BIN_YES = $(VX_GNU)/bin
VX_GNU_LIB_YES = $(VX_GNU)/lib
# pre Torando directory definitions
VX_CONFIG_DIR_NO = $(VX_DIR)/config
VX_INCLUDE_NO = $(VX_DIR)/h
VX_GNU_BIN_NO = $(VX_GNU)/$(HOST_ARCH).$(ARCH_CLASS)/bin
VX_GNU_LIB_NO = $(VX_GNU)/$(HOST_ARCH).$(ARCH_CLASS)/lib
# directory definitions
VX_DIR = $(VX_DIR_$(TORNADO))
VX_CONFIG_DIR = $(VX_CONFIG_DIR_$(TORNADO))
VX_INCLUDE = $(VX_INCLUDE_$(TORNADO))
VX_GNU = $(VX_GNU_$(TORNADO))
GNU_BIN = $(VX_GNU_BIN_$(TORNADO))
@@ -58,8 +52,7 @@ LD = $(GNU_BIN)/ld$(CMPLR_SUFFIX) -r
CPLUSPLUS_YES = G++
G++ = $(GNU_BIN)/cc$(CMPLR_SUFFIX) -B$(GNU_LIB)/gcc-lib/ -nostdinc
LD_G++ = $(GNU_BIN)/ld$(CMPLR_SUFFIX) -r
NM = $(GNU_BIN)/nm$(CMPLR_SUFFIX)
MUNCH = $(GNU_BIN)/munch
NM = $(GNU_BIN)/nm$(CMPLR_SUFFIX)$(HOSTEXE)
#--------------------------------------------------
# Pre Tornado C++ crosscompiler definitions
@@ -136,3 +129,16 @@ WARN_CXXFLAGS = $($(CPLUSPLUS)_WARN_$(VX_WARN))
LINK.c = $(LD) $(LDFLAGS) -o
LINK.cc = $(LD_CXX) $(LDFLAGS) -o
#--------------------------------------------------
# Munch definitions
MUNCH_SUFFIX=.munch
MUNCHNAME = $(LIBNAME:%=%$(MUNCH_SUFFIX))
#--------------------------------------------------
# The follow 2 exports prevent gnu cross-compiler
# from finding wrong assembler (as).
export WIND_BASE = $(VX_DIR)
export WIND_HOST_TYPE

View File

@@ -4,13 +4,13 @@
# This file is maintained by the EPICS community.
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
CMPLR_SUFFIX = 68k
# For Vx directories of form:
# $(VX_DIR)/$(HOST_ARCH).$(ARCH_CLASS)/bin
ARCH_CLASS = mv2700
ARCH_CLASS = 68k
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
ARCH_DEP_CFLAGS = -mcpu=604
ARCH_DEP_CPPFLAGS = -DCPU=MC68060 -DCPU_FAMILY=MC680X0
ARCH_DEP_CFLAGS = -m68040

View File

@@ -11,6 +11,6 @@ CMPLR_SUFFIX = 68k
ARCH_CLASS = 68k
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=MC68030 -DNICPU030
ARCH_DEP_CPPFLAGS = -DCPU=MC68030
ARCH_DEP_CFLAGS = -m68030

View File

@@ -13,5 +13,5 @@ ARCH_CLASS = pc486
ARCH_DEP_CPPFLAGS = -DCPU=I80486 -DCPU_FAMILY=I80x86 -D_X86_
ARCH_DEP_CFLAGS = -m486
ARCH_DEP_CXXFLAGS += -x 'c++'
ARCH_DEP_CFLAGS += -fno-builtin -fno-defer-pop
ARCH_DEP_CFLAGS += -fno-defer-pop

View File

@@ -0,0 +1,17 @@
# CONFIG.Vx.pentium
#
# 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 = pcPentium
ARCH_DEP_CPPFLAGS = -DCPU=PENTIUM -D_X86_
ARCH_DEP_CFLAGS = -mpentium
ARCH_DEP_CXXFLAGS += -x 'c++'
ARCH_DEP_CFLAGS += -fno-defer-pop

View File

@@ -1,16 +0,0 @@
# $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
# ARCH_DEP_CFLAGS+= -fsigned-char #May need for calcPerform.c

View File

@@ -1,16 +0,0 @@
# $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

@@ -11,7 +11,7 @@ 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
ARCH_DEP_CFLAGS = -mcpu=604 --no-builtin
# ARCH_DEP_CFLAGS+= -fsigned-char #May need for calcPerform.c
# ARCH_DEP_CFLAGS== -fsigned-char #May need for calcPerform.c

View File

@@ -1,17 +0,0 @@
# $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

View File

@@ -1,16 +0,0 @@
# 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

21
config/CONFIG.Vx.simpc Normal file
View File

@@ -0,0 +1,21 @@
# CONFIG.Vx.simpc
#
# This file is maintained by the EPICS community.
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = simpc
# For Vx directories of form:
# $(VX_DIR)/$(HOST_ARCH).$(ARCH_CLASS)/bin
ARCH_CLASS = simpc
ARCH_DEP_CPPFLAGS = -DCPU=SIMNT -DCPU_FAMILY=SIMNT -D_X86_
ARCH_DEP_CFLAGS = -mpentium
ARCH_DEP_CXXFLAGS += -x 'c++'
ARCH_DEP_CFLAGS += -fno-defer-pop -DRW_MULTI_THREAD -D_REENTRANT -nostdlib
#
# no drivers on the Tornado II simulator
#
DIRS = $(filter-out drv dev devOpt, $(DIRS))

View File

@@ -0,0 +1,4 @@
# $Id$
# vxWorks-486 is the new R3.14 name for pc486
include $(EPICS_BASE)/config/CONFIG.Vx.pc486

View File

@@ -0,0 +1,4 @@
# $Id$
# vxWorks-68040 is the new R3.14 name for mv167
include $(EPICS_BASE)/config/CONFIG.Vx.mv167

View File

@@ -0,0 +1,4 @@
# $Id$
# vxWorks-68040lc is the new R3.14 name for mv162lc
include $(EPICS_BASE)/config/CONFIG.Vx.mv162lc

View File

@@ -0,0 +1,4 @@
# $Id$
# vxWorks-68060 is the new R3.14 name for mv177
include $(EPICS_BASE)/config/CONFIG.Vx.mv177

View File

@@ -0,0 +1,4 @@
# $Id$
# vxWorks-ppc604 is the new R3.14 name for ppc604
include $(EPICS_BASE)/config/CONFIG.Vx.ppc604

View File

@@ -13,5 +13,5 @@ ARCH_CLASS = pc486
ARCH_DEP_CPPFLAGS = -DCPU=I80486 -DCPU_FAMILY=I80x86 -D_X86_
ARCH_DEP_CFLAGS = -m486
ARCH_DEP_CXXFLAGS += -x 'c++'
ARCH_DEP_CFLAGS += -fno-builtin -fno-defer-pop
ARCH_DEP_CFLAGS += -fno-defer-pop

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#
@@ -58,3 +49,23 @@ endif
EPICS_BASE = $(INSTALL_LOCATION)
#
# this speeds up the build by turning off implicit rules search
# for EPICS Makefiles (which are not created from other files)
#
.PHONY:: $(EPICS_BASE)/config/CONFIG DEPENDS
.PHONY:: $(EPICS_BASE)/config/CONFIG_SITE.$(BUILD_TYPE).$(T_A)
.PHONY:: $(EPICS_BASE)/config/CONFIG_SITE.$(BUILD_TYPE).$(HOST_ARCH)
.PHONY:: $(EPICS_BASE)/config/CONFIG_SITE.$(BUILD_TYPE)
.PHONY:: $(EPICS_BASE)/config/CONFIG_SITE.Host.UnixCommon
.PHONY:: $(EPICS_BASE)/config/RULES.$(BUILD_TYPE)
.PHONY:: $(EPICS_BASE)/config/RULES_*
.PHONY:: $(HOME)/EPICS_CONFIG
.PHONY:: $(HOME)/EPICS_CONFIG.$(BUILD_TYPE) $(HOME)/EPICS_CONFIG.$(HOST_ARCH)
.PHONY:: $(HOME)/EPICS_CONFIG.$(BUILD_TYPE).$(T_A)
.PHONY:: $(HOME)/EPICS_CONFIG.$(BUILD_TYPE).$(HOST_ARCH)
.PHONY:: $(HOME)/EPICS_CONFIG_HOST_ARCH.$(HOST_ARCH)
.PHONY:: ../Makefile.* Makefile

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#
@@ -17,15 +8,13 @@
#
EPICS_VERSION=3
EPICS_REVISION=13
EPICS_MODIFICATION=10
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
EPICS_REVISION=14
EPICS_MODIFICATION=0
EPICS_UPDATE_NAME=alpha
EPICS_UPDATE_LEVEL=1
EPICS_LOCAL_NAME=B
EPICS_LOCAL_VERSION=0
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}.$(EPICS_LOCAL_NAME)$(EPICS_LOCAL_VERSION)"
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}"
CVS_DATE="\$$Date$$"
CVS_TAG="\$$Name$$"

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#
@@ -69,8 +60,8 @@ INSTALL_LIBRARY = $(INSTALL)
# dbtools from EPICS
# state notation language compiler (installed from base/src/sequencer)
SNC = $(EPICS_BASE_HOST_BIN)/snc$(EXE)
# state notation language compiler (removed from base for R3.14)
SNC = $(SEQ)/bin/$(HOST_ARCH)/snc$(EXE)
ifdef T_A

23
config/CONFIG_COMPAT Normal file
View File

@@ -0,0 +1,23 @@
#
# $Id$
#
# Convert old HOST_ARCH environment variable
#Syntax:
# ARCH_<host_arch> = <epics_host_arch>
ARCH_solaris = solaris-sparc
ARCH_sun4 = sun4-sparc
ARCH_Linux = linux-x86
ARCH_WIN32 = win32-x86
ARCH_hp700 = hpux-m68k
ARCH_hp700 = osf-alpha
ifndef EPICS_HOST_ARCH
ifdef HOST_ARCH
EPICS_HOST_ARCH = $(firstword $(ARCH_$(HOST_ARCH)) $(HOST_ARCH))
else
EPICS_HOST_ARCH = unsupported
endif
endif
HOST_ARCH := $(EPICS_HOST_ARCH)

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
# Author: Andrew Johnson
# Date: 20 April 1995

View File

@@ -2,6 +2,7 @@
#
EXE=.exe
HOSTEXE=.exe
CP =$(PERL) $(EPICS_BASE_HOST_BIN)/cp.pl
MV =$(PERL) $(EPICS_BASE_HOST_BIN)/mv.pl
@@ -14,9 +15,6 @@ ECHO=echo
WIND_HOST_TYPE = x86-win32
# Does not work if using cygwin make
# because HOME is always defined
ifndef HOME
# Use std path variables from ms
HOME = $(HOMEDRIVE)$(HOMEPATH)
endif

View File

@@ -5,5 +5,5 @@
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
WIND_HOST_TYPE = x86-linux
WIND_HOST_TYPE = i386-linux2

View File

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

View File

@@ -2,6 +2,7 @@
#
EXE=.exe
HOSTEXE=.exe
CP =$(PERL) $(EPICS_BASE_HOST_BIN)/cp.pl
MV =$(PERL) $(EPICS_BASE_HOST_BIN)/mv.pl
@@ -13,9 +14,6 @@ ECHO=echo
WIND_HOST_TYPE = x86-win32
# Does not work if using cygwin make
# because HOME is always defined
ifndef HOME
# Use std path variables from ms
HOME = $(HOMEDRIVE)$(HOMEPATH)
endif

View File

@@ -6,8 +6,9 @@
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
EXE=.exe
HOSTEXE=.exe
TORNADO=YES
WIND_HOST_TYPE = x86-win32
WIND_HOST_TYPE = cygwin32

View File

@@ -0,0 +1,4 @@
# $Id$
# linux-x86 is the new name for linux
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux

View File

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

View File

@@ -1,9 +0,0 @@
# 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,6 @@
# hp700
# sgi
# solaris
# solarisGnu (GNU compiler)
# solaris-x86
# sun4
#
# HOST_ARCH now an environment variable
@@ -44,17 +42,12 @@ endif
# mv162lc
# mv167
# mv177
# mv2700
# niCpu030
# pc486
# ppc603
# ppc604
# ppc603_long (over 32MB)
# ppc604_long (over 32MB)
# sbs_pc6
# vxipc
#
CROSS_COMPILER_TARGET_ARCHS=
CROSS_COMPILER_TARGET_ARCHS=vxWorks-68040 vxWorks-ppc604
# If only a subset of the host architectures perform
@@ -70,8 +63,8 @@ TORNADO=YES
# VxWorks directory for TORNADO=YES
#VX_DIR_YES=c:\\Tornado
VX_DIR_YES = /usr/local/vw/tornado202p1
#VX_DIR_YES = /usr/local/vw/tornado101
VX_DIR_YES = /usr/local/vw/tornado20
# VxWorks directory for TORNADO=NO
#VX_DIR_NO=$(VW)
@@ -126,7 +119,7 @@ MAKE_INC_TARGET_FIRST=NO
# NOTE WIN32: YES results in a DLL. CONFIG_SITE.Host.WIN32
# distribution file contains YES override
#
# NOTE solaris,Linux, and sun4: If YES then LD_LIBRARY_PATH must
# NOTE solaris and sun4: If YES then LD_LIBRARY_PATH must
# include fullpathname $(INSTALL_LOCATION)/lib/$(HOST_ARCH)
# for both the base build and when invoking base executables
SHARED_LIBRARIES=NO
@@ -169,3 +162,4 @@ E2DB_FLAGS =
#dbst
DBST = $(EPICS_EXTENSIONS)/bin/$(HOST_ARCH)/dbst
include $(EPICS_BASE)/config/CONFIG_COMPAT

View File

@@ -6,5 +6,3 @@
SHARED_LIBRARIES = YES
BORLAND=C:\\Borland\\bcc55

View File

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

View File

@@ -8,7 +8,7 @@
SHARED_LIBRARIES=YES
# where we expect to find shared libraries if not found elsewhere
#DEFAULT_SHRLIB_SEARCH_PATH = /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)/lib/hp700
# 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.

View File

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

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

@@ -1,28 +0,0 @@
# $Id$
#
# This file contains overrides for Vx builds
# The definitions VX_DIR, VX_GNU, GNU_DIR, GNU_LIB, etc.
# can be overridden for specific Linux-target architecture
# combinations by creating a CONFIG_SITE.Vx.Linux.<T_A>
# file with the override definitions.
## ---- jba overrides for cross compiler
## VX_DIR needed for "export WIND_BASE = $(VX_DIR)"
#VX_DIR_YES = /home/phoebus/JBA/gnu
#VX_GNU_YES = $(VX_DIR)
#VX_INCLUDE_YES = $(VX_GNU)/$(GNU_TARGET)/include
#
#CMPLR_PREFIX= $(GNU_TARGET)-
#CMPLR_SUFFIX=
#GCC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX) -B$(GNU_LIB)/gcc-lib/ -nostdinc
#AR = $(GNU_BIN)/$(CMPLR_PREFIX)ar$(CMPLR_SUFFIX)
#CPP = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX) -B$(GNU_LIB)/gcc-lib/ -nostdinc -x c -E
#RANLIB = $(GNU_BIN)/$(CMPLR_PREFIX)ranlib$(CMPLR_SUFFIX)
#LD = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r
#G++ = $(GNU_BIN)/$(CMPLR_PREFIX)g++$(CMPLR_SUFFIX) -B$(GNU_LIB)/gcc-lib/ -nostdinc
#LD_G++ = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r
#NM = $(GNU_BIN)/$(CMPLR_PREFIX)nm$(CMPLR_SUFFIX)
## ---- end jba overrides
-include $(EPICS_BASE)/config/CONFIG_SITE.$(BUILD_TYPE).$(HOST_ARCH).$(T_A)

View File

@@ -1,14 +0,0 @@
# $Id$
#
# This file contains overrides for Vx builds
## ---- jba overrides for cross compiler
#GNU_TARGET=m68k-wrs-vxworks
## ---- end jba overrides
# ORNL SNS overrides for cross compilers
#VX_DIR_YES = /opt/tornado20/
#VX_INCLUDE_YES = /usr/local/crossgcc/m68k/m68k-wrs-vxworks/sys-include
#VX_GNU_YES = /usr/local/crossgcc/m68k/
#VX_GNU_BIN_YES = $(VX_GNU)/bin
#VX_GNU_LIB_YES = /usr/local/crossgcc/m68k/lib/gcc-lib/m68k-wrs-vxworks/2.95.2

View File

@@ -1,10 +0,0 @@
# $Id$
#
# This file contains overrides for Vx builds
# ORNL SNS overrides for cross compilers
#VX_DIR_YES = /opt/tornado20/
#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
#VX_GNU_LIB_YES = /usr/local/crossgcc/ppc/lib/gcc-lib/powerpc-wrs-vxworks/2.95.2

View File

@@ -1,19 +1,18 @@
#*************************************************************************
# 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$
#
TOP=..
include $(TOP)/config/CONFIG_BASE
include $(TOP)/configure/CONFIG
include $(TOP)/config/RULES_ARCHS
INSTALL_CONFIG = $(INSTALL_LOCATION)/config
CONFIGS += $(subst ../,,$(wildcard ../CONFIG*))
CONFIGS += $(subst ../,,$(wildcard ../RULES*))
BIN_INSTALLS += $(wildcard ../tools/*.pl)
BIN_INSTALLS += ../tools/installEpics
include $(TOP)/configure/RULES

View File

@@ -1,43 +0,0 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
#
TOP = ../..
include $(TOP)/config/CONFIG_BASE
CONFIGS += CONFIG
CONFIGS += CONFIG_BASE
CONFIGS += CONFIG_BASE_VERSION
CONFIGS += CONFIG_COMMON
CONFIGS += CONFIG_ENV
CONFIGS += CONFIG.Host.$(HOST_ARCH)
CONFIGS += CONFIG_HOST_ARCH.$(HOST_ARCH)
CONFIGS += CONFIG.Host.UnixCommon
CONFIGS += CONFIG_HOST_ARCH.UnixCommon
CONFIGS += CONFIG.Vx
CONFIGS += $(CROSS_COMPILER_TARGET_ARCHS:%=CONFIG.Vx.%)
CONFIGS += CONFIG_SITE
CONFIGS += CONFIG_SITE_ENV
CONFIGS += $(subst ../,,$(wildcard ../CONFIG_SITE*))
CONFIGS += RULES.Host
CONFIGS += RULES.Unix
CONFIGS += RULES.Vx
CONFIGS += RULES_ARCHS
CONFIGS += RULES_DIRS
CONFIGS += RULES_TOP
include $(TOP)/config/RULES.Host

View File

@@ -3,7 +3,7 @@
# Rules for making things related to databases
#
MAKEBPT = $(EPICS_BASE_HOST_BIN)/makeBpt$(EXE)
DBLOADTEMPLATE = $(EPICS_BASE_HOST_BIN)/dbLoadTemplate$(EXE)
MSI = $(EPICS_EXTENSIONS_BIN)/msi$(EXE)
DBEXPAND = $(EPICS_BASE_HOST_BIN)/dbExpand$(EXE)
DBST = dbst
MAKEDBDEPENDS = $(PERL) $(TOP)/config/makeDbDepends.pl
@@ -11,7 +11,7 @@ REPLACEVAR = $(PERL) $(TOP)/config/replaceVAR.pl
ifndef WIN32
TOUCH = touch
else
TOUCH = $(PERL) $(TOP)/config/touch.pl
TOUCH = type NUL >>
endif
#-----------------------------------------------------------------
@@ -47,8 +47,6 @@ install:: inc buildInstall
buildInstall:: build $(INSTALL_DATA)
depends::
clean::
@echo "Cleaning"
@$(RM) $(DB) $(DBDNAME) *.template *.substitutions *.db.raw \
@@ -114,7 +112,7 @@ endif
%.t.db.raw: %.substitutions
@echo "Inflating database from $<"
@$(RM) $@
@$(DBLOADTEMPLATE) $< > $@
@$(MSI) $< > $@
##################################################### CapFast filter
@@ -191,8 +189,7 @@ ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo "Expanding dbd"
@$(RM) $@
$(DBEXPAND) $(DBDFLAGS) $< > dbExpand.tmp
$(MV) dbExpand.tmp $@
$(DBEXPAND) $(DBDFLAGS) $< > $@
endif
##################################################### Dependencies

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#
# Rules for making things specified in Makefile.Host
@@ -38,9 +29,7 @@
vpath %.h $(USER_VPATH)
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
#
@@ -235,7 +224,7 @@ endif
# (convenience for extensions and applications)
ifneq ($(EPICS_BASE),$(TOP))
ifneq ($(EPICS_BASE),$(INSTALL_LOCATION))
EPICS_INCLUDES += -I$(EPICS_BASE_INCLUDE)/os/$(OS_CLASS) -I$(EPICS_BASE_INCLUDE)
EPICS_INCLUDES += -I$(EPICS_BASE_INCLUDE) -I$(EPICS_BASE_INCLUDE)/os/$(OS_CLASS)
EPICS_DBDFLAGS += -I $(EPICS_BASE)/dbd
endif
endif
@@ -292,9 +281,7 @@ endif
#---------------------------------------------------------------
# always use c++ linker
ifneq ($(strip $(CPLUSPLUS)),)
LINK.c = $(LINK.cc)
endif # CPLUSPLUS
#---------------------------------------------------------------
# Version number for base shared libraries (and win32 products)
@@ -316,6 +303,11 @@ LIBTARGETS += $(LIBNAME) $(INSTALL_LIBS)
LIBNAME_RCS=$(foreach lib, $(basename $(LIBRARY)), $(RCS) $($(lib)_RCS) $($(lib)_RCS_$(ARCH_CLASS)))
LIBNAME_RESS=$(addsuffix $(RES), $(basename $(LIBNAME_RCS)))
ifneq ($(words $(DLL_LIBS)), $(words $(DLL_DEPLIBS)))
# If invalid library names, don't make DLL file
SHARED_LIBRARIES = NO
endif
# check if shared libraries requested
ifeq ($(strip $(SHARED_LIBRARIES)),YES)
@@ -334,6 +326,8 @@ endif # LIBOBJS
endif # LIBRARY
#---------------------------------------------------------------
# Main targets
all:: install
build:: inc
@@ -364,7 +358,7 @@ buildInstall :: build $(TARGETS) \
clean::
@echo "Cleaning"
@$(RM) *.i *$(OBJ) *.a $(PROD) $(TESTPROD) $(LIBNAME) $(SHRLIBNAME) $(INC) \
*$(RES) $(TARGETS) *.dbd $(MENUS) $(RECTYPES) $(BPTS)
*$(RES) $(TARGETS) $(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS)
ifdef DBDEXPAND
@$(RM) $(DBDNAME)
endif
@@ -389,14 +383,6 @@ 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
@@ -415,10 +401,10 @@ 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
ifeq ($(HOST_ARCH),Borland)
$(PRODNAME): $(PRODNAME_OBJS) $(PRODNAME_RESS)
@$(RM) $@
$(PRODNAME_LINKER) $(PRODNAME_OBJS) , $@ ,,$(LINKLIBS) $(subst /,\\,$(LDLIBS)),, $(PRODNAME_RESS)
@@ -463,12 +449,10 @@ 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)
@@ -477,47 +461,32 @@ 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
endif
#JAR_DEPFILES += $(wildcard $(JAR_INPUT) $(addsuffix /*,$(JAR_INPUT)))
JAR_DEPFILES += $(JAR_INPUT)
JAR_DEPFILES += $(wildcard $(JAR_INPUT) $(addsuffix /*,$(JAR_INPUT)))
$(DIRECTORY_TARGETS) :
$(MKDIR) $@
build:: $(TESTCLASSES) $(JAR)
buildInstall :: $(DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(INSTALL_JAR) $(INSTALL_JAVADOC)
buildInstall :: $(DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(INSTALL_JAR)
clean::
@$(RM) $(TESTCLASSES) $(JAR) $(INSTALL_CLASSES) $(INSTALL_JAVADOC)
@$(RM) $(TESTCLASSES) $(JAR)
%.class:%.java
@echo Creating java class file $@
$(RM) $@
$(JAVACCMD) $<
$(INSTALL_JAVA)/$(PACKAGE)/%.class:%.java
$(INSTALL_JAVA)/$(PACKAGE)/%.class:%.java
@echo Creating java class file $@
@$(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) $@
@@ -525,12 +494,12 @@ $(JAR):%.jar: $(JAR_DEPFILES)
$(INSTALL_JAVA)/%.jar: %.jar
@echo "Installing jar file $@"
@$(INSTALL) -d -m 644 $< $(@D)
$(INSTALL) -d -m 644 $< $(@D)
$(PACKAGE)_%.h:$(INSTALL_JAVA)/$(PACKAGE)/%.class
$(JAVAHCMD) $(PACKAGE).$*
.PRECIOUS: $(INSTALL_CLASSES) $(INSTALL_JAVADOC)
.PRECIOUS: $(INSTALL_CLASSES)
#---------------------------------------------------------------
#---------------------------------------------------------------
@@ -548,13 +517,11 @@ $(PACKAGE)_%.h:$(INSTALL_JAVA)/$(PACKAGE)/%.class
# The order of the following rules is
# VERY IMPORTANT !!!!
depends:: $(LIBSRCS) $(SRCS) $(COND_PROD_SRCS) $(SRCS.c) $(SRCS.cc)
depends:: $(LIBSRCS) $(SRCS) $(COND_PROD_SRCS)
$(RM) DEPENDS
ifneq ($(strip $(LIBSRCS) $(SRCS) $(COND_PROD_SRCS) $(SRCS.c) $(SRCS.cc)),)
$(DEPENDS_RULE)
endif
ifdef BORLANDC
ifeq ($(HOST_ARCH),Borland)
%$(EXE): %.c
@$(RM) $@
$(COMPILE.c) $<
@@ -565,11 +532,6 @@ ifdef BORLANDC
$(COMPILE.cc) $<
$(LINK.cc) $(subst ../,,$(basename $<))$(OBJ) , $@ ,,$(LINKLIBS) $(subst /,\\,$(LDLIBS))
%$(EXE): %.cpp
@$(RM) $@
$(COMPILE.cc) $<
$(LINK.cc) $(subst ../,,$(basename $<))$(OBJ) , $@ ,,$(LINKLIBS) $(subst /,\\,$(LDLIBS))
%$(EXE): %.C
@$(RM) $@
$(COMPILE.cc) $<
@@ -587,11 +549,6 @@ else
$(COMPILE.cc) $<
$(LINK.cc) $(subst ../,,$(basename $<))$(OBJ) $(LDLIBS)
%$(EXE): %.cpp
@$(RM) $@
$(COMPILE.cc) $<
$(LINK.cc) $(subst ../,,$(basename $<))$(OBJ) $(LDLIBS)
%$(EXE): %.C
@$(RM) $@
$(COMPILE.cc) $<
@@ -607,10 +564,6 @@ endif
@$(RM) $@
$(COMPILE.cc) $<
%$(OBJ): %.cpp
@$(RM) $@
$(COMPILE.cc) $<
%$(OBJ): %.C
@$(RM) $@
$(COMPILE.cc) $<
@@ -650,8 +603,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
@@ -663,7 +616,7 @@ endif
%.db: ../%.edf
$(E2DB) $(E2DB_SYSFLAGS) $(E2DB_FLAGS) $<
%.edf: ../%.sch $(DEPSCHS)
%.edf: ../%.sch
@if [ ! -f cad.rc -a -r ../cad.rc ] ; then ln -s ../cad.rc ; fi
$(SCH2EDIF) $(SCH2EDIF_SYSFLAGS) $(SCH2EDIF_FLAGS) $<
@@ -691,29 +644,29 @@ $(INSTALL_DBD)/%: ../%
%Record.h: %Record.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(EXE) \
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH$(EXE) \
$(DBDFLAGS) $<
%Record.h: ../%Record.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(EXE) \
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH$(EXE) \
$(DBDFLAGS) $<
menu%.h: menu%.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToMenuH$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToMenuH$(EXE) $<
menu%.h: ../menu%.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToMenuH$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToMenuH$(EXE) $<
bpt%.dbd: bpt%.data
$(RM) $@
$(EPICS_BASE_HOST_BIN)/makeBpt$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/makeBpt$(EXE) $<
bpt%.dbd: ../bpt%.data
$(RM) $@
$(EPICS_BASE_HOST_BIN)/makeBpt$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/makeBpt$(EXE) $<
# Patch for old applications
ifdef USER_DBDFLAGS
@@ -723,16 +676,15 @@ endif
ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo Expanding dbd
@$(RM) $@ $@-new
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) $< > $@-new
@$(MV) $@-new $@
@$(RM) $@
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbExpand$(EXE) $(DBDFLAGS) $< > $@
ifneq (,$(wildcard ../base.dbd))
$(DBDNAME): ../base.dbd
endif
endif
ifdef BORLANDC
ifeq ($(HOST_ARCH),Borland)
$(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
$(LINK.shrlib) $(LIBOBJS) , $@ ,,$(LINKLIBS) $(subst /,\\,$(DLL_LDLIBS)), $(DLL_DEF_FLAG), $(LIBNAME_RESS)
@@ -741,7 +693,7 @@ $(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
$(LINK.shrlib) $(LIBOBJS) $(DLL_LDLIBS) $(LIBNAME_RESS)
endif
ifdef BORLANDC
ifeq ($(HOST_ARCH),Borland)
# rule for lib (archive of object files) creation
$(LIBNAME): $(LIBOBJS)
$(RM) $@
@@ -783,10 +735,10 @@ $(INSTALL_LIB)/%.lib: %.lib
$(INSTALL_SHRLIB)/lib%: lib%
@echo "Installing library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
@$(INSTALL) -d -m 555 $< $(INSTALL_SHRLIB)
ifdef SHRLIB_VERSION
$(RM) $(subst .$(SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(SHRLIB_VERSION),,$@)
@$(RM) $(@:%.$(SHRLIB_VERSION)=%)
ln -s $< $(@:%.$(SHRLIB_VERSION)=%)
endif # SHRLIB_VERSION
$(INSTALL_TCLLIB)/%: %

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
INCREC +=$(RECTYPES) $(MENUS)
@@ -148,8 +139,8 @@ $(TARGETS) $(PROD): $(DEPLIBS)
@$(RM) $@
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i
%.c: ../%.stt
@echo "converting $<"
%.c: %.stt
@echo "converting $<
@$(RM) $@
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $<
@@ -188,29 +179,29 @@ $(INSTALL_DBD)/%: ../%
%Record.h: %Record.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToRecordtypeH \
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH \
$(DBDFLAGS) $<
%Record.h: ../%Record.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToRecordtypeH \
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH \
$(DBDFLAGS) $<
menu%.h: menu%.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToMenuH $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToMenuH $<
menu%.h: ../menu%.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToMenuH $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToMenuH $<
bpt%.dbd: bpt%.data
$(RM) $@
$(EPICS_BASE_HOST_BIN)/makeBpt $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/makeBpt $<
bpt%.dbd: ../bpt%.data
$(RM) $@
$(EPICS_BASE_HOST_BIN)/makeBpt $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/makeBpt $<
# Patch for old applications
ifdef USER_DBDFLAGS
@@ -220,9 +211,8 @@ endif
ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo expanding dbd
@$(RM) $@ $@-new
$(EPICS_BASE_HOST_BIN)/dbExpand $(DBDFLAGS) $< > $@-new
@$(MV) $@-new $@
@$(RM) $@
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbExpand $(DBDFLAGS) $< > $@
ifneq (,$(wildcard ../base.dbd))
$(DBDNAME): ../base.dbd

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
ifneq ($(strip $(LIBOBJS_$(ARCH_CLASS))),)
@@ -20,6 +11,7 @@ endif
INCREC +=$(RECTYPES) $(MENUS)
INSTALL_PROD = $(PROD:%= $(INSTALL_BIN)/%)
INSTALL_LIBS = $(LIBNAME:%= $(INSTALL_BIN)/%)
INSTALL_MUNCHES = $(MUNCHNAME:%= $(INSTALL_BIN)/%)
INSTALL_LIBS_CXX = $(LIBNAME_CXX:%= $(INSTALL_BIN)/%)
INSTALL_INC = $(INC:%= $(INSTALL_INCLUDE)/%)
INSTALL_OSINCLUDE = $(INSTALL_INCLUDE)/os/vxWorks
@@ -61,7 +53,7 @@ rebuild:: clean install
pre_build::
build:: pre_build $(MENUS) $(RECTYPES) $(BPTS)\
$(LIBNAME) $(LIBNAME_CXX) $(TARGETS) $(PROD)
$(LIBNAME) $(LIBNAME_CXX) $(MUNCHNAME) $(TARGETS) $(PROD)
ifdef DBDEXPAND
build:: $(DBDNAME)
endif
@@ -71,7 +63,7 @@ inc:: $(INSTALL_INC) $(INSTALL_OSINC)
install:: buildInstall
buildInstall :: build $(INSTALL_INCREC)\
$(INSTALL_LIBS) $(INSTALL_LIBS_CXX) \
$(INSTALL_LIBS) $(INSTALL_LIBS_CXX) $(INSTALL_MUNCHES) \
$(TARGETS) $(INSTALL_PROD) \
$(INSTALL_MANS) $(INSTALL_DOCS) \
$(INSTALL_HTMLS) \
@@ -85,14 +77,15 @@ endif
depends:: $(SRCS.c) $(SRCS.cc)
$(RM) DEPENDS
ifneq ($(strip $(SRCS.c) $(SRCS.cc)),)
$(DEPENDS_RULE)
endif
clean::
@echo "Cleaning"
@$(RM) *.i *.o *.a *.out $(TARGETS) $(PROD) $(LIBNAME) $(INC) \
$(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS) $(DBDNAME) *.c
$(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS) $(DBDNAME)
ifdef MUNCH
@$(RM) $(MUNCHNAME) ctdt.c ctdt.o nm.out
endif
# The order of the following dependencies is
# VERY IMPORTANT !!!!
@@ -123,11 +116,19 @@ clean::
# C++ munching
%.out : %.o
@ $(RM) ctct.o ctdt.c
$(NM) $< | $(MUNCH) > ctdt.c
@ $(RM) ctct.o ctdt.c nm.out
$(NM) $< > nm.out
$(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c
$(COMPILE.c) -traditional ctdt.c
$(LINK.c) $@ $< ctdt.o
@ $(RM) ctdt.c ctdt.o
$(LINK.cc) $@ $< ctdt.o
# C++ munching for VxWorks
$(MUNCHNAME):%.munch : %
@ $(RM) ctct.o ctdt.c nm.out
$(NM) $< > nm.out
$(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c
$(COMPILE.c) -traditional ctdt.c
$(LINK.cc) $@ $(LDFLAGS) $< ctdt.o
#
# rename the y.tab.h file only if we
@@ -159,8 +160,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
@@ -203,29 +204,29 @@ $(INSTALL_DBD)/%: ../%
%Record.h: %Record.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(EXE) \
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH$(EXE) \
$(DBDFLAGS) $<
%Record.h: ../%Record.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(EXE) \
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToRecordtypeH$(EXE) \
$(DBDFLAGS) $<
menu%.h: menu%.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToMenuH$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToMenuH$(EXE) $<
menu%.h: ../menu%.dbd
$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbToMenuH$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbToMenuH$(EXE) $<
bpt%.dbd: bpt%.data
$(RM) $@
$(EPICS_BASE_HOST_BIN)/makeBpt$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/makeBpt$(EXE) $<
bpt%.dbd: ../bpt%.data
$(RM) $@
$(EPICS_BASE_HOST_BIN)/makeBpt$(EXE) $<
$(EPICS_BASE)/bin/$(HOST_ARCH)/makeBpt$(EXE) $<
# Patch for old applications
ifdef USER_DBDFLAGS
@@ -235,9 +236,8 @@ endif
ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo Expanding dbd
@$(RM) $@ $@-new
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) $< > $@-new
@$(MV) $@-new $@
@$(RM) $@
$(EPICS_BASE)/bin/$(HOST_ARCH)/dbExpand$(EXE) $(DBDFLAGS) $< > $@
endif
$(LIBNAME): $(LIBOBJS)

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#
@@ -22,6 +13,7 @@ ACTIONS += install
ACTIONS += buildInstall
ACTIONS += depends
ACTIONS += rebuild
ACTIONS += browse
actionPart = $(word 1, $(subst $(DIVIDER), ,$@))
archPart = $(word 2, $(subst $(DIVIDER), ,$@))

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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$
#

View File

@@ -1,12 +1,3 @@
#*************************************************************************
# 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.
#*************************************************************************
# Makefile.Host for base/src/sample
#
#

39
config/tools/cp.pl Executable file
View File

@@ -0,0 +1,39 @@
#!/usr/bin/perl
#
# UNIX-cp in Perl
use File::Copy;
sub Usage
{
my ($txt) = @_;
print "Usage:\n";
print "\tcp file1 file2\n";
print "\tcp file [ file2 file3 ...] directory\n";
print "\nError: $txt\n" if $txt;
exit 2;
}
# need at least two args: ARGV[0] and ARGV[1]
Usage("need more args") if $#ARGV < 1;
$target=$ARGV[$#ARGV];
@sources=@ARGV[0..$#ARGV-1];
if (-d $target)
{
foreach $file ( @sources )
{
copy ($file, "$target/$file");
}
}
else
{
Usage("Cannot copy more than one source into a single target")
if ($#sources != 0);
copy ($sources[0], $target);
}
# EOF cp.pl

13
config/tools/findBase.pl Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/perl
use Cwd;
$dir=cwd();
# make sure $dir ends with '/'
#
$dir="$dir/" unless ($dir =~ m'/$');
if ($dir =~ m'(.*(/|\\)base)(/|\\)')
{
print "$1";
}

View File

@@ -1,13 +1,5 @@
#!/bin/sh
#*************************************************************************
# 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.
#*************************************************************************
# InstallEpics
#
# InstallEpics is used within makefiles to copy new versions of

View File

@@ -1,13 +1,4 @@
#!/usr/bin/perl
#*************************************************************************
# 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.
#*************************************************************************
#
# InstallEpics.pl
#
@@ -46,7 +37,7 @@ $install_dir =~ s[/$][]; # remove trailing '/'
$install_dir =~ s[//][/]g; # replace '//' by '/'
# Do we have to create the directory?
unless ( (-d $install_dir) || (-l $install_dir) )
unless (-d $install_dir)
{
# Create dir only if -d option given
Usage ("$install_dir does not exist") unless ($opt_d);
@@ -104,7 +95,7 @@ sub Usage
print "Usage:\n";
print "\t$tool [ -m mode ] file ... directory\n";
print "\n";
print "\t-d Create non-existing directories\n";
print "\t-d Create non-exising directories\n";
print "\t-m mode Set the mode for the installed file";
print " (0755 by default)\n";
print "\tfile Name of file\n";

31
config/tools/makeMakefile.pl Executable file
View File

@@ -0,0 +1,31 @@
#!/usr/bin/perl
#
# makeMakefile.pl
#
# called from RULES_ARCHS
#
#
# Usage: perl makeMakefile.pl O.*-dir Makefile-Type
$dir = $ARGV[0];
$type= $ARGV[1];
$makefile="$dir/Makefile";
if ($dir =~ m'O.(.+)')
{
$t_a = $1;
}
else
{
die "Cannot extract T_A from $dir";
}
mkdir ($dir, 0777) unless -d $dir;
open OUT, "> $makefile" or die "Cannot create $makefile";
print OUT "T_A=$t_a\n";
print OUT "BUILD_TYPE=$type\n";
print OUT "include ../Makefile.$type\n";
close OUT;
# EOF makeMakefile.pl

23
config/tools/mkdir.pl Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/perl
#
# UNIX-mkdir in Perl
#
# -p option generates full path to given dir
use File::Path;
use Getopt::Std;
getopt "";
foreach $dir ( @ARGV )
{
if ($opt_p)
{
mkpath ($dir) or die "Cannot make directory $dir";
}
else
{
mkdir ($dir, 0777) or die "Cannot make directory $dir";
}
}
# EOF mkdir.pl

51
config/tools/munch.pl Executable file
View File

@@ -0,0 +1,51 @@
eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
if $running_under_some_shell; # makeConfigAppInclude.pl
# Creates a ctdt.c file of c++ static constructors and destructors.
# $Id$
@ctorlist = ();
@dtorlist = ();
while ($line = <STDIN>)
{
if ($line =~ /__?GLOBAL_.D.+/) {
($adr,$type,$name) = split ' ',$line,3;
chop $name;
$name =~ s/^__/_/;
@dtorlist = (@dtorlist,$name);
};
if ($line =~ /__?GLOBAL_.I.+/) {
($adr,$type,$name) = split ' ',$line,3;
chop $name;
$name =~ s/^__/_/;
@ctorlist = (@ctorlist,$name);
};
}
foreach $ctor (@ctorlist)
{
printf "void %s();\n",$ctor;
}
print "extern void (*_ctors[])();\n";
print "void (*_ctors[])() = {\n";
foreach $ctor (@ctorlist)
{
printf " %s,\n",$ctor;
}
print " 0};\n";
foreach $dtor (@dtorlist)
{
printf "void %s();\n",$dtor;
}
print "extern void (*_ctors[])();\n";
print "void (*_dtors[])() = {\n";
foreach $dtor (@dtorlist)
{
printf " %s,\n",$dtor;
}
print " 0};\n";

9
src/tools/mv.pl → config/tools/mv.pl Normal file → Executable file
View File

@@ -1,13 +1,4 @@
#!/usr/bin/perl
#*************************************************************************
# 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.
#*************************************************************************
#
# UNIX-mv in Perl

32
config/tools/rm.pl Executable file
View File

@@ -0,0 +1,32 @@
#!/usr/bin/perl
#
# UNIX-rm in Perl
use File::Path;
use File::Find;
use Getopt::Std;
getopt "";
foreach $arg ( @ARGV )
{
next unless -e $arg;
if (-d $arg)
{
if ($opt_r and $opt_f)
{
rmtree $arg;
}
else
{
rmdir ($arg) or die "Cannot delete $arg";
}
}
else
{
unlink ($arg) or die "Cannot delete $arg";
}
}
# EOF rm.pl

101
configure/CONFIG Normal file
View File

@@ -0,0 +1,101 @@
#
# $Id$
#
# The developer may edit this file.
# assume T_A is the host arch if not specified
#
# Common build definitions
#
ifndef CONFIG
CONFIG = $(TOP)/configure
endif
-include $(CONFIG)/os/CONFIG_COMPAT
-include $(CONFIG)/RELEASE
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH)
include $(CONFIG)/CONFIG_COMMON
# EPICS-specific build options
#
include $(CONFIG)/CONFIG_BASE
include $(CONFIG)/CONFIG_BASE_VERSION
# Site-specific build options
#
include $(CONFIG)/CONFIG_SITE
# Host architecture specific definitions
#
include $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).Common
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
ifdef T_A
# Cross compile specific definitions
#
ifneq ($(EPICS_HOST_ARCH),$(T_A))
include $(CONFIG)/CONFIG.CrossCommon
endif
# Target architecture specific definitions
#
-include $(CONFIG)/os/CONFIG.Common.$(T_A)
# Host-Target architecture specific definitions
#
-include $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
# Site specific target and host-target definitions
#
-include $(CONFIG)/os/CONFIG_SITE.Common.$(T_A)
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
endif
# User specific definitions
#
-include $(HOME)/configure/CONFIG
-include $(HOME)/os/configure/CONFIG.Host.$(HOST_ARCH)
-include $(HOME)/os/configure/CONFIG.Host.$(EPICS_HOST_ARCH)
-include $(HOME)/os/configure/CONFIG.$(HOST_ARCH).Common
-include $(HOME)/os/configure/CONFIG.$(EPICS_HOST_ARCH).Common
ifdef T_A
-include $(HOME)/configure/CONFIG.$(OS_CLASS)
-include $(HOME)/configure/CONFIG.Target.$(T_A)
-include $(HOME)/configure/CONFIG.Common.$(T_A)
-include $(HOME)/configure/CONFIG.$(HOST_ARCH).$(T_A)
-include $(HOME)/configure/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
-include $(HOME)/configure/os/CONFIG.Target.$(T_A)
-include $(HOME)/configure/os/CONFIG.Common.$(T_A)
-include $(HOME)/configure/os/CONFIG.$(HOST_ARCH).$(T_A)
-include $(HOME)/configure/os/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
endif
# All options
# may be overridden here.
#
# EXAMPLES
# --------
# Build client objects statically ? must be either YES or NO
#STATIC_BUILD=NO
# Host build optimization, must be either YES or NO
#HOST_OPT=YES
# Cross build optimization, must be either YES or NO
#CROSS_OPT=YES
# Generate Verbose Compiler Warnings for host build, must be either YES or NO
#HOST_WARN=YES
# Generate Verbose Compiler Warnings for cross compile builds, must be either YES or NO
#CROSS_WARN=YES
#etc.
#CROSS_COMPILER_TARGET_ARCHS=mv167
#ANSI=GCC
#CPLUSPLUS=G++
#CMPLR=STRICT
#CXXCMPLR=STRICT

View File

@@ -0,0 +1,7 @@
# Cross compiler default definitions
BUILD_CLASS = CROSS
ANSI = GCC
CPLUSPLUS = G++

268
configure/CONFIG_ADDONS Normal file
View File

@@ -0,0 +1,268 @@
# $Id#
#
# check for add-on CFLAGS and CXXFLAGS
#
# Rules:
# 1) USR_CFLAGS is used
# 2) if there is a special USR_CFLAGS_$(OS_CLASS), it's
# appended to 1)
# 3) if there is no special defined, but a generic USR_CFLAGS_DEFAULT,
# this one is appended
# 4) if you have the special case that your USR_CFLAGS_$(OS_CLASS) is
# empty but you don't want 3), you have to define it as '-nil-', e.g.:
# USR_CFLAGS = <defines for all systems>
# 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
# PROD_LIBS EPICS libs needed by PROD and TESTPROD
# USR_LIBS NONEPICS libs needed by PROD and TESTPROD
# USR_LDFLAGS ld flags
# SYS_PROD_LIBS system libs needed by PROD and TESTPROD
# PROD products to build and install
# SCRIPTS scripts to install
# USR_INCLUDES include directories
#
# Remark:
# If you define INC, e.g. INC = getopt.h, the source
# (getopt.h) must be in the source directory (..) and/or
# in one or more ../os/<OS_CLASS> directories.
# The INC source files cannot be created by the build.
#
ifneq ($(strip $(USR_CFLAGS_$(OS_CLASS))),)
USR_CFLAGS+=$(subst -nil-,,$(USR_CFLAGS_$(OS_CLASS)))
else
ifdef USR_CFLAGS_DEFAULT
USR_CFLAGS+=$(USR_CFLAGS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_INCLUDES_$(OS_CLASS))),)
USR_INCLUDES+=$(subst -nil-,,$(USR_INCLUDES_$(OS_CLASS)))
else
ifdef USR_INCLUDES_DEFAULT
USR_INCLUDES+=$(USR_INCLUDES_DEFAULT)
endif
endif
ifneq ($(strip $(USR_CXXFLAGS_$(OS_CLASS))),)
USR_CXXFLAGS+=$(subst -nil-,,$(USR_CXXFLAGS_$(OS_CLASS)))
else
ifdef USR_CXXFLAGS_DEFAULT
USR_CXXFLAGS+=$(USR_CXXFLAGS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_CPPFLAGS_$(OS_CLASS))),)
USR_CPPFLAGS+=$(subst -nil-,,$(USR_CPPFLAGS_$(OS_CLASS)))
else
ifdef USR_CPPFLAGS_DEFAULT
USR_CPPFLAGS+=$(USR_CPPFLAGS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_LDFLAGS_$(OS_CLASS))),)
USR_LDFLAGS+=$(subst -nil-,,$(USR_LDFLAGS_$(OS_CLASS)))
else
ifdef USR_LDFLAGS_DEFAULT
USR_LDFLAGS+=$(USR_LDFLAGS_DEFAULT)
endif
endif
ifneq ($(strip $(HTMLS_$(OS_CLASS))),)
HTMLS+=$(subst -nil-,,$(HTMLS_$(OS_CLASS)))
else
ifdef HTMLS_DEFAULT
HTMLS+=$(HTMLS_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)))
else
ifdef INC_DEFAULT
INC += $(INC_DEFAULT)
endif
endif
# concat specific library contents (if defined)
#
ifneq ($(strip $(LIBSRCS_$(OS_CLASS))),)
LIBSRCS += $(subst -nil-,,$(LIBSRCS_$(OS_CLASS)))
else
ifdef LIBSRCS_DEFAULT
LIBSRCS+=$(LIBSRCS_DEFAULT)
endif
endif
ifneq ($(strip $(SRCS_$(OS_CLASS))),)
SRCS += $(subst -nil-,,$(SRCS_$(OS_CLASS)))
else
ifdef SRCS_DEFAULT
SRCS+=$(SRCS_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_SRCS_$(OS_CLASS))),)
PROD_SRCS += $(subst -nil-,,$(PROD_SRCS_$(OS_CLASS)))
else
ifdef PROD_SRCS_DEFAULT
PROD_SRCS+=$(PROD_SRCS_DEFAULT)
endif
endif
ifneq ($(strip $(BIN_INSTALLS_$(OS_CLASS))),)
BIN_INSTALLS+=$(subst -nil-,,$(BIN_INSTALLS_$(OS_CLASS)))
else
ifdef BIN_INSTALLS_DEFAULT
BIN_INSTALLS+=$(BIN_INSTALLS_DEFAULT)
endif
endif
ifneq ($(strip $(OBJS_$(OS_CLASS))),)
OBJS+=$(subst -nil-,,$(OBJS_$(OS_CLASS)))
else
ifneq (,$(strip $(OBJS_DEFAULT)))
OBJS+=$(OBJS_DEFAULT)
endif
endif
ifneq ($(strip $(OBJS_IOC_$(OS_CLASS))),)
OBJS_IOC+=$(subst -nil-,,$(OBJS_IOC_$(OS_CLASS)))
else
ifneq (,$(strip $(OBJS_IOC_DEFAULT)))
OBJS_IOC+=$(OBJS_IOC_DEFAULT)
endif
endif
ifneq ($(strip $(OBJS_HOST_$(OS_CLASS))),)
OBJS_HOST+=$(subst -nil-,,$(OBJS_HOST_$(OS_CLASS)))
else
ifneq (,$(strip $(OBJS_HOST_DEFAULT)))
OBJS_HOST+=$(OBJS_HOST_DEFAULT)
endif
endif
ifneq ($(strip $(LIBOBJS_$(OS_CLASS))),)
LIBOBJS+=$(subst -nil-,,$(LIBOBJS_$(OS_CLASS)))
else
ifneq (,$(strip $(LIBOBJS_DEFAULT)))
LIBOBJS+=$(LIBOBJS_DEFAULT)
endif
endif
ifneq ($(strip $(LIBRARY_$(OS_CLASS))),)
LIBRARY+=$(subst -nil-,,$(LIBRARY_$(OS_CLASS)))
else
ifneq (,$(strip $(LIBRARY_DEFAULT)))
LIBRARY+=$(LIBRARY_DEFAULT)
endif
endif
ifneq ($(strip $(LIBRARY_IOC_$(OS_CLASS))),)
LIBRARY_IOC+=$(subst -nil-,,$(LIBRARY_IOC_$(OS_CLASS)))
else
ifneq (,$(strip $(LIBRARY_IOC_DEFAULT)))
LIBRARY_IOC+=$(LIBRARY_IOC_DEFAULT)
endif
endif
ifneq ($(strip $(LIBRARY_HOST_$(OS_CLASS))),)
LIBRARY_HOST+=$(subst -nil-,,$(LIBRARY_HOST_$(OS_CLASS)))
else
ifneq (,$(strip $(LIBRARY_HOST_DEFAULT)))
LIBRARY_HOST+=$(LIBRARY_HOST_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_LIBS_$(OS_CLASS))),)
PROD_LIBS += $(subst -nil-,,$(PROD_LIBS_$(OS_CLASS)))
else
ifdef PROD_LIBS_DEFAULT
PROD_LIBS += $(PROD_LIBS_DEFAULT)
endif
endif
ifneq ($(strip $(USR_LIBS_$(OS_CLASS))),)
USR_LIBS += $(subst -nil-,,$(USR_LIBS_$(OS_CLASS)))
else
ifdef USR_LIBS_DEFAULT
USR_LIBS += $(USR_LIBS_DEFAULT)
endif
endif
#
# concat specific library contents (if defined) to SYS_PROD_LIBS
#
ifneq ($(strip $(SYS_PROD_LIBS_$(OS_CLASS))),)
SYS_PROD_LIBS += $(subst -nil-,,$(SYS_PROD_LIBS_$(OS_CLASS)))
else
ifdef SYS_PROD_LIBS_DEFAULT
SYS_PROD_LIBS += $(SYS_PROD_LIBS_DEFAULT)
endif
endif
#
# concat specific products
#
ifneq ($(strip $(PROD_$(OS_CLASS))),)
PROD += $(subst -nil-,,$(PROD_$(OS_CLASS)))
else
ifdef PROD_DEFAULT
PROD += $(PROD_DEFAULT)
endif
endif
#
# concat specific products
#
ifneq ($(strip $(TESTPROD_$(OS_CLASS))),)
TESTPROD += $(subst -nil-,,$(TESTPROD_$(OS_CLASS)))
else
ifdef TESTPROD_DEFAULT
TESTPROD += $(TESTPROD_DEFAULT)
endif
endif
#
# concat specific scripts
#
ifneq ($(strip $(SCRIPTS_$(OS_CLASS))),)
SCRIPTS += $(subst -nil-,,$(SCRIPTS_$(OS_CLASS)))
else
ifdef SCRIPTS_DEFAULT
SCRIPTS += $(SCRIPTS_DEFAULT)
endif
endif
#
# concat specific resource files
#
ifneq ($(strip $(RCS_$(OS_CLASS))),)
RCS += $(subst -nil-,,$(RCS_$(OS_CLASS)))
else
ifdef RCS_DEFAULT
RCS += $(RCS_DEFAULT)
endif
endif
#
# concat specific sequencer flags
#
ifneq ($(strip $(SNCFLAGS_$(OS_CLASS))),)
SNCFLAGS += $(subst -nil-,,$(SNCFLAGS_$(OS_CLASS)))
else
ifdef SNCFLAGS_DEFAULT
SNCFLAGS += $(SNCFLAGS_DEFAULT)
endif
endif

98
configure/CONFIG_BASE Normal file
View File

@@ -0,0 +1,98 @@
ifndef EPICS_BASE
EPICS_BASE = $(INSTALL_LOCATION)
endif
#---------------------------------------------------------------
# Epics base directories
EPICS_BASE_HOST_BIN = $(EPICS_BASE)/bin/$(EPICS_HOST_ARCH)
EPICS_BASE_HOST_LIB = $(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)
EPICS_EXTENSIONS_HOST_BIN = $(EPICS_EXTENSIONS)/bin/$(EPICS_HOST_ARCH)
EPICS_EXTENSIONS_HOST_LIB = $(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH)
EPICS_BASE_INCLUDE = $(EPICS_BASE)/include
ifdef T_A
EPICS_BASE_LIB = $(EPICS_BASE)/lib/$(T_A)
EPICS_BASE_BIN = $(EPICS_BASE)/bin/$(T_A)
endif
#Definitions for extensions convenience
As_DIR = $(EPICS_BASE_LIB)
ca_DIR = $(EPICS_BASE_LIB)
cas_DIR = $(EPICS_BASE_LIB)
Com_DIR = $(EPICS_BASE_LIB)
rsrvIoc_DIR = $(EPICS_BASE_LIB)
registryIoc_DIR = $(EPICS_BASE_LIB)
asHost_DIR = $(EPICS_BASE_LIB)
asIoc_DIR = $(EPICS_BASE_LIB)
dbIoc_DIR = $(EPICS_BASE_LIB)
dbStaticHost_DIR = $(EPICS_BASE_LIB)
dbStaticIoc_DIR = $(EPICS_BASE_LIB)
gdd_DIR = $(EPICS_BASE_LIB)
#---------------------------------------------------------------
# For applications and extensions
# add epics/base include directories
ifneq ($(EPICS_BASE),$(TOP))
ifneq ($(EPICS_BASE),$(INSTALL_LOCATION))
INSTALL_INCLUDES += \
-I$(EPICS_BASE_INCLUDE)/os/$(OS_CLASS) \
-I$(EPICS_BASE_INCLUDE)
endif
endif
#---------------------------------------------------------------
# Version number for base shared libraries (and win32 products)
ifeq ($(EPICS_BASE),$(TOP))
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION)
PROD_VERSION = $(EPICS_VERSION).$(EPICS_REVISION)
endif # EPICS_BASE
#---------------------------------------------------------------
# Epics base c preprocessor flags
# c++ exceptions
CXX_EXCEPTIONS = YES
CXX_EXCEPTIONS_FLAGS_YES =
CXX_EXCEPTIONS_FLAGS_NO = -DnoExceptionsFromCXX
EPICS_BASE_CPPFLAGS = $(CXX_EXCEPTIONS_FLAGS_$(CXX_EXCEPTIONS))
# osithread default stack
OSITHREAD_USE_DEFAULT_STACK = YES
OSITHREAD_DEFAULT_STACK_FLAGS_YES = -DOSITHREAD_USE_DEFAULT_STACK
OSITHREAD_DEFAULT_STACK_FLAGS_NO =
EPICS_BASE_CPPFLAGS += $(OSITHREAD_DEFAULT_STACK_FLAGS_$(OSITHREAD_USE_DEFAULT_STACK))
#---------------------------------------------------------------
# Epics base build tools and tool flags
# 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
YACC = $(EYACC)
LEX = $(ELEX)
# state notation language compiler (installed from base/src/sequencer)
SNC = $(SEQ)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
# adl2dl
ADL2DL = $(EPICS_EXTENSIONS_HOST_BIN)/adl2dl
# sch2edif compiler and flags
SCH2EDIF = sch2edif
SCH2EDIF_PATH =
SCH2EDIF_SYSFLAGS = -n -ap -p.+..+$(SCH2EDIF_PATH)+$(EPICS_EXTENSIONS)/templates/capfast/sym+
SCH2EDIF_FLAGS =
# e2db and flags
# - again there is an assumption where edb.def is installed.
E2DB = $(EPICS_EXTENSIONS_HOST_BIN)/e2db
E2DB_SYSFLAGS = -ate -d $(EPICS_EXTENSIONS)/templates/capfast/edb.def
E2DB_FLAGS =
#dbst
DBST = $(EPICS_EXTENSIONS_HOST_BIN)/dbst

View File

@@ -0,0 +1,20 @@
#
# $Id$
#
# EPICS Version information
#
# This file is interpreted by the Bourne Shell (MakeRelease), so spaces are
# not allowed around the '=' signs or in unquoted values.
#
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=0
EPICS_UPDATE_NAME=alpha
EPICS_UPDATE_LEVEL=1
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}"
CVS_DATE="\$$Date$$"
CVS_TAG="\$$Name$$"

379
configure/CONFIG_COMMON Normal file
View File

@@ -0,0 +1,379 @@
#
# $Id$
#
# CONFIG_COMMON
#
# This file is to be maintained by the community.
#
# Common Configuration Information
#-------------------------------------------------------
# Build architectures
# CROSS1 will be defined only when CROSS_COMPILER_HOST_ARCHS is NOT defined
CROSS1 = $(CROSS_COMPILER_TARGET_ARCHS$(word 1,$(CROSS_COMPILER_HOST_ARCHS)))
# CROSS2 will be defined only when CROSS_COMPILER_HOST_ARCHS is defined
# and EPICS_HOST_ARCH is one of it's words
CROSS2 = $(CROSS_COMPILER_TARGET_ARCHS$(filter-out 1,$(words $(filter $(EPICS_HOST_ARCH),$(CROSS_COMPILER_HOST_ARCHS)))))
BUILD_ARCHS = $(EPICS_HOST_ARCH) $(CROSS1) $(CROSS2)
#-------------------------------------------------------
# Build class default, HOST or CROSS, CONFIG will override
BUILD_CLASS = HOST
#-------------------------------------------------------
# Divider and suffix
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)
#-------------------------------------------------------
# Directories
INSTALL_LOCATION = $(TOP)
TOOLS = $(CONFIG)/tools
INSTALL_LOCATION_LIB = $(INSTALL_LOCATION)/lib
INSTALL_LOCATION_BIN = $(INSTALL_LOCATION)/bin
INSTALL_HOST_BIN = $(INSTALL_LOCATION_BIN)/$(EPICS_HOST_ARCH)
INSTALL_HOST_LIB = $(INSTALL_LOCATION_LIB)/$(EPICS_HOST_ARCH)
INSTALL_INCLUDE = $(INSTALL_LOCATION)/include
INSTALL_DOC = $(INSTALL_LOCATION)/doc
INSTALL_HTML = $(INSTALL_LOCATION)/html
INSTALL_TEMPLATES = $(INSTALL_LOCATION)/templates
INSTALL_DBD = $(INSTALL_LOCATION)/dbd
INSTALL_DB = $(INSTALL_LOCATION)/db
INSTALL_CONFIG = $(INSTALL_LOCATION)/configure
INSTALL_JAVA = $(INSTALL_LOCATION)/javalib
ifdef T_A
INSTALL_LIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_SHRLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_TCLLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_BIN = $(INSTALL_LOCATION_BIN)/$(T_A)
# vpath directories
GENERIC_SRC_DIRS = .. $(SRC_DIRS)
OS_SRC_DIRS += . $(foreach dir, $(SRC_DIRS) .., \
$(dir)/os/$(OS_CLASS) $(dir)/os/posix $(dir)/os/default )
ALL_SRC_DIRS = $(OS_SRC_DIRS) $(GENERIC_SRC_DIRS)
# compile line include directories
INSTALL_INCLUDES += \
-I$(INSTALL_INCLUDE)/os/$(OS_CLASS) \
-I$(INSTALL_INCLUDE)
GENERIC_SRC_INCLUDES = $(addprefix -I, $(GENERIC_SRC_DIRS))
#--------------------------------------------------
# GNU compiler defaults
GNU_BIN = $(GNU_DIR)/bin
GNU_LIB = $(GNU_DIR)/lib
export GCC_EXEC_PREFIX = $(GNU_LIB)/gcc-lib/
GCC_AR = $(GNU_BIN)/$(CMPLR_PREFIX)ar$(CMPLR_SUFFIX) -rc
GCC_CPP = $(GCC) -x c -E
GCC_RANLIB = $(GNU_BIN)/$(CMPLR_PREFIX)ranlib$(CMPLR_SUFFIX)
GCC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
GCC_CONFORM_CFLAGS_ANSI = -ansi
GCC_CONFORM_CFLAGS_STRICT = -ansi -pedantic
GCC_CONFORM_CFLAGS_TRAD = -traditional
GCC_WARN_YES = -Wall
GCC_WARN_NO = -w
GCC_OPT_YES = -g -O3
GCC_OPT_NO = -g
GCC_STATIC_CFLAGS_YES = -static
GCC_STATIC_CFLAGS_NO =
GCC_BUILD_CFLAGS_CROSS = -B$(GNU_LIB)/gcc-lib/ -nostdinc
GCC_BUILD_CPPFLAGS_CROSS = -nostdinc
GCC_SHRLIB_LDFLAGS_YES = -shared
GCC_CODE_CPPFLAGS = -D_REENTRANT
GCC_POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
G++ = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
G++_CONFORM_CFLAGS_NORMAL = -ansi -pedantic
G++_CONFORM_CFLAGS_STRICT = -ansi -pedantic
#G++_WARN_YES = -Wall -Weffc++
G++_WARN_YES = -Wall
G++_WARN_NO = -w
G++_OPT_YES = -g -O3
G++_OPT_NO = -g
G++_STATIC_CFLAGS_YES = -static
G++_STATIC_CFLAGS_NO =
G++_SHRLIB_LDFLAGS_YES = -shared
G++_CODE_CPPFLAGS = -D_REENTRANT
G++_POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
G++_TEMPL_INST_FLAG = -DEXPL_TEMPL
G++_DEPENDS_FLAG = -MM
#--------------------------------------------------
# Target filename definitions
OBJSNAME = $(addsuffix $(OBJ),$(OBJS))
PRODNAME = $(addsuffix $(EXE),$(PROD))
TESTPRODNAME = $(addsuffix $(EXE),$(TESTPROD))
#---------------------------------------------------------------
# Directory targets
DIRECTORY_TARGETS += $(INSTALL_DBD) $(INSTALL_INCLUDE)
#--------------------------------------------------
# obj files
TARGET_OBJS = $(addsuffix $(OBJ),$(basename $($*_OBJS)))
PROD_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(PROD_SRCS)))
PROD_LD_OBJS = $(TARGET_OBJS) $(PROD_OBJS)
LIBRARY_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(LIBSRCS)))
LIBRARY_LD_OBJS = $(TARGET_OBJS) $(LIBRARY_OBJS)
#--------------------------------------------------
# resource(WIN32) files
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_LD_RESS = $(TARGET_RESS) $(LIBRARY_RESS)
#--------------------------------------------------
# WIN95/NT source browser
PROD_BAF = $(addsuffix $(BAF), $(basename $(PROD)))
LIB_BAF_IOC=$(addsuffix $(BAF),$(basename $(LIBRARY_IOC)))
LIB_BAF_HOST=$(addsuffix $(BAF),$(basename $(LIBRARY_HOST)))
#--------------------------------------------------
# dbExpand flags
INSTALL_DBDFLAGS = -I $(INSTALL_LOCATION)/dbd
#--------------------------------------------------
# C preprocessor, compiler, and linker flag defaults
# Build class (CROSS,HOST) flags
BUILD_CLASS_CFLAGS = $($(ANSI)_BUILD_CFLAGS_$(BUILD_CLASS))
BUILD_CLASS_CPPFLAGS = $($(ANSI)_BUILD_CPPFLAGS_$(BUILD_CLASS))
# C++ template flag
TEMPL_INST_CXXFLAG = $($(CPLUSPLUS)_TEMPL_INST_FLAG)
# Code (position independant and reentrant) flags
CODE_CFLAGS = $($(ANSI)_CODE_CFLAGS)
CODE_CXXFLAGS = $($(CPLUSPLUS)_CODE_CFLAGS)
# Target architecture specific (solaris,sun4,mv167,...) flags
ARCH_DEP_CPPFLAGS =
ARCH_DEP_CFLAGS =
ARCH_DEP_CXXFLAGS = $(ARCH_DEP_CFLAGS)
ARCH_DEP_LDFLAGS =
ARCH_DEP_LDLIBS =
# Target operating system specific (Unix,Vx,WIN32...) flags
OP_SYS_CPPFLAGS =
OP_SYS_CFLAGS =
OP_SYS_LDFLAGS =
OP_SYS_INCLUDES =
OP_SYS_LDLIBS =
# SOURCE* used by WIN32 only
SOURCE_CFLAG =
SOURCE_CXXCFLAG =
# Makefile specific flags
USR_INCLUDES =
USR_CFLAGS =
USR_CXXFLAGS =
USR_LDFLAGS =
USR_LDLIBS =
USR_CPPFLAGS =
USR_DBDFLAGS =
USR_ARFLAGS =
# Target specific options
TARGET_INCLUDES = $($(basename $@)_INCLUDES) $($(basename $@)_INCLUDES_$(OS_CLASS))
TARGET_CFLAGS = $($(basename $@)_CFLAGS) $($(basename $@)_CFLAGS_$(OS_CLASS))
TARGET_CXXFLAGS = $($(basename $@)_CXXFLAGS) $($(basename $@)_CXXFLAGS_$(OS_CLASS))
TARGET_LDFLAGS = $($(basename $@)_LDFLAGS) $($(basename $@)_LDFLAGS_$(OS_CLASS))
TARGET_LDLIBS = $($(basename $@)_LDLIBS) $($(basename $@)_LDLIBS_$(OS_CLASS))
TARGET_CPPFLAGS = $($(basename $@)_CPPFLAGS) $($(basename $@)_CPPFLAGS_$(OS_CLASS))
TARGET_SNCFLAGS = $($(basename $@)_SNCFLAGS) $($(basename $@)_SNCFLAGS_$(OS_CLASS))
# POSIX specific flags
POSIX_CPPFLAGS = $($(ANSI)_POSIX_CPPFLAGS)
# CMPLR level of ansi conformance flags
CONFORM_CFLAGS = $($(ANSI)_CONFORM_CFLAGS_$(CMPLR))
CONFORM_CXXFLAGS = $($(CPLUSPLUS)_CONFORM_CFLAGS_$(CMPLR))
# Warnings flags
WARN_CFLAGS = $($(ANSI)_WARN_$($(BUILD_CLASS)_WARN))
WARN_CXXFLAGS = $($(CPLUSPLUS)_WARN_$($(BUILD_CLASS)_WARN))
# Optimization flags
OPT_CFLAGS = $($(ANSI)_OPT_$($(BUILD_CLASS)_OPT))
OPT_CXXFLAGS = $($(CPLUSPLUS)_OPT_$($(BUILD_CLASS)_OPT))
OPT_LDFLAGS =
# Static build flags
STATIC_CFLAGS = $($(ANSI)_STATIC_CFLAGS_$(STATIC_BUILD))
STATIC_CXXCFLAGS = $($(CPLUSPLUS)_STATIC_CFLAGS_$(STATIC_BUILD))
STATIC_LDFLAGS = $($(ANSI)_STATIC_LDFLAGS_$(STATIC_BUILD))
STATIC_LDLIBS = $($(ANSI)_STATIC_LDLIBS_$(STATIC_BUILD))
# Depends flag
DEPENDS_FLAG = $($(CPLUSPLUS)_DEPENDS_FLAG)
#--------------------------------------------------
# Flags
INCLUDES = -I. $(USR_INCLUDES) $(INSTALL_INCLUDES) \
$(TARGET_INCLUDES) $(GENERIC_SRC_INCLUDES) $(OP_SYS_INCLUDES)
CFLAGS = $(CONFORM_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS) $(WARN_CFLAGS)\
$(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS) $(CODE_CFLAGS)\
$(STATIC_CFLAGS) $(OP_SYS_CFLAGS)
CXXFLAGS = $(CONFORM_CXXFLAGS) $(OPT_CXXFLAGS) $(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS)\
$(TARGET_CXXFLAGS) $(USR_CXXFLAGS) $(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS)\
$(STATIC_CXXCFLAGS) $(OP_SYS_CFLAGS) $(TEMPL_INST_CXXFLAG)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) $(DEPLIB_LDFLAGS)\
$(ARCH_DEP_LDFLAGS) $(STATIC_LDFLAGS) $(OP_SYS_LDFLAGS)
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(DEPLIB_LDLIBS) $(ARCH_DEP_LDLIBS)\
$(STATIC_LDLIBS) $(OP_SYS_LDLIBS)
CPPFLAGS += $(POSIX_CPPFLAGS) $(EPICS_BASE_CPPFLAGS)\
$(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS) $(OP_SYS_CPPFLAGS)
CPPSNCFLAGS = $(CPPFLAGS) $(INCLUDES)
DBDFLAGS = $(USR_DBDFLAGS) -I . -I .. $(INSTALL_DBDFLAGS)
#--------------------------------------------------
# ar definition default
AR = $($(ANSI)_AR)
ARFLAGS =
ARCMD = $(AR) $(ARFLAGS) $(USR_ARFLAGS) $@ $(LIBRARY_LD_OBJS)
#--------------------------------------------------
# C compiler
CC = $($(ANSI)) $(BUILD_CLASS_CFLAGS)
CPP = $($(ANSI)_CPP) $(BUILD_CLASS_CPPFLAGS)
RANLIB = $($(ANSI)_RANLIB)
#--------------------------------------------------
# C++ compiler
CXX = $($(CPLUSPLUS)) $(BUILD_CLASS_CFLAGS)
#--------------------------------------------------
# Build compile line here
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDES) -c $(SOURCE_FLAG)
COMPILE.cpp = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c $(SOURCE_CXXFLAG)
#--------------------------------------------------
# depends definition
TARGET_SRCS = $(foreach name, $(TESTPROD) $(PROD) $(LIBRARY_HOST) $(LIBRARY_IOC), $($(name)_SRCS))
SRC_FILES = $(foreach src, $(LIBSRCS) $(SRCS) $(PROD_SRCS) $(TARGET_SRCS) , \
$(firstword $(wildcard $(addsuffix /$(src),$(ALL_SRC_DIRS))) $(src)))
DEPENDS_RULE = -$(COMPILE.cpp) $(DEPENDS_FLAG) $(SRC_FILES) > DEPENDS
#---------------------------------------------------------------
# Names of installed items
#
# each list starts with the destination directory name(s)
# to make sure it's there
INSTALL_PROD= $(PRODNAME:%= $(INSTALL_BIN)/%)
INSTALL_LIBS= $(LIBNAME:%=$(INSTALL_LIB)/%)
INSTALL_MUNCHS= $(MUNCHNAME:%=$(INSTALL_LIB)/%)
INSTALL_SHRLIBS= $(SHRLIBNAME:%=$(INSTALL_SHRLIB)/%)
INSTALL_DLL_LINK_LIBS=$(DLL_LINK_LIBNAME:%=$(INSTALL_LIB)/%)
INSTALL_TCLLIBS=$(TCLLIBNAME:%=$(INSTALL_TCLLIB)/%)
INSTALL_TCLINDEX=$(TCLINDEX:%=$(INSTALL_TCLLIB)/%)
INSTALL_SCRIPTS = $(SCRIPTS:%= $(INSTALL_BIN)/%)
INSTALL_OBJS = $(OBJSNAME:%= $(INSTALL_BIN)/%)
INCREC +=$(RECTYPES) $(MENUS)
INSTALL_INCREC = $(INCREC:%= $(INSTALL_INCLUDE)/%)
INSTALL_DOCS = $(DOCS:%= $(INSTALL_DOC)/%)
INSTALL_HTMLS = $(HTMLS:%= $(INSTALL_HTML)/$(HTMLS_DIR)/%)
INSTALL_TEMPLATE = $(addprefix $(INSTALL_TEMPLATES_SUBDIR)/, \
$(subst $(CONFIG),top/configure,$(TEMPLATES)))
INSTALL_CONFIGS = $(CONFIGS:%= $(INSTALL_CONFIG)/%)
INSTALL_BPTS = $(BPTS:%= $(INSTALL_DBD)/%)
INSTALL_DBS = $(DBDINSTALL:%= $(INSTALL_DBD)/%)\
$(RECTYPES:%.h= $(INSTALL_DBD)/%.dbd)\
$(MENUS:%.h= $(INSTALL_DBD)/%.dbd)
INSTALL_DBDNAME = $(DBDNAME:%= $(INSTALL_DBD)/%)
#---------------------------------------------------------------
#
# auto determine the directory paths that things are installed to
# RULES:
# 1) found in any one of several os specific area
# => install to $(INSTALL_INCLUDE)/os/$(OS_CLASS)
# 2) not foundin (1) and found in generic area
# => install to $(INSTALL_INCLUDE)
# 3) not found in (1) or (2) then may be (not yet) computer generated
# => install into $(INSTALL_INCLUDE)/os/$(OS_CLASS) and let
# build rules work on vpath
#
# These rules guarantee that the users include from
# no more than two directories
#
INSTALL_INC += $(foreach inc, $(INC), \
$(firstword \
$(OS_INSTALL_INC) \
$(GENERIC_INSTALL_INC) \
$(GENERATED_INSTALL_INC) ) )
#
# Rule 1
#
OS_INSTALL_INC = $(addprefix $(INSTALL_INCLUDE)/os/$(OS_CLASS)/, $(INSTALL_INC_ggg) )
INSTALL_INC_ggg = $(foreach dir, $(OS_SRC_DIRS), $(INSTALL_INC_fff) )
INSTALL_INC_fff = $(subst $(dir)/, , $(INSTALL_INC_eee) )
INSTALL_INC_eee = $(wildcard $(addsuffix /$(inc), $(dir)) )
#
# Rule 2
#
GENERIC_INSTALL_INC = $(addprefix $(INSTALL_INCLUDE)/, $(INSTALL_INC_ccc) )
INSTALL_INC_ccc = $(foreach dir, .. $(SRC_DIRS), $(INSTALL_INC_bbb) )
INSTALL_INC_bbb = $(subst $(dir)/, , $(INSTALL_INC_aaa) )
INSTALL_INC_aaa = $(wildcard $(addsuffix /$(inc), $(dir)) )
#
# Rule 3
#
GENERATED_INSTALL_INC = $(INSTALL_INCLUDE)/os/$(OS_CLASS)/$(inc)
endif

156
configure/CONFIG_ENV Normal file
View File

@@ -0,0 +1,156 @@
# $Id$
# Author: Andrew Johnson
# Date: 20 April 1995
#
# Experimental Physics and Industrial Control System (EPICS)
#
# CONFIG_ENV - EPICS Environment Parameter configuration file
#
# This file is interpreted by the Bourne Shell, so spaces are
# not allowed around the '=' signs or in unquoted values.
# Makefile variables are not defined here.
#
# Note: This file is read by base/src/libCom/env/bldEnvdata.pl,
# so the variable definitions in here should be kept 'simple':
# VAR=VALUE
# each one on a single line.
#
# Default environment settings
# 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_ADDR_LIST=""
EPICS_CA_AUTO_ADDR_LIST=YES
EPICS_CA_CONN_TMO=30.0
EPICS_CA_REPEATER_PORT=5065
EPICS_CA_SERVER_PORT=5064
#
# 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 with
# "netstat -i" or "ifconfig -a".
#
# 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
# what I consider to be a real 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_ADDR_LIST=""
EPICS_CAS_SERVER_PORT=
# Log Server:
# EPICS_IOC_LOG_PORT Log server port number etc.
EPICS_IOC_LOG_PORT=7004
# Other services:
EPICS_CMD_PROTO_PORT=
EPICS_AR_PORT=7002

104
configure/CONFIG_SITE Normal file
View File

@@ -0,0 +1,104 @@
#
# $Id$
#
# CONFIG_SITE - config file
# by Matthew Needes and Mike Bordua
#
# This file is to be modified by the build system manager
# only.
#
# The host architecture performing the build,
# i.e.: the arch running DCT/getrel/etc.
#
# Currently Supporting:
# sun4
# hp700
# alpha
# solaris
# sgi
# Linux
# WIN32
# LynxOS
#
# EPICS_HOST_ARCH is an environment variable
# EPICS_HOST_ARCH=$(shell /usr/local/epics/startup/EpicsHostArch)
# The cross-compiler architectures to build EPICS for
#
# Currently Supporting:
# vxWorks-486
# vxWorks-68040
# vxWorks-68040lc
# vxWorks-68060
# vxWorks-pentium
# vxWorks-ppc604
# RTEMS-gen68360
# RTEMS-mvme167
#
CROSS_COMPILER_TARGET_ARCHS=vxWorks-68040
# If only a subset of the host architectures perform
# the build for the CROSS_COMPILER_TARGET_ARCHS
# uncomment the following line and specify them.
#
CROSS_COMPILER_HOST_ARCHS=
# Client ANSI C Compiler (for Host builds)
# GCC GNU (gcc -ansi)
# ACC OS VENDOR (sun4/solaris: acc ; hp700: cc -Aa)
ANSI=ACC
# C++ Compiler (for Host builds)
# G++ GNU C++ (g++)
# CCC OS VENDOR C++ (sun4/solaris: CC ; hp700: aCC)
CPLUSPLUS=CCC
# Default ANSI level, individual Makefiles will override
# if they cannot support ANSI compilation.
# STRICT - ANSI C - force warning flags
# ANSI - ANSI C
# TRAD - Standard C - Not appropriate here.
CMPLR=STRICT
# Default C++ compiler ANSI level
# STRICT - ANSI C++ force strict warning flags
# NORMAL - ANSI C++ optional warning flags
# Individual Makefiles may override
CXXCMPLR=STRICT
# Build shared libraries?
# (archive libraries will also be built)
# must be either YES or NO
# NOTE: CONFIG_SITE.Host.$(HOST_ARCH) files may override
#
# NOTE WIN32: YES results in a DLL. CONFIG_SITE.Host.WIN32
# distribution file contains YES override
#
# NOTE solaris and sun4: If YES then LD_LIBRARY_PATH must
# include fullpathname $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH)
# for both the base build and when invoking base executables
SHARED_LIBRARIES=NO
# Build client objects statically ?
# must be either YES or NO
STATIC_BUILD=NO
# Host build optimization
# must be either YES or NO
HOST_OPT=YES
# Cross build optimization
# must be either YES or NO
CROSS_OPT=YES
# Generate Verbose Compiler Warnings for Host builds
# must be either YES or NO
HOST_WARN=YES
# Generate Verbose Compiler Warnings for cross compile builds
# must be either YES or NO
CROSS_WARN=YES

45
configure/CONFIG_SITE_ENV Normal file
View File

@@ -0,0 +1,45 @@
# $Id$
# Author: Andrew Johnson
# Date: 1 May 1995
#
# Experimental Physics and Industrial Control System (EPICS)
#
# CONFIG_SITE_ENV - EPICS Environment Parameter Site configuration file
#
# This file is interpreted by the Bourne Shell, so spaces are
# not allowed around the '=' signs or in unquoted values.
# Makefile variables are not defined here.
#
# Note: This file is read by base/src/libCom/env/bldEnvdata.pl,
# so the variable definitions in here should be kept 'simple':
# VAR=VALUE
# each one on a single line.
#
# Site-specific environment settings
# Time service:
# EPICS_TS_MIN_WEST the local time difference from GMT.
# EPICS_TS_NTP_INET ntp or Unix time server ip addr.
EPICS_TS_MIN_WEST=360
EPICS_TS_NTP_INET=
# Log Server:
# EPICS_IOC_LOG_INET
# Log server ip addr.
# EPICS_IOC_LOG_FILE_NAME
# pathname to the log file.
# EPICS_IOC_LOG_FILE_LIMIT
# maximum log file size.
# EPICS_IOC_LOG_FILE_COMMAND
# A shell command string used to obtain a new
# path name in response to SIGHUP - the new path name will
# replace any path name supplied in EPICS_IOC_LOG_FILE_NAME
EPICS_IOC_LOG_INET=
EPICS_IOC_LOG_FILE_NAME=
EPICS_IOC_LOG_FILE_COMMAND=
EPICS_IOC_LOG_FILE_LIMIT=1000000

17
configure/Makefile Normal file
View File

@@ -0,0 +1,17 @@
#
# $Id$
#
TOP=..
include $(TOP)/configure/CONFIG
CONFIGS += $(subst ../,,$(wildcard ../CONFIG*))
CONFIGS += $(subst ../,,$(wildcard ../os/CONFIG*))
CONFIGS += $(subst ../,,$(wildcard ../RELEASE*))
CONFIGS += $(subst ../,,$(wildcard ../RULES*))
CONFIGS += $(subst ../,,$(wildcard ../tools/*.pl))
include $(TOP)/configure/RULES

7
configure/RELEASE Normal file
View File

@@ -0,0 +1,7 @@
#RELEASE Location of external products
#
# NOTE: RELEASE.$(EPICS_HOST_ARCH) files will override
# Tornado directory
#VX_DIR = /usr/local/vw/tornado101
VX_DIR = /usr/local/vw/tornado20

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