Compare commits

...

1235 Commits

Author SHA1 Message Date
Andrew Johnson
44ef13d8b2 Version for 3-14-9-pre1 2006-11-20 21:09:36 +00:00
Andrew Johnson
e9c984ff06 #include vxWorks.h needed for definition of NULL. 2006-11-20 20:53:31 +00:00
Andrew Johnson
e100e141a6 Make runtests work properly in non-HOST builds. 2006-11-20 17:38:36 +00:00
Andrew Johnson
26f27b3a69 Automate the running of callbackTest. 2006-11-20 17:14:05 +00:00
Andrew Johnson
52896cc78a Updated runtests wording again. 2006-11-20 16:31:39 +00:00
Andrew Johnson
52584a53e0 Made runtests a more generic target.
Ensure it doesn't fail if no tests are defined.
2006-11-20 16:25:01 +00:00
Janet B. Anderson
8fd5f456ce Cygwin Make 3.81 now requires /cygdrive/<drive>/... in fullpath names. 2006-11-20 16:23:51 +00:00
Janet B. Anderson
db3407a3ab Cygwin Make 3.81 now requires /cygdrive/<drive>/... in fullpath names. 2006-11-20 16:22:23 +00:00
W. Eric Norum
945182eac9 Remove duplicate typedef to which gcc objected. 2006-11-20 16:10:02 +00:00
Jeff Hill
b9acd32dfa fixed half duplex udp socket set up 2006-11-18 01:03:15 +00:00
Jeff Hill
60d6328016 use new data conversion interface 2006-11-18 01:02:18 +00:00
Jeff Hill
de6ce2f679 dont allow unbounded round trip estimates 2006-11-18 00:56:59 +00:00
Jeff Hill
ffb5e239f2 catch client initiated write requests with invalid dbr types in the client library 2006-11-18 00:52:09 +00:00
Jeff Hill
4bf25982fa added guards to interface 2006-11-18 00:51:08 +00:00
Jeff Hill
e308021980 initialize time at last send when creating search timer. This
guarantees no possibility of bogus search response delay
measurement
2006-11-18 00:50:35 +00:00
Jeff Hill
b0e5ae5a58 use new data conversion interface 2006-11-18 00:48:36 +00:00
Jeff Hill
01f39d3e47 use new data conversion interface 2006-11-18 00:42:32 +00:00
Jeff Hill
7b461161fc write request now goes directly to iiu 2006-11-18 00:41:56 +00:00
Jeff Hill
d2404e93a5 socket related data structures should use socket byte swap 2006-11-18 00:41:16 +00:00
Jeff Hill
e9a208a78f remove writeRequest from the interface 2006-11-18 00:33:09 +00:00
Jeff Hill
a8ed82801f byte swap socket data structures with socket lib byte swap 2006-11-18 00:31:48 +00:00
Jeff Hill
f3f56fb2bc o fixed deadlock occurring when access security callback blocks for
unresponsive client
o made data conversion more standalone in the client library
2006-11-18 00:29:04 +00:00
Jeff Hill
a6d8cf0cec use parenthesis during time stamp assign 2006-11-18 00:27:08 +00:00
Jeff Hill
2fdf182a5d socket related data structures should use socket byte swap 2006-11-18 00:25:54 +00:00
Jeff Hill
2988a11e25 moved all arch dependent byte swapping code to this file 2006-11-18 00:25:04 +00:00
Jeff Hill
4195457cdd base types on std C if recent dialect is available 2006-11-18 00:24:29 +00:00
Jeff Hill
4aa661f418 added warning 2006-11-18 00:16:33 +00:00
Jeff Hill
e03effe257 C style comments for C compilers 2006-11-18 00:14:41 +00:00
Jeff Hill
8a255f913e byte swap port number (even if it is zero) 2006-11-18 00:13:53 +00:00
Jeff Hill
962e36768e C style comments for C compilers 2006-11-18 00:09:27 +00:00
Andrew Johnson
dde131368d Fixed dbLoadTemplates comments. 2006-11-17 23:22:56 +00:00
Andrew Johnson
3b481d69c2 'use strict' stuff from Nick Rees, plus some cleanup. 2006-11-17 22:53:03 +00:00
Andrew Johnson
6f361280c3 Cosmetic. 2006-11-17 22:45:50 +00:00
Andrew Johnson
0f75477dfa Copyright header. 2006-11-17 22:45:23 +00:00
Janet B. Anderson
e68859beee Set ARCH_freebsd to freebsd-x86_64 and ARCH_hp700 to hpux-parisc. 2006-11-17 22:31:54 +00:00
Janet B. Anderson
83569ffcbc Updates for R3.14.9. 2006-11-17 22:27:27 +00:00
Janet B. Anderson
533b4696ea Initial version. 2006-11-17 22:26:44 +00:00
Andrew Johnson
e1e6ae787d Ok, so we should allow / and \ in bareword... 2006-11-17 22:18:35 +00:00
Andrew Johnson
bc9fab6417 Removed a whole load of unnecessary characters from bareword, which now
matches the dbStaticLib parser's definition.
2006-11-17 22:04:37 +00:00
Janet B. Anderson
291e5b89cf Set HOST_OPT = NO. 2006-11-17 22:01:09 +00:00
Janet B. Anderson
7ee4842463 Initial version. 2006-11-17 22:00:03 +00:00
Janet B. Anderson
0f3461a808 Changed test to runtests. 2006-11-17 21:58:06 +00:00
Andrew Johnson
1ad998c0d6 Oops. 2006-11-17 20:26:56 +00:00
Andrew Johnson
0f200c25c8 dbLoadTemplate. 2006-11-17 20:26:25 +00:00
Andrew Johnson
c3e3f6be37 Added two example database substitutions files and converted the example st.cmd
files to use these instead of repeated dbLoadRecords commands.
2006-11-17 19:36:17 +00:00
Andrew Johnson
a2739882f2 Fixed lex & yacc parsers for dbLoadTemplate() - this is now stricter in what
it will accept, but any rejected characters weren't legal before anyway.
2006-11-17 17:06:52 +00:00
W. Eric Norum
b7bad20900 Don't need action for characters which are silently consumed. 2006-11-17 14:28:13 +00:00
W. Eric Norum
34316144bd Clean up several problems with lexical analyzer. 2006-11-17 14:24:45 +00:00
Janet B. Anderson
207171d336 Made vxWorks.h include depend on VXWORKS_VERSION. 2006-11-16 22:44:34 +00:00
Janet B. Anderson
ae4199eb82 test is now .PHONY. 2006-11-16 22:27:48 +00:00
Janet B. Anderson
1dfdf98f87 Added the test rule for the perl Test::Harness expect test programs. 2006-11-16 22:26:24 +00:00
Janet B. Anderson
6217ec86af Added perl test rule. 2006-11-16 22:17:51 +00:00
Janet B. Anderson
cfefdbf067 Moved test rule to RULES_BUILD. 2006-11-16 22:15:51 +00:00
Janet B. Anderson
60c8cbbb7b Use new TESTSCRIPTS definition. 2006-11-16 21:40:42 +00:00
Janet B. Anderson
ada4b680b2 Added TESTSCRIPT definitions 2006-11-16 21:35:50 +00:00
Janet B. Anderson
b6d618cf5d Added test script, TESTSCRIPT, rules. 2006-11-16 21:34:56 +00:00
Andrew Johnson
1995c7cd5e Escaped characters. 2006-11-16 20:36:13 +00:00
Andrew Johnson
ecac0269dd Stop "warning: `id' defined but not used" messages from gcc -- use a char[]
instead of a char* and they go away!
2006-11-16 19:32:13 +00:00
Andrew Johnson
27fcfac8b8 Use the same TRUE/FALSE test in the dump routines as in the actual rule
evaluation, in case the results are different.
2006-11-16 17:26:38 +00:00
Ralph Lange
ad7f71d41c DST changes for 2007 2006-11-16 16:12:53 +00:00
Andrew Johnson
a4948d15fd Fix to Mantis #250, support escaped characters in record field values. 2006-11-15 23:33:31 +00:00
Janet B. Anderson
6cbcb67e56 Initial version. 2006-11-15 22:41:39 +00:00
Janet B. Anderson
e48d957906 Initail version. 2006-11-15 22:08:22 +00:00
Andrew Johnson
ad1f8f9925 Added round-trip testing of char escapes. 2006-11-15 20:14:46 +00:00
Janet B. Anderson
6911c54755 Changed -Xc to -Xa. Needed for solaris 10 builds. 2006-11-15 19:26:18 +00:00
W. Eric Norum
c89bfe8cf1 Back out name change since RTEMS will not change until the next RTEMS release. 2006-11-15 16:13:52 +00:00
Andrew Johnson
31547e98f5 Patch from Diamond; App names may include chars that are not
valid in a C identifier, such as '-', but we use the App name
in the <name>_registerRecordDeviceDriver routine name.
This patch replaces all such invalid chars with '_'.
2006-11-14 22:14:53 +00:00
Janet B. Anderson
4ad9f05421 Added OP_SYS_LDLIBS definition for solaris 10. 2006-11-14 20:18:26 +00:00
Andrew Johnson
2998cff567 Configuration files for FreeBSD, from Artem Kazakov <kazakov@gmail.com> 2006-11-14 19:40:47 +00:00
Andrew Johnson
20ede98a35 Make .t files work with prove, where $cwd may be a parent directory.
Won't work if you give prove an absolute path to the .t file though...
2006-11-14 17:42:20 +00:00
Andrew Johnson
e661027615 Fixed printing calc expressions with % chars in them. 2006-11-14 17:29:27 +00:00
Andrew Johnson
d58e5e2a77 Revised old message about thread stack sizes. 2006-11-14 16:20:16 +00:00
Andrew Johnson
cbedb32d50 Added a .db file with a single record $(IOC):exit.
Set the .A field to the exit status you want the softIoc to return.
2006-11-13 21:45:40 +00:00
Andrew Johnson
7b7bdb82a6 libCom/test, Breakpoints, vxWorks 6, postFix/calcPerform, calc/calcout/asLib,
recGblAlarmHook, raw simulation mode.
2006-11-13 21:32:06 +00:00
Andrew Johnson
fc0fd6ec0d Removed old comment. 2006-11-13 21:04:54 +00:00
Andrew Johnson
343efa2028 Cosmetic changes. 2006-11-13 20:40:00 +00:00
Andrew Johnson
4ca2bc86e5 Changed configuration for vxWorks 6.x; now uses the same files as vx 5.x.
Removed the vxWorks6-mvXXXX targets, use vxWorks-ppc604_long or similar.
2006-11-13 20:31:07 +00:00
Andrew Johnson
e66768314f Converted to use epicsUntiTest.h. 2006-11-13 20:21:05 +00:00
Andrew Johnson
2c23952b9c Removed Main.c file, converted to use testMain.h and epicsUnitTest.h. 2006-11-10 23:52:50 +00:00
Andrew Johnson
db0d1f1156 TESTPROD_LIBS doesn't work, use PROD_LIBS instead. 2006-11-10 23:09:26 +00:00
Andrew Johnson
52b7171576 Moved testMain.h into libCom/misc, since db/test is built before libCom/test. 2006-11-10 22:43:04 +00:00
Andrew Johnson
de29cb834f Moved timing measurement of epicsThreadPrivateGet() to epicsThreadPerform.cpp 2006-11-10 21:43:16 +00:00
Andrew Johnson
242a7b9027 Fixed bug in posix implementation of osdThreadOnce and added assertion
to the other implementations that will fire in the one case the Posix
code can't cope with.
2006-11-10 20:19:34 +00:00
Andrew Johnson
62963c7d5d Fixes for make test if '.' is not in $PATH. 2006-11-10 16:32:26 +00:00
Andrew Johnson
6c19051727 Major reorganization:
Removed all Main.cpp files, use the macro in testMain.h instead and
defaulted all argc/argv parameters.
Converted all real test programs to use epicsUnitTest.h.
Moved performance measurements from epicsThreadTest to epicsThreadPerform.
Moved epicsOkToBlockTest tests into epicsThreadTest.
On a host arch,  make test  inside the O.arch directory runs all tests.
2006-11-09 22:38:41 +00:00
Andrew Johnson
d8b9856252 Lock around testDiag(), so multiple threads don't mix output. 2006-11-09 22:28:33 +00:00
W. Eric Norum
6536905f85 Add universal binary support for OS X. 2006-11-09 14:50:20 +00:00
W. Eric Norum
8c8b77d767 Add example CONFIG_SITE files. 2006-11-09 14:47:59 +00:00
W. Eric Norum
e91873e3f6 Name change in RTEMS release. 2006-11-09 01:03:42 +00:00
Andrew Johnson
927951ec18 Added errlogInit2() command. 2006-11-08 22:16:51 +00:00
Andrew Johnson
d7d3bf4a13 Added an errlogInit2() routine to allow an enlarged maximum message size to be
specified at initialization time.
2006-11-08 22:14:21 +00:00
Andrew Johnson
23a8c76db2 Removed unused header file. 2006-11-07 16:45:07 +00:00
Andrew Johnson
dac306887d Changed many of the char* arguments to printf-style varargs. 2006-11-07 15:35:14 +00:00
Andrew Johnson
333c97ee23 Does anybody know what this was ever used for? 2006-11-03 17:32:29 +00:00
Jeff Hill
2d136ebc29 fixed manfest was created for .exe during static build 2006-11-02 19:44:58 +00:00
Andrew Johnson
eca624545b Added epicsMath.h include. 2006-11-02 16:10:49 +00:00
Andrew Johnson
5d62cd2b5b Cleanup unused var's. 2006-10-31 20:41:59 +00:00
Andrew Johnson
0563bebee0 Removed definition of NULL. 2006-10-31 20:37:34 +00:00
W. Eric Norum
39a8d90553 Let epicsExitTest work on systems with strict priority scheduling. 2006-10-27 16:32:40 +00:00
W. Eric Norum
f046ff86be Exit properly. 2006-10-27 16:10:34 +00:00
W. Eric Norum
fd81d5f7ca Add epicsExit test.
Clean up some typos.
2006-10-27 15:43:49 +00:00
W. Eric Norum
8f5c1bb7a3 Add test harness for RTEMS. 2006-10-27 15:36:26 +00:00
Andrew Johnson
6c10ea0ad4 Modified diagnostic about macLib warnings to clarify. 2006-10-27 15:01:34 +00:00
Andrew Johnson
a1e28f3dec Fixed problem not resetting test count properly. 2006-10-26 22:21:08 +00:00
Andrew Johnson
20d6352d66 Solaris strtod() doesn't accept "Inf" or "Infinity". 2006-10-26 21:19:32 +00:00
Andrew Johnson
5a561ca613 Make epicsStrtod() parse the full "Infinity" and not stop after "Inf". 2006-10-26 21:18:05 +00:00
W. Eric Norum
5ee8b58411 Don't test 0-length buffer case -- semantics differ for C99/Single-Unix. 2006-10-26 20:51:56 +00:00
W. Eric Norum
54ad02986b Add checks that redirection worked -- handy for systems like RTEMS
where the file exists only in a in-memory filesystem.
2006-10-26 20:07:24 +00:00
Andrew Johnson
5dd24b7ad2 Permit multiple test programs to be run sequentially in the same process
(for RTEMS and vxWorks).
2006-10-26 19:28:30 +00:00
W. Eric Norum
594a28d221 Don't leave dandling tasks. 2006-10-26 19:08:58 +00:00
W. Eric Norum
a16bc712d8 Allow calls from C test harnesses. 2006-10-26 18:10:34 +00:00
Andrew Johnson
c2755088e6 Cleanup. 2006-10-26 17:47:47 +00:00
W. Eric Norum
8264714ea7 Improve message. 2006-10-26 17:42:02 +00:00
Andrew Johnson
7dc2eec5aa Permit breakpoint tables to run any direction as long as the slope doesn't
change sign. Reduced memory requirement by making the table a contiguous
array rather than an array of pointers to intervals. Improved error reporting.
2006-10-26 16:05:23 +00:00
Andrew Johnson
5c7fa0e3be Modified comments. 2006-10-26 15:34:45 +00:00
Jeff Hill
b75bdb1930 fixed wrong app type used when client is acknowledging an alarm
(slightly revised to also deal with arrays although they are technically
invalid when acking an alarm)
2006-10-04 20:46:11 +00:00
Jeff Hill
394222ac72 fixed wrong app type used when client is acknowledging an alarm
(slightly revised to use primitive type of request if writing to other than
gddAppType_value)
2006-10-04 18:49:29 +00:00
Andrew Johnson
e98b305246 Fix up calc and calcout record and associated code to use the new features
of postfix() and calcPerform().
2006-10-03 20:22:23 +00:00
Andrew Johnson
3725609bc8 Cleanup, added recGblAlarmHook pointer. 2006-10-03 16:05:21 +00:00
Andrew Johnson
e4a80f2350 Cleanup, added workaround text. 2006-10-03 15:36:51 +00:00
Andrew Johnson
eeac94ca3b Fix errors from MS compiler, which overloads pow() in C++. 2006-10-02 18:01:44 +00:00
Jeff Hill
7001736104 fixed wrong app type used when client is acknowledging an alarm 2006-10-02 15:53:52 +00:00
Janet B. Anderson
ad55de7aa4 Modified UnixPath and epics_base definitio for ActiveState perl. 2006-10-02 14:18:47 +00:00
Janet B. Anderson
3c9b4d761e Modified UnixPath for ActiveState perl. 2006-10-02 14:17:41 +00:00
Andrew Johnson
2d96451345 dbpr.TIME field. 2006-09-26 15:10:20 +00:00
Andrew Johnson
4bc1aabc0f TIME interest level changed from 4 => 2, now that dbpr displays it nicely. 2006-09-26 15:08:43 +00:00
Andrew Johnson
2c914b5183 Make dbpr output for TIME field human-readable (Mantis #270). 2006-09-26 14:56:53 +00:00
Janet B. Anderson
f0f6716352 Changed rules so that % rules only have 1 dependancy. 2006-09-25 19:09:13 +00:00
Ralph Lange
61600b730a Fix for skipping over the first ifreq list element, += ifreqSize wrapper function. 2006-09-21 20:28:55 +00:00
Ralph Lange
54c09890dd Minor fix in printf string. 2006-09-20 14:24:44 +00:00
Ralph Lange
e01a41c418 Fix in the new code (suggested by Eric Norum). 2006-09-20 14:10:03 +00:00
Ralph Lange
db3ba46ab0 += RTEMS on ARM 2006-09-19 16:50:33 +00:00
Andrew Johnson
67ff3dfb6a Comments and list of architectures. 2006-09-19 16:32:12 +00:00
Ralph Lange
952731fdd9 += Change for arm. == This should be BSP dependent, not CPU dependent! == 2006-09-19 16:18:26 +00:00
Ralph Lange
178f8e9008 Problem fixed that was found on ARM: ifreq buffer must always be word-aligned when passed to kernel functions. 2006-09-19 16:13:34 +00:00
Ralph Lange
622f3333e0 Get host name using gethostname() after network is init'd. 2006-09-19 15:49:19 +00:00
Ralph Lange
e768a7b7c6 += changes for arm (missing RTC) == Needs Review == 2006-09-19 15:46:13 +00:00
Jeff Hill
ca95134827 added missing include 2006-09-13 21:54:13 +00:00
Jeff Hill
bbd210d626 fixed missing shutdown for log client thread 2006-09-12 20:47:04 +00:00
W. Eric Norum
641bbb29a0 Don't use C++ comments in C code. 2006-09-12 16:03:13 +00:00
Jeff Hill
a1a8b1a7e7 fix for mantis 269 2006-09-12 00:05:05 +00:00
Andrew Johnson
e44add07df Added iocLogShow command, and fixed a problem in the eltc command. 2006-09-11 15:53:44 +00:00
Andrew Johnson
d359e6629d Permit any IOC name as long as it has 'ioc' in it somewhere.
This matches the current behavior of the wildcard in iocBoot/Makefile
2006-07-25 18:14:21 +00:00
Andrew Johnson
26938a98ed Indentation and code style changes only. 2006-07-13 20:01:33 +00:00
W. Eric Norum
2db98a08fe Add function prototype with Windows decorations. 2006-07-10 18:17:23 +00:00
W. Eric Norum
b874c0afaa Extensions can increase context-switch time, so use as few as possible. 2006-06-30 19:32:23 +00:00
W. Eric Norum
7dcd682f7d Force panic if application-supplied routine returns a non-zero value. 2006-06-29 20:07:10 +00:00
Jeff Hill
b3ff995884 fixed mantis 266
epicsTime <=> aitTimeStamp conversions dont work on 64 bit hosts
2006-06-29 15:28:36 +00:00
W. Eric Norum
eff6f305c8 Add RTEMS initialization hooks. 2006-06-29 15:22:53 +00:00
W. Eric Norum
3d06949492 Clean up OS X universal binary notes. 2006-06-25 16:39:16 +00:00
W. Eric Norum
61239a7be6 Use more descriptive name. 2006-06-25 16:35:09 +00:00
cvs2svn
d6deb6920b This commit was manufactured by cvs2svn to create branch 'B3.14'. 2006-06-25 16:34:52 +00:00
W. Eric Norum
b64d58145c Add RTEMS change. 2006-06-25 15:05:04 +00:00
Jeff Hill
ee7c2ed829 fixed epicsTime <=> aitTimeStamp conversions dont work on 64 bit hosts 2006-06-22 00:20:08 +00:00
Andrew Johnson
70a15c335d munch.pl for MIPS. 2006-06-20 17:07:23 +00:00
Andrew Johnson
7b8c42ec38 epicsUnitTest support and -include in configure/RELEASE files. 2006-06-16 19:30:31 +00:00
Andrew Johnson
b2012ebf80 Don't print results if no tests! 2006-06-16 19:27:36 +00:00
Andrew Johnson
82513dfcc6 Support "-include" syntax in configure/RELEASE* files 2006-06-16 19:24:15 +00:00
Ralph Lange
402d22eac6 Patches for max array size determination as suggested by Malcolm Waters (Diamond). 2006-06-07 07:24:19 +00:00
Ralph Lange
2bed5dd8bf Fixed comment. 2006-06-07 07:20:01 +00:00
Jeff Hill
0e4f45dac5 fixed mantis 260 2006-06-06 23:09:25 +00:00
Jeff Hill
679d754891 fix for mantis 258 2006-06-06 22:57:01 +00:00
Jeff Hill
ad093ea6a2 fix for mantis 258 2006-06-06 22:44:33 +00:00
Jeff Hill
a3e0f538f7 ipAddrToAsciiTransactionPrivate free list is __not__ locked externally
so the epicsMutexNOOP non-default template parameter causes
the free list to not be locked. The free list was changed to embed a
lock/unlock around all allocate and deallocate requests.
2006-05-22 22:49:06 +00:00
Andrew Johnson
73e3411beb Fixed off-by-one error in dbFindField(). 2006-05-12 15:34:04 +00:00
Andrew Johnson
bf45ed3869 Major reorganization and Perl cleanup:
Added support for MIPS; ignore duplicate symbols; run destructors in
reverse order; added comments to output source file.
2006-04-28 17:46:51 +00:00
Janet B. Anderson
d432014104 Fixed typo if commandline library definition. 2006-04-24 18:00:16 +00:00
Andrew Johnson
6a830abc9d Added WARN setting to CHECK_RELEASE. 2006-04-21 15:23:48 +00:00
Andrew Johnson
5b54b481e8 Added WARN setting for CHECK_RELEASE. 2006-04-21 15:19:25 +00:00
Janet B. Anderson
e1ca1a907a Modified comment. 2006-04-20 14:57:26 +00:00
Janet B. Anderson
cad78cca41 Added include for RELEASE.<epics_host_arch>.Common 2006-04-20 14:54:51 +00:00
W. Eric Norum
cd0a488fad New host. 2006-04-08 16:36:46 +00:00
W. Eric Norum
0aa4a34c2a Need a few more functions declared. 2006-04-07 20:59:48 +00:00
W. Eric Norum
fa34d5c8f3 Need isnan() declaration now to track changes in other header files. 2006-04-07 20:49:43 +00:00
W. Eric Norum
d077e5cbf5 Provide 'pure-perl' implementation for OS X. 2006-04-07 16:03:56 +00:00
W. Eric Norum
d20b063cb2 Add Intel support for OS X. 2006-04-06 00:57:59 +00:00
Janet B. Anderson
d7e9b9738e Changes for darwin hosts. 2006-04-05 18:34:20 +00:00
Andrew Johnson
1faaada240 Clean up warnings. 2006-04-03 21:49:49 +00:00
Andrew Johnson
6ca51a8f52 Improve error messages for CALC expressions. 2006-04-03 21:47:34 +00:00
Andrew Johnson
abfd3f0186 Improve error checking and messages from AS file parser. 2006-04-03 21:41:11 +00:00
Andrew Johnson
d7016a007c Oops, missed a few tests I'd added. 2006-03-30 20:46:20 +00:00
Andrew Johnson
4d67f3596a Converted some of the test routines to use the new epicsUnitTest facility. 2006-03-30 20:13:25 +00:00
Andrew Johnson
97a5aa16a0 Major update, code reorganization and enhancement. 2006-03-30 20:07:06 +00:00
Andrew Johnson
e9e4e34fdf Build epicsUnitTest facilitites.
Also make epicsVersion depend on CONFIG_SITE file.
2006-03-30 20:04:48 +00:00
Andrew Johnson
62dee96808 Added Test Anything Protocol unit test library.
See Perl documentation for Test::Harness and Test::More for format details.
2006-03-30 19:59:46 +00:00
Andrew Johnson
8496fae43c Ensure finite() is defined. 2006-03-30 19:54:25 +00:00
Andrew Johnson
ffc6368931 Print thread names when reporting suspensions. 2006-03-30 19:52:35 +00:00
Andrew Johnson
3caf5e10c4 Include stdio.h 2006-03-30 19:50:31 +00:00
Andrew Johnson
93bab7d518 Correct epicsMin/epicsMax behaviour for floating-point NaN arguments. 2006-03-30 19:48:12 +00:00
Andrew Johnson
3162d19551 Make cantProceed() take printf-style message args. 2006-03-30 19:42:36 +00:00
Janet B. Anderson
3431eb4a08 Modified comments. 2006-03-30 18:40:46 +00:00
Janet B. Anderson
ef3e27625c Added include for host specific RELEASE file. 2006-03-30 17:25:13 +00:00
Janet B. Anderson
055c451ab9 Modified comments. 2006-03-30 17:24:18 +00:00
Janet B. Anderson
5c8b48e8f0 Added includes for host specific RELEASE and CONFIG_SITE files. 2006-03-30 16:59:06 +00:00
Janet B. Anderson
30b0520b78 Added comments about files for Host/target specific settings. 2006-03-30 16:57:32 +00:00
Janet B. Anderson
2ae9d6ac55 Removed a comment line. 2006-03-30 16:44:55 +00:00
Janet B. Anderson
12f8a7bf2a Added Id line. 2006-03-29 21:59:14 +00:00
Janet B. Anderson
e477be1e94 Modified comment line. 2006-03-29 21:56:39 +00:00
Janet B. Anderson
85399c435c Added ifdef T_A around T_A includes. 2006-03-29 21:26:21 +00:00
Janet B. Anderson
6bb604313d Added ifdef $(T_A) around T_A includes. 2006-03-29 21:23:57 +00:00
Janet B. Anderson
6b43fe312e Allow target specific macro definition overrides. 2006-03-29 21:18:12 +00:00
Andrew Johnson
8823924561 Oops, currected *Strdup routines. 2006-03-29 20:53:54 +00:00
Andrew Johnson
daf8f033fa Use new xxStrdup() functions.
Cleanup compiler warnings due to our using 8-bit lexers.
2006-03-29 19:46:05 +00:00
Andrew Johnson
cd3806e189 Added an asStrdup() routine. 2006-03-29 19:37:22 +00:00
Andrew Johnson
976febd1ac Added dbmfStrdup() function. 2006-03-29 19:33:50 +00:00
Janet B. Anderson
d29a589bff Renamed CONFIG_EXTENSION to CONFIG_SITE. 2006-03-29 17:09:24 +00:00
Janet B. Anderson
c0a6adb516 Renamed CONFIG_EXTENSIONS to CONFIG_SITE. Moved includes to CONFIG.
Moved INSTALL_LOCATION definition.
2006-03-29 17:08:23 +00:00
Janet B. Anderson
8774f97acd Allow ioc application to be built with older version of base. 2006-03-29 16:49:06 +00:00
Janet B. Anderson
e1018e3edf Removed accidently committed INSTALL_LOCATION definition. 2006-03-29 16:47:00 +00:00
Janet B. Anderson
ae8b8295a6 Renamed CONFIG_APP to CONFIG_SITE. 2006-03-28 21:35:53 +00:00
Janet B. Anderson
3ee2785894 Renamed CONFIG_APP to CONFIG_SITE. Moved includes to CONFIG.
Moved INSTALL_LOCATION and CONFIG definitions.
2006-03-28 21:35:08 +00:00
Janet B. Anderson
d43342f06f Moved definitions INSTALL_LOCATION and CONFIG. 2006-03-28 21:31:58 +00:00
Andrew Johnson
e7f78a7d69 Fixed problem with previously generated scan.c which was not case-independent.
Regenerated scan.c, and added instructions for later maintainers.
2006-03-28 00:11:51 +00:00
W. Eric Norum
51018ac066 Add support for RTEMS tasks with string names. 2006-03-27 22:21:18 +00:00
W. Eric Norum
f648ab5f09 Ensure that RTEMS-style names are properly terminated. 2006-03-27 20:47:05 +00:00
W. Eric Norum
db49484d32 Typo. 2006-03-27 16:32:35 +00:00
W. Eric Norum
097e551f43 Add note about RTEMS user extensions. 2006-03-27 16:32:14 +00:00
W. Eric Norum
fc2e1fd651 Add infrastructure for spy command. 2006-03-27 16:30:27 +00:00
Jeff Hill
cf231b5af3 fixed repeated sentance 2006-03-27 15:47:49 +00:00
Andrew Johnson
4ee5d5130e Oops, EPICS_CA_BEACON_PORT was wrong... 2006-03-24 20:53:25 +00:00
Andrew Johnson
8e9e846c34 Build the S99 scripts on Linux.
Modified the scripts and build process to work on Linux.
2006-03-24 20:29:27 +00:00
Jeff Hill
f4068d6a49 upgraded tests for mantis 245 2006-03-21 00:59:25 +00:00
Jeff Hill
a49961afe6 I fixed the following issues:
1) The epicsTime constructor does not throw an exception when an invalid epicsTimeStamp is passed to it.
2) The "epicsTime::operator epicsTimeStamp ()" conversion operator should throw an exception instead of assert failing when it discovers that the internal state of the time stamp is invalid.
3) William Lupton's epicsTime::strftime doesnt add .OVF if the nano-seconds field is invalid. Kay's original issue.
4) William Lupton's epicsTime::strftime has a buffer overrun vulnerability.
5) Certain C interfaces to epicsTime were not bracketed by try catch blocks.
2006-03-21 00:58:43 +00:00
Janet B. Anderson
88e7ae91b0 Removed -Wtraditional option. 2006-03-20 21:29:07 +00:00
Janet B. Anderson
233d65ea0d Install config/tools/* into INSTALL_LOCATION/config/tools not bin/(arch>. 2006-03-20 19:18:35 +00:00
Janet B. Anderson
0a5f63db7b Use the INSTALL_LOCATION setting from a configure/RELEASE file. 2006-03-20 17:57:41 +00:00
Jeff Hill
f83e11167d accomodate visual c++ 6 2006-03-20 15:53:25 +00:00
Janet B. Anderson
034936e8a9 Added files and made modifications for R3.13 Makefile builds of extensions. 2006-03-16 17:29:00 +00:00
Jeff Hill
99d1b3dd04 improved string hash table distribution 2006-03-15 19:02:15 +00:00
Janet B. Anderson
b1b5bbab0e Need two MT commands, one for dll files and one for exe files. 2006-03-09 22:30:19 +00:00
Janet B. Anderson
d208fdf7cf Need two MT commands, one for dll filess and one for exe files. 2006-03-09 22:28:22 +00:00
Janet B. Anderson
7e841f73fe Added command to embed .manifest file into libs and prods. 2006-03-09 17:20:08 +00:00
Janet B. Anderson
45fae9aeac Added command to embed a .manifest file into a library or product target. 2006-03-09 17:18:37 +00:00
Janet B. Anderson
c035a50677 Initial version. 2006-03-09 17:09:56 +00:00
Janet B. Anderson
319ab854d7 Added command to embed .manifest file. Removed install of .manifest file. 2006-03-09 17:08:48 +00:00
Janet B. Anderson
0fb9b9feda Initial version. 2006-03-09 17:04:38 +00:00
Janet B. Anderson
13ce4feb1b Added command to embed a .manifest file into a library or product target. 2006-03-09 17:02:20 +00:00
Janet B. Anderson
1ea5b179d5 Added LIB_PREFIX SHRLIB_PREFIX defs. Fixed CONFORM_CXXFLAGS def. 2006-03-03 22:06:57 +00:00
Janet B. Anderson
7d6f60121a Changed LIB_PREFIX to SHRLIB_PREFIX. 2006-03-03 17:57:27 +00:00
Janet B. Anderson
ea23dcabb9 Initial version. 2006-03-01 19:55:21 +00:00
Andrew Johnson
df07bfc9e9 Lower-case operands a thru l are never used, the infix buffer was already
converted to upper-case.
2006-03-01 19:55:13 +00:00
Janet B. Anderson
c542b4f4d1 Initial version. 2006-03-01 19:44:55 +00:00
Janet B. Anderson
edd2499824 Initial version. 2006-03-01 15:56:20 +00:00
Andrew Johnson
a4a3ddfcdf e_flex DOS line endings. 2006-02-28 23:35:56 +00:00
Andrew Johnson
14ad2c5055 Modified scan.l.DISTRIB to accept DOS line-endings. Used itself to convert
this into the scan.c file.  The initscan.c file is not used at all.
2006-02-28 23:35:22 +00:00
Janet B. Anderson
6e2049d678 Added override comment. 2006-02-23 20:04:22 +00:00
Andrew Johnson
3fb500856d Universal devLib stuff. 2006-02-17 23:30:04 +00:00
Andrew Johnson
a57f10fb90 Build devLib on all archs now there's a default devLibOSD.c file. 2006-02-17 23:00:30 +00:00
Jeff Hill
0f4acafeae fixed mantis 239 2006-02-17 22:54:49 +00:00
Andrew Johnson
7b383a18b4 Make devLib available from other OSs iff they provide the right table in an
external support application.
2006-02-17 22:51:26 +00:00
Jeff Hill
b55729875d fixed mantis 239 2006-02-17 22:33:54 +00:00
Andrew Johnson
a5b4cb0766 PACT must be set during FLNK. 2006-02-15 22:25:24 +00:00
Jeff Hill
dd63c3177d improved test 2006-02-13 16:33:59 +00:00
Jeff Hill
ceb11f1fb4 fix for a potential race in ca_context_destroy 2006-02-13 16:33:46 +00:00
Ralph Lange
85eacf584c Integrating change by Malcolm Waters: fix for "-c -w 0" hanging forever 2006-02-06 16:08:04 +00:00
Ralph Lange
d6b6955903 Integrating change by Malcolm Waters: += put_callback option - heavily based on caget 2006-02-06 16:04:55 +00:00
W. Eric Norum
4074b45a30 Add epicsThreadResume to IOCSH. 2006-02-03 19:36:09 +00:00
Andrew Johnson
ba9499c786 Better solution to zero-sized alloc requests. 2006-01-31 20:44:55 +00:00
W. Eric Norum
dbac42746c [cm]allocMustSucceed() now accept values of 0 for their size and count arguments and can return a NULL in these cases. 2006-01-31 14:54:19 +00:00
Janet B. Anderson
7fe5335da7 Fixed CONFORM_CXXFLAGS_NORMAL definition. 2006-01-30 15:56:10 +00:00
Janet B. Anderson
6347d8f065 Fixed typo in CMPLR_PREFIX definition. 2006-01-30 15:21:34 +00:00
Janet B. Anderson
9516692138 Modified comments for > win32-x86-cygwin and linuxRT-mvme2100. 2006-01-26 16:45:46 +00:00
W. Eric Norum
a0dd3c1a9d Add note about OS X changes. 2006-01-26 03:38:28 +00:00
W. Eric Norum
d4abe3a8af Other sites aren't running RTEMS. 2006-01-25 21:18:53 +00:00
W. Eric Norum
3fee378da2 Reorganized OS X support. 2006-01-25 21:18:04 +00:00
W. Eric Norum
d6ae543a1e Reorganize OS X configuration files.
First steps towards Universal binaries.
2006-01-25 21:17:15 +00:00
Andrew Johnson
17c437048f include CONFIG_BASE_VERSION *after* CONFIG_SITE. 2006-01-20 20:22:55 +00:00
Janet B. Anderson
2942594c37 Set EPICS_CVS_SNAPSHOT to -CVS. 2006-01-06 16:00:21 +00:00
Janet B. Anderson
e9b49d233b R3.14.8.2 2006-01-06 15:55:13 +00:00
Andrew Johnson
16e0409813 epicsStrtod fix. 2006-01-05 21:38:14 +00:00
Andrew Johnson
10c03d3e19 We took epicsShareAPI out of Win32 already, which was the only arch that
might have needed it!
2006-01-05 21:12:32 +00:00
Andrew Johnson
7aa6a2ca98 Better fix to the epicsStrtod problem: Don't compile our function if epicsStrtod
is a macro; that way you can't set a breakpoint on it which would never fire.
2006-01-05 21:08:02 +00:00
Ken Evans
705d8ccf98 Added _CRT_NONSTDC_NO_DEPRECATE switch to disable MSVC 8 Posix
deprecated warnings.
2006-01-04 21:27:54 +00:00
Ken Evans
ae27b2ad0e Changed /GX to /EHsc and defined _CRT_SECURE_NO_DEPRECATE for MSVC 8. 2006-01-04 18:11:44 +00:00
W. Eric Norum
8d3dc9eb33 Avoid infinite recursion on systems with 'working' strtod() functions. 2005-12-26 18:32:43 +00:00
Janet B. Anderson
1e821d866e Set EPICS_CVS_SNAPSHOT to -CVS. 2005-12-20 15:25:07 +00:00
Janet B. Anderson
03bf89c7c2 R3.14.8.1 2005-12-20 14:59:00 +00:00
Janet B. Anderson
b01b09240c Added deprecated EPICS_UPDATE_LEVEL.. 2005-12-20 14:56:46 +00:00
W. Eric Norum
e0887d197e Get rid of a bunch of conditional compile statements. 2005-12-19 22:27:47 +00:00
Andrew Johnson
3191b9b404 Notes about the version number changes. 2005-12-19 21:57:57 +00:00
Janet B. Anderson
147e21b71f Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:42:40 +00:00
Janet B. Anderson
c57beaad68 Win32 changes. 2005-12-19 21:10:30 +00:00
Janet B. Anderson
45685c52d2 Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:09:44 +00:00
Janet B. Anderson
00d8ae7d79 Updated version number description. 2005-12-19 20:28:00 +00:00
Andrew Johnson
d9184abd62 Version numbering system change. 2005-12-16 16:47:52 +00:00
Andrew Johnson
66fbc8b27c R3.14.8.1 changes. 2005-12-15 19:39:03 +00:00
W. Eric Norum
a65943481d Improved epicsThreadGetName() so that it works for all threads, not just those
created by epicsThreadCreate().
2005-12-15 16:49:42 +00:00
Janet B. Anderson
09ea15376f Changed SCRIPT to SCRIPTS in comment. 2005-12-14 15:04:37 +00:00
Marty Kraimer
de797d11e2 fix win32 compiler warnings 2005-12-13 12:57:19 +00:00
Andrew Johnson
6e09e17a23 Moved Marty's latest comments into a "Changes since R3.14.8" section.
Cleaned up some &nbsp; entities that appeared lower down.
2005-12-12 22:19:01 +00:00
Janet B. Anderson
a0e61daaac Removed epicsShareAPI from epicsStrtod. 2005-12-12 21:27:07 +00:00
Janet B. Anderson
5506587d06 Removed epicsShareAPI where not needed. 2005-12-12 21:26:01 +00:00
Andrew Johnson
225f816f0e epicsShare macro fixes from Mark Rivers (copied from the main trunk). 2005-12-12 21:25:17 +00:00
Marty Kraimer
cdda915248 o and x format should have unsigned args 2005-12-12 20:09:02 +00:00
Marty Kraimer
1a1c4dceb0 changes for libCom/misc 2005-12-12 19:55:34 +00:00
Marty Kraimer
b283cb1fcd clean up epicsStdlib 2005-12-12 19:55:11 +00:00
Marty Kraimer
3499fbe51d get rid of epicsShareAPI; epicsStrtok_r is new; clean up epicsStdlib 2005-12-12 19:54:48 +00:00
Jeff Hill
bd14b17c94 fixed send thread blocks trying to destroy the IIU because the
callback lock was taken without using a callback lock manager
2005-12-08 16:23:15 +00:00
Andrew Johnson
25d861b724 Removed release date, less work to do at the last minute... 2005-11-30 22:29:06 +00:00
Janet B. Anderson
e93f9fd86e Updated path rewriting rules for various OSs. 2005-11-30 21:46:13 +00:00
Janet B. Anderson
f8527e3303 WIN32 directory specification changes. 2005-11-29 22:46:57 +00:00
Janet B. Anderson
cd1d5b3b41 Added override comments for Visual C++ 8.0 or 8.0 express. 2005-11-29 22:45:28 +00:00
Janet B. Anderson
251e628df3 Modified comment. 2005-11-29 22:44:41 +00:00
Janet B. Anderson
ccec1cf8c7 Bug fix for Borland obj installs (all lower case) installs. 2005-11-29 22:44:05 +00:00
Jeff Hill
1d977970a4 fixed spelling 2005-11-29 18:42:34 +00:00
Jeff Hill
f41d1276c3 updated for R3.14.8 2005-11-29 18:34:09 +00:00
Jeff Hill
5d31c721ad fixed msvc++ 8 assert failure.
I had a closer look at the MS and the POSIX doc. It appears that
there is confusion between the two related to how the arguments
are interpreted when the user buffer pointer is null. In the POSIX
doc it clearly states that the count only applies if the user pointer
isn't nill. In the MS doc it clearly states that the count is also the
size of the internally allocated buffer when the user pointer is nill.

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

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

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

rsrv: socket shutdown error was Transport endpoint is not connected
2004-11-09 17:41:53 +00:00
Janet B. Anderson
139472e2db Added $(EPICS_BASE_TOOLS_BIN) to $(PATH) to find dlls for base build tools. 2004-11-09 14:45:01 +00:00
W. Eric Norum
5731e72cf1 Set boot parameters from mot-script-boot if not otherwise specified. 2004-11-05 19:51:44 +00:00
Janet B. Anderson
b4e2c4c432 Changed c preprocessor from gcc to cc. 2004-11-04 21:13:22 +00:00
Janet B. Anderson
4f03bba90d Changed filterout to filter-out. 2004-11-04 20:29:36 +00:00
Marty Kraimer
cb119338b2 clean up error messages 2004-11-04 19:21:15 +00:00
Marty Kraimer
d2c672d238 cancel threads in inverse order of creation 2004-11-04 14:01:20 +00:00
Janet B. Anderson
dc2fb8bb5c Added registryIoc library to EPICS_BASE_HOST_LIBS definition. 2004-11-03 22:35:57 +00:00
W. Eric Norum
8739e1c298 Allow 'unsigned' integers. 2004-11-03 22:16:18 +00:00
W. Eric Norum
c7e7f8e221 Don't require pdbbase if not linking iocshRegisterCommon commands. 2004-11-03 17:14:48 +00:00
Janet B. Anderson
25c30be105 Only one -classpath allowed on a command line (for javadoc). 2004-11-02 19:51:54 +00:00
Janet B. Anderson
dc930863f2 Only build JAVA stuff when BUILD_CLASS is HOST. 2004-11-01 22:41:27 +00:00
Janet B. Anderson
c508e485ba Removed COMMON_JAR, add rule to install existing jar, added jar vpath. 2004-11-01 22:30:10 +00:00
Andrew Johnson
e700d00db0 Moved static constructor call of iocshRegisterCommon() from iocsh.cpp into
the output from the registerRecordDeviceDriver.pl script, so standalone
sequencer programs don't import all of iocCore unnecessarily.
2004-10-29 23:24:35 +00:00
Marty Kraimer
5c0f09c5d2 gphFreeMem did not destroy mutex 2004-10-29 18:18:25 +00:00
Ken Evans
bd4b66de07 Fixed it up to remove package directories during clean. Was
previously leaving generated classes (with $ in the name).
2004-10-28 18:56:45 +00:00
W. Eric Norum
36aa145d04 Add rtemsNfs to all RTEMS targets. 2004-10-28 18:23:41 +00:00
Janet B. Anderson
b75254ec92 Added EPICS_BASE_TOOLS_BIN to PATH - find dlls for antelope, e_flex ... 2004-10-28 18:23:24 +00:00
Janet B. Anderson
8a1987ea9e Implemented LOADABLE_SHRLIB_VERSION. 2004-10-28 18:19:48 +00:00
W. Eric Norum
55bdb9cd2a MVME167 doesn't have RTC code 'yet'. 2004-10-28 18:18:42 +00:00
Janet B. Anderson
b6e3f6d481 Added OP_SYS_CFLAGS += -g. 2004-10-28 18:07:07 +00:00
Janet B. Anderson
ba1139f3c9 Remove OP_SYS_CFLAGS += -g. 2004-10-28 17:44:42 +00:00
Ralph Lange
f4876149bb More kernel config info 2004-10-28 17:03:22 +00:00
Janet B. Anderson
1c95d2eca8 Removed -z defs because it doesn't work with gcc/g++ 3.4.2. 2004-10-28 14:27:15 +00:00
Janet B. Anderson
39b89bd349 Removed osdTime.cpp, cygwin now uses file from posix dir. 2004-10-28 13:59:39 +00:00
Janet B. Anderson
0c99fe1bc8 Removed actual IP numbers inside bat files. 2004-10-27 16:40:14 +00:00
Janet B. Anderson
13ec7a675c Removed -z defs which was accidently committed. 2004-10-26 15:49:54 +00:00
Janet B. Anderson
f42c2954df Replaced -G with -shared -fPIC in shrlib LDFLAGS. 2004-10-26 15:31:25 +00:00
Janet B. Anderson
1a09047c87 Added -fPIC to shrlib LDFLAGS. 2004-10-26 15:30:01 +00:00
Janet B. Anderson
4c2d266910 Initial version. 2004-10-26 14:21:00 +00:00
Ralph Lange
de9767dc34 += "done" - message (all tests should print something). 2004-10-26 10:20:35 +00:00
Janet B. Anderson
58cf1e72ab Updated to look more like CONFIG.solaris-sparc.solaris-sparc. 2004-10-25 18:57:23 +00:00
Janet B. Anderson
8473be4f20 Added USR_PRECLASSPATH and allowed for multiple dirs in USR_CLASSPATH. 2004-10-25 17:12:19 +00:00
Marty Kraimer
4d4063d7ce make sure tv_nsec < 1000000000L 2004-10-25 14:51:42 +00:00
Ralph Lange
daeafe774f += CA command line tools: -s option 2004-10-25 12:49:53 +00:00
Andrew Johnson
69fc21474b Windows permits login names to include spaces! 2004-10-22 15:11:41 +00:00
W. Eric Norum
a4790a1dc2 epicsScanFloat, epicsScanDouble. 2004-10-22 13:53:14 +00:00
Ralph Lange
c5414a268c += max_thread_proc kernel config info 2004-10-22 13:49:35 +00:00
Ralph Lange
da3cd3bc19 Also restored old wasteTime value 2004-10-22 10:45:03 +00:00
W. Eric Norum
5f78b88f07 Add DNS domain name parameter. 2004-10-20 19:04:56 +00:00
W. Eric Norum
bfe0eb9e09 MVME5500 BSP now supplies RTC (time-of-day) driver. 2004-10-20 18:39:14 +00:00
Jeff Hill
daacfdc550 clarified search rate doc 2004-10-20 17:27:08 +00:00
Jeff Hill
8bc593a64e added def of STACK_SIZE_PARAM_IS_A_RESERVATION for compilers that dont provide it 2004-10-20 16:35:32 +00:00
Marty Kraimer
a15e9beff6 prevent crash if size is 0 2004-10-20 12:16:10 +00:00
Jeff Hill
2b7305097b fixed gnu warning 2004-10-20 00:05:22 +00:00
Janet B. Anderson
509f4de9a0 Fixed typo. 2004-10-19 21:43:17 +00:00
Jeff Hill
0d85c7d8a8 fixed gnu warning 2004-10-19 21:39:31 +00:00
Janet B. Anderson
d69a0f70e5 Updated for R3.14.7. 2004-10-19 21:39:28 +00:00
Jeff Hill
7a5bdb93c4 fixed ca_name() returns the record name w/o appending the field name 2004-10-19 21:05:39 +00:00
Jeff Hill
3e05c90653 added dbNameOfPV and dbNameSizeOfPV 2004-10-19 21:03:20 +00:00
Jeff Hill
dfa35d0596 getHostName returns string size 2004-10-19 20:55:39 +00:00
Jeff Hill
89814eb9e2 hostName() function name change to getHostName() 2004-10-19 20:54:40 +00:00
Jeff Hill
86e71a90b0 no need to print channelname in show routine 2004-10-19 20:52:33 +00:00
Jeff Hill
bdc723f500 cleaned up construction sequence 2004-10-19 20:51:37 +00:00
Jeff Hill
502620ee4e eliminated redundancy with original ca client API 2004-10-19 20:49:47 +00:00
Jeff Hill
c3f277dbc6 getName() and getHostName return string size 2004-10-19 20:46:55 +00:00
Jeff Hill
004db1aea7 getName() returns string size 2004-10-19 20:40:47 +00:00
Jeff Hill
085b228c83 getName() returns string size 2004-10-19 20:24:57 +00:00
Jeff Hill
2d47ba27b1 ca_get_host_name() used to return void, but has been changed to
return the string length.
2004-10-19 20:21:31 +00:00
Jeff Hill
60c0a98c08 o removed operators new and delete from cacChannel
o getName and getHostName now return string length
2004-10-19 20:20:46 +00:00
Jeff Hill
9223d7476e o removed operator delete
o default getHostName now returns string length
2004-10-19 20:19:39 +00:00
Jeff Hill
89d7953c90 hostName() renamed to getHostName() 2004-10-19 20:18:20 +00:00
Jeff Hill
10a9edf186 moved friend ca_clear_subscription to this file 2004-10-19 20:17:40 +00:00
Jeff Hill
ce912df8a4 added ca_name() test 2004-10-19 20:16:34 +00:00
Jeff Hill
532e17fd0f moved friends of oldChannelNotify to oldChannelNotify.cpp 2004-10-19 20:15:00 +00:00
Janet B. Anderson
13aaf8ef1b Modified the formatting. 2004-10-19 19:43:52 +00:00
Jeff Hill
9df773e88f sockAddrToDottedIP needs to return the string size 2004-10-19 18:21:02 +00:00
Jeff Hill
1069541aa6 added newline at eof 2004-10-19 18:14:01 +00:00
Jeff Hill
9b82574901 fixed recently commited problem in ipAddrToDottedIP 2004-10-19 18:01:49 +00:00
Ralph Lange
cb9934b0c7 command line tools caget, camonitor: += as-string option. 2004-10-19 17:50:58 +00:00
Jeff Hill
d5e01c38b1 commented out dll main source code 2004-10-19 17:28:45 +00:00
Jeff Hill
d4c8dd67d3 use STACK_SIZE_PARAM_IS_A_RESERVATION thread creation
option - this should allow more threads to run on XP
2004-10-19 17:26:01 +00:00
Jeff Hill
d99c0b613a DLL main executes in a very limited execution environment - its probably
smart to just avoid calling any general purpose code there.
2004-10-19 17:24:30 +00:00
Jeff Hill
91097d7d32 return the number of elements copied from address to ascii conversion func 2004-10-19 17:20:15 +00:00
Jeff Hill
010ebea821 fixed win32 dll sym export 2004-10-19 17:17:31 +00:00
Jeff Hill
2f829e5992 removed const from arg to copy constructor as is convention with std 2004-10-19 17:12:37 +00:00
Ralph Lange
4c302621e2 Use separate flag for once_connected state; += as-string option. 2004-10-19 15:27:51 +00:00
Ralph Lange
22ef6a9653 Use separate flag for once_connected state. 2004-10-19 15:20:34 +00:00
Janet B. Anderson
a4aa9234ed Added cast to int to remove gnu compiler warning messages. 2004-10-19 15:18:51 +00:00
Marty Kraimer
92a9d4cebf explain epicsExit 2004-10-19 11:30:59 +00:00
Janet B. Anderson
7eba880fc6 Added int return value to main(). 2004-10-18 21:47:12 +00:00
W. Eric Norum
4b89949310 New BSP -- updated network configuration. 2004-10-18 21:43:21 +00:00
Janet B. Anderson
2a809e2102 Initial version. 2004-10-18 21:41:25 +00:00
W. Eric Norum
9a94ca9d88 Clean out local debugging code. 2004-10-18 21:39:16 +00:00
W. Eric Norum
ce20721cf9 Clean up network configuration. 2004-10-18 21:38:47 +00:00
Janet B. Anderson
d2ff90286c Commented out all cross compiler target archs. 2004-10-18 14:49:21 +00:00
Marty Kraimer
15e78067ca use epicsThreadGetStackSize is set stacksize 2004-10-18 14:29:55 +00:00
Marty Kraimer
399017339e fix possible memory leak 2004-10-18 12:04:32 +00:00
Janet B. Anderson
5a91260f49 Added dependancy line for ../template files. 2004-10-15 21:22:59 +00:00
Janet B. Anderson
40c0281ea1 Added ARCH_solarisNonshared. 2004-10-15 18:37:19 +00:00
Janet B. Anderson
29d605faaf Use tools in $(EPICS_BASE_BIN) for HOST builds.
Use tools in $(EPICS_BASE_HOST_BIN) for CROSS builds.
2004-10-15 18:29:14 +00:00
Janet B. Anderson
2bbcec03c0 Win32 changes made by K Evans. 2004-10-15 18:20:49 +00:00
Janet B. Anderson
89aa261055 Initial version. 2004-10-15 18:19:40 +00:00
Janet B. Anderson
e1f3c9fd40 Removed old comment. 2004-10-13 14:57:59 +00:00
W. Eric Norum
e2ecac9e96 Avoid duplicate strtod. 2004-10-13 14:52:49 +00:00
Janet B. Anderson
892e71f55b Commented out xxx.dbd and added instructions for support dbds. 2004-10-13 14:51:45 +00:00
Janet B. Anderson
0d12ed33ca The <appname>Include.dbd file is no longer needed. 2004-10-13 14:40:45 +00:00
Marty Kraimer
5161a3b939 check for EINTR 2004-10-13 12:13:02 +00:00
Marty Kraimer
48ea77dc6f pthread_mutex_lock and pthread_cond_timedwait ignore EINTR 2004-10-12 20:06:38 +00:00
W. Eric Norum
02c67eda2c Fix typo. 2004-10-12 18:20:38 +00:00
W. Eric Norum
0dc034962c Use epicsScanFloat/epicsScanDouble rather than sscanf.
This allows proper handling of Nan/Inf on all architectures.
2004-10-12 17:45:31 +00:00
Jeff Hill
25c797b212 build template instances only for vxWorks 2004-10-12 17:12:18 +00:00
Jeff Hill
527dbf796d added instation for auto ptr to search timer 2004-10-12 17:12:02 +00:00
W. Eric Norum
b3bb33f448 More warnings. 2004-10-12 16:20:40 +00:00
W. Eric Norum
231a037c0b Fix up warnings. 2004-10-12 16:18:42 +00:00
W. Eric Norum
81ef601637 Fix up diagnostic messages. 2004-10-12 16:06:07 +00:00
W. Eric Norum
86152e91b9 Clean up some headers.
Add epicsScanReal.c.
2004-10-12 13:51:52 +00:00
Andrew Johnson
331979dfb9 Improve handling of NaN values.
In selRecord, replaced the 1e30 'magic number' with NaN and Inf values.
2004-10-11 22:32:05 +00:00
W. Eric Norum
4f731caf14 Add os-independent epicsStrtod() routine. 2004-10-11 18:22:12 +00:00
W. Eric Norum
e7f16cb078 Cosmetic. 2004-10-09 21:43:05 +00:00
W. Eric Norum
370e46227a Much improved version of epicsStrGlobMatch thanks to Jack Handy and the
folks at the Cold Project.
2004-10-08 20:38:11 +00:00
Jeff Hill
e76362d84b fixed gnu warnings 2004-10-08 17:15:09 +00:00
Jeff Hill
62df64a03c added missing include 2004-10-08 17:11:59 +00:00
Jeff Hill
2d733190ce added missing included 2004-10-08 16:59:18 +00:00
Jeff Hill
54a5a71377 fixed throw spec 2004-10-08 16:55:58 +00:00
Jeff Hill
108a7a6e0f removed waitRelease mf 2004-10-08 15:46:18 +00:00
Jeff Hill
0d6323803f improved shutdown sequence 2004-10-08 15:45:40 +00:00
Jeff Hill
0e1aa1c4bb new #include 2004-10-08 15:44:44 +00:00
Jeff Hill
400d474bed no longer needs to call exitWaitRelease 2004-10-08 15:44:18 +00:00
Jeff Hill
00c2aff710 include branching added 2004-10-08 15:39:09 +00:00
Jeff Hill
f5803beb8a use less than full length of buffer with gethostname in case there are errors in the implementation of gethostname 2004-10-08 15:37:34 +00:00
Jeff Hill
1bb5a5d86b prevent ~cac from completing if iiu uninstall is still in progress 2004-10-08 15:34:12 +00:00
Jeff Hill
07f8759a0a added epicsExit 2004-10-08 15:25:17 +00:00
Jeff Hill
7ecc2d0535 new #include 2004-10-08 15:20:16 +00:00
Jeff Hill
1a31fbcdda new #include 2004-10-08 15:12:20 +00:00
Jeff Hill
fab9e49710 removed #include 2004-10-08 15:03:04 +00:00
W. Eric Norum
cce9a2b3b4 Ensure that prototype is in scope. 2004-10-08 15:00:12 +00:00
Jeff Hill
d91a3917ce new #include 2004-10-08 14:58:59 +00:00
Jeff Hill
f9f5381a30 doc 2004-10-08 14:54:45 +00:00
Jeff Hill
7571947ceb o fixed "no exception thrown if epicsThreadCreate() return nill"
o added epicsThreadMustCreate
o cleaned up thread rundown blocking
o header file need not include exception support
2004-10-08 14:46:48 +00:00
Andrew Johnson
dac63b0826 It makes more sense to make ca_puser(chid) the address of the MYNODE, not
the address of an array element containing the MYNODE address.  As puser is
not actually used in this code it's not a real bug, but it could cause a
subtle bug in any code that starts from here if the programmer doesn't
completely understand what's going on...
2004-10-07 22:08:28 +00:00
W. Eric Norum
06c3533158 Globbing. 2004-10-07 20:15:35 +00:00
W. Eric Norum
0d6784c31b Provide epicsStrGlobMatch().
Add globbing to iocsh help command.
2004-10-07 20:10:38 +00:00
W. Eric Norum
667ab7eab8 Let posix version of osdTime work on systems without real-time capability. 2004-10-07 19:39:00 +00:00
Jeff Hill
372a3dc989 restored "waste time" loop 2004-10-07 19:21:18 +00:00
W. Eric Norum
1a326265ff Add progress marker. 2004-10-07 15:10:31 +00:00
Marty Kraimer
e8b642bd5f fix stacksize 2004-10-07 13:37:34 +00:00
Marty Kraimer
906f74cfe1 set stack size og posix 2004-10-07 13:33:14 +00:00
Marty Kraimer
5c99cf24f1 OSITHREAD_USE_DEFAULT_STACK YES 2004-10-07 13:27:16 +00:00
Marty Kraimer
bbc999f033 set stacksize 2004-10-07 13:24:25 +00:00
Marty Kraimer
b0a654b4c1 epicsMaxThreads is new 2004-10-07 13:21:40 +00:00
W. Eric Norum
36733cd907 pc386 BSP now provides time-of-day clock. 2004-10-06 21:43:09 +00:00
W. Eric Norum
75e43a6b6c Detect memory exhaustion. 2004-10-05 18:21:30 +00:00
Jeff Hill
639d54fd91 fixed CA fails if channel is destroyed in disconnect handler 2004-10-04 23:28:54 +00:00
Jeff Hill
0975f7457b removed CVS Id tokens as they cause never ending hassles when merging
in from branches
2004-10-04 22:05:14 +00:00
Jeff Hill
302cde41b0 removed CVS Id tokens as they cause never ending hassles when merging
in from branches
2004-10-04 18:55:40 +00:00
Jeff Hill
4b8e2bcf2c fixed to use const char chan name ptr
added manually operated chan disconnect / connect test
2004-10-04 18:40:48 +00:00
Jeff Hill
84559b5fd3 fixed to use const char chan name ptr 2004-10-04 18:39:03 +00:00
Jeff Hill
753ecff270 Changes to support communication with protocol revisions prior to 4.2 (EPICS 3.11) 2004-10-04 16:39:00 +00:00
Marty Kraimer
46cfe589d5 epicsSnprintf: prevent buffer overflow; use posix convention 2004-10-04 12:39:16 +00:00
Marty Kraimer
31c9c89350 epicsStrSnPrintEscaped: prevent buffer overflow; use posix convention 2004-10-04 12:38:33 +00:00
W. Eric Norum
42953c05f7 Treat \r as a separator -- should allow DOS-format scripts to work. 2004-10-02 15:34:47 +00:00
Jeff Hill
361d617ede o fixed so that a thread that has not began will terminate if another thread
calls exit wait
o use independent event semaphore assisting these two threads to block
1) spawned thread
2) thread waiting for spawned thread to exit
2004-10-01 23:27:25 +00:00
W. Eric Norum
207e1ed8f7 Add some comments.
Provide an easy location to override input library.
2004-10-01 18:27:12 +00:00
Jeff Hill
c106bc9740 fixed compatibility problems with vxWorks 5.4 gnu compiler 2004-09-30 19:15:45 +00:00
Jeff Hill
23be13bd5b fixed cast 2004-09-30 19:14:23 +00:00
W. Eric Norum
2e66cfb8fb Clean up NFS/TFTP remote fileystem setup. 2004-09-30 17:58:42 +00:00
Jeff Hill
1dda0263f0 exception payload derives from std::exception 2004-09-30 16:01:48 +00:00
Jeff Hill
4db45ea43d use arch independent type to hold revision level of proto 2004-09-29 22:12:36 +00:00
Jeff Hill
ecc0d9976d return "bad protocol" and not "internal" error code when bad protocol arrives 2004-09-29 17:45:35 +00:00
Jeff Hill
9f8e75b945 o print date when unexpected exception occurs
o call std::unexpected() when unexpected exception occurs
2004-09-29 17:39:17 +00:00
Jeff Hill
fddaeb1dc8 reduced memory consumption with large channel counts 2004-09-29 15:59:25 +00:00
W. Eric Norum
319b886ab4 Don't use TFTP if not needed. 2004-09-29 14:30:51 +00:00
Marty Kraimer
ef292bffe6 dont try to cancel _main_ 2004-09-29 13:32:11 +00:00
W. Eric Norum
81bc2a0d7a if_fxp is now working. 2004-09-29 01:23:43 +00:00
W. Eric Norum
3419fee587 Changes for RTEMS pc386 target. 2004-09-29 00:39:50 +00:00
W. Eric Norum
a470a5b850 Add commands to build etherboot bootable image. 2004-09-29 00:39:17 +00:00
W. Eric Norum
5a832e7ccd RTEMS bootable images. 2004-09-28 21:51:11 +00:00
W. Eric Norum
46068e813d Use NFS by default. 2004-09-28 20:40:43 +00:00
W. Eric Norum
cd551b4860 Clarify reason for direct copy. 2004-09-28 20:39:47 +00:00
W. Eric Norum
46255e607a Redo the way 'munch' commands are handled.
Provide 'munch' command to build executable for RTEMS MVME2100 target.
2004-09-28 20:38:01 +00:00
W. Eric Norum
5e49aafb5c Now works on non-i386, non-ppc targets. 2004-09-25 23:43:06 +00:00
Janet B. Anderson
44b0995b0d Added iocBoot/ioc* build change. 2004-09-24 21:01:01 +00:00
Janet B. Anderson
c15d2d589c Create cdCommands and envPaths files only for BUILD_ARCH dirs. 2004-09-24 20:55:03 +00:00
Jeff Hill
7617d78f36 fixed sunpro warnings 2004-09-24 16:33:42 +00:00
Jeff Hill
61c0cff87d fixed gnu warnings 2004-09-24 15:44:08 +00:00
Jeff Hill
f384eee9b6 fixed sunpro warnings 2004-09-24 15:42:54 +00:00
Jeff Hill
a868270c68 fixed gnu warning 2004-09-24 15:27:10 +00:00
Jeff Hill
7deabc8923 fixed sunpro warnings 2004-09-24 15:03:28 +00:00
Marty Kraimer
35bbb5d897 call epicsThreadInit instead of assert if epicsThreadId is not an argument 2004-09-24 12:25:07 +00:00
Ralph Lange
b04811e146 Use correct option character. optopt is valid only when getopt returns '?'. 2004-09-24 11:38:10 +00:00
Jeff Hill
620f8b74b7 fixed header file names 2004-09-24 00:22:21 +00:00
Jeff Hill
4154b61d46 fixed header name 2004-09-24 00:13:00 +00:00
Jeff Hill
1388169f1e fixed missing throw() spec 2004-09-24 00:05:26 +00:00
Jeff Hill
7b7a07c667 fixes for bugs 133 and 134 in Mantis 2004-09-23 23:15:22 +00:00
Jeff Hill
107f1fa37f added array capabilities 2004-09-23 21:56:51 +00:00
Ralph Lange
6c12088e2a += connection status reporting (based on Jeff's suggestions plus timestamps for connection loss events) 2004-09-23 15:47:57 +00:00
Jeff Hill
889d8bc6c2 fixed potential race on SMP systems 2004-09-23 00:24:04 +00:00
Jeff Hill
1584471439 o fixed errno based diagnostic converting errno to string after errno was replaced 2004-09-22 18:55:17 +00:00
Jeff Hill
c020be9e04 fixed delay functionality and removed call to show at exit 2004-09-22 18:45:43 +00:00
Jeff Hill
ff419d8922 added destroyAllPV call 2004-09-22 18:45:11 +00:00
Jeff Hill
6e01a1e22c o fixed forced disconnect closes socket when shutdown should be used
otherwise fdmgr prints bad fd diagnostic in tight loop - problem was
        seen only when very old CA client version connects
2004-09-22 17:55:00 +00:00
Jeff Hill
6d70a66826 o fixed errno based diagnostic converting errno to string after errno was replaced
o fixed forced disconnect closes socket when shutdown should be used
        otherwise fdmgr prints bad fd diagnostic in tight loop - problem was
        seen only when very old CA client version connects
2004-09-22 17:54:37 +00:00
Jeff Hill
a33d6585f9 fixed errno based diagnostic converting errno to string after errno was replaced 2004-09-22 17:51:59 +00:00
Jeff Hill
6615cb7fbd removed calls to exit() which cause problems on RTEMS where exit() has
different behavior than on vxWorks.
2004-09-21 23:56:27 +00:00
Janet B. Anderson
694d0401f0 Updates to make files general. Updated for R3.14.7. 2004-09-20 19:56:08 +00:00
W. Eric Norum
a29a954a19 MVME2100. 2004-09-17 21:20:51 +00:00
W. Eric Norum
63a4b83b16 Add support for MVME2100. 2004-09-17 21:18:43 +00:00
W. Eric Norum
f41a7910c4 Allow configuration from PPCBUG NVRAM. 2004-09-17 20:48:09 +00:00
Jeff Hill
88702dd180 fixed to work with non-ms compiler 2004-09-17 15:02:52 +00:00
W. Eric Norum
c31910760f More warnings removed. 2004-09-16 19:29:09 +00:00
W. Eric Norum
0d07d00108 Clean up warnings.
Improve error message.
2004-09-16 19:27:23 +00:00
Jeff Hill
3d377eed1d removed atexit handler that calls epicsThreadExit because:
o recursive exit call is bad
o this causes shutdown problems with DLL codes on windows
=> the workaround is an atexit handler that calls epicsExitCallAtExits in
the poosix osdThreads atexit handler
2004-09-16 18:22:33 +00:00
W. Eric Norum
63aba004d1 Add explantory message. 2004-09-16 17:52:23 +00:00
W. Eric Norum
f8647ac5c6 Guard against overzealous optimizers. 2004-09-16 15:56:35 +00:00
W. Eric Norum
045619d68a Fix bug in 'pending' routine.
Provide rudimentary show routine.
2004-09-16 15:31:32 +00:00
W. Eric Norum
cd84c95920 Don't let receiver printing mess up priority-based send checks.
Improve priority-based send check messages.
2004-09-16 15:29:00 +00:00
W. Eric Norum
7a1249cd99 Allow calls from RTEMS test harness. 2004-09-16 14:04:21 +00:00
Marty Kraimer
262901c567 call epicsAtExit from errlogThread 2004-09-16 11:25:09 +00:00
W. Eric Norum
c7e31a2a41 Treat RTEMS like vxWorks. 2004-09-16 00:45:45 +00:00
W. Eric Norum
99690a12e2 Tread RTEMS like vxWorks. 2004-09-16 00:41:03 +00:00
W. Eric Norum
ca9146dfb5 Allow calling from RTEMS test harness. 2004-09-15 22:02:49 +00:00
W. Eric Norum
5d2cc64d62 Allow calling from RTEMS test harness. 2004-09-15 21:39:05 +00:00
Marty Kraimer
15c156d41f remove unnecessary dbScanLock/Unlock 2004-09-15 17:55:27 +00:00
Marty Kraimer
ab176a13cd dbNotifyCancel waits for userCallback if active 2004-09-15 12:44:17 +00:00
W. Eric Norum
cb1c8e14af Get isnan/isinf. 2004-09-14 23:09:33 +00:00
W. Eric Norum
4a95bacb24 Pick up OS-specific declarations. 2004-09-14 23:08:29 +00:00
Janet B. Anderson
66c0ecd2f9 Moved wildcard parentheses to end of line. 2004-09-14 22:06:28 +00:00
W. Eric Norum
3973a3fdb2 Typo. 2004-09-14 20:25:12 +00:00
W. Eric Norum
a7b44180bd Redirect special case. 2004-09-14 20:21:10 +00:00
W. Eric Norum
096172f252 Handle
<foo >bar
properly.
2004-09-14 19:58:09 +00:00
Marty Kraimer
e8a2cdeee1 dbNotifyCancel waits for callback to complete 2004-09-14 18:58:52 +00:00
Marty Kraimer
e6173f93eb dbNotifyCancel waits for callback to complete 2004-09-14 18:22:57 +00:00
Jeff Hill
f81097d891 avoid cast that reduces size of type 2004-09-07 16:33:21 +00:00
Jeff Hill
269acc7478 added AS write trap for put callback 2004-09-07 16:01:29 +00:00
Jeff Hill
2f33de21fe avoid ioctl on closed socket during client rundown 2004-09-07 15:52:14 +00:00
Ralph Lange
e553e1b21e Added a cast for HP's compiler 2004-09-06 13:39:59 +00:00
Jeff Hill
0d2e8aa434 o added config via EPICS_CA_MAX_SEARCH_PERIOD 2004-09-03 21:36:58 +00:00
Jeff Hill
dd3d974bc7 o fixed clients that dont see server's beacon dont reconnect
o added config via EPICS_CA_MAX_SEARCH_PERIOD
o when successful search response arrives dont allow search period to get to long
o dont scan channels when searching to find lowest retry count as this doesnt change behavior and adds overhead
2004-09-03 21:12:38 +00:00
Jeff Hill
f02e58528c doc for EPICS_CA_MAX_SEARCH_PERIOD 2004-09-03 21:08:09 +00:00
Jeff Hill
1f791db248 eliminated very short window where channel could be installed
by udp thread while  iiu is being destroyed.
2004-09-02 19:47:31 +00:00
Jeff Hill
d7cf7531b2 should set the private variable id to nill when deleteing it 2004-09-02 16:26:04 +00:00
Marty Kraimer
bd93889676 changes for commits 2004-08-31 18:19:48 +00:00
Marty Kraimer
a2cd656268 handle array allocation properly when link connects 2004-08-31 18:13:56 +00:00
Marty Kraimer
bcbcf05110 atReboot calls epicsExitCallAtExits not epicsExit 2004-08-31 17:57:00 +00:00
Marty Kraimer
f408398166 add atReboot for vxWorks 2004-08-31 12:43:40 +00:00
Marty Kraimer
34a59c7eb9 do not call exit on vxWorks 2004-08-31 12:43:08 +00:00
Marty Kraimer
447e03c994 atReboot is new 2004-08-31 12:42:28 +00:00
Marty Kraimer
bedba55eb5 add defs for C++ 2004-08-31 12:41:56 +00:00
Jeff Hill
0f2ce403bb added warnings about calling CA from interrupt context, also more doc
about vxWorks 5.4 netowrk stack pool
2004-08-30 21:39:15 +00:00
Marty Kraimer
4d636df146 extern C except for registerObj 2004-08-30 13:39:03 +00:00
Janet B. Anderson
4c827f8104 Updated supported platforms. 2004-08-27 17:10:31 +00:00
Janet B. Anderson
5d036dc54b Updated for R3.14.7. 2004-08-27 17:04:10 +00:00
Marty Kraimer
5a41338d08 epicsExit 2004-08-27 16:23:20 +00:00
Marty Kraimer
b4f40d0011 epicsStdioRedirect 2004-08-27 16:20:09 +00:00
Marty Kraimer
63f139adc5 epicsExit and epicsStdioRedirect 2004-08-27 16:04:26 +00:00
cvs2svn
47223261a0 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-08-27 16:04:23 +00:00
Marty Kraimer
a15c5377f2 allow epicsStdioRedirect 2004-08-27 16:02:03 +00:00
Marty Kraimer
162ffc9873 epicsExit is new 2004-08-27 16:00:41 +00:00
cvs2svn
34a4b00f91 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-08-27 16:00:33 +00:00
Marty Kraimer
5505bfc3ab do not include epicsStdio 2004-08-27 16:00:04 +00:00
Janet B. Anderson
72021a6501 Updated supported platforms. 2004-08-27 15:15:10 +00:00
Janet B. Anderson
2e07db4a3e Removed duplicate directories and added catools, softIoc, and excas. 2004-08-27 14:52:58 +00:00
Marty Kraimer
2c7e345a00 changes for epicsExit and epicsStdio 2004-08-27 13:39:39 +00:00
Jeff Hill
916038e13a fixed holding lock while suspended in epicsThreadSuspendSelf() 2004-08-26 23:36:05 +00:00
Jeff Hill
6f030c8030 added additional doc on array size config 2004-08-25 22:40:33 +00:00
W. Eric Norum
4e92e2f36c Add prototype for strtok_r which is in the library but not in the headers
with -ansi.
2004-08-24 21:13:05 +00:00
Jeff Hill
0120c0e2a1 added -420 for China's MIN_WEST 2004-08-24 15:18:15 +00:00
W. Eric Norum
3d42f8df29 Add note about signals and subthreads. 2004-08-13 13:22:52 +00:00
Jeff Hill
bf9cd7241a added try catch block 2004-08-13 01:10:03 +00:00
Jeff Hill
39bae7925b fixed ca_context_create doc 2004-08-12 21:37:37 +00:00
Jeff Hill
6acf7c6294 o added additional data type doc
o added more info on binding servers to interfaces
2004-08-12 18:40:32 +00:00
Jeff Hill
9f216b07df added top level try catch block 2004-08-12 17:58:04 +00:00
W. Eric Norum
c23cb75b21 Install name must be absolute path. 2004-08-12 16:57:06 +00:00
Jeff Hill
45f71fcde9 fixed string to numeric conversion functions 2004-08-12 16:51:03 +00:00
Jeff Hill
ab627a9166 added string to double conversion functions 2004-08-12 16:50:26 +00:00
Jeff Hill
87023ea4b2 added function lookingup index matching string 2004-08-12 16:45:17 +00:00
W. Eric Norum
d41312bac5 Fix warning. 2004-08-12 13:38:17 +00:00
W. Eric Norum
012f44ff48 Fix convertDoubleToWakeTime warning. 2004-08-12 13:29:29 +00:00
W. Eric Norum
e3e3737a71 Block signals in all but the main thread. 2004-08-11 21:37:55 +00:00
Janet B. Anderson
2999b11a51 Removed output of SHRLIB_SEARCH_DIRS = TOP/lib/arch. 2004-08-11 19:31:36 +00:00
Janet B. Anderson
2a02939267 Simplified SHRLIB_SEARCH_FULLPATHDIRS definiton. 2004-08-11 19:30:11 +00:00
Janet B. Anderson
48b47b519d Added SHRLIB_SEARCH_DIRS = INSTALL_LIB definition. 2004-08-11 19:29:05 +00:00
Jeff Hill
73dd387f05 moved setThreadName() out so that it could use C++ exceptions instead of
windows structured exceptions (which are not compiler portable)
2004-08-11 00:46:38 +00:00
Jeff Hill
2d613ba5d0 fixed DLL export 2004-08-11 00:46:12 +00:00
Jeff Hill
7ef6eaee28 fixed plural 2004-08-04 20:14:09 +00:00
Jeff Hill
9b3cf1dc84 fixed wrong network address constructor used in constructor
specifying network address
2004-08-04 20:08:56 +00:00
Marty Kraimer
8ebd5d4e0a errlog: implement atexit 2004-08-03 18:18:50 +00:00
Marty Kraimer
83adcfbaea implement atexit to cleanup 2004-08-03 18:17:56 +00:00
Jeff Hill
ac8dc4facd fixed locking associated with the cleanup flag
(this is not a known problem, the problem was identified instead during code inspection)
2004-07-30 23:34:24 +00:00
Jeff Hill
75ddcbaf06 fixed problems with cleanup of partially created tcp client 2004-07-30 23:02:37 +00:00
Jeff Hill
cd1d544401 fixed argument declaration in ca_clear_channel 2004-07-30 17:55:56 +00:00
Janet B. Anderson
1cfd4c9100 Initial version. 2004-07-28 14:14:11 +00:00
W. Eric Norum
4d84f66918 IOC shell changes. 2004-07-26 18:45:38 +00:00
W. Eric Norum
84dd4cdd2b Add iocshCmd command.
General cleanup.
Split help code into separate function.
2004-07-26 18:21:57 +00:00
Marty Kraimer
8148784a20 exitWait ( double delay ) => exitWait (const double delay ) 2004-07-16 12:53:56 +00:00
Marty Kraimer
12b20f2398 More changes for OkToBlock 2004-07-16 11:33:53 +00:00
Marty Kraimer
4324145435 dont printf unless pvtData.toConsole 2004-07-15 14:04:29 +00:00
Marty Kraimer
e227241d4b args were in wrong order 2004-07-15 12:41:40 +00:00
Marty Kraimer
f07f9d8b2b Remove most dbDump commands because there are already other commands
that call them.
2004-07-15 12:41:09 +00:00
Marty Kraimer
c43b60c6ef allow null string or * 2004-07-15 12:03:41 +00:00
Marty Kraimer
f4251bcf79 make snc propram reentrient 2004-07-15 11:54:05 +00:00
Marty Kraimer
1b20ea0e6a wrong logic on msgbufGetFree(isOkToBlock) 2004-07-14 13:22:28 +00:00
Janet B. Anderson
6c205869f6 Put all -R directories in RUNTIME_LDFLAGS. 2004-07-13 19:35:20 +00:00
Janet B. Anderson
3e5f48cd05 Put all -R directories in RUNTIME_LDFLAGS. 2004-07-13 19:28:26 +00:00
Janet B. Anderson
dfebaae2cf Use fullpathdir in rpath directories. 2004-07-13 19:25:37 +00:00
Janet B. Anderson
6c46c794f6 Add macro RULES_TOP - fullpath to a module top directory. 2004-07-13 19:23:34 +00:00
Janet B. Anderson
6355bd4c80 Test if DBD_INSTALLS and DB_INSTALLS are non zero instead if defined. 2004-07-13 19:14:27 +00:00
Marty Kraimer
629b14d3d4 epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 14:49:18 +00:00
Marty Kraimer
f54d1ca30a epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 13:35:35 +00:00
W. Eric Norum
4d5213f609 Fix typo. 2004-07-12 16:15:42 +00:00
W. Eric Norum
3d1dfa5dc6 Simplify printf ==>> epicsStdoutPrintf redefinition. Use __printf__ in
GCC attribute specifier to avoid conflict.
2004-07-12 16:00:48 +00:00
Marty Kraimer
b4715368d7 epicsThreadSetOkToBlock 2004-07-12 13:08:43 +00:00
Marty Kraimer
6cb83962d0 fprintf(stdout => printf 2004-07-09 18:47:33 +00:00
W. Eric Norum
99778934c1 Ensure that redirection is off before attempting to read next line. 2004-07-09 18:40:42 +00:00
W. Eric Norum
f6e1d32b25 Add 'ok-to-block' flag. 2004-07-09 18:30:29 +00:00
Marty Kraimer
975a1af43b fix OkToBlock 2004-07-09 18:19:18 +00:00
Marty Kraimer
f2fc8f8838 ShellContext=>OkToBlock 2004-07-09 17:53:54 +00:00
Marty Kraimer
e9f54b70d9 if shellContext call printf from initial thread 2004-07-09 16:06:51 +00:00
Marty Kraimer
b97efc9f7d implement ShellContext 2004-07-09 16:05:53 +00:00
Marty Kraimer
23d4d7f790 printf always becomes epicsStdoutPrintf 2004-07-09 13:35:12 +00:00
W. Eric Norum
94e70da4ef Allow redirection from recursive iocsh invocations. 2004-07-09 13:18:40 +00:00
W. Eric Norum
744e836ad8 Add I/O redirection. 2004-07-08 21:19:42 +00:00
Marty Kraimer
ad878fc71d printf now overridden 2004-07-08 20:48:35 +00:00
Marty Kraimer
51a8b2ec98 more changes to make override of printf work 2004-07-08 20:47:00 +00:00
Marty Kraimer
6669549c68 override printf 2004-07-08 20:17:03 +00:00
Marty Kraimer
55b22facee include epicsStdio 2004-07-08 20:16:36 +00:00
Marty Kraimer
77a8aa677a printf => epicsStdioPrintf 2004-07-08 18:10:05 +00:00
Marty Kraimer
2f7abfdd7a clean up and include epicsStdio.h 2004-07-08 16:15:01 +00:00
Marty Kraimer
8006613981 char => const char 2004-07-08 15:25:56 +00:00
Marty Kraimer
4a7152c1a2 dbl dbhcr no longer have filename arg; char => const char 2004-07-08 15:09:49 +00:00
Marty Kraimer
77b28ee777 changes for reports 2004-07-08 14:43:45 +00:00
Marty Kraimer
cb430154d0 add test of epicsGetStdout/epicsPutStdout 2004-07-08 12:08:14 +00:00
Marty Kraimer
cb34e16385 added epicsGetStdin/epicsSetStdin and stdout and stderr 2004-07-08 11:55:46 +00:00
Marty Kraimer
f212fae267 split epicsStdio into common and osdStdio portions 2004-07-07 16:03:51 +00:00
cvs2svn
ce1be263d5 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-07-07 16:03:49 +00:00
Jeff Hill
0ca4281952 fixed gcc 3.4 issue 2004-07-07 14:58:10 +00:00
Marty Kraimer
05dad621be ODLY was not handled properly 2004-07-06 14:13:09 +00:00
Marty Kraimer
8507d48527 calcoutRecord fix 2004-07-06 14:11:28 +00:00
W. Eric Norum
44c358d6bd Use correct option character. optopt is valid only when getopt returns '?'. 2004-07-06 03:01:11 +00:00
Andrew Johnson
0f7189d62b This problem was reported by Kate Feng and Stephanie Allison. 2004-07-02 23:09:13 +00:00
Jeff Hill
d254a52c4d fixed gcc 3.4 issue 2004-06-28 16:18:19 +00:00
Jeff Hill
400c482bb2 fixed the following problems
o application could hang for too long in ca_context_destroy() attempting a
clean shutdown if circuit is known to be unresponsive
o unexpected errno from recv message was improperrly supressed
for locally initiated circuit abort
2004-06-22 18:21:12 +00:00
Jeff Hill
3b602063fa made two member functions private 2004-06-22 18:15:30 +00:00
Jeff Hill
c097ce9b82 added channel connected context destroy test 2004-06-21 21:34:45 +00:00
Jeff Hill
288e8abe90 many changes 2004-06-17 23:49:21 +00:00
Jeff Hill
e5ba349551 eliminated redundant code from subscription and channel destroy 2004-06-17 23:32:36 +00:00
Jeff Hill
7f3db9f676 channelNode public memebers should be protected members 2004-06-17 23:32:09 +00:00
Jeff Hill
d0ca66c2e3 cancel outstanding IO when a channel becomes unresponsive 2004-06-17 23:31:30 +00:00
Jeff Hill
33ee0cba83 no need to maintain count of circuits insttalled when they are installed on a
doubly linked list
2004-06-17 23:30:32 +00:00
Jeff Hill
61a4d8a0d3 protect against exceptions occurring when eliminating excessive send backlog
o creating channel
o creating subscription
also eliminated redundant code from subscription destroy
2004-06-17 23:26:18 +00:00
Jeff Hill
88b13e36f0 removed call to epicsThreadSleep() in verifyImmediateTearDown() 2004-06-17 23:16:16 +00:00
W. Eric Norum
2b21145d19 Fix int/pointer conversion warnings. 2004-06-17 04:07:34 +00:00
W. Eric Norum
6a1ea9df6a Add missing include. 2004-06-17 01:12:58 +00:00
W. Eric Norum
ec29674d06 Fix missing format. 2004-06-17 01:12:40 +00:00
W. Eric Norum
6fe68a0cb3 Fix printf args/formats. 2004-06-17 01:10:59 +00:00
Andrew Johnson
b9fa2e7515 More string termination bugs, this time missing terminators. 2004-06-16 19:10:11 +00:00
Jeff Hill
aa2273c7d3 removed use of EPICS_CA_ADDRESS_LIST 2004-06-16 15:39:34 +00:00
W. Eric Norum
58a741d845 Clean up -- use epicsStrDup instead of ad-hoc allocation. 2004-06-16 13:21:52 +00:00
Andrew Johnson
f291862044 Fixed dbLoadTemplates oops! Environment variables tests don't exercise the
non-dirty path as much...
2004-06-15 19:07:51 +00:00
Jeff Hill
0999b6d923 fixed 1st monitor update not delivered when didnt change
when unresponsive
2004-06-14 21:49:39 +00:00
Jeff Hill
c75ab8eea6 fixed undefined link 2004-06-14 18:08:27 +00:00
Jeff Hill
da5bc3b820 disconnect servers that send missaligned protocol 2004-06-14 17:45:43 +00:00
Andrew Johnson
1a6c1caa54 Fixed path to ConvertingR3.14.1AppsToR3.14.2.html so future website copies
don't have to be changed on installation.
2004-06-14 16:41:44 +00:00
Jeff Hill
0e0aa7bac5 disconnect servers that send missaligned protocol 2004-06-11 19:27:50 +00:00
Jeff Hill
ef04b81c74 disconnect clients that send missaligned protocol 2004-06-11 18:56:55 +00:00
Andrew Johnson
7035e0f475 Replaced macErrMessage macros with errlogPrintf
Fixed 2 possible buffer overflow bugs
Added an entry type string for error/warning messages
Implemented default values in macro expansions $(name=default)
Improved usefulness of error reporting
2004-06-11 15:40:14 +00:00
Jeff Hill
367374b51c added build doc 2004-06-08 15:58:10 +00:00
Marty Kraimer
55ac37cfac Data Base Request Option DBR_ENUM_STRS for the DTYP field ofsoft records can cause an IOC to crash. 2004-06-07 12:11:20 +00:00
W. Eric Norum
7c5e384d08 Cosmetic typo. 2004-06-04 19:51:23 +00:00
Andrew Johnson
751e52a314 Fix some warnings on solaris-sparc. 2004-06-02 20:55:09 +00:00
Andrew Johnson
becd80c4d8 Patch from Jeff Hill, fixes a Tornado 2.2 build problem. 2004-06-02 20:43:21 +00:00
Janet B. Anderson
6614ff45a9 Added a check to see if "$ARGV[0]" exists pre Andy Foster request. 2004-06-01 16:53:22 +00:00
Andrew Johnson
95fd1a7623 R3.14.6 updates. 2004-05-28 21:41:17 +00:00
Andrew Johnson
5be53b39a8 Added <space><dot> after the $Id$ so amaya doesn't wrap inside the $...$. 2004-05-28 20:08:21 +00:00
Andrew Johnson
8c364aa636 R3.14.6 Release. 2004-05-28 19:27:47 +00:00
Andrew Johnson
7366f7359c Added final call to errlogFlush(), needed for solaris-sparc-gnu for some
unknown reason - without it, the program doesn't always exit properly.
2004-05-28 18:17:25 +00:00
Ralph Lange
894936cc5e += catools 2004-05-28 12:28:11 +00:00
Ralph Lange
b760fbdf95 += Doc for commandline tools added in 3.14.6 2004-05-28 12:20:16 +00:00
Ralph Lange
1c594c2522 Warning fix. 2004-05-28 11:33:11 +00:00
Ralph Lange
0897e71ca0 += caput 2004-05-28 11:07:28 +00:00
Ralph Lange
2cdb8d2cbb Cosmetic changes (misleading var name). 2004-05-28 11:00:25 +00:00
Jeff Hill
ae5c8365d2 builds now on tornado 2004-05-27 14:31:24 +00:00
Andrew Johnson
4853de114b Updates for makeBaseApp changes. 2004-05-26 17:58:38 +00:00
Andrew Johnson
5a2a33f3e0 Moved wildcards from unnecessary file configure/RULES.iocBoot to iocBoot/Makefile 2004-05-26 17:49:01 +00:00
Andrew Johnson
36809d6d20 Removed vlinac, not really a template. 2004-05-26 17:40:59 +00:00
Andrew Johnson
5ecb0738c5 Removed testDevIoc from base link libraries, only used by the mrkSoftTest application 2004-05-26 17:31:56 +00:00
Ralph Lange
d625b13899 Bugfix for absolute timestamps. 2004-05-26 12:51:21 +00:00
Ralph Lange
987f598804 Relative (percent) error -> absolute; units -> SI 2004-05-26 11:04:50 +00:00
Jeff Hill
5ecac228c6 fixed large new size that throws an exception 2004-05-25 17:27:23 +00:00
Jeff Hill
51a1d5991d when testing new failure use max for type size_t instead of LONG_MAX 2004-05-25 14:45:22 +00:00
Ralph Lange
50f58c9974 Fix: name clash on Solaris. 2004-05-25 09:29:49 +00:00
W. Eric Norum
33a5dd714e Echo comments read from a script. 2004-05-24 21:20:27 +00:00
W. Eric Norum
b5ee956916 Allow application to be copied and run anywhere. The downside of this
change is that the application *must* be executed from the directory
in which the st.cmd file resides.
2004-05-23 16:50:52 +00:00
W. Eric Norum
720f6ba418 Simplify virtual-linac build procedure. Sequence programs are now enabled
simply by adding a SNCSEQ entry to configure/RELEASE.
2004-05-22 16:55:17 +00:00
Jeff Hill
329172afc7 fixed logic surrounding subscription cancel
1) When channel is destroyed, but subscription not installed into a server
2) When subscription is destroyed, but has not been installed in server
2004-05-21 00:57:51 +00:00
Jeff Hill
41aeb709e5 updated for R3.14.6 2004-05-20 22:56:09 +00:00
Jeff Hill
dc31948da1 fixed channel delete in get callback handler bug discovered by regression tests 2004-05-20 21:58:41 +00:00
Jeff Hill
2c05bf61ce updated for R3.14.6 2004-05-20 18:41:57 +00:00
Andrew Johnson
8b9a59d072 Convert paths to canonical form using abs_path before comparing. 2004-05-20 18:31:13 +00:00
Janet B. Anderson
4a8aa93f1e Removed 2 blank lines for cygwin compiler. 2004-05-20 17:58:25 +00:00
Jeff Hill
57d488b7a0 supress disconnect callback when context is destroyed 2004-05-20 17:22:40 +00:00
Jeff Hill
5fc1e3217b workaround for borland bcc weirdness 2004-05-19 16:07:06 +00:00
Andrew Johnson
164449f0d6 Remove startCaRepeater - no longer works, use caRepeater from src/ca.
Tidy up rc2 stuff.
2004-05-18 19:22:38 +00:00
W. Eric Norum
5bf2821512 Make EPICS command-line routines the default (no RTEMS add-on
packages required).  Add libraries for readline.
2004-05-18 18:05:36 +00:00
W. Eric Norum
4818d705a5 HPUX needs to use SIGALRM and so can't use the POSIX version. 2004-05-18 17:36:31 +00:00
Andrew Johnson
ecd7d5a9ce configure/tools provides a replacement for absPath.pl, use that instead. 2004-05-17 21:43:50 +00:00
Andrew Johnson
2bef3a2d08 Added two new envParams and converted iocsh to use these instead of getenv() 2004-05-17 21:40:10 +00:00
Janet B. Anderson
668ecc9b94 Added EPICS_HOST_ARCH win32-x86-cygwin renamed to cygwin-x86. 2004-05-17 21:27:33 +00:00
Andrew Johnson
267e352bb5 Fix problem introduced by Win32 fix, do it properly. 2004-05-17 21:07:10 +00:00
Janet B. Anderson
36d3033de4 Fixed comment typo and removed duplicate export line. 2004-05-17 14:38:37 +00:00
Janet B. Anderson
23e17b664c Changed win32-x86-cygwin to cygwin-x86. 2004-05-17 14:36:29 +00:00
Janet B. Anderson
4a7100cbf0 Fixed missing quote mark. 2004-05-17 14:35:18 +00:00
Janet B. Anderson
8ee9595026 Changed file test from -r to -f fow win32 builds. 2004-05-17 14:28:31 +00:00
Janet B. Anderson
22df40f776 Added chomp for win32 builds. 2004-05-17 14:27:11 +00:00
Janet B. Anderson
2344a4b0e3 Added text about COMPAT_313 prerequisite. 2004-05-17 14:25:00 +00:00
Janet B. Anderson
1e9826e1f7 Fixed some typos. 2004-05-17 14:24:30 +00:00
Janet B. Anderson
272940d50e Added info about COMPAT_TOOLS_313. 2004-05-17 14:07:22 +00:00
Janet B. Anderson
dc3f271ea2 Portability change. 2004-05-14 19:18:04 +00:00
W. Eric Norum
32d48f7dcd Clean up system-call-interrupt mechanism. 2004-05-14 13:36:01 +00:00
Jeff Hill
de99791d82 win32-x86-cygwin => cygwin-x86 2004-05-13 23:25:54 +00:00
Jeff Hill
df6f19a611 win32-x86-cygwin => cygwin-x86 2004-05-13 22:46:08 +00:00
Jeff Hill
82b2a0be6e win32-x86-cygwin => cygwin-x86 2004-05-13 22:34:02 +00:00
Jeff Hill
3dff2767c7 fixed gnu compiler detected issues 2004-05-13 20:05:47 +00:00
Jeff Hill
cbcc94ba9e fixed missing ansi header 2004-05-13 19:55:25 +00:00
Jeff Hill
c91c7b32f0 use TCP circuits 2004-05-13 19:53:28 +00:00
Jeff Hill
a4c47660f3 added socket unblock mechanism test 2004-05-13 15:33:23 +00:00
Jeff Hill
800d614eed added socket unblock mechanism test 2004-05-13 15:22:25 +00:00
Marty Kraimer
0381f13e3f more changes for allowing FILE *fp for diagnostics 2004-05-13 15:19:49 +00:00
Jeff Hill
22bc683370 rearranged test order 2004-05-13 15:08:29 +00:00
Jeff Hill
87b4d8db21 added socket unblock mechanism test 2004-05-13 14:48:28 +00:00
Jeff Hill
37958418e4 added socket unblock mechanism test 2004-05-13 14:35:24 +00:00
Jeff Hill
965a511c47 added socket unblock mechanism test 2004-05-12 20:51:25 +00:00
Jeff Hill
ce29419d3d fixed beacon address list configuration doc 2004-05-11 18:14:53 +00:00
Marty Kraimer
8992b2c956 build softIoc.dbd from makefile 2004-05-11 14:06:17 +00:00
Jeff Hill
53ce107e5f fixed use of gdd::dataAddress() where gdd::dataVoid() should be used 2004-05-11 00:07:16 +00:00
Jeff Hill
810e60fc98 more doc on the ca repeater 2004-05-10 22:10:26 +00:00
Jeff Hill
0189d48d73 removed #define DEBUG 2004-05-10 21:37:49 +00:00
Janet B. Anderson
afd785354a Used fullpath name from SHRLIB_SEARCH_FULLPATHDIRS. 2004-04-30 16:01:04 +00:00
W. Eric Norum
6ef89dd871 Even though the comment is within C++ conditionals some compilers
generate warnings for the C++ style comment.
2004-04-30 14:55:08 +00:00
Janet B. Anderson
7a920f831d Defines fullpath name only for rpath and -R dirs on link lines. 2004-04-29 17:47:34 +00:00
Jeff Hill
cab998f40d renamed chronIntIdResTable::add to chronIntIdResTable::idAssignAdd to avoid
hiding resTable::add in the public base class
2004-04-28 22:15:06 +00:00
Jeff Hill
563733cf3c changed to call new idAssignAdd func 2004-04-28 22:11:25 +00:00
Jeff Hill
7e80920164 improved debug diagnostics 2004-04-28 22:04:35 +00:00
W. Eric Norum
21e72e7f13 Change include quotes from "" to <>.
When "" are used the posix osiUnistd.h is included rather than the
os-specific osiUnistd.h.
2004-04-28 20:06:05 +00:00
W. Eric Norum
fae1b240f6 Add epicsSnStrPrintEscaped 2004-04-28 02:35:13 +00:00
W. Eric Norum
ee99561235 No, Darwin really does need to use signals to unblock socket I/O. 2004-04-28 01:20:50 +00:00
W. Eric Norum
14aa5b47b0 Darwin uses shutdown rather than signals to break out of socket I/O. 2004-04-27 21:33:44 +00:00
Andrew Johnson
eb78bf867f Spectrum Record was removed. 2004-04-27 20:32:07 +00:00
Andrew Johnson
81ad1fe161 LynxOS no longer supported. 2004-04-27 18:27:48 +00:00
Jeff Hill
5ed18e6e6f added missing #include 2004-04-27 18:07:58 +00:00
Jeff Hill
b76257a0d6 fixed temp file creation issues on win32 2004-04-27 17:39:25 +00:00
Andrew Johnson
d844c2dd61 LynxOS support files were removed from configure/os some time back. 2004-04-27 14:57:54 +00:00
Janet B. Anderson
eb40c4e79b Added code for cygwin. 2004-04-26 21:49:42 +00:00
Andrew Johnson
068613e447 Fix for Win32 2004-04-26 16:11:29 +00:00
Jeff Hill
4c606f43e7 fixed id string 2004-04-26 14:29:23 +00:00
Andrew Johnson
c6a0e60989 EPICS_TS_NTP_INET fix. 2004-04-23 18:39:58 +00:00
Andrew Johnson
cb4604a157 Add dependencies for envData.c 2004-04-23 18:16:22 +00:00
Andrew Johnson
0b52634e38 Use envGetConfigParamPtr() instead of getenv() for EPICS_TS_NTP_INET,
needed to allow a default time server to be set in CONFIG_SITE_ENV.
Also cleaned up some unnecessary string copying.
2004-04-23 17:56:07 +00:00
Andrew Johnson
ff3329b0f9 Added a note about the bldEnvData.pl script fix. 2004-04-22 21:28:05 +00:00
Andrew Johnson
76f1fdf92d Tidy up, fixed problem in Bug #76. 2004-04-22 20:10:10 +00:00
Ralph Lange
09ef609f43 Use epicsTime (instead of tsDefs); improved timestamp format and behaviour; fixed compiler warnings. 2004-04-22 15:56:59 +00:00
Ralph Lange
5e5346e6b3 oops. 2004-04-21 18:58:46 +00:00
Ralph Lange
a011b98f62 += cainfo 2004-04-21 18:50:40 +00:00
Ralph Lange
72a1539a86 += '-g' option to set %g precision 2004-04-21 18:27:42 +00:00
Ralph Lange
f169cd57f9 camonitor += relative and incremental timestamps 2004-04-21 13:46:28 +00:00
W. Eric Norum
429c47eb11 Add epicsStrSnPrintEscaped. 2004-04-20 01:05:23 +00:00
Andrew Johnson
cac8ee7b0e Removed dbCommon.h dependency on O.Common directory, it was causing much
extra compilation and linking the *second* time you run gnumake.
2004-04-19 21:54:44 +00:00
Ralph Lange
27f39ec664 += camonitor 2004-04-19 16:40:28 +00:00
Ralph Lange
42489a84d4 Bugfix in trigger mask spec 2004-04-19 10:31:34 +00:00
Andrew Johnson
8996ab2b5c Replace all the $(HOME)/... includes with a minimal and sufficient set
which will not cause problems if $(HOME) is also a regular <top>.
2004-04-14 16:22:31 +00:00
Ralph Lange
b3872bf14a Fixed DLL definitions for epicsGetopt (on WIN) 2004-04-14 15:45:27 +00:00
Ralph Lange
1ab4c344aa += epicsGetopt to declare (default) or implement (WIN) getopt() 2004-04-14 14:38:25 +00:00
Janet B. Anderson
30efff9cd0 Added RULES_IDL 2004-04-13 16:21:52 +00:00
Janet B. Anderson
c93585e950 Initial version. 2004-04-13 16:16:15 +00:00
Janet B. Anderson
07fd7b3588 Removed extra definition of JAVA_INCLUDES. 2004-04-13 16:03:40 +00:00
Janet B. Anderson
3f290c6c9e Use perl tools from config/tools directory instead of bin directory. 2004-04-09 14:11:17 +00:00
Janet B. Anderson
3068262901 Added rule to build name.db from name.template. 2004-04-08 19:33:59 +00:00
Marty Kraimer
5453865724 dbReportDeviceConfig had wrong arguments 2004-04-08 18:02:30 +00:00
Janet B. Anderson
c3c1c6c980 Moved install db from O.Common rule. 2004-04-08 16:27:47 +00:00
Janet B. Anderson
4599f5540a Changed main to int main. 2004-04-07 20:14:11 +00:00
Janet B. Anderson
e8c5ab29fa Don't use gcc for preprocessing. 2004-04-07 18:34:25 +00:00
Janet B. Anderson
68556e0534 COMMON_DIR changes. 2004-04-07 18:33:37 +00:00
Janet B. Anderson
5ea6509553 Added SHARED_LIBRARIES comment. 2004-04-07 18:27:16 +00:00
Janet B. Anderson
ef50d04061 Modified JAVA definitions. 2004-04-07 16:11:56 +00:00
Janet B. Anderson
07e0bce2d3 Modified JAVA defs. 2004-04-07 16:09:16 +00:00
Marty Kraimer
6b0f70a734 fix memory leak in epicsThreadPrivateDelete 2004-04-07 14:19:30 +00:00
Marty Kraimer
93b46f62a5 fix memory leak 2004-04-07 13:14:00 +00:00
Janet B. Anderson
5b30180c3f Removed COMMON_DIR from dbd vpath. 2004-04-06 20:54:03 +00:00
Marty Kraimer
2e21360559 changes to db test shell commands 2004-04-06 14:06:25 +00:00
Marty Kraimer
d212f0428b add dbReportDeviceConfig 2004-04-06 13:47:27 +00:00
Marty Kraimer
5f08b2170a make test commands more crash resistant 2004-04-06 13:26:56 +00:00
Marty Kraimer
31c88f6044 make dbReportDeviceConfig work if report is null 2004-04-05 19:06:03 +00:00
Marty Kraimer
8c4e8dd35f ascar is new 2004-04-05 16:06:06 +00:00
Marty Kraimer
9be94797d5 as dump commands have an FP version 2004-04-05 15:40:38 +00:00
Janet B. Anderson
52f10d9b47 Initial version. 2004-04-05 15:07:44 +00:00
Janet B. Anderson
1165285c6f Added SHRLIB_SEARCH_DIRS using fullpathname. 2004-04-05 15:07:03 +00:00
Janet B. Anderson
6d8753602e Added support for AIX. 2004-04-05 15:01:23 +00:00
Janet B. Anderson
65130ee6bd Added -D_REENTRANT on CPPFLAGS. 2004-04-05 14:39:28 +00:00
Janet B. Anderson
1e0ecdb3fe Added definitions for runtime libraries. 2004-04-05 14:38:30 +00:00
Janet B. Anderson
da35bba798 Added -D_REENTRANT to CPPFLAGS. 2004-04-05 14:36:30 +00:00
Janet B. Anderson
4a03176538 Added GNU_TARGET definition. 2004-04-05 14:25:06 +00:00
Marty Kraimer
ff08561ba0 fix double to float conversion bug 2004-04-05 13:17:30 +00:00
Marty Kraimer
610eb4ea87 add epicsConvert 2004-04-05 12:54:27 +00:00
Marty Kraimer
6ff5355e3e epicsConvert is new. For now it just has epicsConvertDoubleToFloat 2004-04-05 12:41:02 +00:00
Jeff Hill
a0e0cd7ef5 fixed channel uninstall message was not sent to server and other problems 2004-04-02 00:01:45 +00:00
Janet B. Anderson
2074838a12 Allow metacharacters in fullpath name. 2004-04-01 18:39:19 +00:00
Jeff Hill
b4137fe9df print only one message for each beacon if every beacon is printed 2004-03-31 22:10:50 +00:00
Jeff Hill
1d6a7f59f4 print only one message for each beacon if every beacon is printed 2004-03-31 22:01:04 +00:00
Jeff Hill
7e606dafac removed use of %T which isnt in ansi C 2004-03-31 21:25:49 +00:00
Jeff Hill
672d4a6dbb every beacon printed option for casw 2004-03-31 20:41:13 +00:00
Jeff Hill
e3ad8f867e every beacon printed option 2004-03-31 20:36:01 +00:00
Andrew Johnson
40e79bace4 Switch back from a registrar() entry to a function() entry.
Use the new DBD file auto-constructor, with conditionals.
Make SNC compilation conditional on $(SNCSEQ).
Build both standalone and component versions of sncExample.
2004-03-31 19:30:06 +00:00
Andrew Johnson
ea297a6078 MakefileInclude needs rebuilding if configure/RELEASE changes. 2004-03-31 17:09:04 +00:00
Andrew Johnson
bfb3de64ce Use double for local type, not float. 2004-03-31 16:41:02 +00:00
Andrew Johnson
af97e702d1 Added function() keyword handling to dbd files again, works properly now.
Also moved the code from the generated app_registerRecordDeviceDriver.cpp
file to iocsh/registryCommon.*
2004-03-30 21:56:26 +00:00
Janet B. Anderson
ff54104aa0 Fixed usage, error message, and cleaned up file. 2004-03-30 20:35:51 +00:00
W. Eric Norum
8da4eb3b46 Add epicsRegisterFunction. 2004-03-30 19:58:40 +00:00
Ken Evans
35d8565e41 Added linefeed at the end of osdTime.h. 2004-03-29 19:55:34 +00:00
Ken Evans
a473612084 Added a version of gphDump that writes to an arbitrary file pointer
rather than stdout.
2004-03-29 19:35:58 +00:00
Ken Evans
2f827fc92d Added versions of the dump routines that write to an arbitrary file
pointer instead of stdout.
2004-03-29 19:32:20 +00:00
Andrew Johnson
5201304c10 Suppress echo echo 2004-03-25 17:20:34 +00:00
Janet B. Anderson
26b6974cfa Simplify changes to create <name>Include.dbd from <name>_DBD files. 2004-03-25 17:09:58 +00:00
Andrew Johnson
d80664f33f Fixed problem on uninstall with no bin/* and lib/* dirs. 2004-03-25 16:44:29 +00:00
Janet B. Anderson
6a71ba0026 Note about dbd rule to create xxxInclude.dbd from xxx_DBD files. 2004-03-25 16:08:29 +00:00
Janet B. Anderson
b25c2e9d4c Build *_registerRecordDeviceDriver.cpp from dbd file in $(COMMON_DIR). 2004-03-25 15:56:10 +00:00
Janet B. Anderson
11e5c14c7f Changes to create <name>Include.dbd from <name>_DBD files. 2004-03-25 14:50:08 +00:00
Jeff Hill
5bf1789650 added fix for failure when nill access rights handler installed 2004-03-25 01:03:29 +00:00
Jeff Hill
b984a302c6 added test to detect failure when nill access rights handler installed 2004-03-25 01:03:08 +00:00
Janet B. Anderson
b389342440 Added noes about solaris 6 defs removal and new targets cvsclean archclean. 2004-03-24 20:43:30 +00:00
Janet B. Anderson
ad89f422ce Added new arch clean which only removes O.<arch> dirs not O.Common. 2004-03-24 20:20:04 +00:00
Janet B. Anderson
6af0cdeb50 Initial version. 2004-03-24 20:14:04 +00:00
Janet B. Anderson
d900b9fd63 Added cvsclean rule. 2004-03-24 20:12:26 +00:00
Jeff Hill
c5db766b33 new functions that fetch on behalf host name and user name 2004-03-24 19:20:58 +00:00
Jeff Hill
36f9090897 new functions that fetch on behalf host name and user name 2004-03-24 19:02:56 +00:00
Jeff Hill
58d4f27307 new functions that fetch on behalf host name and user name 2004-03-24 18:56:55 +00:00
Jeff Hill
ea35450f45 dont use strcpy, and supress memcpy if src and dest ptr are equivalen 2004-03-24 18:07:52 +00:00
W. Eric Norum
3bc6a48ade Install correct handler.
Avoid infinitely-recursive handler calls.
2004-03-24 17:57:56 +00:00
W. Eric Norum
a170d40be2 Read errors resulting from interrupted system calls are not fatal. 2004-03-24 01:45:23 +00:00
Andrew Johnson
7c34b847e0 Removed spectrumRecord. 2004-03-23 22:09:58 +00:00
Andrew Johnson
c07e6af98c Removed spectrumRecord and related libCom code. 2004-03-23 20:47:42 +00:00
Jeff Hill
7e0b996c72 added sections on behavior changes in R3.14.5 2004-03-22 23:22:22 +00:00
Jeff Hill
2369ade2fa clarified how one determines if a channel is connected 2004-03-22 23:12:17 +00:00
Janet B. Anderson
7c99669444 Removed dos2unix conversion. 2004-03-22 20:31:20 +00:00
Jeff Hill
16e182a89c new subscription member func preventing subscription from being installed twice 2004-03-22 18:38:29 +00:00
Jeff Hill
ebfded8107 new flag preventing subscription from being installed twice 2004-03-22 18:36:59 +00:00
Jeff Hill
d7df37414c workaround for problems occurring when a channel or subscription is deleted in a put callback handler 2004-03-22 18:36:25 +00:00
Jeff Hill
48d48343ae workaround for problems occurring when a channel or subscription is deleted in a get callback handler 2004-03-22 18:35:54 +00:00
Jeff Hill
c49db18285 removed status check from ca_pend_event 2004-03-22 18:33:09 +00:00
Jeff Hill
41f7f4ef81 new regression tests 2004-03-19 21:59:55 +00:00
W. Eric Norum
8ea67657bc Provide more information in error message. 2004-03-18 22:44:15 +00:00
Janet B. Anderson
bbd1080208 Added if test for COMPAT* macros. 2004-03-05 15:38:48 +00:00
Janet B. Anderson
3fc3300e54 Changed $(TOP)/bin to $(INSTALL_BIN) 2004-03-03 22:22:40 +00:00
Janet B. Anderson
11da58cc5b Added dos2unix rules for win32. 2004-03-03 14:39:11 +00:00
Janet B. Anderson
2cdbee7d32 Removde temporary definition to get things to at least compile. 2004-02-27 18:39:32 +00:00
Janet B. Anderson
9a48a5c906 Added INSTALL_IDLFILE definition and include for CONFIG.<host>.<target>. 2004-02-26 22:03:40 +00:00
Janet B. Anderson
e46c04d514 Added includes for RULES_IDL and RULES_PYTHON. 2004-02-26 22:01:57 +00:00
Janet B. Anderson
d192351f77 Initial version. 2004-02-26 22:01:04 +00:00
Janet B. Anderson
454bd2b0a5 Added various product definitions. 2004-02-26 21:59:33 +00:00
Janet B. Anderson
5b1d6ac38f Modified X11 and Motif directories. 2004-02-26 21:58:56 +00:00
Janet B. Anderson
0d071c9f0c Added binmode on output file and some comments. 2004-02-19 22:39:12 +00:00
W. Eric Norum
bfd0826f03 A NULL or empty name is an error. 2004-02-19 01:17:39 +00:00
W. Eric Norum
72db656797 Don't dereference NULL pointer argument. 2004-02-19 01:15:08 +00:00
W. Eric Norum
0e3f04824e Don't pass NULL pointer to iocsh. 2004-02-19 01:09:44 +00:00
Jeff Hill
509ff37ec4 better fix for win32 dll export warnings (considering how epixExport.h works) 2004-02-18 22:34:15 +00:00
Jeff Hill
4a1612e133 fixed win32 dll export warnings 2004-02-18 22:24:42 +00:00
Jeff Hill
e80aa34d00 added comment about lifespan of dbr pointer 2004-02-17 16:01:47 +00:00
Marty Kraimer
4d3fcd56bf epicsExport now generates p_var_typ_obj 2004-02-17 14:43:04 +00:00
Marty Kraimer
16832b9f07 replace p by pcar_<type>_ 2004-02-17 13:32:57 +00:00
Marty Kraimer
323e378fc5 check for access security not started 2004-02-17 13:23:28 +00:00
Marty Kraimer
82f5d588db replace p by pcar_<type>_ 2004-02-17 13:21:39 +00:00
Janet B. Anderson
08e0d5a5bc Changed LIBSRCS to LIB_SRCS. 2004-02-13 21:44:44 +00:00
Marty Kraimer
6bf437cf28 remove vardefs; use variable definition instead 2004-02-13 18:55:32 +00:00
Marty Kraimer
2ef8d4b21a add asCaDebug variable 2004-02-13 18:54:14 +00:00
Marty Kraimer
f32d647482 changes to make things build 2004-02-13 18:51:42 +00:00
Marty Kraimer
5f712bde67 for asCaDebug change & to p 2004-02-12 16:31:29 +00:00
Marty Kraimer
6f58f32c96 for variable type is void * const 2004-02-12 14:40:54 +00:00
Janet B. Anderson
9e9d2c91f6 Removed old solaris 6 specific compiler options. 2004-02-11 17:20:40 +00:00
Jeff Hill
318a0b6d1d Installed spectrum record 2004-02-11 00:45:49 +00:00
Janet B. Anderson
b66388ea9d Changed OP_SYS_LDFLAGS to +=. 2004-02-10 22:04:38 +00:00
Janet B. Anderson
2bfe077968 Moved -mt option to COMPILER_CPPFLAGS. 2004-02-10 22:03:24 +00:00
Janet B. Anderson
6cda511ed8 Changes for -mt flag and READLINE library defininitions. 2004-02-10 22:02:40 +00:00
Janet B. Anderson
79b47c4f54 More changes for -mt flag. 2004-02-10 22:00:55 +00:00
Jeff Hill
d6c0e9dcc5 installed spectrum record 2004-02-10 21:46:53 +00:00
Jeff Hill
13a779ca81 installed fft routines 2004-02-10 21:43:57 +00:00
Jeff Hill
7517890d03 installed 2004-02-10 21:43:17 +00:00
Marty Kraimer
8d043dfe6e gret rid of dead code 2004-02-10 21:09:02 +00:00
Janet B. Anderson
c282a107eb Added COMPAT_TOOLS_313 to if test. 2004-02-10 16:02:19 +00:00
Janet B. Anderson
113878e491 Added -mt option to link lines. 2004-02-10 16:01:45 +00:00
Janet B. Anderson
c02246e7cc Added -mt option to compile and link lines. 2004-02-10 16:01:17 +00:00
Marty Kraimer
74af851746 access security changes 2004-02-10 15:04:12 +00:00
Marty Kraimer
bc81744d8f add ascar 2004-02-10 14:52:46 +00:00
Marty Kraimer
29335e7672 add copyright notice 2004-02-10 14:52:39 +00:00
Marty Kraimer
7282989961 add copyright notice 2004-02-10 14:35:19 +00:00
Janet B. Anderson
c4e42b4bdc Added -mt option to compile line and link line. 2004-02-09 21:53:36 +00:00
Janet B. Anderson
4410805493 Added -mt to compile line and link line of solaris compiler builds. 2004-02-09 21:52:07 +00:00
Andrew Johnson
b607b062ba Added documentation check. 2004-02-09 21:30:36 +00:00
Andrew Johnson
13eb94b6be This problem was fixed in R3.14.5. 2004-02-09 21:30:12 +00:00
Jeff Hill
8799d3c6ba fixed template arg does not default with sunpro 2004-02-09 21:28:07 +00:00
Andrew Johnson
d6b34a9732 Oops, undo (wrong tree). 2004-02-09 20:38:21 +00:00
Andrew Johnson
08cb4a265a changes so that it builds on solaris. 2004-02-09 20:36:19 +00:00
Jeff Hill
f8829aed21 fix compiler warnings 2004-02-09 17:13:58 +00:00
Jeff Hill
4bf312df58 fix compiler warnings and clear out redundant code 2004-02-07 01:34:59 +00:00
Jeff Hill
2c68ac3a10 fixed sunpro warnings 2004-02-07 01:22:26 +00:00
Jeff Hill
1fa297d34f fixed sunpro warnings 2004-02-07 01:21:30 +00:00
Jeff Hill
452a040183 fixed sunpro warnings 2004-02-07 00:38:19 +00:00
Andrew Johnson
0b51e1f972 Remove tokenNAME, everything uses tokenSTRING instead. 2004-02-06 19:23:09 +00:00
Jeff Hill
410623730b fixed spelling 2004-02-06 16:28:27 +00:00
Jeff Hill
35f9e3dcbb fixed enobuf causes stuck send thread 2004-02-05 22:58:35 +00:00
Jeff Hill
0a93c81e2c fixed gnu warnings 2004-02-05 01:16:02 +00:00
Jeff Hill
a5fd9c839e updated to include late breaking bug 2004-02-04 22:57:47 +00:00
794 changed files with 26527 additions and 30600 deletions

View File

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

View File

@@ -29,7 +29,7 @@ G++_SHRLIB_LDFLAGS_YES += -Wl,-soname,$@
OP_SYS_CFLAGS += -D_BSD_SOURCE
ARCH_DEP_CFLAGS = -D_X86_ -Dlinux -mcpu=pentium
ARCH_DEP_CFLAGS = -D_X86_ -Dlinux
ARCH_DEP_LDLIBS += -lpthread -lreadline -lcurses -lrt
#Allows R3.13 built extensions to load R3.14 shared libs

View File

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

View File

@@ -96,13 +96,14 @@ ACC_SLIBS_NO=
# Use of /Za would dissable DLL import/export keywords which
# EPICS include/excludes using architecture neutral macros
#
# /GX support C++ exceptions
# /EHsc support C++ exceptions
# /GR generate RTTI information
#
CCC = cl /GX /GR
CCC = cl /EHsc /GR
CCC_NORMAL = $(CCC) /nologo /D__STDC__=0
CCC_STRICT = $(CCC) /nologo /D__STDC__=0
CCC_TEMPL_INST_FLAG =
ARCH_DEP_CPPFLAGS += /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
#
# /W<N> use warning level N
@@ -269,3 +270,14 @@ LINK.cc = $(WINLINK) -nologo $(LDFLAGS) -out:$@
# Overrides for CONFIG_COMMON default
POSIX_CPPFLAGS_YES =
#--------------------------------------------------
# UseManifestTool.pl checks MS Visual c++ compiler version number to
# decide whether or not to use the Manifest Tool command to embed the
# linker created .manifest file into a library or product target.
# useManifestTool.pl returns 0(don't use) or 1(use).
#
ifeq ($(shell $(PERL) $(EPICS_BASE_TOOLS)/useManifestTool.pl),1)
MT_DLL_COMMAND = mt.exe /manifest $@.manifest /outputresource:$@;\#2
MT_EXE_COMMAND = mt.exe /manifest $@.manifest /outputresource:$@;\#1
endif

View File

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

View File

@@ -20,6 +20,17 @@ include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
EXE=.exe
#==========================
#These overrides remove -ansi because -ansi eliminates strdup
GCC_ANSI = $(GCC)
GCC_STRICT = $(GCC) -pedantic
G++_NORMAL = $(G++) -pedantic
G++_STRICT = $(G++) -pedantic
#==========================
#This override will eliminate warnings for old R3.13 extensions
#GCC_WARN_YES =
#==========================
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
# since OS vendor compilers ACC and CCC are not defined here for cygwin32
@@ -32,7 +43,7 @@ SHARED_LIBRARIES=NO
#OP_SYS_INCLUDES += /usr/local/include/g++
#==========================
ARCH_DEP_CFLAGS = -DCYGWIN32 -U_WIN32
ARCH_DEP_CPPFLAGS = -DCYGWIN32 -U_WIN32
ARCH_DEP_LDLIBS =
OP_SYS_LDLIBS =
@@ -41,7 +52,9 @@ OP_SYS_LDLIBS =
GCC_DEP_CFLAGS = -D_REENTRANT
G++_DEP_CFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
#POSIX_SOURCE eliminates select()
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
# Runtime ldflags
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\

View File

@@ -0,0 +1,14 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
-include $(EPICS_BASE)/config/CONFIG.Host.Darwin
OP_SYS_CFLAGS += "-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
OP_SYS_LDFLAGS += "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"

View File

@@ -1,4 +1,3 @@
#!/usr/bin/perl
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
@@ -8,9 +7,6 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
use Cwd;
# $Id$
chdir $ARGV[0];
print cwd();
-include $(EPICS_BASE)/config/CONFIG.Host.Darwin

View File

@@ -0,0 +1,40 @@
#*************************************************************************
# Copyright (c) 2006 UChicago Argonne LLC, 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 is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.freebsd
OS_CLASS = freebsd
ARCH_CLASS = x86_64
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
ARCH_DEP_CPPFLAGS += -D_X86_64_
CODE_CPPFLAGS = -D_REENTRANT
#POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS = -D_POSIX_THREADS
POSIX_LDLIBS = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dfreebsd
#OP_SYS_LDLIBS += -lrt
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
# Definitions used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline -lcurses
GNU_LDLIBS_YES = -lgcc_pic

View File

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

View File

@@ -7,18 +7,18 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
#
TOP=../..
-include $(EPICS_BASE)/config/CONFIG.Host.Linux
include $(TOP)/configure/CONFIG
ARCH_CLASS = ppc
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
SCRIPTS_HOST += $(subst ../,,$(wildcard ../*.pl))
SCRIPTS_HOST += installEpics
endif
ARCH_DEP_CPPFLAGS += -D_ppc_
include $(TOP)/configure/RULES
GNU_DIR = /usr
GCC = $(GNU_BIN)/gcc
G++ = $(GNU_BIN)/g++
ARCH_DEP_LDLIBS = -lgcc

View File

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

View File

@@ -67,7 +67,9 @@ CCC_SHRLIB_LDFLAGS_YES = -G -h $@
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__ -mt
ARCH_DEP_LDFLAGS += -mt
# socket and nsl needed by libca.a
ARCH_DEP_LDLIBS += -lsocket -lnsl

View File

@@ -0,0 +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$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
ARCH_DEP_CFLAGS += -xtarget=ultra -xarch=v9
ARCH_DEP_CXXFLAGS += -xtarget=ultra -xarch=v9
ARCH_DEP_LDFLAGS += -xtarget=ultra -xarch=v9

View File

@@ -0,0 +1,18 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solarisGnu
ARCH_DEP_CFLAGS += -mcpu=v9 -m64
ARCH_DEP_CXXFLAGS += -mcpu=v9 -m64
ARCH_DEP_LDFLAGS += -mcpu=v9 -m64

View File

@@ -37,6 +37,8 @@ SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
ARCH_DEP_LDFLAGS += -mt
# socket and nsl needed by libca.a
ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread

View File

@@ -0,0 +1,58 @@
#*************************************************************************
# 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 is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-cygwin
SHARED_LIBRARIES = NO
#ARCH_CLASS = WIN32
ARCH_CLASS = cygwin
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
AR = ar -rc
ARCMD = $(AR) $@
RANLIB = ranlib -t
ANSI=GCC
CPLUSPLUS=G++
# Dont use -ansi: -ansi eliminates strdup and _tempnam
GCC_ANSI = $(GCC)
GCC_STRICT = $(GCC) -pedantic
G++_NORMAL = $(G++) -pedantic
G++_STRICT = $(G++) -pedantic
# Dont use -fPIC: with -fPIC we get
# "warning: -fPIC ignored for target (all code is position independent) "
GCC_DEP_CFLAGS = -D_REENTRANT
G++_DEP_CFLAGS = -D_REENTRANT
OP_SYS_CPPFLAGS = -mno-cygwin
OP_SYS_CXXFLAGS += -D__cplusplus
OP_SYS_LDFLAGS += -mno-cygwin
# With no-cygwin option:
# compiler defines _X86_ 1
# compiler defines __MSVCRT__ 1
# compiler defines __MINGW32__ 1
# compiler defines __WIN32 1
# compiler defines __WIN32__ 1
# compiler defines _WIN32 1
# compiler defines WIN32 1
# compiler defines WINNT 1
# compiler does not define __unix __unix__ unix
# compiler does not define __CYGWIN__ __CYGWIN32__
ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm

View File

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

View File

@@ -0,0 +1,43 @@
#*************************************************************************
# 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 is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-mingw
ARCH_CLASS = WIN32
SHARED_LIBRARIES = NO
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
AR = ar -rc
ARCMD = $(AR) $@
RANLIB = ranlib -t
ANSI=GCC
CPLUSPLUS=G++
# Compiler defines _X86_ 1
# Compiler defines __MSVCRT__ 1
# Compiler defines __MINGW32__ 1
# Compiler defines __WIN32 1
# Compiler defines __WINNT 1
# Compiler defines __WINNT__ 1
# Compiler defines __WIN32__ 1
# Compiler defines _WIN32 1
# Compiler defines WIN32 1
# Compiler defines WINNT 1
# Compiler does not define __unix __unix__ unix
ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm

View File

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

View File

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

View File

@@ -52,6 +52,9 @@ EPICS_BASE = $(TOP)
# EPICS include config file
include $(EPICS_BASE)/config/CONFIG
-include $(EPICS_BASE)/configure/RELEASE
-include $(EPICS_BASE)/configure/RELEASE.$(EPICS_HOST_ARCH)
ifdef INSTALL_LOCATION_BASE
INSTALL_LOCATION = $(INSTALL_LOCATION_BASE)
endif

View File

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

View File

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

View File

@@ -15,16 +15,18 @@
#Syntax:
# ARCH_<host_arch> = <epics_host_arch>
ARCH_solarisGnu = solaris-sparc-gnu
ARCH_solarisNonshared = solaris-sparc-nonshared
#ARCH_solaris = solaris-sparc-static
#ARCH_solaris = solaris-sparc-debug
ARCH_solaris = solaris-sparc
ARCH_sun4 = sun4-sparc
ARCH_Linux = linux-x86
ARCH_freebsd = freebsd-x86_64
ARCH_WIN32 = win32-x86
ARCH_hp700 = hpux-m68k
ARCH_hp700 = hpux-parisc
ARCH_alpha = osf-alpha
ARCH_Borland = win32-x86-borland
ARCH_cygwin32 = win32-x86-cygwin
ARCH_cygwin32 = cygwin-x86
ifndef EPICS_HOST_ARCH
ifdef HOST_ARCH
@@ -46,4 +48,3 @@ HOST_ARCH := $(EPICS_HOST_ARCH)
# and change ARCH_solaris=solaris-<arch> to ARCH_solaris=solaris-<arch>-gnu
# in base/config/CONFIG_COMPAT.

View File

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

View File

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

View File

@@ -0,0 +1,23 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG_HOST_ARCH.cygwin-x86
#
# This file is maintained by the EPICS community.
# Include definitions common to all Unix archs
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
EXE=.exe
HOSTEXE=.exe
TORNADO=YES
WIND_HOST_TYPE = x86-win32

View File

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

View File

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

View File

@@ -0,0 +1,14 @@
#*************************************************************************
# Copyright (c) 2006 UChicago Argonne LLC, 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 is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
WIND_HOST_TYPE = i386-linux2

View File

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

View File

@@ -0,0 +1,15 @@
#*************************************************************************
# 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$
# linux-x86 is the new name for linux
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux
HOST_OPT = NO

View File

@@ -11,3 +11,4 @@
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
HOST_OPT = NO

View File

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

View File

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

View File

@@ -7,12 +7,14 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG_HOST_ARCH.LynxOS
# $Id$
#
# Override values in CONFIG.LynxOS
# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-cygwin
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
WIND_HOST_TYPE = LynxOS
HOSTEXE=.exe
WIND_HOST_TYPE = x86-win32

View File

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

View File

@@ -0,0 +1,29 @@
#*************************************************************************
# 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$
#
# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-mingw
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
EXE=.exe
HOSTEXE=.exe
CP =$(PERL) $(EPICS_BASE_TOOLS)/cp.pl
MV =$(PERL) $(EPICS_BASE_TOOLS)/mv.pl
RM =$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -f
MKDIR=$(PERL) $(EPICS_BASE_TOOLS)/mkdir.pl
RMDIR=$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -rf
CHMOD=echo
ECHO=echo
WIND_HOST_TYPE = x86-win32

View File

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

View File

@@ -0,0 +1,5 @@
# $Id$
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.Darwin
SHARED_LIBRARIES=NO

View File

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

View File

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

View File

@@ -427,6 +427,7 @@ else
$(PRODNAME): $(PRODNAME_OBJS) $(PRODNAME_RESS)
@$(RM) $@
$(PRODNAME_LINKER) $(PRODNAME_OBJS) $(PRODNAME_RESS) $(LDLIBS)
$(MT_EXE_COMMAND)
endif
endif # ifdef PRODNAME_SRCS
@@ -738,6 +739,7 @@ $(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
else
$(DLL_LINK_LIBNAME) $(SHRLIBNAME): $(LIBOBJS) $(LIBNAME_RESS)
$(LINK.shrlib) $(LIBOBJS) $(DLL_LDLIBS) $(LIBNAME_RESS)
$(MT_DLL_COMMAND)
endif
ifdef BORLANDC

View File

@@ -149,7 +149,7 @@ $(TARGETS) $(PROD): $(DEPLIBS)
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i
%.c: ../%.stt
@echo "converting $<
@echo "converting $<"
@$(RM) $@
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $<

View File

@@ -129,7 +129,7 @@ endif
%.out : %.o
@ $(RM) ctct.o ctdt.c nm.out
$(NM) $< > nm.out
$(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c
$(PERL) $(EPICS_BASE_TOOLS)/munch.pl < nm.out > ctdt.c
$(COMPILE.c) -traditional ctdt.c
$(LINK.cc) $@ $< ctdt.o
@@ -137,7 +137,7 @@ endif
$(MUNCHNAME):%.munch : %
@ $(RM) ctct.o ctdt.c nm.out
$(NM) $< > nm.out
$(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c
$(PERL) $(EPICS_BASE_TOOLS)/munch.pl < nm.out > ctdt.c
$(COMPILE.c) -traditional ctdt.c
$(LINK.cc) $@ $(LDFLAGS) $< ctdt.o

View File

@@ -60,11 +60,11 @@ $(crossActionArchTargets) :
$(crossArchs) :
endif
$(hostDirs) :
$(PERL) $(EPICS_BASE_HOST_BIN)/makeMakefile.pl $@ Host
$(hostDirs) : $(EPICS_BASE_TOOLS)/makeMakefile.pl
$(PERL) $(EPICS_BASE_TOOLS)/makeMakefile.pl $@ Host
$(crossDirs) :
$(PERL) $(EPICS_BASE_HOST_BIN)/makeMakefile.pl $@ Vx
$(crossDirs) : $(EPICS_BASE_TOOLS)/makeMakefile.pl
$(PERL) $(EPICS_BASE_TOOLS)/makeMakefile.pl $@ Vx
#
# host/cross action targets

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

@@ -0,0 +1,31 @@
eval 'exec perl -S -w $0 ${1+"$@"}' # -*- Mode: perl -*-
if 0;
#
# Use MS Visual C++ compiler version number to determine if
# we want to use the Manifest Tool (status=1) or not (status=0)
#
# VC compiler versions >= 14.00 will have status=1
# VC compiler versions 10.00 - 13.10 will have status=0
# EPICS builds with older VC compilers is not supported
#
my $versionString=`cl 2>&1`;
if ($versionString =~ m/Version 14./) {
$status=1;
} elsif ($versionString =~ m/Version 13.10/){
$status=0;
} elsif ($versionString =~ m/Version 13.0/){
$status=0;
} elsif ($versionString =~ m/Version 12./){
$status=0;
} elsif ($versionString =~ m/Version 11./){
$status=0;
} elsif ($versionString =~ m/Version 10./){
$status=0;
} else {
$status=1;
}
print "$status\n";
exit;

View File

@@ -17,26 +17,38 @@
# Common build definitions
#
CONFIG ?= $(TOP)/configure
ifndef EPICS_BASE
EPICS_BASE = $(INSTALL_LOCATION)
CONFIG = $(TOP)/configure
BASE_TOP=YES
else
CONFIG = $(EPICS_BASE)/configure
endif
-include $(CONFIG)/os/CONFIG_COMPAT
-include $(CONFIG)/RELEASE
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH)
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).Common
ifdef T_A
-include $(CONFIG)/RELEASE.Common.$(T_A)
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
endif
include $(CONFIG)/CONFIG_COMMON
# Base-specific build options
#
include $(CONFIG)/CONFIG_BASE
include $(CONFIG)/CONFIG_BASE_VERSION
# Site-specific build options
#
include $(CONFIG)/CONFIG_SITE
# Version numbering
#
include $(CONFIG)/CONFIG_BASE_VERSION
# Host architecture specific definitions
#
include $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).Common
@@ -68,21 +80,11 @@ endif
# User specific definitions
#
-include $(HOME)/configure/CONFIG
-include $(HOME)/os/configure/CONFIG.Host.$(HOST_ARCH)
-include $(HOME)/os/configure/CONFIG.Host.$(EPICS_HOST_ARCH)
-include $(HOME)/os/configure/CONFIG.$(HOST_ARCH).Common
-include $(HOME)/os/configure/CONFIG.$(EPICS_HOST_ARCH).Common
-include $(HOME)/configure/CONFIG_USER
-include $(HOME)/configure/CONFIG_USER.$(EPICS_HOST_ARCH)
ifdef T_A
-include $(HOME)/configure/CONFIG.$(OS_CLASS)
-include $(HOME)/configure/CONFIG.Target.$(T_A)
-include $(HOME)/configure/CONFIG.Common.$(T_A)
-include $(HOME)/configure/CONFIG.$(HOST_ARCH).$(T_A)
-include $(HOME)/configure/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
-include $(HOME)/configure/os/CONFIG.Target.$(T_A)
-include $(HOME)/configure/os/CONFIG.Common.$(T_A)
-include $(HOME)/configure/os/CONFIG.$(HOST_ARCH).$(T_A)
-include $(HOME)/configure/os/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
-include $(HOME)/configure/CONFIG_USER.Common.$(T_A)
-include $(HOME)/configure/CONFIG_USER.$(EPICS_HOST_ARCH).$(T_A)
endif
# All options

View File

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

View File

@@ -15,8 +15,8 @@ GNU = YES
GNU_BIN = $(GNU_DIR)/bin
GNU_LIB = $(GNU_DIR)/lib
CC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++$(CMPLR_SUFFIX)
AR = $(GNU_BIN)/$(CMPLR_PREFIX)ar$(CMPLR_SUFFIX) -rc
LD = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r
CPP = $(CC) -x c -E
@@ -50,3 +50,5 @@ STATIC_LDFLAGS_NO =
SHRLIB_CFLAGS = -fPIC
GNU_LDLIBS_YES = -lgcc

View File

@@ -51,9 +51,9 @@
# PROD products to build and install
# PROD_HOST products to build and install
# PROD_IOC products to build and install
# TESTPROD products to build and install
# TESTPROD_HOST products to build and install
# TESTPROD_IOC products to build and install
# TESTPROD products to build
# TESTPROD_HOST products to build
# TESTPROD_IOC products to build
# LIBRARY products to build and install
# LIBRARY_HOST products to build and install
# LIBRARY_IOC products to build and install
@@ -62,11 +62,15 @@
# SCRIPTS scripts and install
# SCRIPTS_HOST host system scripts to install
# SCRIPTS_IOC ioc system scripts to install
# TESTSCRIPTS scripts
# TESTSCRIPTS_HOST host system scripts
# TESTSCRIPTS_IOC ioc system scripts
# OBJS object files to build and install
# OBJS_HOST host system object files to build and install
# OBJS_IOC ioc system object files to build and install
# USR_INCLUDES include directories
# BIN_INSTALLS binaries to install
# LIB_INSTALLS library binaries to install
# RCS win32 resource files for building libraries and prods
# PROD_RCS win32 resource files for building prods
# LIB_RCS win32 resource files for building libraries
@@ -221,6 +225,14 @@ BIN_INSTALLS+=$(BIN_INSTALLS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_INSTALLS_$(OS_CLASS))),)
LIB_INSTALLS+=$(subst -nil-,,$(LIB_INSTALLS_$(OS_CLASS)))
else
ifdef LIB_INSTALLS_DEFAULT
LIB_INSTALLS+=$(LIB_INSTALLS_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_OBJS_$(OS_CLASS))),)
PROD_OBJS+=$(subst -nil-,,$(PROD_OBJS_$(OS_CLASS)))
else
@@ -484,6 +496,33 @@ SCRIPTS_HOST+=$(SCRIPTS_HOST_DEFAULT)
endif
endif
#
# concat specific scripts
#
ifneq ($(strip $(TESTSCRIPTS_$(OS_CLASS))),)
TESTSCRIPTS += $(subst -nil-,,$(TESTSCRIPTS_$(OS_CLASS)))
else
ifdef TESTSCRIPTS_DEFAULT
TESTSCRIPTS += $(TESTSCRIPTS_DEFAULT)
endif
endif
ifneq ($(strip $(TESTSCRIPTS_IOC_$(OS_CLASS))),)
TESTSCRIPTS_IOC+=$(subst -nil-,,$(TESTSCRIPTS_IOC_$(OS_CLASS)))
else
ifneq (,$(strip $(TESTSCRIPTS_IOC_DEFAULT)))
TESTSCRIPTS_IOC+=$(TESTSCRIPTS_IOC_DEFAULT)
endif
endif
ifneq ($(strip $(TESTSCRIPTS_HOST_$(OS_CLASS))),)
TESTSCRIPTS_HOST+=$(subst -nil-,,$(TESTSCRIPTS_HOST_$(OS_CLASS)))
else
ifneq (,$(strip $(TESTSCRIPTS_HOST_DEFAULT)))
TESTSCRIPTS_HOST+=$(TESTSCRIPTS_HOST_DEFAULT)
endif
endif
#
# concat specific resource files
#

View File

@@ -8,10 +8,6 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
ifndef EPICS_BASE
EPICS_BASE = $(INSTALL_LOCATION)
endif
#---------------------------------------------------------------
# Epics base directories
@@ -19,28 +15,29 @@ EPICS_BASE_HOST_BIN = $(EPICS_BASE)/bin/$(EPICS_HOST_ARCH)
EPICS_BASE_HOST_LIB = $(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)
ifdef T_A
EPICS_BASE_LIB = $(EPICS_BASE)/lib/$(T_A)
EPICS_BASE_BIN = $(EPICS_BASE)/bin/$(T_A)
endif
#---------------------------------------------------------------
# Epics base Ioc libraries
EPICS_BASE_IOC_LIBS += recIoc softDevIoc testDevIoc iocsh
EPICS_BASE_IOC_LIBS += recIoc softDevIoc iocsh
EPICS_BASE_IOC_LIBS += miscIoc rsrvIoc dbtoolsIoc asIoc
EPICS_BASE_IOC_LIBS += dbIoc registryIoc dbStaticIoc ca Com
#---------------------------------------------------------------
# Epics base Host libraries
EPICS_BASE_HOST_LIBS += cas gdd iocsh asHost dbStaticHost
EPICS_BASE_HOST_LIBS += cas gdd iocsh asHost dbStaticHost registryIoc
EPICS_BASE_HOST_LIBS += ca Com
#---------------------------------------------------------------
# Version number for base shared libraries (and win32 products)
ifeq ($(EPICS_BASE),$(TOP))
ifdef BASE_TOP
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION)
PROD_VERSION = $(EPICS_VERSION).$(EPICS_REVISION)
endif # EPICS_BASE
endif # BASE_TOP
#---------------------------------------------------------------
# Base c preprocessor flags
@@ -48,23 +45,30 @@ endif # EPICS_BASE
BASE_CPPFLAGS =
# osithread default stack
OSITHREAD_USE_DEFAULT_STACK = YES
OSITHREAD_USE_DEFAULT_STACK = NO
OSITHREAD_DEFAULT_STACK_FLAGS_YES = -DOSITHREAD_USE_DEFAULT_STACK
OSITHREAD_DEFAULT_STACK_FLAGS_NO =
BASE_CPPFLAGS += $(OSITHREAD_DEFAULT_STACK_FLAGS_$(OSITHREAD_USE_DEFAULT_STACK))
#---------------------------------------------------------------
# Where to find the installed build tools
EPICS_BASE_TOOLS_BIN_HOST = $(EPICS_BASE_BIN)
EPICS_BASE_TOOLS_BIN_CROSS = $(EPICS_BASE_HOST_BIN)
EPICS_BASE_TOOLS_BIN = $(EPICS_BASE_TOOLS_BIN_$(BUILD_CLASS))
#---------------------------------------------------------------
# Epics base build tools and tool flags
MAKEBPT = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/makeBpt$(HOSTEXE))
DBEXPAND = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbExpand$(HOSTEXE))
DBTORECORDTYPEH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(HOSTEXE))
DBTOMENUH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToMenuH$(HOSTEXE))
REGISTERRECORDDEVICEDRIVER = $(PERL) $(EPICS_BASE_HOST_BIN)/registerRecordDeviceDriver.pl
MAKEBPT = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/makeBpt$(HOSTEXE))
DBEXPAND = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/dbExpand$(HOSTEXE))
DBTORECORDTYPEH = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/dbToRecordtypeH$(HOSTEXE))
DBTOMENUH = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/dbToMenuH$(HOSTEXE))
REGISTERRECORDDEVICEDRIVER = $(PERL) $(EPICS_BASE_TOOLS_BIN)/registerRecordDeviceDriver.pl
# private versions of lex/yacc from EPICS
EYACC = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/antelope$(HOSTEXE))
ELEX = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/e_flex$(HOSTEXE)) -S$(EPICS_BASE)/include/flex.skel.static
EYACC = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/antelope$(HOSTEXE))
ELEX = $(call PATH_FILTER, $(EPICS_BASE_TOOLS_BIN)/e_flex$(HOSTEXE)) -S$(EPICS_BASE)/include/flex.skel.static
YACC = $(EYACC)
LEX = $(ELEX)

View File

@@ -1,30 +1,50 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# Copyright (c) 2006 UChicago Argonne LLC, 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.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
#
# $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.
# Only the person making an official EPICS release should make changes in
# this file.
#
# EPICS_SITE_VERSION is defined in CONFIG_SITE for sites that want a local
# version number to be included in the reported version string.
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=5
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
BASE_3_14=YES
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}"
EPICS_VERSION = 3
EPICS_REVISION = 14
# This part may contain letters, eg 0beta1
EPICS_MODIFICATION = 9
# Not included if zero
EPICS_PATCH_LEVEL = 0
# This will be -CVS or empty at an official release point
#EPICS_CVS_SNAPSHOT=-CVS
EPICS_CVS_SNAPSHOT=-pre1
# No changes should be needed below here
ifneq ($(EPICS_PATCH_LEVEL),0)
EPICS_PATCH_VSTRING=.$(EPICS_PATCH_LEVEL)
endif
ifneq ($(strip $(EPICS_SITE_VERSION)),)
EPICS_SITE_VSTRING=-$(EPICS_SITE_VERSION)
endif
EPICS_SHORT_VERSION=$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)$(EPICS_PATCH_VSTRING)
EPICS_VERSION_NUMBER=$(EPICS_SHORT_VERSION)$(EPICS_CVS_SNAPSHOT)$(EPICS_SITE_VSTRING)
EPICS_VERSION_STRING="EPICS Version $(EPICS_VERSION_NUMBER)"
CVS_DATE="\$$Date$$"
CVS_TAG="\$$Name$$"
BASE_3_14=YES

View File

@@ -37,15 +37,20 @@ BUILD_ARCHS = $(EPICS_HOST_ARCH) $(CROSS1) $(CROSS2)
# otherwise override this in os/CONFIG_SITE.<host_arch>.Common
PERL=perl
#-------------------------------------------------------
# dbst based database optimization default
DB_OPT = NO
#-------------------------------------------------------
# Check configure/RELEASE file for consistency
CHECK_RELEASE_YES = checkRelease
CHECK_RELEASE_NO =
CHECK_RELEASE_WARN = warnRelease
#-------------------------------------------------------
# Directories
INSTALL_LOCATION ?= $(TOP)
INSTALL_LOCATION = $(TOP)
TOOLS = $(CONFIG)/tools
INSTALL_LOCATION_LIB = $(INSTALL_LOCATION)/lib
@@ -73,6 +78,9 @@ INSTALL_SHRLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_TCLLIB = $(INSTALL_LOCATION_LIB)/$(T_A)
INSTALL_BIN = $(INSTALL_LOCATION_BIN)/$(T_A)
#Directories for libraries
SHRLIB_SEARCH_DIRS = $(INSTALL_LIB)
#-------------------------------------------------------
# Ext, app, and module configure dir targets
CONFIG_TARGETS += CONFIG_APP_INCLUDE RULES_INCLUDE
@@ -100,6 +108,10 @@ GNU=NO
DEP=.depends
OBJ = .
RES = .
CMPLR_SUFFIX=
CMPLR_PREFIX=
LIB_PREFIX=
SHRLIB_PREFIX= $(LIB_PREFIX)
#-------------------------------------------------------
# tools for installing libraries and products
@@ -218,7 +230,7 @@ TARGET_LDFLAGS = $($*_LDFLAGS)
# Level of ansi conformance flags
CONFORM_CPPFLAGS = $(CONFORM_CPPFLAGS_$(CMPLR))
CONFORM_CFLAGS = $(CONFORM_CFLAGS_$(CMPLR))
CONFORM_CXXFLAGS = $(CONFORM_CXXFLAGS_$(CMPLR))
CONFORM_CXXFLAGS = $(CONFORM_CXXFLAGS_$(CXXCMPLR))
# Warnings flags
WARN_CFLAGS = $(WARN_CFLAGS_$($(BUILD_CLASS)_WARN))
@@ -228,11 +240,6 @@ WARN_CXXFLAGS = $(WARN_CXXFLAGS_$($(BUILD_CLASS)_WARN))
OPT_CFLAGS = $(OPT_CFLAGS_$($(BUILD_CLASS)_OPT))
OPT_CXXFLAGS = $(OPT_CXXFLAGS_$($(BUILD_CLASS)_OPT))
# Posix flags
POSIX=YES
POSIX_CPPFLAGS=$(POSIX_CPPFLAGS_$(POSIX))
POSIX_LDLIBS=$(POSIX_LDLIBS_$(POSIX))
# Static build flags
STATIC_CFLAGS = $(STATIC_CFLAGS_$(STATIC_BUILD))
STATIC_CXXCFLAGS = $(STATIC_CXXFLAGS_$(STATIC_BUILD))
@@ -269,7 +276,7 @@ LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
LDLIBS = $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS) $(GNU_LDLIBS_$(GNU))
CPPFLAGS += $(CONFORM_CPPFLAGS) $($(BUILD_CLASS)_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
@@ -281,8 +288,14 @@ ARFLAGS =
ARCMD = $(AR) $(ARFLAGS) $(USR_ARFLAGS) $@ $(LIBRARY_LD_OBJS)
#--------------------------------------------------
# ld default
LDCMD = $(LD) -o $@ $^
# 'Munch' link-edit
MUNCH_CMD = $(LD) -o $@ $^
#--------------------------------------------------
# LEX default option (valid for EPICS base 3.13.0.beta12 and later)
#
# to allow characters that are not plain 7bit standard ASCII
LEXOPT += -8
#--------------------------------------------------
# Build compile line here

View File

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

View File

@@ -1,57 +1,64 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# Copyright (c) 2006 UChicago Argonne LLC, 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.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
#
# CONFIG_SITE - config file
# by Matthew Needes and Mike Bordua
#
# This file is to be modified by the build system manager
# only.
# CONFIG_SITE - Global site configuration file
#
# The host architecture performing the build,
# i.e.: the arch running DCT/getrel/etc.
# <operating system>-<architecture>[-<alternate compiler>]
# The host architecture performing the build, in the form
# <operating system>-<architecture>[-<toolset>]
#
# Currently Supporting:
# aix-ppc (IBM compiler used for host builds)
# aix-ppc-gnu (GNU compiler used for host builds)
# cygwin-x86 (cygwin compiler used for host builds)
# darwin-ppc (PowerPC based Apple running OSX)
# darwin-x86 (Intel based Apple running OSX)
# darwin-ppcx86 (Universal binaries for both CPUs)
# hpux-parisc (HP compiler used for host builds)
# hpux-parisc-gnu (GNU compiler used for host builds)
# osf-alpha
# linux-ppc (GNU compiler used for host builds)
# linux-x86 (GNU compiler used for host builds)
# linux-x86_64 (GNU compiler used for host builds)
# linux-x86-borland (Borland C++ compiler used for host builds)
# solaris-sparc (sun compiler used for host builds)
# solaris-sparc-gnu (GNU compiler used for host builds)
# solaris-sparc64 (sun compiler used for host builds)
# solaris-sparc64-gnu (GNU compiler used for host builds)
# solaris-x86 (sun compiler used for host builds)
# solaris-x86-gnu (GNU compiler used for host builds)
# sun4-x86 (sun compiler used for host builds)
# linux-x86 (GNU compiler used for host builds)
# win32-x86 (MS Visual C++ compiler used for host builds)
# win32-x86-mingw (MinGW compiler used for host builds)
# win32-x86-borland (Borland C++ compiler used for host builds)
# lynxos-x86
# darwin-ppc
# linux-mpc82xx
# win32-x86-cygwin (WIN32 API with cygwin GNU compiler used for host builds)
# Debugging builds
# linux-x86-debug (GNU compiler with -g option for host builds)
# solaris-sparc-debug (sun compiler with -g option for host builds)
# win32-x86-debug (MS Visual C++ compiler with debug option for host builds)
# linux-x86-debug (GNU compiler with -g option for host builds)
# linux-x86_64-debug (GNU compiler with -g option for host builds)
# solaris-sparc-debug (sun compiler no optimization,-g for debugging info)
# win32-x86-debug (MS Visual C++ compiler with debug option for host builds)
# EPICS_HOST_ARCH is a required environment variable
# Do not set EPICS_HOST_ARCH in this file.
# Use base/startup files to set EPICS_HOST_ARCH or
# set EPICS_HOST_ARCH on the GNU make command line.
# provide EPICS_HOST_ARCH on the GNU make command line.
# The cross-compiler architectures to build EPICS for
#
# Currently Supporting:
# linux-386 (linux-x86 host)
# linux-486 (linux-x86 host)
# linux-586 (linux-x86 host)
# linux-686 (linux-x86 host)
# linux-athlon (linux-x86 host)
# vxWorks-486
# vxWorks-68040
# vxWorks-68040lc
@@ -62,11 +69,15 @@
# vxWorks-ppc604
# vxWorks-ppc604_long
# RTEMS-gen68360
# RTEMS-mvme167
# RTEMS-pc386
# RTEMS-mcp750
# RTEMS-mvme167
# RTEMS-mvme2100
# RTEMS-mvme5500
# RTEMS-pc386
# RTEMS-psim
# RTEMS-uC5282
#
# Definitions of CROSS_COMPILER_TARGET_ARCHS in
# configure/os/CONFIG_SITE.<host>.Common files will
# override
@@ -136,7 +147,7 @@ CROSS_WARN=YES
# NOTE: Set to YES only if you have existing R3.13 extensions to be
# built with this base
#
COMPAT_TOOLS_313=NO
#COMPAT_TOOLS_313=YES
# Create and/or install files for R3.13 ioc application and extension builds?
# must be either YES or NO
@@ -147,5 +158,14 @@ COMPAT_TOOLS_313=NO
COMPAT_313=NO
# Installation directory
#Note: INSTALL_LOCATION definition moved to configure/RELEASE file
# If you don't want to install into $(TOP) dir then
# define INSTALL_LOCATION here
#INSTALL_LOCATION=<fullpathname>
# Use POSIX thread priority scheduling (YES or NO)
USE_POSIX_THREAD_PRIORITY_SCHEDULING = NO
# Site version number, if set will append '-' and this string to the
# EPICS version number string that is reported by many tools
EPICS_SITE_VERSION =

View File

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

View File

@@ -7,17 +7,15 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# RELEASE: Define location of external products
#
# RELEASE: Define location of external EPICS products
# Define INSTALL_LOCATION in CONFIG_SITE
# VX_DIR definition now in os/CONFIG_SITE.Common.vxWorksCommon
# RTEMS_BASE (and RTEMS_VERSION) now in os/CONFIG_SITE.Common.RTEMS
# NB: Settings in RELEASE files can be overridden in files named
# RELEASE.$(EPICS_HOST_ARCH)
# RELEASE.$(EPICS_HOST_ARCH).Common
# RELEASE.Common.$(T_A)
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
# Tornado directory
VX_DIR = /usr/local/vw/tornado202p1
#VX_DIR = /usr/local/vw/tornado22-$(ARCH_CLASS)
# If you don't want to install into $(TOP) dir then
# define INSTALL_LOCATION here
#INSTALL_LOCATION=<fullpathname>

View File

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

View File

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

View File

@@ -1,11 +1,10 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# Copyright (c) 2006 UChicago Argonne LLC, 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.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
@@ -20,8 +19,9 @@ rebuild: clean install
ACTIONS = inc
ACTIONS += build
ACTIONS += install
ACTIONS += buildInstall
ACTIONS += browse
ACTIONS += buildInstall
ACTIONS += browse
ACTIONS += runtests
actionPart = $(word 1, $(subst $(DIVIDER), ,$@))
archPart = $(word 2, $(subst $(DIVIDER), ,$@))
@@ -41,7 +41,7 @@ $(BUILD_ARCHS) : % : O.% O.Common
$(ACTIONS):%: $(foreach arch, $(BUILD_ARCHS), %$(DIVIDER)$(arch))
$(buildDirs):
$(buildDirs):
$(PERL) $(TOOLS)/makeMakefile.pl $@ $(TOP)/..
O.Common:
@@ -54,29 +54,36 @@ O.Common:
targetReleaseFiles = $(wildcard $(foreach arch, $(BUILD_ARCHS), \
$(TOP)/configure/RELEASE.Common.$(arch) \
$(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(arch)))
checkReleaseTargets = $(addprefix checkRelease, $(suffix $(targetReleaseFiles)))
checkRelease: $(checkReleaseTargets)
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) $@
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) checkRelease
$(checkReleaseTargets):checkRelease.%:
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) -a $* checkRelease
warnReleaseTargets = $(addprefix warnRelease, $(suffix $(targetReleaseFiles)))
warnRelease: $(warnReleaseTargets)
-$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) checkRelease
$(warnReleaseTargets):warnRelease.%:
-$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) -a $* checkRelease
#
# special clean rule
#
clean ::
$(RMDIR) $(addprefix O.,$(BUILD_ARCHS)) O.Common
archclean ::
$(RMDIR) $(addprefix O.,$(BUILD_ARCHS))
$(cleanArchTargets) ::
$(RMDIR) O.$(archPart)
realclean ::
realclean ::
$(RMDIR) O.*
.PHONY : $(actionArchTargets)
.PHONY : $(cleanArchTargets)
.PHONY : $(BUILD_ARCHS)
.PHONY : $(ACTIONS) clean realclean all
.PHONY : $(ACTIONS) clean realclean archclean all
.PHONY : checkRelease $(checkReleaseTargets)

View File

@@ -1,11 +1,10 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# Copyright (c) 2006 UChicago Argonne LLC, 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.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
#
@@ -40,6 +39,7 @@ LOADABLE_LIBRARY += $(LOADABLE_LIBRARY_HOST)
OBJS += $(OBJS_HOST)
PROD += $(PROD_HOST)
SCRIPTS += $(SCRIPTS_HOST)
TESTSCRIPTS += $(TESTSCRIPTS_HOST)
TESTPROD += $(TESTPROD_HOST)
endif
@@ -48,6 +48,7 @@ LIBRARY += $(LIBRARY_IOC)
OBJS += $(OBJS_IOC)
PROD += $(PROD_IOC)
SCRIPTS += $(SCRIPTS_IOC)
TESTSCRIPTS += $(TESTSCRIPTS_IOC)
TESTPROD += $(TESTPROD_IOC)
endif
@@ -77,7 +78,7 @@ endif
ifneq (,$(strip $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY)))
MakefileInclude: ../Makefile
MakefileInclude: ../Makefile $(wildcard $(TOP)/configure/RELEASE*)
@$(RM) $@
@$(PERL) $(TOOLS)/makeMakefileInclude.pl $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY) $@
@@ -101,6 +102,7 @@ LIBTARGETS += $(LIBNAME) $(INSTALL_LIBS) \
#---------------------------------------------------------------
ifneq ($(CONFIG),$(TOP)/configure)
RULES_TOP:=$(INSTALL_LOCATION)
-include $(TOP)/configure/RULES_BUILD
endif
-include $(TOP)/configure/O.$(T_A)/RULES_INCLUDE
@@ -117,7 +119,7 @@ rebuild: clean install
build : inc
build: $(OBJSNAME) $(LIBTARGETS) $(PRODTARGETS) $(TESTPRODNAME) \
$(TARGETS)
$(TARGETS) $(TESTSCRIPTS)
inc : $(COMMON_INC) $(INSTALL_INC)
@@ -134,12 +136,16 @@ ifdef BIN_INSTALLS
buildInstall : binInstalls
endif
ifdef LIB_INSTALLS
buildInstall : libInstalls
endif
clean::
@echo "Cleaning"
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
$(INC) *$(RES) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) \
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS)
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) *.manifest *.exp \
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS) $(TESTSCRIPTS)
ifdef BAF
@$(RM) $(PROD_BAF) $(LIB_BAF) *$(BOF)
endif
@@ -156,12 +162,17 @@ $(DIRECTORY_TARGETS) :
# The order of the following rules is
# VERY IMPORTANT !!!!
$(TESTPRODNAME) $(PRODNAME):%$(EXE): $(PRODUCT_OBJS) $(PROD_RESS) $(PROD_DEPLIBS)
$(TESTPRODNAME) $(PRODNAME): $(PRODUCT_OBJS) $(PROD_RESS) $(PROD_DEPLIBS)
$(TESTPRODNAME) $(PRODNAME):%$(EXE):
@$(RM) $@
$(DEBUGCMD) $(LINK.cpp)
$(MT_EXE_COMMAND)
# object libs for R3.13 vxWorks compatibility only
$(OBJLIBNAME):%$(OBJ): $(OBJLIB_LD_OBJS)
$(OBJLIBNAME): $(OBJLIB_LD_OBJS)
$(OBJLIBNAME):%$(OBJ):
@$(RM) $@
$(OBJLIB_LINK.cpp)
@@ -172,7 +183,7 @@ $(OBJLIBNAME):%$(OBJ): $(OBJLIB_LD_OBJS)
%$(OBJ): %.c
@$(HDEPENDS_CMD)
@$(RM) $@
$(COMPILE.c) $(call PATH_FILTER,$<)
$(COMPILE.c) $(call PATH_FILTER,$<) $(COMPILE_FILTER.c)
%$(OBJ): %.cc
@$(HDEPENDS_CMD)
@@ -254,22 +265,32 @@ $(LIBNAME): ../baseLIBOBJS
endif
# rule for lib (archive of object files) creation
$(LIBNAME): $(LIB_PREFIX)%$(LIB_SUFFIX): $(LIBRARY_OBJS)
$(LIBNAME): $(LIBRARY_OBJS)
$(LIBNAME): $(LIB_PREFIX)%$(LIB_SUFFIX):
@$(RM) $@
$(ARCMD)
ifneq ($(strip $(RANLIB)),)
$(RANLIB) $@
endif # RANLIB
$(DLL_LINK_LIBNAME):$(LIB_PREFIX)%.lib: $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
$(DLL_LINK_LIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
$(DLL_LINK_LIBNAME):$(SHRLIB_PREFIX)%.lib:
@$(RM) $@
$(LINK.shrlib)
$(MT_DLL_COMMAND)
$(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
$(SHRLIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
$(SHRLIBNAME):$(SHRLIB_PREFIX)%$(SHRLIB_SUFFIX):
@$(RM) $@
$(LINK.shrlib)
$(MT_DLL_COMMAND)
$(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
$(LOADABLE_SHRLIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
$(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX):
@$(RM) $@
$(LINK.loadable_shrlib)
@@ -286,13 +307,28 @@ $(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX): $(LI
@$(RM) $@
$(PERL) $(TOOLS)/munch.pl < $< > $@
$(MUNCHNAME):%.munch : %_ctdt$(OBJ) %$(EXE)
$(MUNCHNAME):%$(MUNCH_SUFFIX) : $(MUNCH_DEPENDS) %$(EXE)
@$(RM) $@
$(LDCMD)
$(MUNCH_CMD)
$(OBJLIB_MUNCHNAME):%.munch : %_ctdt$(OBJ) %$(OBJ)
@$(RM) $@
$(LDCMD)
$(MUNCH_CMD)
runtests: $(TESTSCRIPTS_$(BUILD_CLASS))
$(PERL) -e 'use Test::Harness; runtests @ARGV if @ARGV;' $^
# If there's a perl test script (.plt) available, use it
%.t: ../%.plt
@$(RM) $@
@$(CP) $< $@
# Some versions of Test::Harness expect test programs in perl only.
# Generate a 1-line perl program to exec the real test binary.
# Uses the $0 runtime path to itself to find the executable.
%.t: %$(EXE)
@$(RM) $@
@echo '($$e=$$0)=~s/.t$$/$(EXE)/;exec "./$$e" or die "exec failed";'>$@
# Ext, app and module rules
RULES_INCLUDE CONFIG_APP_INCLUDE: $(wildcard $(TOP)/configure/RELEASE*)
@@ -303,6 +339,10 @@ binInstalls: $(BIN_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_BIN)
libInstalls: $(LIB_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_LIB)
$(INSTALL_BIN)/%: ../os/$(OS_CLASS)/%
@echo "Installing os-specific script $@"
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
@@ -329,11 +369,12 @@ $(INSTALL_LIB)/%.lib: %.lib
$(INSTALL_SHRLIB)/lib%: lib%
@echo "Installing shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
ifdef SHRLIB_VERSION
ifneq (,$(strip $(SHRLIB_VERSION)))
@$(RM) $(subst .$(SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(SHRLIB_VERSION),,$@)
endif # SHRLIB_VERSION
ifneq ($(INSTALL_TCLLIB),$(INSTALL_BIN))
$(INSTALL_TCLLIB)/%: %
@echo "Installing Tcl library $@"
@@ -344,9 +385,17 @@ $(INSTALL_TCLLIB)/%: ../%
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
endif
$(INSTALL_TCLLIB)/$(TCLINDEX): $(INSTALL_TCLLIBS)
@echo "Updating $@"
@echo eval auto_mkindex $(INSTALL_TCLLIB) "$(TCLLIBNAME)" | tclsh
$(INSTALL_LOADABLE_SHRLIBS): $(INSTALL_SHRLIB)/%: %
@echo "Installing loadable shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
ifneq (,$(strip $(LOADABLE_SHRLIB_VERSION)))
@$(RM) $(subst .$(LOADABLE_SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(LOADABLE_SHRLIB_VERSION),,$@)
endif # LOADABLE_SHRLIB_VERSION
$(INSTALL_CONFIG)/%: %
@echo "Installing config file $@"
@@ -395,7 +444,8 @@ $(INSTALL_TEMPLATES_SUBDIR)/%: %
.PRECIOUS: %.i %.o %.c %.nm %.cpp %.cc
.PRECIOUS: $(COMMON_INC)
.PHONY: all inc build install clean rebuild buildInstall binInstalls
.PHONY: all inc build install clean rebuild buildInstall binInstalls libInstalls
.PHONY: runtests
endif # BASE_RULES_BUILD
# EOF RULES_BUILD

View File

@@ -1,24 +1,23 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# Copyright (c) 2006 UChicago Argonne LLC, 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.
# EPICS BASE is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
#
ARCHS += $(BUILD_ARCHS)
ACTIONS += inc build install buildInstall clean realclean
ACTIONS += inc build install buildInstall clean realclean archclean runtests
dirPart = $(word 1, $(subst $(DIVIDER), ,$@))
actionArchPart = $(join $(word 2, $(subst $(DIVIDER), ,$@)), \
$(addprefix $(DIVIDER),$(word 3, $(subst $(DIVIDER), ,$@))))
$(addprefix $(DIVIDER),$(word 3, $(subst $(DIVIDER), ,$@))))
dirActionArchTargets = $(foreach dir, $(DIRS), \
$(foreach action, $(ACTIONS),\
$(foreach arch, $(ARCHS), \

View File

@@ -11,23 +11,27 @@
#
ifeq ($(BUILD_CLASS),HOST)
#-------------------------------------------------------
# java jdk1.1.5 definitions
JAVA_INC = $(JAVA_DIR)/include
JAVA_BIN = $(JAVA_DIR)/bin
JAVA_INCLUDES += -I$(JAVA_INC) -I$(JAVA_INC)/$(OS_CLASS) -I$(COMMON_DIR)
JAVA_INCLUDES += -I$(JAVA_INC) -I$(JAVA_INC)/$(word 1, $(subst -, ,$(T_A))) -I$(COMMON_DIR)
JAVACCMD = $(subst \,/,$(JAVA_BIN)/javac$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVACFLAGS))
JAVAHCMD = $(subst \,/,$(JAVA_BIN)/javah$(EXE) -d $(COMMON_DIR) -force $(CLASSPATH) $(JAVAHFLAGS))
JARCMD = $(subst \,/,$(JAVA_BIN)/jar$(EXE) $(JAR_OPTIONS) $(COMMON_JAR) $(JARINPUT) $(JARPACKAGES))
JARCMD = $(subst \,/,$(JAVA_BIN)/jar$(EXE) $(JAR_OPTIONS) $@ $(JARINPUT) $(JARPACKAGES))
#-------------------------------------------------------
vpath %.java ..
vpath %.jar .. $(COMMON_DIR)
CLASSPATH=-classpath $(INSTALL_JAVA)$(addprefix :,$(USR_CLASSPATH))
SOURCEPATH=-sourcepath .:..:../..
empty:=
space:= $(empty) $(empty)
CLASSPATH = -classpath $(subst $(space),:,$(strip $(USR_PRECLASSPATH) $(INSTALL_JAVA) $(USR_CLASSPATH)))
SOURCEPATH = -sourcepath .:..:../..
#-------------------------------------------------------
# Java directory
@@ -59,12 +63,12 @@ DEPTESTJAVA += $(subst .class,.java,$(TESTCLASSES))
#-------------------------------------------------------
# Java jar file
COMMON_JAR += $(addprefix $(COMMON_DIR)/,$(JAR))
INSTALL_JAR =$(addprefix $(INSTALL_JAVA)/,$(JAR))
INSTALL_JAR =$(addprefix $(INSTALL_JAVA)/,$(JAR) $(JAR_INPUT))
JARMANIFEST += $(firstword $(MANIFEST) $(JAR_MANIFEST))
JARINPUT += $(subst .java,.class,$(JAR_INPUT))
JARDEPFILES += $(addprefix $(INSTALL_JAVA)/,$(subst .java,.class,$(JAVA))) $(JARINPUT)
JARDEPFILES += $(addprefix $(INSTALL_JAVA)/,$(subst .java,.class,$(JAVA)) $(JAR_INPUT))
JARINPUT += $(foreach inp,$(JAR_INPUT),-C $(INSTALL_JAVA) $(subst .java,.class,$(inp)))
JARPACKAGES += $(foreach pkg,$(JAR_PACKAGES),-C $(INSTALL_JAVA) $(subst .,/,$(pkg)))
PACKAGEDIRS += $(foreach pkg,$(JAR_PACKAGES),$(addprefix $(INSTALL_JAVA)/,$(subst .,/,$(pkg))))
ifneq ($(JARMANIFEST),)
JAR_OPTIONS = cvmf $(JARMANIFEST)
@@ -95,15 +99,15 @@ inc: $(JAVA_DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(COMMON_JAVAINC)
build: inc
build: $(COMMON_TESTCLASSES) $(COMMON_JAR)
build: $(COMMON_TESTCLASSES)
buildInstall : $(INSTALL_JAR) $(INSTALL_JAVADOC)
#This clean works only from O.* dirs.
clean::
@$(RMDIR) $(INSTALL_CLASSES)
@$(RMDIR) $(INSTALL_CLASSES) $(PACKAGEDIRS)
@$(RM) $(INSTALL_JAR) $(INSTALL_JAVADOC)
@$(RM) $(COMMON_TESTCLASSES) $(COMMON_JAR) $(COMMON_JAVAINC)
@$(RM) $(COMMON_TESTCLASSES) $(COMMON_JAVAINC)
ifdef JAVA_DIRECTORY_TARGETS
$(JAVA_DIRECTORY_TARGETS):
@@ -139,7 +143,16 @@ $(INSTALL_JAVA)/%.jar: $(COMMON_DIR)/%.jar
@echo "Installing java jar file $@"
@$(INSTALL) -d -m 644 $< $(@D)
$(INSTALL_JAVA)/%.jar: %.jar
@echo "Installing java jar file $@"
@$(INSTALL) -d -m 644 $< $(@D)
$(addprefix $(INSTALL_JAVA)/, $(JARINPUT)): $(INSTALL_JAVA)/%: ../%
@echo "Installing jar input file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PHONY: all install buildInstall rebuild clean build inc
.PRECIOUS: $(COMMON_JAVAINC)
endif

View File

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

View File

@@ -72,7 +72,7 @@ INC = file.h
# defining a library
# --------------------------------------------------------------------
#
# Contents of a library are specified via SRCS, LIBSRCS, or .._SRCS.
# Contents of a library are specified via SRCS, LIB_SRCS, or .._SRCS.
# From this the platform specific object names (.o, .obj, ...)
# are derived automatically.
#
@@ -86,7 +86,7 @@ INC = file.h
# ./os/OS_CLASS
# ./os/generic
# .
# So usually only LIBSRCS should be sufficient!
# So usually only LIB_SRCS should be sufficient!
# SRCS files will be used for both LIBRARY and PROD
SRCS = file_for_lib.c another_file.cpp
@@ -197,7 +197,7 @@ PROD_VERSION =
# Scripts to install
#
# If there is both ../$(SCRIPT) and ../$(OS_CLASS)/$(SCRIPT),
# If there is both ../$(SCRIPTS) and ../$(OS_CLASS)/$(SCRIPTS),
# the latter, system specific version will be installed!
#
SCRIPTS_DEFAULT = script_for_rest

View File

@@ -13,17 +13,19 @@
#-------------------------------------------------------
#
#-------------------------------------------------------
# Where to find RTEMS
RTEMS_BASE=/opt/rtems
#-------------------------------------------------------
# RTEMS tools are similar to UNIX tools
-include $(CONFIG)/os/CONFIG.Common.UnixCommon
GNU_TARGET_INCLUDE_DIR =
#--------------------------------------------------
# Get RTEMS_BASE definition
-include $(CONFIG)/os/CONFIG_SITE.Common.RTEMS
#-------------------------------------------------------
# Pick up the RTEMS tool/path definitions from the RTEMS BSP directory.
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems/$(subst RTEMS-,,$(T_A))/Makefile.inc
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems$(RTEMS_VERSION)/$(subst RTEMS-,,$(T_A))/Makefile.inc
include $(RTEMS_CUSTOM)
include $(CONFIG.CC)
@@ -46,7 +48,7 @@ VALID_BUILDS = Ioc
# through the following contortions to get the EPICS flags back.
CFLAGS = $(CONFORM_CFLAGS) $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
CXXFLAGS = $(CONFORM_CXXFLAGS) $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
@@ -69,6 +71,10 @@ $(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
CROSS_CPPFLAGS =
CROSS_LDFLAGS =
SHRLIB_CFLAGS =
OPT_CFLAGS_YES = $(CFLAGS_OPTIMIZE_V)
OPT_CXXFLAGS_YES = $(CFLAGS_OPTIMIZE_V)
OPT_CFLAGS_NO = $(CFLAGS_DEBUG_V)
OPT_CXXFLAGS_NO = $(CFLAGS_DEBUG_V)
#--------------------------------------------------
# operating system class (include/os/<os_class>)
@@ -76,7 +82,7 @@ OS_CLASS = RTEMS
#--------------------------------------------------
# Operating system flags
OP_SYS_LDLIBS += -lrtemsCom -lrtemscpu -lCom -lm
OP_SYS_LDLIBS += -lrtemsCom -lrtemscpu -lCom -lrtemsNfs -lm
OP_SYS_LDFLAGS += $(CPU_CFLAGS) -u Init \
$(PROJECT_RELEASE)/lib/no-dpmem.rel \
$(PROJECT_RELEASE)/lib/no-mp.rel \
@@ -98,8 +104,8 @@ CONFORM_CXXFLAGS_STRICT = -ansi
#--------------------------------------------------
# Command-line input support
COMMANDLINE_LIBRARY = LIBTECLA
LDLIBS_LIBTECLA = -ltecla_r -lncurses
LDLIBS_READLINE = -lreadline -lncurses
#--------------------------------------------------
# Allow site overrides

View File

@@ -0,0 +1,13 @@
#
# CONFIG.Common.RTEMS-at91rm9200ek
# Author: Ralf Hartmann
# BESSY
# Ralf.Hartmann@bessy.de
#
# Atmel AT91RM9200-EK evaluation kit
# using the AT91RM9200 ARM9-based 32-bit RISC microcontroller
#
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU=arm
include $(CONFIG)/os/CONFIG.Common.RTEMS

View File

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

View File

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

View File

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

View File

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

View File

@@ -16,6 +16,11 @@ VALID_BUILDS = Host Ioc
# Gnu directory
GNU_DIR = /usr/local
#-------------------------------------------------------
# Get fullpathname of relative dirs
SHRLIB_SEARCH_FULLPATHDIRS = $(foreach dir,$(SHRLIB_SEARCH_DIRS), \
$(shell perl $(TOOLS)/fullPathName.pl $(dir)))
#-------------------------------------------------------
# Unix prefix and suffix definitions
EXE =
@@ -24,7 +29,7 @@ OBJ = .o
LIB_PREFIX = lib
LIB_SUFFIX = .a
SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_SUFFIX = .so
LOADABLE_SHRLIB_SUFFIX = .so$(addprefix .,$(LOADABLE_SHRLIB_VERSION))
LOADABLE_SHRLIB_PREFIX = lib
#-------------------------------------------------------

View File

@@ -17,9 +17,8 @@ ARCH_CLASS = ppc
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_ALL_SOURCE
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = -lpthread
POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_ALL_SOURCE
POSIX_LDLIBS = -lpthread
#SHARED_LIBRARIES=NO

View File

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

View File

@@ -7,52 +7,10 @@
# Sites may override these definitions in CONFIG_SITE.Common.darwin-ppc
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
#
# Set OS-specific information
# Architecture-specific information
#
OS_CLASS = Darwin
ARCH_CLASS = ppc
#
# Special flags for Darwin
# No common blocks (as required when using shared libraries)
#
OP_SYS_CFLAGS += -fno-common
#
# Don't try to use precompiled headers when converting sequencer files
#
CPPSNCFLAGS += -no-cpp-precomp
#
# The following two definitions enable the use of DarwinPorts packages.
#
OP_SYS_CPPFLAGS += -I/opt/local/include
OP_SYS_LDFLAGS += -L/opt/local/lib
#
# The following two definitions enable the use of Fink packages.
#
OP_SYS_CPPFLAGS += -I/sw/include
OP_SYS_LDFLAGS += -L/sw/lib
#
# Libraries for command-line editing.
#
LDLIBS_LIBTECLA = -ltecla_r -lncurses
LDLIBS_READLINE = -lreadline
#
# Command-line input support
#
# Install the DarwinPorts or Fink libtecla1 package and place the following
# line in CONFIG_SITE.darwin-ppc.Common to use libtecla command-line editing:
#COMMANDLINE_LIBRARY=LIBTECLA
# or install the DarwinPorts or Fink readline package and place the following
# line in CONFIG_SITE.darwin-ppc.Common to use GNU readline
# command-line editing:
#COMMANDLINE_LIBRARY=READLINE
# Include definitions common to all Darwin targets
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon

View File

@@ -0,0 +1,22 @@
# CONFIG.Common.darwin-ppcx86
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for Darwin 'universal' (PowerPC, Intel) target builds
# Sites may override these definitions in CONFIG_SITE.Common.darwin-ppcx86
#-------------------------------------------------------
#
# Set architecture-specific information
#
ARCH_CLASS = ppcx86
#
# Universal binary support
#
OP_SYS_CFLAGS += -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
OP_SYS_LDFLAGS += -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
# Include definitions common to all Darwin targets
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon

View File

@@ -0,0 +1,16 @@
# CONFIG.Common.darwin-x86
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for darwin-x86 target builds
# Sites may override these definitions in CONFIG_SITE.Common.darwin-x86
#-------------------------------------------------------
#
# Architecture-specific information
#
ARCH_CLASS = x86
# Include definitions common to all Darwin targets
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon

View File

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

View File

@@ -0,0 +1,31 @@
# $Id$
#
# This file is maintained by the build community.
#
# Definitions for freebsd target builds
# Sites may override these definitions in CONFIG_SITE.Common.freebsdCommon
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = freebsd
CODE_CPPFLAGS = -D_REENTRANT
#POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS = -D_POSIX_THREADS
POSIX_LDLIBS = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dfreebsd
#OP_SYS_LDLIBS += -lrt
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
# Definitions used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline -lcurses
GNU_LDLIBS_YES = -lgcc_pic

View File

@@ -21,15 +21,11 @@ OP_SYS_CFLAGS = -D_HPUX_SOURCE
OP_SYS_CXXFLAGS =
SHRLIB_SUFFIX = .sl$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_SUFFIX = .sl
LOADABLE_SHRLIB_SUFFIX = .sl$(addprefix .,$(LOADABLE_SHRLIB_VERSION))
# Set runtime path for shared libraries
empty:= # trick from the make docs...
space:= $(empty) $(empty)
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_FULLPATHDIRS))),+s
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=parisc-hp-unix
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
GNU_TARGET=parisc-hp-unix

View File

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

View File

@@ -0,0 +1,27 @@
# CONFIG.Common.linux-arm
#
# This file is maintained by the build community.
#
# Definitions for linux-arm target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-arm
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
ARCH_CLASS = arm
# Set a special definition for network order of Netwinder ARM floating point
ARCH_DEP_CPPFLAGS += -D_ARM_NWFP_
# Set runtime path for shared libraries
#RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath-link,%)
ifdef CROSS
GNU_TARGET=arm-linux
# prefix of compiler tools
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

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

View File

@@ -7,28 +7,13 @@
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
# Include definitions common to all linux targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
OS_CLASS = Linux
ARCH_CLASS = x86
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDLIBS += -lrt
ARCH_DEP_CPPFLAGS += -D_X86_
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
ifeq ($(BUILD_CLASS),CROSS)
ifeq ($(EPICS_HOST_ARCH),linux-x86)
# Added for 386,486,... cross builds
@@ -48,5 +33,3 @@ else
endif
endif
LDLIBS_READLINE = -lreadline -lcurses

View File

@@ -13,8 +13,7 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = Linux
ARCH_CLASS = x86
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = libpthread.so
POSIX_LDLIBS = libpthread.so
OP_SYS_CPPFLAGS += -D_BSD_SOURCE -D_SVID_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
@@ -24,9 +23,3 @@ ARCH_DEP_CPPFLAGS += -D_X86_
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=i586-pc-linux-gnu
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

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

View File

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

View File

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

View File

@@ -13,38 +13,35 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = solaris
ARCH_CLASS = sparc
CODE_CPPFLAGS = -D__EXTENSIONS__
CODE_CPPFLAGS = -D__EXTENSIONS__
COMPILER_CPPFLAGS += -mt
COMPILER_LDFLAGS += -mt
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
# Flags for solaris 6
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
POSIX_CPPFLAGS += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_XOPEN_SOURCE=500
POSIX_LDLIBS += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES_6 += -lthread
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS)
OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=sparc-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
GNU_TARGET=sparc-sun-solaris2
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd
OP_SYS_LDLIBS_10 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
GNU_DIR = /opt/gnu
INCLUDES_READLINE = -I$(GNU_DIR)/include
LDFLAGS_READLINE += -R$(GNU_DIR)/lib
RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
LDLIBS_READLINE = -lreadline -lcurses
# Use archive if there is a problem with the readline shared library

View File

@@ -11,7 +11,11 @@
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
# CONFIG.Common.solaris-sparc
COMPILER_CPPFLAGS = -D_REENTRANT
OP_SYS_LDLIBS_8 = -lc
OP_SYS_LDLIBS_9 = -lc
OP_SYS_LDFLAGS += -R$(GNU_LIB) -L$(GNU_LIB)
RUNTIME_LDFLAGS += -R$(GNU_LIB)
OP_SYS_LDFLAGS += -L$(GNU_LIB)

View File

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

View File

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

View File

@@ -15,29 +15,35 @@ ARCH_CLASS = x86
CODE_CPPFLAGS = -D__EXTENSIONS__
COMPILER_CPPFLAGS += -mt
COMPILER_LDFLAGS += -mt
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
# Flags for solaris 6
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
POSIX_CPPFLAGS += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_XOPEN_SOURCE=500
POSIX_LDLIBS += -lposix4 -lpthread $(POSIX_LDLIBS_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES_6 += -lthread
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS)
OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
ARCH_DEP_CPPFLAGS = -D_X86_
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=x86-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
GNU_TARGET=x86-sun-solaris2
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
INCLUDES_READLINE = -I$(GNU_DIR)/include
RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
LDLIBS_READLINE = -lreadline -lcurses
# Use archive if there is a problem with the readline shared library
#LDLIBS_READLINE = -Bstatic -lreadline -Bdynamic -lcurses

View File

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

View File

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

View File

@@ -18,3 +18,7 @@ ARCH_CLASS = 68k
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=MC68LC040
ARCH_DEP_CFLAGS = -m68040 -msoft-float
OPT_CFLAGS_YES = -O0
GNU_TARGET = m68k-wrs-vxworks

View File

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

View File

@@ -19,3 +19,4 @@ ARCH_CLASS = ppc
ARCH_DEP_CPPFLAGS = -DCPU=PPC603
ARCH_DEP_CFLAGS = -mcpu=603 -mstrict-align
GNU_TARGET = powerpc-wrs-vxworks

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