Compare commits

...

482 Commits

Author SHA1 Message Date
Andrew Johnson
cc2e2082b7 R3.14.5 Release. 2004-02-04 20:45:33 +00:00
Jeff Hill
dd1b4d2791 fixed warnings 2004-02-04 17:35:08 +00:00
Andrew Johnson
1a1078f961 Ok to release. 2004-02-04 16:13:26 +00:00
Andrew Johnson
51df33928f Set release date. 2004-02-04 16:09:57 +00:00
Ralph Lange
c0d6282157 aCC version update 2004-02-04 11:22:08 +00:00
Ralph Lange
58879ff350 Bugfix - mostly a minor cut'n'paste issue. 2004-02-04 10:30:04 +00:00
Jeff Hill
8e499dcfb7 fixed warnings 2004-02-04 02:14:29 +00:00
Jeff Hill
82cb39fcd5 cosmetic 2004-02-04 02:13:25 +00:00
Jeff Hill
b868ce79b7 fuixed ms warnings 2004-02-04 02:12:05 +00:00
Jeff Hill
a00c041353 fixed debug diagnostics 2004-02-04 02:11:38 +00:00
Jeff Hill
afb643443f fixed no reconnect 2nd time bug 2004-02-04 02:10:30 +00:00
Jeff Hill
0dc56953ff removed junk 2004-02-04 02:10:00 +00:00
Jeff Hill
8459529f70 use global printf for debug stuff 2004-02-04 02:09:43 +00:00
Jeff Hill
9fb90cfcab supress sun pro warnings 2004-02-04 02:09:11 +00:00
W. Eric Norum
fbf90dd641 Remove unreachable code. 2004-02-03 21:35:25 +00:00
W. Eric Norum
585e2f7d6c Stupid vxWorks implementation of toupper/tolower expands macro argument more than once! 2004-02-03 16:49:33 +00:00
Ralph Lange
0da4a9df30 Cosmetic 2004-02-03 15:33:45 +00:00
Ralph Lange
936f5a48b6 Bugfixes for compiling with -DDEBUG 2004-02-03 13:48:43 +00:00
Ralph Lange
429a135265 Bugfixes for compiling with -DDEBUG 2004-02-03 13:42:42 +00:00
Jeff Hill
2a8a75fdc9 fixed logic error in repeaterClient::verify 2004-02-03 03:32:00 +00:00
Jeff Hill
9231d4c9b9 removed repeater confirm through cac 2004-02-03 03:04:42 +00:00
Jeff Hill
4bb85b7256 improved diagnostic 2004-02-03 02:21:01 +00:00
Jeff Hill
9977039b55 cosmetic 2004-02-03 02:20:44 +00:00
Jeff Hill
fb6c0cd8fc improved diagnostics 2004-02-03 01:45:56 +00:00
Jeff Hill
351a45b734 new show interface 2004-02-03 01:45:45 +00:00
Jeff Hill
c1e2dc29bd removed overly stringent assert 2004-02-02 20:13:15 +00:00
Jeff Hill
b10a642321 ignore sigpipe and sigalrm 2004-02-02 18:31:53 +00:00
Jeff Hill
c49757c9b5 dont print message or wakeup receive thread from send thread
if its a receive thread initiated shutdown
2004-02-02 18:26:49 +00:00
Ralph Lange
89c136d426 Best not to bracket include with extern "C" 2004-02-01 17:26:10 +00:00
Ralph Lange
e6587e9755 Fix to get around weird HP aCC behaviour ("C" linkage for friends):
caInstallDefaultService() calls a static member function instead of being a friend.
2004-02-01 15:44:24 +00:00
Ralph Lange
3d27e9aeb1 Suppress HP aCC warnings. 2004-01-31 21:13:28 +00:00
Jeff Hill
4c2a8386a1 clean up better if we receive disconnect notification when sending 2004-01-30 01:35:55 +00:00
Jeff Hill
d2d71324da cosmetic 2004-01-30 01:25:16 +00:00
Jeff Hill
70a6e931fb best not to bracket include with extern "C" 2004-01-30 01:24:22 +00:00
Ralph Lange
ac1258fcc7 Bugfix; added note to keep people from using parseOptions(). 2004-01-28 20:48:31 +00:00
Andrew Johnson
6f931a18f1 Fixed various compiler warnings. 2004-01-28 00:04:03 +00:00
Andrew Johnson
e0b918ce08 Ancient files, no longer used. 2004-01-27 22:03:11 +00:00
Andrew Johnson
12b51ec036 Force aitInt8 to be signed - ANSI allows chars to be unsigned 2004-01-27 21:54:06 +00:00
Janet B. Anderson
6b16dbac9d Added name_OBJLIBS osclass tests and definitions. 2004-01-27 20:30:27 +00:00
Jeff Hill
a6d1becc7a deleted repeated word 2004-01-27 20:26:20 +00:00
Jeff Hill
d2893ab3fb fixed structure 2004-01-27 19:45:19 +00:00
Jeff Hill
791fba7274 fixed structure 2004-01-27 19:34:40 +00:00
Jeff Hill
5bd8fe9148 fixed structure 2004-01-27 18:43:44 +00:00
Jeff Hill
a9abc6ee1c fixed spelling 2004-01-27 18:33:08 +00:00
Jeff Hill
945a5e7930 added section discussing reconnect issues when server's address changes 2004-01-27 18:09:37 +00:00
Jeff Hill
4b50e4d060 fixed ms warnings 2004-01-27 00:35:40 +00:00
Jeff Hill
50cc1e967e fixed disconnect notify supressed when channel state is disconnected 2004-01-27 00:33:15 +00:00
Jeff Hill
67937c1b74 fixed shutdown deadlock 2004-01-27 00:32:55 +00:00
Jeff Hill
b59586dc83 fixed ms warnings 2004-01-27 00:27:52 +00:00
Jeff Hill
94a77fec91 fixed disconnect notify supressed when channel state is disconnected 2004-01-27 00:27:02 +00:00
Janet B. Anderson
b11b328317 Initial version. 2004-01-26 21:05:27 +00:00
Janet B. Anderson
7f64d58e26 Added RANLIB definition. 2004-01-26 20:02:37 +00:00
Janet B. Anderson
4bcdad7722 Fixed typo. 2004-01-26 16:43:04 +00:00
Janet B. Anderson
f23fb5512e Removed ifeq and ifneq tests on vxWorks and RTEMS. 2004-01-26 01:30:01 +00:00
W. Eric Norum
cc79bd0f7d Minor cleanup. 2004-01-25 17:56:09 +00:00
Jeff Hill
36ffaa3968 fix unguard needs to be moved inside of sate test (that needs to be guarded) 2004-01-24 00:13:59 +00:00
Jeff Hill
57420c3e3c removed legacy unguard incompatible with current structure of code 2004-01-24 00:13:16 +00:00
Andrew Johnson
65c202c80f Don't generate an empty file if registerRecordDeviceDriver.pl fails. 2004-01-23 22:57:26 +00:00
Jeff Hill
bc9c0eb526 fixed gnu warnings 2004-01-23 20:36:54 +00:00
Jeff Hill
565a47935c fixed solaris warnings 2004-01-23 20:15:35 +00:00
Jeff Hill
bb05cea3c1 fixed solaris warnings 2004-01-23 19:55:11 +00:00
Andrew Johnson
8087b29199 Make the parser slightly more robust against comments and
other uses of the keywords.
2004-01-23 19:26:11 +00:00
Janet B. Anderson
a2b69080ca Removed config files for unused architecutres. 2004-01-23 19:06:07 +00:00
Janet B. Anderson
5924f1e002 Removed extra comma in findstring function. 2004-01-23 18:09:16 +00:00
Marty Kraimer
19eb4e7fd5 add ifdef __cplusplus 2004-01-23 16:26:32 +00:00
Jeff Hill
042f24ee8a added ca changes for R3.14.5 2004-01-22 23:11:08 +00:00
Janet B. Anderson
4b11e5242c Fixed .stt rule. Changed syntax of command to remove suffix. 2004-01-22 22:02:50 +00:00
Janet B. Anderson
ffb5098abc Fixed .stt rule. 2004-01-22 22:00:26 +00:00
Jeff Hill
21ea090431 fixed missing code interfacing back to net io subsystem 2004-01-22 21:04:03 +00:00
Jeff Hill
3ffea2456c hybernate when there are enobuf problems 2004-01-22 20:43:13 +00:00
Jeff Hill
2d41308609 hybernate send threads when there are enobuf problems 2004-01-22 20:37:20 +00:00
Jeff Hill
fbe397addb hybernate receive threads when there are enobuf problems 2004-01-22 20:31:21 +00:00
Jeff Hill
3c8efba3c4 hybernate send/receive threads when there are enobuf problems 2004-01-22 19:17:32 +00:00
Jeff Hill
5b1507e15e cosmetic 2004-01-22 19:09:06 +00:00
Jeff Hill
a624ca3bdd workaround for 68k cross compiler bug 2004-01-22 17:55:39 +00:00
Janet B. Anderson
59a2bedda5 Removed files with bad names and added files with correct names. 2004-01-22 15:55:06 +00:00
Janet B. Anderson
541986e5f4 Added PREPROCESS.cpp definition. 2004-01-22 15:02:06 +00:00
Janet B. Anderson
b384578105 Added null definitions for STATIC_LDFLAGS and RANLIB for cross builds. 2004-01-22 15:00:58 +00:00
Ralph Lange
91eaa26047 += First version of CA commandline tools (caget only) 2004-01-20 17:22:05 +00:00
Marty Kraimer
f61e5d1491 change wording 2004-01-20 17:03:58 +00:00
Janet B. Anderson
71c8913e2c Added info about COMPAT_TOOLS_313. 2004-01-20 16:48:36 +00:00
Janet B. Anderson
43f69c266e Added test on COMPAT_TOOLS_313. 2004-01-20 16:39:37 +00:00
Janet B. Anderson
f0b6960189 Added COMPAT_TOOLS_313. 2004-01-20 16:38:56 +00:00
Janet B. Anderson
206b24d4c5 Changed COMPAT313 to COMPAT_313. 2004-01-20 15:41:25 +00:00
Ralph Lange
b53ad8b82f Removed malloc.h reference (Eric says ANSI says stdlib.h) 2004-01-20 15:29:47 +00:00
Marty Kraimer
3bc5fb63d1 dont print ? as escaped character 2004-01-20 15:27:29 +00:00
Ralph Lange
3ea334068e Added parseOptions to add getopt() functionality (and allow compiling on WIN32) 2004-01-20 12:41:16 +00:00
cvs2svn
f58b4e2efd This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-01-20 12:38:42 +00:00
Janet B. Anderson
611d49a06c Updated the R3.13 compatability notes. 2004-01-19 21:15:35 +00:00
W. Eric Norum
157003598f Add dbtr note. 2004-01-19 19:54:37 +00:00
W. Eric Norum
0b3f346659 Don't seg-fault if no argument is passed to dbtr. 2004-01-19 19:52:08 +00:00
Marty Kraimer
e53964fbba wrong prototype fot devInit 2004-01-19 19:20:00 +00:00
Marty Kraimer
f24825aee9 bad arg to errlogPrintf 2004-01-19 19:14:38 +00:00
Janet B. Anderson
25d76153ff Fixed Makefile so distclean target will work. 2004-01-19 17:02:31 +00:00
Ralph Lange
adff31997d += catools 2004-01-19 16:11:49 +00:00
Ralph Lange
249152d650 += catools 2004-01-19 16:11:41 +00:00
Ralph Lange
bae8f2515e += caget 2004-01-19 16:08:30 +00:00
Janet B. Anderson
9e168bfd69 Changed nda to _USER_. 2004-01-19 15:02:30 +00:00
Ralph Lange
b69b906c14 Cosmetic changes. 2004-01-19 10:35:05 +00:00
Janet B. Anderson
6c2540a462 Updates from nda. 2004-01-16 22:59:07 +00:00
Janet B. Anderson
333d00abb9 Added APS Virtual LINAC Templates.
Added not about building R3.13 extensions.
2004-01-16 22:50:12 +00:00
Janet B. Anderson
118807d776 Removed CMPLR_PREFIX and CMPLR_SUFFIX definitions. 2004-01-16 17:36:25 +00:00
Janet B. Anderson
4325c27f3e Added SHRLIB_CFLAGS definition. 2004-01-16 17:34:42 +00:00
Janet B. Anderson
634696132e Change test to test on BUILD_CLASS not CROSS. 2004-01-16 17:33:40 +00:00
Janet B. Anderson
a03b21e635 Get os from T_A not OS_CLASS (dont want words with upper case letters). 2004-01-16 17:05:24 +00:00
Jeff Hill
b6e0dbaec7 cleanned up win32 thread entry 2004-01-15 23:24:08 +00:00
Janet B. Anderson
6775981bf6 Does not make sense to have a version number on loadable libraries. 2004-01-15 22:49:55 +00:00
Janet B. Anderson
0fde7b6d84 Added defines to make this a non cross build. 2004-01-15 22:16:52 +00:00
Janet B. Anderson
45363a24b0 Modified comments. 2004-01-15 22:15:09 +00:00
Janet B. Anderson
e513e30866 Moved LDLIBS_READLINE definition. 2004-01-15 22:14:11 +00:00
Janet B. Anderson
5f357e94b0 Removed versioning on install of loadable shrlibs. 2004-01-15 22:05:38 +00:00
Andrew Johnson
1425980268 Cleanup: removed two ancient unused routines. 2004-01-15 20:54:02 +00:00
Andrew Johnson
4c0bf5025f Fix issue with one unpatched Solaris compiler version. 2004-01-15 20:01:31 +00:00
Jeff Hill
0437370e49 fixed TCP and UDP information too close together in casr 2004-01-15 18:52:40 +00:00
Jeff Hill
d543774f33 fixed gnu warnings 2004-01-15 17:30:00 +00:00
Andrew Johnson
552e47ae5f These look like someone's leftovers. 2004-01-15 17:05:45 +00:00
Janet B. Anderson
6de4d8c7a2 Commented out PERLLIB definition. 2004-01-15 15:22:37 +00:00
Janet B. Anderson
10bf550911 Added New build targets. 2004-01-15 15:08:24 +00:00
Marty Kraimer
1c493e9ec0 fix type error 2004-01-15 13:35:38 +00:00
Jeff Hill
24d2d57d62 dont check to see if timer thread is suspended when blocking for it to shut down 2004-01-15 04:15:04 +00:00
Jeff Hill
b6b381cc78 fixed gnu warnings 2004-01-15 04:14:01 +00:00
Jeff Hill
5b4c37df17 make sure that evid is set before first subscription cb arrives 2004-01-15 03:16:54 +00:00
Jeff Hill
8bd3d4a8a0 fixed gnu warnings 2004-01-15 03:13:08 +00:00
Jeff Hill
67fbf44633 fixed io cancel shutdown order problem 2004-01-15 02:52:28 +00:00
Jeff Hill
a2531d6bc9 fixed gnu warnings 2004-01-15 02:51:35 +00:00
Jeff Hill
60a797048a many changes associated will disconnecting the channel but not disconnecting
the circuit
2004-01-15 01:42:49 +00:00
Janet B. Anderson
409aa721b9 Initial version. 2004-01-14 19:40:25 +00:00
Janet B. Anderson
448343bef8 Changed text to - Sequencer program not running 2004-01-14 15:20:45 +00:00
Marty Kraimer
0aa150f544 register dbLockShowLocked 2004-01-14 13:22:13 +00:00
Marty Kraimer
3771989a0c remove spin lock version 2004-01-14 13:20:24 +00:00
W. Eric Norum
4dc47cc3c7 Add epicsStrnCaseCmp(). 2004-01-13 23:07:11 +00:00
Janet B. Anderson
ca87b50a5a Removed sioc scripts. 2004-01-13 22:09:25 +00:00
Janet B. Anderson
a5cd52dad4 Initial version from Ned Arnold 2004-01-13 22:02:26 +00:00
Janet B. Anderson
fda69beae0 Initial version. 2004-01-13 22:02:13 +00:00
Janet B. Anderson
cb1e29e235 Changed $(CROSS_<name>) to $($(BUILD_CLASS)_<name>) 2004-01-13 21:38:17 +00:00
Janet B. Anderson
6c0bdcd717 Make SHRLIB_CFLAGS and override of previous definitions. 2004-01-13 21:35:23 +00:00
Janet B. Anderson
138ee471db Modified comment. 2004-01-13 16:39:33 +00:00
Janet B. Anderson
de70a70b1b Added COMPAT_313 macro for building/installing R3.13 compatability files. 2004-01-13 16:15:05 +00:00
Janet B. Anderson
2fd5fb4b22 Added dependancy comments. 2004-01-13 15:15:32 +00:00
Ralph Lange
0f3f74dbaf Cleaned up alarm status and severity string representation, alarmString.h is deprecated now. 2004-01-12 11:29:02 +00:00
W. Eric Norum
3f77bcdc08 Add timestamp stringing support. 2004-01-11 16:20:22 +00:00
Andrew Johnson
2d77802856 Changed to the EPICS Open License as agreed with ANL Legal. 2004-01-09 15:59:06 +00:00
Ralph Lange
bafee08673 Changed the strange way that receiveTimeoutNotify() was declared as HP's aCC compiler didn't like it. 2004-01-09 12:16:08 +00:00
Ralph Lange
78cce4015b Changed order of member initializers in tcpRecvWatchdog's constructor to avoid warning. 2004-01-09 10:57:35 +00:00
Ralph Lange
c140e69d40 Bugfix in tsDLList<T>::push 2004-01-09 09:38:05 +00:00
Jeff Hill
38599f8391 fixed template parameters to match 2004-01-09 01:30:28 +00:00
Jeff Hill
7166456564 throw srtandard exception 2004-01-09 01:06:38 +00:00
Jeff Hill
cde473e4d9 fixed names 2004-01-09 01:05:27 +00:00
Jeff Hill
f04fa5fdf3 many changes associated will disconnecting the channel but not disconnecting the circuit 2004-01-09 00:42:15 +00:00
Jeff Hill
60dde019c0 eliminate esscimqi_shuechanismImplemenedHerein 2004-01-08 23:04:58 +00:00
Jeff Hill
aba3613efc include <climits> 2004-01-08 23:04:25 +00:00
Jeff Hill
6691657c42 new list push method 2004-01-08 23:03:27 +00:00
W. Eric Norum
75ca062f1b Add simple device support for converting time to nicely-formatted string. 2004-01-08 21:10:29 +00:00
Ralph Lange
0dbaefd5d9 += version number for LOADABLE_SHRLIB. 2004-01-07 15:26:40 +00:00
Ralph Lange
f325c487bc Fixed LOADABLE_SHRLIB_PREFIX bug. 2004-01-07 14:13:54 +00:00
Ralph Lange
364e023331 Updated DST dates. 2004-01-07 10:58:20 +00:00
Ralph Lange
267d7593ba Works also for standard C comments. 2004-01-07 10:23:26 +00:00
Janet B. Anderson
3051293fe9 Fix for COMMANDLINE_LIBRARY = EPICS and no LD_LIBRARY_PATH. 2004-01-06 16:45:10 +00:00
Janet B. Anderson
d986ed523d Remove browse make target. 2003-12-22 19:43:29 +00:00
Janet B. Anderson
5e40c17b26 Added Darwin cppflag definition. 2003-12-22 19:40:58 +00:00
Janet B. Anderson
ef084aceaf The option -z ignore must preceed -z defs. 2003-12-18 22:10:38 +00:00
Janet B. Anderson
657a6c822a Reorganized *SHRLIB_LDFLAGS definitions. 2003-12-18 21:41:55 +00:00
Janet B. Anderson
7108f87c6e Added SHRLIB_CFLAGS=-KPIC. Added -z text to shrlib link lines. 2003-12-18 21:40:09 +00:00
Janet B. Anderson
416ec2c6ae Use SHRLIB_CFLAGS for library and loadable library source code compiles. 2003-12-18 21:37:34 +00:00
Janet B. Anderson
455060a705 Initial version. 2003-12-18 15:58:43 +00:00
Janet B. Anderson
8b15eddf12 Moved HOST_OPT to CONFIG. file. 2003-12-18 15:58:13 +00:00
Janet B. Anderson
a084474857 Initial version. 2003-12-18 15:35:28 +00:00
Janet B. Anderson
8d0d26b56d Removed -mcpu compiler option. Added code for 386,486,... cross builds 2003-12-18 15:34:38 +00:00
Janet B. Anderson
592660778d Use the default (i.e. no -mcpu=xxxx options) compiler settings. 2003-12-18 15:25:20 +00:00
Janet B. Anderson
4c4b80dc66 Added comments. 2003-12-18 15:23:24 +00:00
Janet B. Anderson
283fc8f3eb Moved HOST_OPT macro definition. 2003-12-18 15:14:38 +00:00
Janet B. Anderson
d9a1b65f36 Added comment line. 2003-12-17 17:28:32 +00:00
Janet B. Anderson
c9af50db0c Initial version. Used to mofdify created header files to avoid solaris
compiler warning messages when headers created from WIN32 build.
2003-12-17 17:05:55 +00:00
Janet B. Anderson
d7023b1f87 Changed order of _LDLIBS for consistancy. 2003-12-17 17:04:01 +00:00
Marty Kraimer
3f560514e2 changes so that it builds on solaris 2003-12-17 12:52:34 +00:00
Marty Kraimer
258ebe6bcd more changes for dbCaPutCallback 2003-12-16 20:13:36 +00:00
Marty Kraimer
fff249dd3a use callbackRequestProcessCallbackDelayed 2003-12-16 20:09:28 +00:00
Marty Kraimer
fdd78eaf81 support for dbCaPutCallback 2003-12-16 20:05:17 +00:00
cvs2svn
1758f60c79 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-12-16 20:02:24 +00:00
Marty Kraimer
13a780f4c4 Let calcoutRecord use device support 2003-12-16 19:51:34 +00:00
Marty Kraimer
5902d83d19 changes for dbCaPutCallback 2003-12-16 19:47:48 +00:00
Janet B. Anderson
d8ae672385 Added athlon flags. 2003-12-12 16:54:05 +00:00
Janet B. Anderson
89aa3edc12 Removed number of lines in comment. 2003-12-11 15:05:32 +00:00
Ralph Lange
03922dd993 Casting through a (void*) to avoid warnings on HP's native C++ compiler. (Found with motorRecord 5.2) 2003-12-10 15:11:43 +00:00
W. Eric Norum
943d2d2ac1 Add system command notes. 2003-12-08 23:17:43 +00:00
W. Eric Norum
d6c4117b35 Add support for iocsh 'system' command. 2003-12-08 20:37:14 +00:00
Marty Kraimer
9d57a77d90 issue message if FLNK is CA and doesnt access .PROC 2003-12-05 13:55:52 +00:00
Andrew Johnson
95859680f7 Needed for building on Solaris 9 2003-12-02 22:45:32 +00:00
Marty Kraimer
10fa0e0eb2 add epicsStrPrintEscaped 2003-12-01 16:04:23 +00:00
Marty Kraimer
b369035b9d add epicsStrPrintEscaped. 2003-12-01 16:03:31 +00:00
Andrew Johnson
47fc7f5d88 Change Tornado to use the patched compilers. 2003-11-21 21:22:24 +00:00
Andrew Johnson
0a3edefb39 Make cdCommands environment variable names match envPaths,
i.e. don't upper-case the app name.
Also added ARCH and IOC environment variables.
2003-11-21 21:11:30 +00:00
Andrew Johnson
3d5ab5cca5 Expanded the RELEASE consistency checking, now all target architecture
RELEASE.* files are checked, so you can't fool the system.
2003-11-21 20:33:00 +00:00
Andrew Johnson
68975ee309 Internal reorganization to simplify reading RELEASE files
Added -T option to allow manual setting of $top
2003-11-21 20:25:37 +00:00
Andrew Johnson
03a5551d93 Needed to build on Solaris 9. 2003-11-20 21:24:27 +00:00
Andrew Johnson
81fa76c132 Needed for building on Solaris 9 2003-11-20 21:14:32 +00:00
Jeff Hill
66959c07a8 return ECA_PUTFAIL instead of ECA_INTERNAL when unexpected write exception occurs 2003-11-14 16:55:09 +00:00
Jeff Hill
df1e65bc8a throw a standard exception 2003-11-14 16:52:55 +00:00
Jeff Hill
19dd302bd8 fixed regression tests so that they specify preemptive callback for local pv situation 2003-11-14 16:37:41 +00:00
Andrew Johnson
e0e0694821 Added the realclean target
removd command echo suppression to match other clean rules
2003-11-14 16:31:36 +00:00
W. Eric Norum
d2149209ea Fix nested comments in previous change. 2003-11-07 21:21:05 +00:00
W. Eric Norum
748e7cce1b Get rid of gcc complaint about C++ comments. 2003-11-07 19:15:21 +00:00
W. Eric Norum
71319ab5d5 Get rid ofgcc complaint about C++ comments. 2003-11-07 16:36:24 +00:00
Marty Kraimer
3cece37c92 add new notes 2003-11-06 17:11:02 +00:00
Marty Kraimer
9dc80154e3 changes for dbCaPutCallback and others 2003-11-06 17:09:21 +00:00
Marty Kraimer
ca17594d00 add devLoTestAsyn and devMbboDirectTestAsyn 2003-11-06 17:03:07 +00:00
cvs2svn
bf2447f1cc This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-11-06 17:03:00 +00:00
Marty Kraimer
18a3008f51 add devXxCallback 2003-11-06 16:57:57 +00:00
Marty Kraimer
04eb6ebb58 init_record now checks to see if state strings or values are defined during pass 0.
Previously if another record had a DBR_STRING link to
an mbboRecord it thought the field was a USHORT instead of an ENUM
2003-11-06 16:47:48 +00:00
Marty Kraimer
876b493e2c The fields ZRST,...,FFST are now special(SPC_MOD) 2003-11-06 16:45:20 +00:00
Marty Kraimer
d9805b979e make size of CALC 40 2003-11-06 16:43:48 +00:00
Marty Kraimer
46a8fac619 add dbCaPutLinkCallback 2003-11-06 16:39:05 +00:00
W. Eric Norum
eab7314e36 Clean up trailing \n on vxWorks input. 2003-11-04 21:55:27 +00:00
Marty Kraimer
a07722260f change DB CA to DB CA Link 2003-11-04 13:01:15 +00:00
W. Eric Norum
1c55c85de9 The IOC shell dose not convert a 0 command-line argument to a NULL pointer.
Allow "" to indicate that all record types should be printed.
2003-11-03 22:43:50 +00:00
Andrew Johnson
c095f483e9 Typo, s/NTP_FRACTION DENOMINATOR/NTP_FRACTION_DENOMINATOR/ 2003-10-29 19:51:12 +00:00
Andrew Johnson
a5921d2bea Missing closing $ in RCS keyword. 2003-10-29 19:43:24 +00:00
Jeff Hill
c26cd7fdce architecture independent manipulation of NTP stamps 2003-10-28 18:56:56 +00:00
Jeff Hill
c69536fc8e return an error condition if they try to start a preemptive callback enabled context
when the thread already has a single threaded context.
2003-10-28 16:05:49 +00:00
Jeff Hill
0712df904b keep circuit open with disconnected channels attached if the circuit
becomes unresponsive
2003-10-23 22:45:54 +00:00
Jeff Hill
70091854bc new unresponsive circuit notify method 2003-10-23 22:33:15 +00:00
Jeff Hill
ab2a2d7a9c new channel create received flag and new circuit responive, unresponsive, and
hangup methods
2003-10-23 22:32:45 +00:00
Jeff Hill
2011e6b87a increased locking requirements 2003-10-23 22:31:06 +00:00
Jeff Hill
fab73db5e8 timeout now results in unresponsive circuit notify and not an abort shutdown 2003-10-23 22:30:25 +00:00
Jeff Hill
be9a9afc68 removed unused method 2003-10-23 22:30:01 +00:00
Jeff Hill
f751b73665 increased locking requirements and added unresponsive/responsive
circuit notify methods
2003-10-23 22:27:52 +00:00
Jeff Hill
de880dbf39 new error code 2003-10-23 22:26:22 +00:00
Jeff Hill
d9f803937a fixedsearch interval computation 2003-10-21 22:26:20 +00:00
Jeff Hill
1b730ac8fc fixedsearch interval computation 2003-10-21 22:12:43 +00:00
Jeff Hill
3a2e71e46e fixed channel not destroyed if client disconnects during asynchronous
enum string table fetch
2003-09-29 23:15:01 +00:00
Jeff Hill
1cbb1c9b71 fixed channel not destroyed if client disconnects during asynchronous
enum string table fetch
2003-09-29 22:58:43 +00:00
Jeff Hill
3c4d947f2a cosmetic 2003-09-29 22:42:24 +00:00
Jeff Hill
44e31ae9f3 changes allowing the test to work with enumerated channels 2003-09-29 18:13:28 +00:00
Marty Kraimer
f9107d0233 add registrar(sncExampleRegistrar) 2003-09-25 11:38:06 +00:00
Janet B. Anderson
8633e72026 R3.14.4 2003-09-23 21:35:11 +00:00
Janet B. Anderson
1106ecd818 Added Registration code changed info. 2003-09-23 21:19:28 +00:00
Janet B. Anderson
6e6cd59674 More Updated for R3.14.4. 2003-09-23 21:09:31 +00:00
Janet B. Anderson
4cdc2575c5 Updated for R3.14.4. 2003-09-23 20:09:48 +00:00
Jeff Hill
9f52f7282d fixed errMessage fmt string 2003-09-23 16:52:59 +00:00
Janet B. Anderson
ed882fe82d Updated for R3.14.4. 2003-09-23 16:15:08 +00:00
W. Eric Norum
d0e58f9aa7 Add format string checking. 2003-09-21 21:44:48 +00:00
Janet B. Anderson
2c13aa03e2 Added JAR_PACKAGES and changes JAR command. 2003-09-21 21:42:09 +00:00
Janet B. Anderson
3717607892 Added release file names and cvs export command. 2003-09-19 18:36:54 +00:00
Janet B. Anderson
cb72210d45 Added RULES_PYTHON. 2003-09-19 18:05:57 +00:00
Janet B. Anderson
92d01c0e5f Initial version. 2003-09-19 16:12:33 +00:00
Janet B. Anderson
42506d8c1c Updated JAVA and PYTHON definitions. 2003-09-19 16:08:05 +00:00
W. Eric Norum
dfccee739f Clean up 'truncated' message.
Ensure that truncated errrlogMessage output is reported as such.
2003-09-17 19:35:45 +00:00
Jeff Hill
35d07ffbda changed the name of cxxCompilerDependencies.h to compilerDependencies.h 2003-09-17 19:25:31 +00:00
W. Eric Norum
d158974870 Use epicsVsnprintf to eliminate possibility of buffer overflows. 2003-09-17 18:51:44 +00:00
W. Eric Norum
2e922d7195 Move format-string checking conditional to cxxCompilerDependencies. 2003-09-17 14:43:26 +00:00
W. Eric Norum
e405ebbbee Merged into cxxCompilerDependencies.h 2003-09-17 14:33:08 +00:00
Janet B. Anderson
da15507f8d Added BASE_3_14 definition. 2003-09-16 20:56:22 +00:00
W. Eric Norum
8411adb987 Fix error message. 2003-09-16 18:58:59 +00:00
W. Eric Norum
c30c884687 Make arguments match format string. 2003-09-16 18:54:43 +00:00
Marty Kraimer
21fe691d96 errMessage must not get NULL argument 2003-09-16 18:43:52 +00:00
W. Eric Norum
22e21f268b Add gcc format-string checking. 2003-09-16 18:06:49 +00:00
Andrew Johnson
d45e1b13e4 Removed WIN32 getopt.* (GPL) 2003-09-16 17:56:21 +00:00
Andrew Johnson
8873934c9b These files contain GPL code, and not compatible with the EPICS Base license. I
don't care that this removal breaks the WIN32 port of EPICS, we can't legally
distribute this code as part of EPICS.  Someone will have to rewrite the getopt
functionality, or grab a version that is not GPL licensed (try BSD).
2003-09-16 17:45:19 +00:00
Marty Kraimer
c0c11c359f epicsSnprintf did not work. It is fixed. 2003-09-16 12:53:54 +00:00
Andrew Johnson
367e27d5f5 Support for configure/RELEASE.<hostarch>.<targetarch> files 2003-09-15 21:01:36 +00:00
Andrew Johnson
35bd1a76d1 Removed string calculation engine, only needed by Tim Mooney's recordtypes. 2003-09-12 19:13:54 +00:00
Jeff Hill
a887ca44d1 added two bug fix descriptions 2003-09-10 20:59:22 +00:00
Jeff Hill
dd273da508 added two bug fix descriptions 2003-09-10 20:45:56 +00:00
Jeff Hill
245cf129ff fixed disconnect callback when channel known to be disconnected 2003-09-10 17:09:25 +00:00
Jeff Hill
36b1f9e4ff fixed bug where entry was deleted from within entry's callback 2003-09-08 17:11:15 +00:00
Andrew Johnson
24a0197f88 Fix file stmt without quotes. 2003-09-05 20:54:28 +00:00
W. Eric Norum
e30e1159a2 Added note about vxWorks ledLib. 2003-09-05 18:13:25 +00:00
Andrew Johnson
42ea151881 Don't use '0' for string arguments which should be empty... 2003-09-05 16:55:05 +00:00
W. Eric Norum
ce201c6361 Use ledLib command-line editing on vxWorks. 2003-09-05 14:38:18 +00:00
Andrew Johnson
0784bbec71 Oops, missing upgrade documentation for the xxx_recordDeviceDriver routine. 2003-09-04 23:09:50 +00:00
Janet B. Anderson
84f9a59759 Updated release to R3.14.3. 2003-09-04 20:25:35 +00:00
Janet B. Anderson
1f3ea0308f Updated host type definition. 2003-09-04 20:20:13 +00:00
Andrew Johnson
cd5a4be610 Linux WRS cross-compiler architecture fix 2003-09-04 19:57:34 +00:00
Andrew Johnson
6560a3b0e8 3.14.2 => 3.14.3
Added Release Approval line to checklist.
2003-09-04 19:52:08 +00:00
Janet B. Anderson
b74ad51972 Updated text to R3.14.3 2003-09-04 19:37:08 +00:00
Janet B. Anderson
28ee04091d R3.14.3 2003-09-04 18:29:57 +00:00
Jeff Hill
0dd7efb4a2 fixed potential race during init 2003-09-03 22:52:48 +00:00
Jeff Hill
e7d51c5e30 documented level required to get a channel dump 2003-09-03 22:44:20 +00:00
Jeff Hill
0758661a87 mentioned that CA port numbers have been registered with iana 2003-09-03 22:31:48 +00:00
Janet B. Anderson
5622816a92 Initial version. 2003-09-03 19:21:42 +00:00
Janet B. Anderson
9bf6bef12e Moved JAVA_DIR to extensions/configure/os 2003-09-03 19:15:09 +00:00
Janet B. Anderson
9f95921260 Moved JAVA_DIR definition to extensions/configure/os. 2003-09-03 19:12:09 +00:00
Janet B. Anderson
bc0a241192 Moved JAVA_DIR definition to extensions/configure/os. 2003-09-03 19:05:18 +00:00
Janet B. Anderson
89717c16f4 Added ifdef JAVA. 2003-09-03 16:28:24 +00:00
Ralph Lange
20565b03eb Check and update (email) 2003-09-03 14:19:11 +00:00
Ralph Lange
0e2eddbcdb Bugfix for hpux-parisc (ARFLAGS defaults were creating problems) 2003-09-03 14:08:51 +00:00
Ralph Lange
b68112ba6a Enabled mixed building mode (see bug report [EPICS Base R3.14.x 0000040]) 2003-09-02 20:51:38 +00:00
Janet B. Anderson
dbbb6af9fd Get loadable prefix and suffix from UnixCommon. 2003-09-02 20:51:26 +00:00
Janet B. Anderson
49d2ce69fb Set loadable lib prefix to lib. 2003-09-02 20:45:53 +00:00
W. Eric Norum
26a6df0652 Clean up handling of redefinitions. 2003-09-02 20:07:18 +00:00
Janet B. Anderson
4675c84bff Set loadable library prefix to lib. 2003-09-02 19:41:29 +00:00
Jeff Hill
d5de77bc5a fixed false error detected by old gnu compiler 2003-09-02 16:22:29 +00:00
Andrew Johnson
cce78f0ec5 Added putenv lines to cdCommands output (Mark Rivers). 2003-09-02 15:56:09 +00:00
Andrew Johnson
9c99a40de2 Added envPaths to clean rule (Mark Rivers) 2003-09-02 15:38:33 +00:00
Ralph Lange
d6ab506379 Fixed HP aCC warnings 2003-09-01 20:05:12 +00:00
W. Eric Norum
e3c514ea9e Add *all* iocsh variables, not just the first.
A tip of the hat to Mark Rivers for fixing this.
2003-09-01 14:05:47 +00:00
Janet B. Anderson
fd33cf444e Added win32 comments. 2003-08-29 19:04:38 +00:00
Janet B. Anderson
abb03fdfdf Added changes for static build and loadable libraries. 2003-08-29 19:03:09 +00:00
Janet B. Anderson
6edd359e47 Removed references to *Obj.lib files. 2003-08-29 18:57:07 +00:00
Janet B. Anderson
bded68e14e Removed references to LIB_EXT. 2003-08-29 18:56:18 +00:00
Janet B. Anderson
eacaf67101 Syntax change for CONFIG definition. Added RELEASE.host.target include. 2003-08-28 18:40:39 +00:00
Janet B. Anderson
e35c8d0774 Used INSTALL_LIBRARY script to install loadable shared libraries. 2003-08-27 15:29:29 +00:00
Janet B. Anderson
b9b48dfa77 Fixed LOADABLE_LIBRARY rules. 2003-08-27 15:26:48 +00:00
Jeff Hill
fef72a5948 fixed borland build issues 2003-08-26 17:57:44 +00:00
Jeff Hill
48c4992799 made compatible with borlan bcc 2003-08-26 00:37:08 +00:00
Jeff Hill
ac13592d0a cosmetic 2003-08-25 21:07:10 +00:00
Marty Kraimer
c4184be87c get rid of lazt init for SMP safe 2003-08-25 19:42:59 +00:00
Jeff Hill
4472f60249 explicit templ instantiation for acient tornado compiler 2003-08-25 18:48:29 +00:00
Robert Soliday
088c35da63 Updated to work with Kylix. 2003-08-21 21:47:36 +00:00
Robert Soliday
bb0affc5ee Updated to workaround issue with Kylix. 2003-08-21 21:47:03 +00:00
Jeff Hill
44a9b25392 restructured osi socket interface to support address reuse variations
on darwin and win32
2003-08-21 18:33:58 +00:00
Jeff Hill
582a1aa0b5 restructured osi socket interface to support address reuse variations
on darwin and win32
2003-08-21 18:27:00 +00:00
Jeff Hill
3053584b56 doc for rh 7.3 process rundown bug 2003-08-21 16:04:32 +00:00
Jeff Hill
6c4c063692 workaround for bug in RH 7.3 Linux 2003-08-21 00:18:31 +00:00
Jeff Hill
038ef5db8d removed virtual destructor when there are no virtual functions 2003-08-20 16:14:39 +00:00
Jeff Hill
bf51f20126 upgraded ipAddrToAscii API and improved shutdown procedures 2003-08-20 16:12:46 +00:00
Jeff Hill
d2ac73f3ae upgraded ipAddrToAscii API and improved shutdown procedures 2003-08-20 16:07:20 +00:00
Jeff Hill
ef9ed01e0c upgraded ipAddrToAscii API and improved shutdown procedures 2003-08-20 15:59:30 +00:00
Jeff Hill
3035e9393c upgraded API and improved shutdown procedures 2003-08-20 15:57:38 +00:00
Jeff Hill
f7e9c7e1a1 upgraded API 2003-08-20 15:57:08 +00:00
Janet B. Anderson
2d50b04ca0 Added COMMON_DIR to JAVA_INCLUDES. 2003-08-15 14:43:59 +00:00
Janet B. Anderson
ce8fb13fe4 Create headers in O.Common. Make headers precious. 2003-08-15 14:41:38 +00:00
Janet B. Anderson
8c6d2ba91a Fixed create INSTALL_JAVA dir. Create header files in O.Common dir. 2003-08-15 14:05:17 +00:00
W. Eric Norum
7231e60a60 Add default JAVA_DIR. Can be overridden by CONFIG_SITE. 2003-08-14 21:17:10 +00:00
Janet B. Anderson
56fc694513 Updates and bug fixes. 2003-08-14 20:10:02 +00:00
Andrew Johnson
519f3d29cf Set PACT if error occurred during record init 2003-08-12 22:18:46 +00:00
Andrew Johnson
2f5b606d4a TPRO output 2003-08-12 22:11:14 +00:00
Andrew Johnson
89addc09d7 Enhanced the TPRO trace output to include the executing thread name 2003-08-12 21:53:14 +00:00
Andrew Johnson
3b796aaf2d Added makeBaseApp reminders. 2003-08-12 15:53:22 +00:00
W. Eric Norum
7fc94de997 Quick hack to avoid compiling this for machines other than the one Till's
now using.  Definitely needs to be fixed properly 'some day'.
2003-08-12 15:39:48 +00:00
Andrew Johnson
e967392227 Removed device entries from base.dbd into their own .dbd files.
Devices for TestAsyn support are not included by base.dbd, but have
their own devTestAsyn.dbd file if required.
2003-08-11 22:22:39 +00:00
Janet B. Anderson
e31993bb84 Changed template in macro name to all caps TEMPLATE. 2003-08-11 15:39:58 +00:00
Jeff Hill
4fb36b3104 made some improvements for SMP systems which are a good conservative design
but may not have been necessary
2003-08-09 00:02:11 +00:00
Marty Kraimer
cc06a46407 make it synchronou is delay <=0 2003-08-08 20:05:34 +00:00
Jeff Hill
6f330ed44b added another instantiation 2003-08-07 16:02:03 +00:00
Jeff Hill
95f694cfe7 fixed redundant logFdAdd deadlock message 2003-08-06 21:59:56 +00:00
Jeff Hill
5b1b3e80d8 improved the ca_task_exit() trest 2003-08-06 21:24:57 +00:00
Marty Kraimer
fbc524d308 more bug changes 2003-08-06 18:18:40 +00:00
Marty Kraimer
00c9d22936 suppress extra console message from logMsg 2003-08-06 18:17:30 +00:00
Marty Kraimer
31faca4b3d fix bad commit 2003-08-06 18:16:47 +00:00
Jeff Hill
78b532ee75 fixed race condition in virtual circuit shutdown sequence 2003-08-06 18:11:34 +00:00
Jeff Hill
ecc3206e11 allow freeList template arguments to be specified 2003-08-06 17:43:18 +00:00
Jeff Hill
4359938ed6 added virtual circuit free list and fixed race condition in virtual circuit shutdown sequence 2003-08-06 17:42:55 +00:00
Jeff Hill
1fb594833b added virtual circuit free list 2003-08-06 17:41:40 +00:00
Jeff Hill
4202695246 added test to detect ca context run down problems 2003-08-06 17:01:53 +00:00
Jeff Hill
5184d1807a added test to detect ca context run down problems 2003-08-06 16:47:59 +00:00
Marty Kraimer
9d14ea1a24 more changes for 3.14.3 2003-08-05 19:02:25 +00:00
Marty Kraimer
300af9164a src/vxWorks/src to libCom/osi/os/vxWorks; devLib works on vxWorks and RTEMS 2003-08-05 18:48:31 +00:00
Marty Kraimer
5d13666e7b devLib now works on RTEMS 2003-08-05 18:47:58 +00:00
Marty Kraimer
da00278de6 moved stuff to src/libCom/osi/os/vxWorks 2003-08-05 18:38:19 +00:00
cvs2svn
087f0afafb This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-08-05 18:38:18 +00:00
Marty Kraimer
f973722d5a suppress warning mesage if no record/device/driver support 2003-08-05 18:03:31 +00:00
Marty Kraimer
cd10c21647 Previously if a dbGetLink failed on one of the input links, dbGetLink was not called for the remaining links. Now it is 2003-08-05 18:01:43 +00:00
Marty Kraimer
6ea736d0ed put notify did not act properly if a record had disp=TRUE 2003-08-05 16:03:02 +00:00
Marty Kraimer
ad9f577faf fix bad comments 2003-08-05 15:21:15 +00:00
Janet B. Anderson
a892dffd12 Only build OBJS for vxWorks. 2003-08-04 21:42:39 +00:00
Janet B. Anderson
8a65a17f68 Added definitions for static build. 2003-08-04 18:40:20 +00:00
Janet B. Anderson
0fc52db97b Always build dynamic library search paths into executable. 2003-08-04 18:35:50 +00:00
Janet B. Anderson
54868e8723 Added linker options for static builds. 2003-08-04 18:25:32 +00:00
Robert Soliday
73b8c02bae Updated so it can now build SDDS in extensions. 2003-08-04 15:46:23 +00:00
Robert Soliday
ce29455411 Minor changes added for Borland's C++ compiler on Linux 2003-08-01 19:13:39 +00:00
Robert Soliday
2b85746e23 Added config files for Borland's C++ compiler on Linux. 2003-08-01 18:46:01 +00:00
Jeff Hill
8d2b3ce0ea improved warning message 2003-07-31 19:38:14 +00:00
Jeff Hill
4f9530500b improved warning message 2003-07-31 18:58:54 +00:00
W. Eric Norum
af35fa7eb8 Get things to build on RTEMS. 2003-07-31 16:52:32 +00:00
W. Eric Norum
b99238b93c Removing -ansi causes *lots* of other problems, so back out previous change. 2003-07-31 16:34:16 +00:00
Jeff Hill
e00b773830 set close-on-exec flag 2003-07-30 23:19:16 +00:00
Jeff Hill
d7b3f30111 avoid bracketing includes with 'extern "C"' to avoid unanticipated side effects 2003-07-30 23:18:09 +00:00
Jeff Hill
8439f488f0 fixed spelling 2003-07-30 23:13:06 +00:00
W. Eric Norum
ec11da3a05 RTEMS header files have just too many functions whose prototypes are removed
when -ansi is specified.
2003-07-30 21:42:54 +00:00
Andrew Johnson
09d50b3213 Export RELEASE entries in environment for tools (MSI in particular) 2003-07-30 21:35:30 +00:00
W. Eric Norum
12842d80dc Ensure that va_list typedef is in scope. 2003-07-30 21:19:37 +00:00
Jeff Hill
e69481d196 added wrapper around tmpfile so that we can have a windows specific
implementation
2003-07-30 19:11:31 +00:00
Jeff Hill
c1f1511fac fixed func name 2003-07-30 16:12:23 +00:00
Jeff Hill
e80f7b4ce1 added wrapper around tmpfile so that we can have a windows specific
implementation
2003-07-30 16:02:58 +00:00
Jeff Hill
fecb32a960 use epicsTempFile in libCom to get around weaknesses in the win32 tmpfile 2003-07-30 16:01:28 +00:00
Jeff Hill
1184e2ab21 now dependent on epicsTempFile in libCom 2003-07-30 16:00:43 +00:00
Jeff Hill
0f74d195e1 moved extern "C" down so that it does not have unanticipated side effects on
the included header files
2003-07-30 15:59:47 +00:00
Jeff Hill
44d234535e reorganized so that we maintain only one interface specification 2003-07-30 15:58:24 +00:00
Jeff Hill
d719a6859c reorganized so that we maintain only one interface specification - this
makes the posix implementation slightly slower, but these arealready
very slow routines so there shouldnt be any noticable impact.
2003-07-30 15:57:20 +00:00
Jeff Hill
19dba4225a toolsComm now calls libCom so there is a new build order 2003-07-30 15:53:25 +00:00
Andrew Johnson
a50b83b918 Documented env macros stuff better. 2003-07-29 23:31:16 +00:00
Andrew Johnson
b27dc431c8 Allow quoted filenames, needed if they contain any ${ENVMACRO}s 2003-07-29 22:44:27 +00:00
Andrew Johnson
a31f5e166c Expand environment variable macros in filenames 2003-07-29 20:25:37 +00:00
Andrew Johnson
e5f47d5807 Made various input arguments and internal variables const char*. 2003-07-29 19:50:31 +00:00
W. Eric Norum
098d421a56 Update README file to reflect some recent changes. 2003-07-29 18:02:42 +00:00
Jeff Hill
8faa55056d fixed visual c++ 6.0 build 2003-07-28 18:38:59 +00:00
Jeff Hill
e186fde80c removed logFdAdd from logClient 2003-07-25 22:11:38 +00:00
Jeff Hill
c811a766a2 removed logFdAdd 2003-07-25 21:27:35 +00:00
W. Eric Norum
a48245d385 RTEMS now provides the getprotobyXXX routines. 2003-07-25 21:12:35 +00:00
W. Eric Norum
6c9d48b8ff Ensure that tasks get at least RTEMS_MINIMUM_STACK_SIZE. 2003-07-25 21:05:51 +00:00
Jeff Hill
0034119588 installed logMsgToErrlog.cpp 2003-07-25 20:53:08 +00:00
Jeff Hill
3412fc65be installed 2003-07-25 20:52:06 +00:00
cvs2svn
d1d2a1bac8 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-07-25 19:43:41 +00:00
W. Eric Norum
0c8d2336b7 Echo lines read from scripts after macro expansion has completed. 2003-07-25 15:31:43 +00:00
Andrew Johnson
360c3f4a36 Fixed small bug which also allows the script to run properly on RH9.0
(I'm not sure why it wouldn't run before though)
2003-07-25 15:17:57 +00:00
W. Eric Norum
7e1db8bc95 Clean up example code. 2003-07-25 15:05:17 +00:00
Janet B. Anderson
e536c949e1 Fixed typo. 2003-07-25 14:53:08 +00:00
Janet B. Anderson
13fcc63153 Added fix for full path name when in cygwin shell. 2003-07-24 20:11:37 +00:00
W. Eric Norum
af073e289d Use explicit callback so that this code matches the Application
Developer's Guide description.
2003-07-24 19:37:51 +00:00
Jeff Hill
14d410cddb fixed redundant event queue wakeup 2003-07-24 00:07:16 +00:00
Andrew Johnson
b9fb6caffb Added envPaths functionality, and using these variables in st.cmd files 2003-07-23 22:08:50 +00:00
Andrew Johnson
9b2d79a5c8 Added double support to variable keywords. 2003-07-23 22:00:19 +00:00
Andrew Johnson
b0d5f21a87 Modify DBD variable keyword to allow both int and double variables. 2003-07-23 21:53:20 +00:00
Andrew Johnson
952387a9dc Install files listed in INC_vxWorks into include/os/vxWorks etc. 2003-07-23 20:19:36 +00:00
Andrew Johnson
c4bf96b4f8 registerRecordDeviceDriver.h no longer needed/appropriate. 2003-07-23 18:54:49 +00:00
Andrew Johnson
956ddf6695 Rename the registerRecordDeviceDriver routine. 2003-07-23 18:36:26 +00:00
Andrew Johnson
803f0bccbb Name the registerRecordDeviceDriver subroutine after the dbd file it was
created from; allows applications to be split up and loaded separately.
2003-07-22 19:48:35 +00:00
Andrew Johnson
f24895c325 Name the registerRecordDeviceDriver subroutine after the dbd file it was
created from; allows applications to be split up and loaded separately.
2003-07-22 15:36:29 +00:00
Andrew Johnson
e38db3e6d3 Documented the dbExpand -o option. 2003-07-22 14:59:38 +00:00
Janet B. Anderson
d96c061366 Build object files for vxWorks only. 2003-07-22 14:54:54 +00:00
Andrew Johnson
7bff35a687 Changed dbExpand rules to use new -o option to specifiy the output filename 2003-07-21 23:08:36 +00:00
Andrew Johnson
9991b7300f Added a -o outfile option (Bug #28)
Tidied up internals.
2003-07-21 23:01:43 +00:00
Andrew Johnson
b17bb61e68 First published version. 2003-07-21 15:34:51 +00:00
Andrew Johnson
55b72128e4 Added dbd variable keyword.
Reorganized the later parts of the file, which were not well-structured HTML
and which were causing problems with different versions of Amaya.
2003-07-18 16:11:24 +00:00
Jeff Hill
7455d3df07 code to remove channel from the event queue when it is deleted 2003-07-18 15:48:28 +00:00
Jeff Hill
a2d4436b83 doc 2003-07-18 15:48:08 +00:00
Andrew Johnson
e13dafb8af dbGetInfoPointer should return void*, not const char*
Short-circuit return in dbGetInfo if no item
2003-07-18 14:58:40 +00:00
W. Eric Norum
6661789143 Efficiency improvements. Cut down on copy operations. 2003-07-18 12:33:44 +00:00
Jeff Hill
a02b3b243e use close on exec option for sock 2003-07-16 23:28:02 +00:00
Jeff Hill
4428ca3661 fixed base to use close on exec options whenever creating a socket
on posix compliant systems
2003-07-16 23:22:22 +00:00
Jeff Hill
9dc92c9b03 turn on close on exec option 2003-07-16 22:09:58 +00:00
Jeff Hill
bb92682ed1 fixed base to use close on exec options whenever creating a socket
on posix compliant systems
2003-07-16 22:05:54 +00:00
Andrew Johnson
faf5bc3b0e Added variable keyword example.
What is this App directory supposed to be for?
2003-07-16 21:28:43 +00:00
Andrew Johnson
10414b4429 Added a debug variable to the example mySub routines,
making this settable from the ioc shell.
2003-07-16 21:20:45 +00:00
Andrew Johnson
44031b3e94 Renamed the support library to xxxSupport, to match previous tidy-up. 2003-07-16 20:10:50 +00:00
Andrew Johnson
7cf94abe78 Tidying up various things:
Made the support library contain only the xxxRecord and device support,
then renamed _APPNAME_Support.dbd to xxxSupport.dbd to reflect this.
Actually I should rename the library to libxxxSupport, but I didn't yet.

Now we link the dbSubExample.o code directly to the application,
renamed the registrar routine inside this to mySubRegistrar,
and also moved the registrar() dbd entry into _APPNAME_Include.dbd.
2003-07-16 20:03:52 +00:00
Andrew Johnson
025a73ca42 Added dbDumpVariable command 2003-07-16 19:32:20 +00:00
Andrew Johnson
da56d5e2b8 Added support for new variable dbd keyword, integers only so far. 2003-07-16 18:35:26 +00:00
Andrew Johnson
067c0a3db1 Added support for the new variable dbd keyword, converts to iocshVarDef 2003-07-16 18:24:17 +00:00
Jeff Hill
84666e054e fixed include 2003-07-16 18:03:02 +00:00
Jeff Hill
b697fc2acc fixed base to use close on exec options whenever creating a socket
on posix compliant systems
2003-07-16 17:45:09 +00:00
W. Eric Norum
a907bc4df3 Expand line *before* breaking into arguments.
a) Much more efficient
    b) Allows expansion to multiple arguments.
2003-07-16 12:35:33 +00:00
Andrew Johnson
835edde87d Added iocshRegisterVariable 2003-07-15 22:32:09 +00:00
Andrew Johnson
ac4890e5c9 Fixed locking problem in new iocshRegisterVariable routine. 2003-07-15 22:13:23 +00:00
W. Eric Norum
a4c82bfd9f Touch up previous fix. 2003-07-15 21:17:29 +00:00
W. Eric Norum
417dfcc191 Declare proper linkage for varCallFunc(). 2003-07-15 20:47:22 +00:00
W. Eric Norum
86158b907d Add support for environment variable macro expansion. 2003-07-15 20:38:09 +00:00
Andrew Johnson
d777dc654d Fixing Eric's rogue checkins from the main trunk. 2003-07-15 19:50:25 +00:00
W. Eric Norum
e70dba5bf9 Macro expansion using environment variables as macro definitions. 2003-07-15 19:04:29 +00:00
W. Eric Norum
3f61b69fa3 var, maclib, etc. 2003-07-15 19:00:09 +00:00
W. Eric Norum
1e2a950e0b Add support for simple variable set/show. 2003-07-15 18:55:14 +00:00
W. Eric Norum
a2b2ef414d Add registryChange function. 2003-07-15 18:52:30 +00:00
Jeff Hill
fb3dfef5e8 fixed build errors 2003-07-15 16:03:36 +00:00
cvs2svn
1fef904a9e This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-07-15 15:56:33 +00:00
W. Eric Norum
6ee9656f43 Add iocshArgPersistentString type. 2003-07-08 20:30:20 +00:00
W. Eric Norum
ac128fc048 Add iocshArgPersistentString type. 2003-07-08 20:14:54 +00:00
W. Eric Norum
7f56802052 Add epicsStrDup(). 2003-07-08 19:35:28 +00:00
Jeff Hill
ad6be99ae4 added notes on fixes to the ASCII error logging system 2003-07-08 19:14:16 +00:00
Jeff Hill
1ac82bb6bd fixed problem occurring when a message w/o a CR arrives and a CR from an old
message is found.
2003-07-08 18:36:23 +00:00
Jeff Hill
d97ca30986 fixed problems occurring when message size exceeds the buffer size 2003-07-08 18:32:04 +00:00
Jeff Hill
cd8b21fafc removed use of stdio due to win32 portability problems 2003-07-08 00:08:06 +00:00
Ralph Lange
ccd94cd911 Added PATH_FILTER to calls of tools (allows building in DOS-Box) 2003-07-07 08:24:53 +00:00
Janet B. Anderson
c6464b8797 Added loadable library definitions and rules 2003-07-03 16:17:38 +00:00
Jeff Hill
03e7db8ff0 improved port default 2003-07-03 15:17:11 +00:00
Jeff Hill
c8a106a50d fixed syntax error 2003-07-03 15:11:03 +00:00
Jeff Hill
773c12becc improved disconnect search interval 2003-07-03 15:07:51 +00:00
Jeff Hill
37476c6482 improved port default 2003-07-03 15:07:26 +00:00
Andrew Johnson
5f61e9c2fc Fractional seconds need leading 0s and all 9 digits
Changed timestamp output format to one that can be easily parsed
Added flush after each anomaly to stop pipes from buffering output
2003-06-27 15:06:46 +00:00
W. Eric Norum
6463589276 Simplify SHRLIB_SUFFIX. 2003-06-23 19:25:33 +00:00
Janet B. Anderson
ee4b51b2f9 Added OP_SYS_LDFLAGS. 2003-06-19 20:47:07 +00:00
Janet B. Anderson
1a9f922454 Added comments. 2003-06-19 17:35:11 +00:00
Janet B. Anderson
29aad6c0c0 Initial version 2003-06-19 17:33:51 +00:00
cvs2svn
686990ccfa This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-06-19 17:33:30 +00:00
Janet B. Anderson
004b21a7a5 Updated comments. 2003-06-19 17:29:38 +00:00
Janet B. Anderson
884514bb7a Included the gnu file. 2003-06-19 17:29:16 +00:00
Janet B. Anderson
7b5ad4c8f2 Initial version. 2003-06-19 17:25:51 +00:00
cvs2svn
d25ea19815 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2003-06-19 17:24:51 +00:00
Andrew Johnson
c606ecf428 Fixed problems when instantiating several iterator functions.
Shouldn't test code at least ensure that all compile properly?
2003-06-19 15:26:47 +00:00
Jeff Hill
8b0e1c88c4 fixed usage printf 2003-06-05 15:01:19 +00:00
Jeff Hill
83753fb9e6 converted pure vf to ordinary vf to avoid undefined behavior when
eventSignal is called in the destructor
2003-06-04 00:17:23 +00:00
Janet B. Anderson
8ecceef706 Get template file from INSTALL_TEMPLATES dir. 2003-06-03 20:06:48 +00:00
Janet B. Anderson
d5020308aa Added SHRLIB_ALLOW_UNDEFINEDS to allow undefined symbols. 2003-06-03 19:54:33 +00:00
Jeff Hill
fee9dce2a0 removed junk 2003-05-30 23:16:10 +00:00
Jeff Hill
5a9320525c moved udp deamon priority to below that of the beacon generator priority 2003-05-30 23:04:02 +00:00
Andrew Johnson
8a6cbfde20 Driver support names are const char* 2003-05-29 21:20:02 +00:00
Andrew Johnson
a063a2f0a9 s/Destroy/Delete/ in name of vxWorks routine. 2003-05-29 21:03:39 +00:00
W. Eric Norum
2612b722fa RTEMS can't use code compiled with -fPIC. 2003-05-29 21:03:38 +00:00
W. Eric Norum
12e97d5e91 Fix typo. 2003-05-29 18:27:37 +00:00
W. Eric Norum
78313c62f9 API change to epicsMessageQueue. 2003-05-29 13:18:26 +00:00
W. Eric Norum
1e84246cb7 Add 'size' argument to all epicsMessageQueue receive routines. 2003-05-29 03:10:16 +00:00
Jeff Hill
6d5061781c fixed race condition at thread exit 2003-05-23 00:11:59 +00:00
493 changed files with 24553 additions and 11088 deletions

67
LICENSE
View File

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

View File

@@ -14,7 +14,8 @@
TOP = .
include $(TOP)/configure/CONFIG
DIRS += config config/tools configure src
DIRS += config config/tools
DIRS += configure src
include $(TOP)/configure/RULES_TOP

View File

@@ -29,6 +29,7 @@ RANLIB = ranlib
ANSI=GCC
CPLUSPLUS=G++
OP_SYS_CPPFLAGS += -DDarwin
OP_SYS_CFLAGS += -no-cpp-precomp
OP_SYS_INCLUDES = -I/sw/include -I/usr/X11R6/include
OP_SYS_LDFLAGS += -L/sw/lib -L/usr/X11R6/lib

View File

@@ -21,7 +21,8 @@ include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
SHRLIB_SUFFIX = .sl
AR = ar -rc
AR = ar
ARFLAGS = -rc
# Configure OS vendor C compiler
ACC = cc

View File

@@ -45,7 +45,7 @@ ACC_SFLAGS_NO=
ACC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES =
ACC_SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
ACC_SHRLIB_LDFLAGS_YES = -G -h $@
# Configure OS vendor C++ compiler
CCC = $(SPARCWORKS)/bin/CC
@@ -63,7 +63,7 @@ CCC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic
CCC_SLIBS_NO=
CCC_DEPENDS_FLAG = -xM1
CCC_SHRLIB_CFLAGS_YES =
CCC_SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
CCC_SHRLIB_LDFLAGS_YES = -G -h $@
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
@@ -73,14 +73,18 @@ POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread
ARCH_DEP_LDLIBS_8 = -lCrun
ARCH_DEP_LDLIBS_9 = -lCrun
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
#Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_solaris_8 = Crun
SYS_DLL_LIBS_solaris_9 = Crun
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
# Runtime ldflags
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload

View File

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

View File

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

View File

@@ -41,10 +41,12 @@ POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread
ARCH_DEP_LDLIBS_8 = -lCrun
ARCH_DEP_LDLIBS_9 = -lCrun
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
#Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_solaris_8 = Crun
SYS_DLL_LIBS_solaris_9 = Crun
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
# Runtime ldflags

View File

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

View File

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

View File

@@ -18,7 +18,7 @@
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=2
EPICS_MODIFICATION=5
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -248,7 +248,7 @@ ifdef DBDEXPAND
$(DBDNAME): ../$(DBDEXPAND)
@echo Expanding dbd
@$(RM) $@
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) $< > $@
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) -o $@ $<
endif
$(LIBNAME): $(LIBOBJS)

View File

@@ -22,7 +22,6 @@ ACTIONS += install
ACTIONS += buildInstall
ACTIONS += depends
ACTIONS += rebuild
ACTIONS += browse
actionPart = $(word 1, $(subst $(DIVIDER), ,$@))
archPart = $(word 2, $(subst $(DIVIDER), ,$@))

View File

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

View File

@@ -17,14 +17,14 @@
# Common build definitions
#
ifndef CONFIG
CONFIG = $(TOP)/configure
endif
CONFIG ?= $(TOP)/configure
-include $(CONFIG)/os/CONFIG_COMPAT
-include $(CONFIG)/RELEASE
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH)
-include $(CONFIG)/RELEASE.Common.$(T_A)
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
include $(CONFIG)/CONFIG_COMMON

View File

@@ -57,6 +57,8 @@
# LIBRARY products to build and install
# LIBRARY_HOST products to build and install
# LIBRARY_IOC products to build and install
# LOADABLE_LIBRARY module to build and install
# LOADABLE_LIBRARY_HOST module to build and install
# SCRIPTS scripts and install
# SCRIPTS_HOST host system scripts to install
# SCRIPTS_IOC ioc system scripts to install
@@ -169,17 +171,6 @@ LIB_LDFLAGS+=$(LIB_LDFLAGS_DEFAULT)
endif
endif
# check for special includes:
#
ifneq ($(strip $(INC_$(OS_CLASS))),)
# os-specific includes go to the include/os-directory:
INC += $(subst -nil-,,$(INC_$(OS_CLASS)))
else
ifdef INC_DEFAULT
INC += $(INC_DEFAULT)
endif
endif
# concat specific library contents (if defined)
#
ifneq ($(strip $(LIBSRCS_$(OS_CLASS))),)
@@ -326,6 +317,22 @@ LIBRARY_HOST+=$(LIBRARY_HOST_DEFAULT)
endif
endif
ifneq ($(strip $(LOADABLE_LIBRARY_$(OS_CLASS))),)
LOADABLE_LIBRARY+=$(subst -nil-,,$(LOADABLE_LIBRARY_$(OS_CLASS)))
else
ifneq (,$(strip $(LOADABLE_LIBRARY_DEFAULT)))
LOADABLE_LIBRARY+=$(LOADABLE_LIBRARY_DEFAULT)
endif
endif
ifneq ($(strip $(LOADABLE_LIBRARY_HOST_$(OS_CLASS))),)
LOADABLE_LIBRARY_HOST+=$(subst -nil-,,$(LOADABLE_LIBRARY_HOST_$(OS_CLASS)))
else
ifneq (,$(strip $(LOADABLE_LIBRARY_HOST_DEFAULT)))
LOADABLE_LIBRARY_HOST+=$(LOADABLE_LIBRARY_HOST_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_LIBS_$(OS_CLASS))),)
PROD_LIBS += $(subst -nil-,,$(PROD_LIBS_$(OS_CLASS)))
else

View File

@@ -56,15 +56,15 @@ BASE_CPPFLAGS += $(OSITHREAD_DEFAULT_STACK_FLAGS_$(OSITHREAD_USE_DEFAULT_STACK))
#---------------------------------------------------------------
# Epics base build tools and tool flags
MAKEBPT = $(EPICS_BASE_HOST_BIN)/makeBpt$(HOSTEXE)
DBEXPAND = $(EPICS_BASE_HOST_BIN)/dbExpand$(HOSTEXE)
DBTORECORDTYPEH = $(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(HOSTEXE)
DBTOMENUH = $(EPICS_BASE_HOST_BIN)/dbToMenuH$(HOSTEXE)
MAKEBPT = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/makeBpt$(HOSTEXE))
DBEXPAND = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbExpand$(HOSTEXE))
DBTORECORDTYPEH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(HOSTEXE))
DBTOMENUH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToMenuH$(HOSTEXE))
REGISTERRECORDDEVICEDRIVER = $(PERL) $(EPICS_BASE_HOST_BIN)/registerRecordDeviceDriver.pl
# private versions of lex/yacc from EPICS
EYACC = $(EPICS_BASE_HOST_BIN)/antelope$(HOSTEXE)
ELEX = $(EPICS_BASE_HOST_BIN)/e_flex$(HOSTEXE) -S$(EPICS_BASE)/include/flex.skel.static
EYACC = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/antelope$(HOSTEXE))
ELEX = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/e_flex$(HOSTEXE)) -S$(EPICS_BASE)/include/flex.skel.static
YACC = $(EYACC)
LEX = $(ELEX)

View File

@@ -18,7 +18,7 @@
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=2
EPICS_MODIFICATION=5
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
@@ -27,3 +27,4 @@ EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_M
CVS_DATE="\$$Date$$"
CVS_TAG="\$$Name$$"
BASE_3_14=YES

View File

@@ -240,8 +240,8 @@ STATIC_LDFLAGS = $(STATIC_LDFLAGS_$(STATIC_BUILD))
STATIC_LDLIBS = $(STATIC_LDLIBS_$(STATIC_BUILD))
#--------------------------------------------------
# cflags for library src file
LIBRARY_SRCS=$(basename $(foreach lib,$(LIBRARY),$($(lib)_OBJS) $(LIBRARY_OBJS)))
# cflags for shared library src files (from SHRLIB_CFLAGS)
LIBRARY_SRCS=$(basename $(foreach lib,$(LIBRARY) $(LOADABLE_LIBRARY),$($(lib)_OBJS) $(LIBRARY_OBJS)))
LIBRARY_SRC_CFLAGS=$($(patsubst $*,SHRLIB,$(findstring $*,$(LIBRARY_SRCS)))_CFLAGS)
#--------------------------------------------------
@@ -254,24 +254,24 @@ OP_SYS_LDFLAGS += $(LDFLAGS_$(COMMANDLINE_LIBRARY))
# Flags
INCLUDES = -I. $(GENERIC_SRC_INCLUDES) $(INSTALL_INCLUDES) $(RELEASE_INCLUDES)\
$(TARGET_INCLUDES) $(USR_INCLUDES) $(OP_SYS_INCLUDES) $(CROSS_INCLUDES)
$(TARGET_INCLUDES) $(USR_INCLUDES) $(OP_SYS_INCLUDES) $($(BUILD_CLASS)_INCLUDES)
CFLAGS = $(CONFORM_CFLAGS) $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
CFLAGS = $(CONFORM_CFLAGS) $($(BUILD_CLASS)_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
CXXFLAGS = $(CONFORM_CXXFLAGS) $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
CXXFLAGS = $(CONFORM_CXXFLAGS) $($(BUILD_CLASS)_CXXFLAGS) $(OPT_CXXFLAGS)\
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS) $(LIBRARY_SRC_CFLAGS)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)\
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $($(BUILD_CLASS)_LDFLAGS)\
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
LDLIBS = $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
CPPFLAGS += $(CONFORM_CPPFLAGS) $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
CPPFLAGS += $(CONFORM_CPPFLAGS) $($(BUILD_CLASS)_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
$(OP_SYS_CPPFLAGS) $(OP_SYS_INCLUDE_CPPFLAGS) $(CODE_CPPFLAGS)
@@ -291,10 +291,15 @@ PATH_FILTER = $(1)
COMPILE.c = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_FLAG)
COMPILE.cpp = $(CCC) -c $(CPPFLAGS) $(CXXFLAGS) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_CXXFLAG)
#--------------------------------------------------
# C preprocessor command
PREPROCESS.cpp = $(CPP) $(CPPFLAGS) $(INCLUDES) $< > $@
#--------------------------------------------------
# Depends command
HDEPENDS_FLAGS =
# Use only dependancies from current top tree
HDEPENDS_INCLUDES = $(filter .%,$(subst -I,,$(INCLUDES)))
HDEPENDSFLAGS = -m $*$(DEP) $(HDEPENDS_INCLUDES) $@ $<
HDEPENDS_CMD_YES = -$(MKMF) $(HDEPENDS_FLAGS) $(HDEPENDSFLAGS)
@@ -319,6 +324,7 @@ INSTALL_PROD= $(PRODNAME:%= $(INSTALL_BIN)/%)
INSTALL_LIBS= $(LIBNAME:%=$(INSTALL_LIB)/%)
INSTALL_MUNCHS= $(MUNCHNAME:%=$(INSTALL_BIN)/%)
INSTALL_SHRLIBS= $(SHRLIBNAME:%=$(INSTALL_SHRLIB)/%)
INSTALL_LOADABLE_SHRLIBS= $(LOADABLE_SHRLIBNAME:%=$(INSTALL_SHRLIB)/%)
INSTALL_DLL_LINK_LIBS=$(DLL_LINK_LIBNAME:%=$(INSTALL_LIB)/%)
INSTALL_TCLLIBS=$(TCLLIBNAME:%=$(INSTALL_TCLLIB)/%)
INSTALL_TCLINDEX=$(TCLINDEX:%=$(INSTALL_TCLLIB)/%)
@@ -352,6 +358,7 @@ INSTALL_INC += $(foreach inc, $(INC), \
$(OS_INSTALL_INC) \
$(GENERIC_INSTALL_INC) \
$(GENERATED_INSTALL_INC) ) )
INSTALL_INC += $(addprefix $(INSTALL_INCLUDE)/os/$(OS_CLASS)/, $(INC_$(OS_CLASS)) )
#
# Rule 1

View File

@@ -98,12 +98,15 @@ CXXCMPLR=STRICT
# NOTE: os/CONFIG.$(EPICS_HOST_ARCH).$(EPICS_HOST_ARCH) files and
# os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(EPICS_HOST_ARCH) files may override
#
# NOTE WIN32: YES results in a DLL.
# NOTE WIN32: YES results in a DLL. Valid settings are
# SHARED_LIBRARIES=YES and STATIC_BUILD=NO
# SHARED_LIBRARIES=NO and STATIC_BUILD=YES
#
SHARED_LIBRARIES=YES
# Build client objects statically ?
# must be either YES or NO
#
STATIC_BUILD=NO
# Should header dependancy files be automatically generated
@@ -127,6 +130,22 @@ HOST_WARN=YES
# must be either YES or NO
CROSS_WARN=YES
# Create and/or install perl build tools for R3.13 extension builds?
# must be either YES or NO
#
# NOTE: Set to YES only if you have existing R3.13 extensions to be
# built with this base
#
COMPAT_TOOLS_313=NO
# Create and/or install files for R3.13 ioc application and extension builds?
# must be either YES or NO
#
# NOTE: Set to YES only if you have existing R3.13 ioc applications
# and extensions to be built with this base
#
COMPAT_313=NO
# Installation directory
#Note: INSTALL_LOCATION definition moved to configure/RELEASE file

View File

@@ -32,11 +32,15 @@
# EPICS_TIMEZONE=<name>::<minutesWest>:<start daylight>:<end daylight>
#NOTE: start and end are mmddhh that bis mounth,day,hour
# eg EPICS_TIMEZONE=CUS::360:033102:102802
# DST for 2003 US: Apr 6 - Oct 26
# EU: Mar 30 - Oct 26
#
# DST for 2004 US: Apr 4 - Oct 31
# EU: Mar 28 - Oct 31
# (see: http://www.worldtimezone.org/daylight.html)
#
# EPICS_TS_NTP_INET ntp or Unix time server ip addr.
EPICS_TIMEZONE=CUS::360:040602:102602
EPICS_TIMEZONE=CUS::360:040402:103102
#EPICS_TIMEZONE=MET::-60:032802:103102
EPICS_TS_NTP_INET=

View File

@@ -7,12 +7,16 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
#RELEASE Location of external products
# RELEASE: Define location of external products
#
# NOTE: RELEASE.$(EPICS_HOST_ARCH) files will override
# NB: Settings in RELEASE files can be overridden in files named
# RELEASE.$(EPICS_HOST_ARCH)
# RELEASE.Common.$(T_A)
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
# Tornado directory
VX_DIR = /usr/local/vw/tornado202
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

View File

@@ -211,8 +211,7 @@ $(COMMON_DIR)/%.dbd: %Include.dbd
@$(DBDDEPENDS_CMD)
@echo "Expanding dbd"
@$(RM) $@
$(DBEXPAND) $(DBDFLAGS) $< > dbExpand.tmp
$(MV) dbExpand.tmp $@
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
$(INSTALL_DBD)/%: %
@echo "Installing dbd file $@"
@@ -276,8 +275,9 @@ dbInstalls: $(DB_INSTALLS)
##################################################### register record,device,driver support
%_registerRecordDeviceDriver.cpp: %.dbd
@$(RM) $@
$(REGISTERRECORDDEVICEDRIVER) $< > $@
@$(RM) $@ temp.cpp
$(REGISTERRECORDDEVICEDRIVER) $< $(basename $@) > temp.cpp
$(MV) temp.cpp $@
.PRECIOUS: %_registerRecordDeviceDriver.cpp

View File

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

View File

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

View File

@@ -36,6 +36,7 @@ include $(CONFIG)/CONFIG_ADDONS
ifeq ($(findstring Host,$(VALID_BUILDS)),Host)
LIBRARY += $(LIBRARY_HOST)
LOADABLE_LIBRARY += $(LOADABLE_LIBRARY_HOST)
OBJS += $(OBJS_HOST)
PROD += $(PROD_HOST)
SCRIPTS += $(SCRIPTS_HOST)
@@ -74,15 +75,15 @@ endif
#---------------------------------------------------------------
# Create included Makefile for prod,testprod, and library targets
ifneq (,$(strip $(PROD) $(TESTPROD) $(LIBRARY)))
ifneq (,$(strip $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY)))
MakefileInclude: ../Makefile
@$(RM) $@
@$(PERL) $(TOOLS)/makeMakefileInclude.pl $(PROD) $(TESTPROD) $(LIBRARY) $@
@$(PERL) $(TOOLS)/makeMakefileInclude.pl $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY) $@
-include MakefileInclude
endif # PROD, TESTPROD, or LIBRARY defined
endif # PROD, TESTPROD, LIBRARY, or LOADABLE_LIBRARY defined
#---------------------------------------------------------------
# Products and Object libraries
@@ -93,10 +94,10 @@ PRODTARGETS += $(PRODNAME) $(MUNCHNAME) $(CTDT_SRCS) $(CTDT_OBJS) $(NMS)
# Libraries
#
LIBTARGETS += $(LIBNAME)
LIBTARGETS += $(INSTALL_LIBS)
LIBTARGETS += $(SHRLIBNAME) $(INSTALL_SHRLIBS) \
$(DLL_LINK_LIBNAME) $(INSTALL_DLL_LINK_LIBS)
LIBTARGETS += $(LIBNAME) $(INSTALL_LIBS) \
$(SHRLIBNAME) $(INSTALL_SHRLIBS) \
$(DLL_LINK_LIBNAME) $(INSTALL_DLL_LINK_LIBS) \
$(LOADABLE_SHRLIBNAME) $(INSTALL_LOADABLE_SHRLIBS)
#---------------------------------------------------------------
ifneq ($(CONFIG),$(TOP)/configure)
@@ -137,7 +138,7 @@ clean::
@echo "Cleaning"
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
$(INC) *$(RES) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
*.out MakefileInclude \
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) \
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS)
ifdef BAF
@$(RM) $(PROD_BAF) $(LIB_BAF) *$(BOF)
@@ -268,6 +269,10 @@ $(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(
@$(RM) $@
$(LINK.shrlib)
$(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
@$(RM) $@
$(LINK.loadable_shrlib)
# C++ munching for VxWorks
%.nm : %$(EXE)
@$(RM) $@
@@ -322,24 +327,27 @@ $(INSTALL_LIB)/%.lib: %.lib
@$(INSTALL_LIBRARY) -d -m 644 $< $(INSTALL_LIB)
$(INSTALL_SHRLIB)/lib%: lib%
@echo "Installing library $@"
@echo "Installing shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
ifdef SHRLIB_VERSION
@$(RM) $(subst .$(SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(SHRLIB_VERSION),,$@)
endif # SHRLIB_VERSION
ifneq ($(INSTALL_TCLLIB),$(INSTALL_BIN))
$(INSTALL_TCLLIB)/%: %
@echo "Installing Tcl library $@"
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
$(INSTALL_TCLLIB)/%: ../%
@echo "Installing Tcl library $@"
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
endif
$(INSTALL_LOADABLE_SHRLIBS): $(INSTALL_SHRLIB)/%: %
@echo "Installing loadable shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
$(INSTALL_CONFIG)/%: %
@echo "Installing config file $@"
@$(INSTALL) -d -m 644 $< $(@D)
@@ -391,5 +399,3 @@ $(INSTALL_TEMPLATES_SUBDIR)/%: %
endif # BASE_RULES_BUILD
# EOF RULES_BUILD

View File

@@ -16,11 +16,12 @@
JAVA_INC = $(JAVA_DIR)/include
JAVA_BIN = $(JAVA_DIR)/bin
JAVA_INCLUDES += -I${JAVA_INC} -I${JAVA_INC}/${OS_CLASS}
JAVA_INCLUDES += -I$(JAVA_INC) -I$(JAVA_INC)/$(OS_CLASS) -I$(COMMON_DIR)
JAVA_INCLUDES += -I$(JAVA_INC) -I$(JAVA_INC)/$(word 1, $(subst -, ,$(T_A))) -I$(COMMON_DIR)
JAVACCMD = $(subst \,/,$(JAVA_BIN)/javac$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVACFLAGS))
JAVAHCMD = $(subst \,/,$(JAVA_BIN)/javah$(EXE) -d $(COMMON_DIR) -force $(CLASSPATH) $(JAVAHFLAGS))
JARCMD = $(subst \,/,$(JAVA_BIN)/jar$(EXE) $(JAR_OPTIONS) $(COMMON_JAR) $(JARINPUT))
JARCMD = $(subst \,/,$(JAVA_BIN)/jar$(EXE) $(JAR_OPTIONS) $(COMMON_JAR) $(JARINPUT) $(JARPACKAGES))
#-------------------------------------------------------
vpath %.java ..
@@ -28,13 +29,20 @@ vpath %.java ..
CLASSPATH=-classpath $(INSTALL_JAVA)$(addprefix :,$(USR_CLASSPATH))
SOURCEPATH=-sourcepath .:..:../..
#-------------------------------------------------------
# Java directory
ifdef JAVA
JAVA_DIRECTORY_TARGETS += $(INSTALL_JAVA)
endif
#-------------------------------------------------------
# Java native method C header files
JAVAHFLAGS += $(USR_JAVAHFLAGS)
COMMON_JAVAINC += $(addprefix $(COMMON_DIR)/,$(JAVAINC))
JAVAINC_CLASSFILES += $(addprefix $(INSTALL_JAVA)/,$(subst _,/,$(subst .h,.class,$(JAVAINC))))
JAVAINC_CLASSNAMES += $(subst _,.,$(subst .h,,$(JAVAINC)))
COMMON_JAVAINC += $(addprefix $(COMMON_DIR)/,$(JAVAINC))
#-------------------------------------------------------
# Java class files
@@ -53,9 +61,11 @@ DEPTESTJAVA += $(subst .class,.java,$(TESTCLASSES))
COMMON_JAR += $(addprefix $(COMMON_DIR)/,$(JAR))
INSTALL_JAR =$(addprefix $(INSTALL_JAVA)/,$(JAR))
JARMANIFEST += $(firstword $(trim $(MANIFEST) $(JAR_MANIFEST)))
JARMANIFEST += $(firstword $(MANIFEST) $(JAR_MANIFEST))
JARINPUT += $(subst .java,.class,$(JAR_INPUT))
JARDEPFILES += $(JARINPUT) $(JARMANIFEST)
JARDEPFILES += $(addprefix $(INSTALL_JAVA)/,$(subst .java,.class,$(JAVA))) $(JARINPUT)
JARPACKAGES += $(foreach pkg,$(JAR_PACKAGES),-C $(INSTALL_JAVA) $(subst .,/,$(pkg)))
ifneq ($(JARMANIFEST),)
JAR_OPTIONS = cvmf $(JARMANIFEST)
else
@@ -64,10 +74,10 @@ endif
#-------------------------------------------------------
# Java doc definitions
ifeq ($(JAVADOC),YES)
ifdef JAVADOC
JAVADOCFLAGS += $(USR_JAVADOCFLAGS)
JAVADOCCMD = $(subst \,/,$(JAVA_BIN)/javadoc$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVADOCFLAGS))
INSTALL_JAVADOC = $(CLASSES:%.class=$(INSTALL_HTML)/%.html)
INSTALL_JAVADOC = $(addprefix $(INSTALL_HTML)/,$(JAVADOC))/index.html
endif
#-------------------------------------------------------
@@ -81,7 +91,7 @@ buildInstall : build
rebuild: clean install
inc: $(INSTALL_CLASSES) $(COMMON_JAVAINC)
inc: $(JAVA_DIRECTORY_TARGETS) $(INSTALL_CLASSES) $(COMMON_JAVAINC)
build: inc
@@ -95,8 +105,10 @@ clean::
@$(RM) $(INSTALL_JAR) $(INSTALL_JAVADOC)
@$(RM) $(COMMON_TESTCLASSES) $(COMMON_JAR) $(COMMON_JAVAINC)
$(INSTALL_JAVA):
ifdef JAVA_DIRECTORY_TARGETS
$(JAVA_DIRECTORY_TARGETS):
$(MKDIR) -p $@
endif
$(COMMON_JAVAINC):$(JAVAINC_CLASSFILES)
@echo Creating header files $(COMMON_JAVAINC)
@@ -108,23 +120,26 @@ $(COMMON_TESTCLASSES): $(addprefix ../,$(DEPTESTJAVA))
@$(RM) $@
$(JAVACCMD) -d $(COMMON_DIR) $^
$(INSTALL_CLASSES): $(INSTALL_JAVA) $(addprefix ../,$(DEPJAVA))
$(INSTALL_CLASSES): $(addprefix ../,$(DEPJAVA))
@echo Creating java class files
@$(RM) $@
$(JAVACCMD) -d $(INSTALL_JAVA) $^
$(INSTALL_JAVADOC): $(INSTALL_JAVA) $(addprefix ../,$(DEPJAVA))
@echo Creating java class files
$(INSTALL_JAVADOC): $(addprefix ../,$(JAVA))
@echo Creating java doc files
@$(RM) $@
$(JAVADOCCMD) -d $(INSTALL_JAVA) $^
$(JAVADOCCMD) -d $(addprefix $(INSTALL_HTML)/,$(JAVADOC)) $^
$(COMMON_DIR)/%.jar: $(JARDEPFILES)
@echo Creating java jar file $@
@$(RM) $@
$(JARCMD)
$(INSTALL_JAVA)/%.jar: $(INSTALL_JAVA) $(COMMON_DIR)/%.jar
$(INSTALL_JAVA)/%.jar: $(COMMON_DIR)/%.jar
@echo "Installing java jar file $@"
@$(INSTALL) -d -m 644 $< $(@D)
.PHONY: all install buildInstall rebuild clean build inc
.PRECIOUS: $(COMMON_JAVAINC)

View File

@@ -68,6 +68,7 @@ $(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
# Although RTEMS uses gcc, it wants to use gcc its own way
CROSS_CPPFLAGS =
CROSS_LDFLAGS =
SHRLIB_CFLAGS =
#--------------------------------------------------
# operating system class (include/os/<os_class>)

View File

@@ -24,6 +24,8 @@ OBJ = .o
LIB_PREFIX = lib
LIB_SUFFIX = .a
SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
LOADABLE_SHRLIB_SUFFIX = .so
LOADABLE_SHRLIB_PREFIX = lib
#-------------------------------------------------------
# names of libraries to build
@@ -31,19 +33,18 @@ SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
# <lib> -> lib<lib>.so.<version>
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(SHRLIB_SUFFIX))
LOADABLE_SHRLIBNAME = $(LOADABLE_BUILD_LIBRARY:%=$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX))
#-------------------------------------------------------
# shrlib: DEPLIBS, LDFLAGS, and LDLIBS definitions
LIB_EXT = $(LIB_SUFFIX)
# SHRLIB_LIBS deprecated
LIB_LIBS += $(SHRLIB_LIBS)
SHRLIB_DEPLIBS=$(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
SHRLIB_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(LIB_LIBS) $(USR_LIBS) \
@@ -58,7 +59,7 @@ SHRLIBDIR_LDFLAGS += $(sort $(SHRLIB_DEPLIB_DIRS:%=-L%))
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
PROD_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(PROD_LIBS) $(USR_LIBS)\
@@ -78,6 +79,8 @@ LINK.cpp = $(CCC) -o $@ $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS)
LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
LINK.shrlib = $(CCC) -o $@ $(SHRLIB_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS)
LINK.shrlib += $(LIB_LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
LINK.loadable_shrlib = $(CCC) -o $@ $(LOADABLE_SHRLIB_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS)
LINK.loadable_shrlib += $(LIB_LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
#--------------------------------------------------
# Operating system definitions

View File

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

View File

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

View File

@@ -55,3 +55,4 @@ LDLIBS_READLINE = -lreadline
# line in CONFIG_SITE.darwin-ppc.Common to use GNU readline
# command-line editing:
#COMMANDLINE_LIBRARY=READLINE

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -25,15 +25,28 @@ OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDLIBS += -lrt
ARCH_DEP_CPPFLAGS += -D_X86_
ARCH_DEP_CFLAGS += -mcpu=pentium
# Set runtime path for shared libraries
RUNTIME_LDFLAGS_YES = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
ifdef CROSS
ifeq ($(BUILD_CLASS),CROSS)
ifeq ($(EPICS_HOST_ARCH),linux-x86)
# Added for 386,486,... cross builds
CMPLR_PREFIX=
CROSS_INCLUDES=
CROSS_LDFLAGS=
# Use -w not -Wall
#WARN_CFLAGS_YES = -w
#WARN_CXXFLAGS_YES = -w
-include $(CONFIG)/os/CONFIG_SITE.Common.linux-x86
-include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
-include $(CONFIG)/os/CONFIG_SITE.linux-x86.linux-x86
else
GNU_TARGET=i586-pc-linux-gnu
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
endif
LDLIBS_READLINE = -lreadline -lcurses

View File

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

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

View File

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

View File

@@ -28,10 +28,9 @@ POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
# Set runtime path for shared libraries
RUNTIME_LDFLAGS_YES = $(SHRLIB_SEARCH_DIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
ifdef CROSS
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=sparc-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
@@ -39,6 +38,7 @@ endif
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

View File

@@ -12,4 +12,6 @@ include $(CONFIG)/os/CONFIG.Common.solaris-sparc
# CONFIG.Common.solaris-sparc
OP_SYS_LDLIBS_8 = -lc
OP_SYS_LDLIBS_9 = -lc
OP_SYS_LDFLAGS += -R$(GNU_LIB) -L$(GNU_LIB)

View File

@@ -29,10 +29,9 @@ OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
ARCH_DEP_CPPFLAGS = -D_X86_
# Set runtime path for shared libraries
RUNTIME_LDFLAGS_YES = $(SHRLIB_SEARCH_DIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
ifdef CROSS
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=x86-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
@@ -40,4 +39,5 @@ endif
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))

View File

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

View File

@@ -21,7 +21,6 @@ EXE =
OBJ = .o
LIB_PREFIX =lib
LIB_SUFFIX = .a
LIB_EXT = .a
MUNCH_SUFFIX = .munch
#-------------------------------------------------------
@@ -34,7 +33,7 @@ LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
@@ -135,6 +134,11 @@ LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
CFLAGS_ctdt = $(filter-out -pedantic,$(CFLAGS)) -fdollars-in-identifiers
COMPILE.ctdt = $(CC) -c $(CPPFLAGS) $(CFLAGS_ctdt) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_FLAG)
#--------------------------------------------------
# C preprocessor command
VXCPPFLAGS = $(filterout $(OP_SYS_INCLUDE_CPPFLAGS),$(CPPFLAGS))
PREPROCESS.cpp = $(CPP) $(VXCPPFLAGS) $(INCLUDES) $< > $@
#--------------------------------------------------
# Allow site overrides
-include $(CONFIG)/os/CONFIG_SITE.Common.vxWorksCommon

View File

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

View File

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

View File

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

View File

@@ -21,9 +21,11 @@ SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
-install_name $(firstword $(SHRLIB_SEARCH_DIRS))/$@ \
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
SHRLIB_SUFFIX = $(addprefix .,$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)).dylib
SHRLIB_SUFFIX = .$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).dylib
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
LOADABLE_SHRLIB_LDFLAGS = -bundle -flat_namespace -undefined suppress
#
# Position-independent code is the default on Darwin.
#

View File

@@ -16,10 +16,11 @@ AR = ar -rc
RANLIB=
LD = ld -r
# Always keep libc shared to force using the one supplied with the
# target machine (HP system and libc must match - important e.g. for
# multi-CPU-systems)
STATIC_LDFLAGS_YES = -static -l:libc.sl
STATIC_LDFLAGS_YES= -Wl,-a,archive
STATIC_LDFLAGS_NO =
STATIC_LDLIBS_YES = -Wl,-a,default
STATIC_LDLIBS_NO =
# Switch explicitly from default DCE threads to posix threads
POSIX_CPPFLAGS_YES += -D_REENTRANT -D_PTHREADS -D_POSIX_C_SOURCE=199506L
@@ -27,3 +28,4 @@ USR_SYS_LIBS += pthread
# C++ templates need PIC definition also in link phase
SHRLIB_LDFLAGS += -shared -fPIC
LOADABLE_SHRLIB_LDFLAGS += $(SHRLIB_LDFLAGS)

View File

@@ -43,15 +43,13 @@ WARN_CXXFLAGS_NO =
OPT_CXXFLAGS_YES = +O3
OPT_CXXFLAGS_NO = -g
# Always keep libc shared to force using the one supplied with the
# target machine (HP system and libc must match - important e.g. for
# multi-CPU-systems)
STATIC_LDFLAGS_YES= -Wl,-a,archive -l:libc.sl
STATIC_LDFLAGS_YES= -Wl,-a,archive
STATIC_LDFLAGS_NO =
STATIC_LDLIBS_YES =
STATIC_LDLIBS_YES = -Wl,-a,default
STATIC_LDLIBS_NO =
TARGET_LDFLAGS += -AA -mt
SHRLIB_LDFLAGS = -b
LOADABLE_SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS)

View File

@@ -1,13 +0,0 @@
# $Id$
#
# Definitions for linux-mpc82xx host - linux-mpc82xx target builds
# Sites may override these definitions in CONFIG_SITE.linux-mpc82xx.linux-mpc82xx
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /usr
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++

View File

@@ -1,14 +1,13 @@
# CONFIG.lynxos-68k.Common
# CONFIG.linux-x86-borland.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for lynxos-68k host archs
# Sites may override these definitions in CONFIG_SITE.lynxos-68k.Common
# Definitions for linux-x86-borland host builds
# Sites may override these definitions in CONFIG_SITE.linux-x86-borland.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
WIND_HOST_TYPE = lynxos
WIND_HOST_TYPE = x86-linux

View File

@@ -0,0 +1,224 @@
# CONFIG.linux-x86-borland.linux-x86-borland
#
# $Id$
#
# Definitions for linux-x86-borland host - linux-x86-borland target builds
# Sites may override these definitions in CONFIG_SITE.linux-x86-borland.linux-x86-borland
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
SHRLIB_CFLAGS =
GNU_DIR = /usr
KYLIX=1
BORLAND_INC_STLPORT = $(BORLAND)/include/stlport
BORLAND_INC = $(BORLAND)/include
BORLAND_LIB = $(BORLAND)/lib
BORLAND_BIN = $(BORLAND)/bin
WINLINK = $(BORLAND_BIN)/ilink -q
#
# Configure Borland C compiler
# -q suppress compiler identification banner
# -a8 quad word alignment
#CCLINKOPT = -q -a8 -I/usr/include
CCLINKOPT = -q -a8
CC = $(BORLAND_BIN)/bc++ $(CCLINKOPT)
LD = $(BORLAND_BIN)/bc++ -r
RANLIB =
#
# __STDC__=0 works but not as cleanly as with
# Microsoft Visual C++.
# The Borland header files use ifdef __STDC__
# to disable many nice things. This is overridden
# by defining NO_BORLAND_STDC in the Makefile.
#
ifdef NO_BORLAND_STDC
CONFORM_CFLAGS_ANSI =
CONFORM_CFLAGS_STRICT =
else
CONFORM_CFLAGS_ANSI = -D__STDC__=0
CONFORM_CFLAGS_STRICT = -D__STDC__=0
endif
CONFORM_CFLAGS_TRAD =
# -w display warnings on
# -g0 no limit to warning messages
# some warning message here are always disabled because they are
# trivial and numerous
# -w-8012 Comparing signed and unsigned values
# -w-8060 Possibly incorrect assignment
# -w-8071 Conversion may lose significant digits
WARN_CFLAGS_YES = -w -g0 -w-8012 -w-8060 -w-8071 -w-dup
# -w- display warnings off
WARN_CFLAGS_NO = -w-
#
# -k- turn off standard stack frame
# -H- turn off precompiled headers
# -R- don't include browser info in .obj files
# -O1 optimization for size
# -v- turn off source debugging
# -vi control expansion of inline functions
OPT_CFLAGS_YES = -k- -H- -R- -O1 -v- -vi
#
OPT_CFLAGS_NO =
# OS vendor c preprocessor
CPP = $(BORLAND_BIN)/bcpp
# Configure OS vendor C++ compiler
#
# __STDC__=0 works but not as cleanly as with
# Microsoft Visual C++.
# The Borland header files use ifdef __STDC__
# to disable many nice things. This is overridden
# by defining NO_BORLAND_STDC in the Makefile.
#
CCC = $(BORLAND_BIN)/bc++ $(CCLINKOPT)
ifndef NO_BORLAND_STDC
CONFORM_CXXFLAGS_NORMAL = -D__STDC__=0
CONFORM_CXXFLAGS_STRICT = -D__STDC__=0
endif
# -w display warnings on
# -g0 no limit to warning messages
# -w-8012 Comparing signed and unsigned values
# -w-8060 Possibly incorrect assignment
# -w-8071 Conversion may lose significant digits
# -w-8008 Condition is always true or always false (compile time
# know template parameters causes this to spew garbage)
# -w-8027 Functions containing reserved words are not expanded inline
# (Some compilers are better than others with inline)
# -w-8066 Unreachable code (compile time know template parameters
# causes this to spew garbage)
# -w-8080 'identifier' declared but never used
# (instantiating unused static const external parameters is
# anachronistic compiler practice)
# -w-8004 'identifier' is assigned a value that is never used
# (compile time know template parameters
# causes this to spew garbage)
# -w-8026 Functions with exception specifications are not expanded inline
#
WARN_CXXFLAGS_YES = -w -g0 -w-8012 -w-8060 -w-8071 -w-8008 -w-8027 -w-8066 -w-8080 -w-8004 -w-8026
# -w- display warnings off
WARN_CXXFLAGS_NO = -w-
#
# -k- turn off standard stack frame
# -H- Turn off precompiled headers
# -R- Don't include browser info in .obj files
# -O1 optimization for size
# -v- turn off source debugging
# -vi control expansion of inline functions
OPT_CXXFLAGS_YES = -k- -H- -R- -O1 -v- -vi
#
OPT_CXXFLAGS_NO =
# -c case sensitive linking
# -C clear state before linking
# -Gi generate import library
# -Gn no state files
# -Tpd targets a Windows .DLL file
# -x no map
# -w display warnings on
#LINK_OPT_FLAGS_YES = -c -C -Gi -Gn -Tpd -x -w
#LINK_OPT_FLAGS_NO = -c -C -Gi -Gn -Tpd -x -w-
#Linux_DLLFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT)) $(TARGET_LDFLAGS) $(LIB_LDFLAGS)
OPT_LDFLAGS =
ARCH_DEP_CFLAGS=
# to identify the general architecture class:
# should be BSD, SYSV, WIN32, ...
# is: WIN32, sun4, hpux, linux, ...
#
OS_CLASS=Linux
OBJ=.o
# Problem: BorlandC does not recognize *.cc as C++ source,
# we have to compile xx.cc using the flag -P xx.cc,
SOURCE_CXXFLAG = -P
# Operating system flags
OP_SYS_CFLAGS =
#
# Borland specific include files
#
OP_SYS_INCLUDES = -I/usr/include
#
#-------------------------------------------------------
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
PROD_DEPLIBS= $(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).so, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).a, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
SHRLIB_DEPLIBS= $(foreach lib,$(LIB_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).so, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).a, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
PROD_SYS_DEPLIBS= $(foreach lib,$(PROD_SYS_LIBS), \
$(firstword $(wildcard \
/lib/$(LIB_PREFIX)$(lib).so \
/lib/$(LIB_PREFIX)$(lib).a \
/usr/lib/$(LIB_PREFIX)$(lib).so \
/usr/lib/$(LIB_PREFIX)$(lib).a) \
$(lib)))
PROD_LDLIBS = $(addprefix lib, $($*_LDLIBS)) \
$(notdir $(PROD_DEPLIBS)) \
$(notdir $(PROD_SYS_DEPLIBS)) \
$(addprefix lib, $($*_SYS_LIBS) $(USR_SYS_LIBS))
SHRLIB_LDLIBS = $(addprefix lib, $($*_LDLIBS)) \
$(notdir $(SHRLIB_DEPLIBS)) \
$(addprefix lib, $($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS)) $(LDLIBS)
LDLIBS_STATIC_YES = LDLIBS
LDLIBS_SHARED_NO = LDLIBS
LDLIBS_SHARED_YES = LDLIBS
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
empty:=
space:= $(empty) $(empty)
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
SHRLIB_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(SHRLIB_DEPLIBS))
PRODDIR_LDFLAGS = -L$(subst $(space),:,$(sort $(PROD_DEPLIB_DIRS) $(BORLAND_LIB)))
SHRLIBDIR_LDFLAGS = -L$(subst $(space),:,$(sort $(SHRLIB_DEPLIB_DIRS) $(BORLAND_LIB)))
# -c case sensitive linking
# -C clear state before linking
# -Gn no state files
# -Tpe targets a Windows .EXE file
# -x no map
# -w display warnings on
LDFLAGS += -c -C -Gn -x -w
LINKLIBS=rtl.a visualclx.a rtle.a libborcrtl.a libborstl.a libborunwind.a
LINK.cpp = $(WINLINK) $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS) -Tpe -w-dup
LINK.cpp += $(PROD_LDFLAGS) borinit.o /usr/lib/crt1.o $(PROD_LD_OBJS)
LINK.cpp += , $@ ,,$(LINKLIBS) $(PROD_LDLIBS)
LINK.shrlib = $(WINLINK) $(STATIC_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS) -Tpd -Gi
LINK.shrlib+= $(LIB_LDFLAGS) borinitso.o $(LIBRARY_LD_OBJS)
LINK.shrlib+= , $@ ,,$(LINKLIBS) $(SHRLIB_LDLIBS)

View File

@@ -10,3 +10,6 @@
#Include definitions common to linux-x86 hosts
include $(CONFIG)/os/CONFIG.linux-x86.Common
# Make all crosscompiler builds debug builds
#CROSS_OPT=NO

View File

@@ -9,3 +9,6 @@
include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
# Removes -O optimization and adds -g compile option
HOST_OPT=NO

View File

@@ -10,4 +10,4 @@
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
WIND_HOST_TYPE = i386-linux2
WIND_HOST_TYPE = x86-linux

View File

@@ -1,17 +0,0 @@
# $Id$
#
# Definitions for linux-x86 host - linux-mpc82xx target builds
# Sites may override these definitions in CONFIG_SITE.linux-x86.linux-mpc82xx
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /opt/hardhat/devkit/ppc/82xx
GNU_TARGET_INCLUDE_DIR = $(GNU_DIR)/target/usr/include/
CC = $(GNU_BIN)/ppc_82xx-gcc
CCC = $(GNU_BIN)/ppc_82xx-g++
# Override the -nostdinc flag, needed here...
CROSS_CPPFLAGS =

View File

@@ -14,4 +14,11 @@ GNU_DIR = /usr
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
STATIC_LDFLAGS_YES= -Wl,-Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Wl,-Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_LDFLAGS += -shared -z defs
LOADABLE_SHRLIB_LDFLAGS = -shared

View File

@@ -0,0 +1,13 @@
# CONFIG.linux-x86-debug.linux-x86-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86 host - linux-x86-debug target build with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.linux-x86.linux-x86-debug
#-------------------------------------------------------
include $(CONFIG)/os/CONFIG.linux-x86-debug.linux-x86-debug
BUILD_CLASS = HOST

View File

@@ -1,13 +0,0 @@
# CONFIG.lynxos-x86.lynxos-x86
#
# $Id$
#
# This file is maintained by the build community.
# Sites may override these definitions in CONFIG_SITE.lynxos-x86.lynxos-x86
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /usr

View File

@@ -1,14 +0,0 @@
# CONFIG.osf-alpha.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for osf-alpha host archs
# Sites may override these definitions in CONFIG_SITE.osf-alpha.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
WIND_HOST_TYPE = osf-alpha

View File

@@ -1,48 +0,0 @@
# CONFIG.osf-alpha.osf-alpha
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for osf-alpha host archs
# Sites may override these definitions in CONFIG_SITE.osf-alpha.osf-alpha
#-------------------------------------------------------
CC = cc
CCC = cxx
CPP = $(CC) -E
RANLIB =
AR = ar
LD = -r
# Configure OS vendor C compiler
CONFORM_CFLAGS_ANSI = -std
CONFORM_CFLAGS_STRICT = -std1
CONFORM_CFLAGS_TRAD = -std0
CODE_CFLAGS =
WARN_CFLAGS_YES =
WARN_CFLAGS_NO = -w
OPT_CFLAGS_YES = -O
OPT_CFLAGS_NO = -g
# Configure OS vendor C++ compiler
CONFORM_CXXFLAGS_NORMAL =
CONFORM_CXXFLAGS_STRICT =
PROF_CXXFLAGS_YES = +p
PROF_CXXFLAGS_NO =
CODE_CXXFLAGS =
WARN_CXXFLAGS_YES =
WARN_CXXFLAGS_NO =
OPT_CXXFLAGS_YES = -O
OPT_CXXFLAGS_NO = -g
STATIC_LDFLAGS_YES= -Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_LDFLAGS = -shared
############# ???????????
#####ACC_SFLAGS_YES= -non_shared
#####ACC_SFLAGS_NO= -call_shared

View File

@@ -18,11 +18,13 @@ AR = ar -rc
RANLIB=
LD = ld -r
STATIC_LDFLAGS_YES= -Bstatic
STATIC_LDFLAGS_YES= -Wl,-Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_YES= -Wl,-Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_LDFLAGS = -G -h $@ -z ignore -z combreloc -z lazyload
SHRLIB_LDFLAGS += -z defs
SHRLIB_LDFLAGS += -G -h $@ -z ignore -z defs
LOADABLE_SHRLIB_LDFLAGS += -G -h $@
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload

View File

@@ -52,9 +52,9 @@ STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_CFLAGS += -KPIC
SHRLIB_LDFLAGS += -G -h $@
SHRLIB_LDFLAGS += -z defs
SHRLIB_CFLAGS = -KPIC
SHRLIB_LDFLAGS += -z defs -G -h $@ -z text
LOADABLE_SHRLIB_LDFLAGS += -G -h $@ -z text
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload

View File

@@ -0,0 +1,15 @@
# CONFIG.solaris-sparc.solaris-sparc-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc host - solaris-sparc-debug target build with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.solaris-sparc.solaris-sparc-debug
#-------------------------------------------------------
include $(CONFIG)/os/CONFIG.solaris-sparc.solaris-sparc
BUILD_CLASS = HOST
GNU = NO

View File

@@ -0,0 +1,13 @@
# CONFIG.solaris-sparc.solaris-sparc-gnu
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc host - solaris-sparc-gnu target build with gnu compiler
# Sites may override these definitions in CONFIG_SITE.solaris-sparc.solaris-sparc-gnu
#-------------------------------------------------------
include $(CONFIG)/os/CONFIG.solaris-sparc-gnu.solaris-sparc-gnu
BUILD_CLASS = HOST

View File

@@ -18,8 +18,8 @@ AR = ar -rc
RANLIB=
LD = ld -r
SHRLIB_LDFLAGS = -G -h $@
SHRLIB_LDFLAGS += -z defs
SHRLIB_LDFLAGS = -z defs -G -h $@
LOADABLE_SHRLIB_LDFLAGS += -G -h $@
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload

View File

@@ -51,9 +51,8 @@ STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_CFLAGS += -KPIC
SHRLIB_LDFLAGS = -G -h $@
SHRLIB_LDFLAGS += -z defs
SHRLIB_LDFLAGS = -z defs -KPIC -G -h $@
LOADABLE_SHRLIB_LDFLAGS = -KPIC -G -h $@
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload

View File

@@ -1,14 +0,0 @@
# CONFIG.sun4-68k.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for sun4-68k host archs
# Sites may override these definitions in CONFIG_SITE.sun4-68k.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
WIND_HOST_TYPE = sun4-sunos4

View File

@@ -1,48 +0,0 @@
# CONFIG.sun4-68k.sun4-68k
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for sun4-68k target arch when host arch is sun4-68k
# Sites may override these definitions in CONFIG_SITE.sun4-68k.sun4-68k
#-------------------------------------------------------
# Include definitions common to all Unix target archs
include $(CONFIG)/os/CONFIG.common.UnixCommon
OS_CLASS = sun4
ARCH_CLASS = 68k
CC = cc
CCC = CC
CPP = $(CC) -E
RANLIB = ranlib -t
AR = $(CCC) -xar -o
LD = ld -r
# Configure OS vendor C compilers
CONFORM_CFLAGS_ANSI = -Xa
CONFORM_CFLAGS_STRICT = -Xc
CONFORM_CFLAGS_TRAD = -Xs
CODE_CFLAGS = -pic
WARN_CFLAGS_YES = -vc
WARN_CFLAGS_NO = -w
OPT_CFLAGS_YES = -O
OPT_CFLAGS_NO = -g
CONFORM_CXXFLAGS_NORMAL =
CONFORM_CXXFLAGS_STRICT =
CONFORM_CXXFLAGS_TRAD =
CODE_CXXFLAGS = -pic
WARN_CXXFLAGS_YES =
WARN_CXXFLAGS_NO = -w
OPT_CXXFLAGS_YES = -O
OPT_CXXFLAGS_NO = -g
STATIC_LDFLAGS_YES= -Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_LDFLAGS = -assert pure-text -h $@

View File

@@ -13,6 +13,8 @@ VALID_BUILDS = Host Ioc
#-------------------------------------------------------
BUILD_LIBRARY += $(LOADABLE_BUILD_LIBRARY)
BORLAND_INC = $(BORLAND)\\include
BORLAND_LIB = $(BORLAND)\\lib
BORLAND_BIN = $(BORLAND)\\bin
@@ -41,6 +43,7 @@ ARCMD = $(BORLAND_BIN)/tlib $@ $(foreach lib,$(LIBRARY_LD_OBJS),+$(lib))
CCLINKOPT = -q -tWM -tWD -a8 -D_WIN32 -D_RTLDLL
CC = $(BORLAND_BIN)/bcc32 $(CCLINKOPT)
LD = $(BORLAND_BIN)/bcc32 -r
RANLIB =
#
# __STDC__=0 works but not as cleanly as with
@@ -82,7 +85,8 @@ OPT_CFLAGS_YES = -k- -H- -R- -O1 -v- -vi
OPT_CFLAGS_NO =
# OS vendor c preprocessor
CPP = $(BORLAND_BIN)/cl /E
CPP = $(BORLAND_BIN)/cpp32 -Sr
PREPROCESS.cpp = $(CPP) $(CPPFLAGS) $(subst /,\\,$(INCLUDES)) -o$@ $<
# Configure OS vendor C++ compiler
#
@@ -150,6 +154,7 @@ LINK_OPT_FLAGS_NO = -c -C -Gi -Gn -Tpd -x -w-
WIN32_DLLFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT)) $(TARGET_LDFLAGS) $(LIB_LDFLAGS)
OPT_LDFLAGS =
SHRLIB_CFLAGS=
ARCH_DEP_CFLAGS=
# to identify the general architecture class:
@@ -185,12 +190,12 @@ OP_SYS_INCLUDES = -I$(BORLAND_INC)
# specify dll .def file only if it exists
#
#DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
DLL_DEF_FLAG = $(subst /,\\,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
DLL_DEF_FLAG = $(subst /,\\,$(wildcard ../$(addsuffix .def,$*)))
#
# A WIN32 dll has three parts:
# x.dll: the real dll (SHRLIBNAME)
# x.lib: what you link to progs that use the dll (LIBNAME)
# x.lib: what you link to progs that use the dll (DLL_LINK_LIBNAME)
# x.exp: what you need to build the dll (in no variable)
#
LINK.shrlib = $(WINLINK) $(WIN32_DLLFLAGS) -L$(BORLAND_LIB) -L$(BORLAND_LIB)\\Psdk c0d32.obj
@@ -207,29 +212,19 @@ SHRLIB_SUFFIX=.dll
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=%$(SHRLIB_SUFFIX))
#
# Under WIN32 we have the unique situation where the DLL link creates the
# DLL link library xxx.lib and we need to be very careful to avoid replacing
# the xxx.lib created by the dll link with an xxx.lib created by $(AR).
# Therefore, the object library is named xxxObj.lib
#
# SHARED_LIBRARIES is YES if we are building a DLL and NO if we aren't
# When SHARED_LIBRARIES is YES we are building a DLL link library
# and when SHARED_LIBRARIES is NO we are building an object library
#
DLL_LINK_LIBNAME_YES = $(BUILD_LIBRARY:%=%.lib)
DLL_LINK_LIBNAME = $(DLL_LINK_LIBNAME_$(SHARED_LIBRARIES))
LIB_PREFIX=
LIB_SUFFIX=Obj.lib
LIBNAME = $(BUILD_LIBRARY:%=%$(LIB_SUFFIX))
LIB_SUFFIX=.lib
LIBNAME_NO = $(BUILD_LIBRARY:%=%.lib)
LIBNAME = $(LIBNAME_$(SHARED_LIBRARIES))
# dll install location
INSTALL_SHRLIB = $(INSTALL_BIN)
#--------------------------------------------------
# Object lib name suffix
LIB_EXT_YES = Obj.lib # object library extension for static build
LIB_EXT_NO = .lib # library extension for dynamic build
LIB_EXT = $(LIB_EXT_$(STATIC_BUILD))
#--------------------------------------------------
# Products dependancy definitions
@@ -237,9 +232,9 @@ LIB_EXT = $(LIB_EXT_$(STATIC_BUILD))
# Use PROD_SYS_LIBS
PROD_DEPLIBS=$(foreach lib, $(PROD_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
PROD_LDLIBS += $($*_DEPLIBS) $(PROD_DEPLIBS)
@@ -265,9 +260,9 @@ LIB_SYS_LIBS += $(SYS_DLL_LIBS)
# (it isnt necessary to rebuild the dll if these change)
SHRLIB_DEPLIBS += $(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
SHRLIB_LDLIBS += $($*_DLL_DEPLIBS) $($*_DEPLIBS) $(SHRLIB_DEPLIBS)

View File

@@ -9,3 +9,4 @@
include $(CONFIG)/os/CONFIG.win32-x86.win32-x86
HOST_OPT=NO

View File

@@ -16,6 +16,8 @@ PATH_FILTER = $(subst /,\\,$(1))
#-------------------------------------------------------
BUILD_LIBRARY += $(LOADABLE_BUILD_LIBRARY)
#
# "\ " forces gnu make to keep this as one token
#
@@ -149,6 +151,8 @@ STATIC_CXXFLAGS_NO= /MD$(VISC_STATIC_CFLAGS_DEBUG) $(VISC_DLL)
STATIC_LDLIBS_YES=ws2_32.lib advapi32.lib user32.lib kernel32.lib winmm.lib
STATIC_LDLIBS_NO=
STATIC_LDFLAGS=
RANLIB=
# add /profile here to run the ms profiler
# /LTCG - whole program optimization
@@ -159,6 +163,7 @@ LINK_OPT_FLAGS_NO = /debug /incremental:no /fixed:no
OPT_LDFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT))
ARCH_DEP_CFLAGS=
SHRLIB_CFLAGS=
# to identify the general architecture class:
# should be BSD, SYSV, WIN32, ...
@@ -200,12 +205,12 @@ WIN32_DLLFLAGS = /subsystem:windows /dll $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(LIB_
#
# specify dll .def file only if it exists
#
DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(addsuffix .def,$*)))
#
# A WIN32 dll has three parts:
# x.dll: the real dll (SHRLIBNAME)
# x.lib: what you link to progs that use the dll (LIBNAME)
# x.lib: what you link to progs that use the dll (DLL_LINK_LIBNAME)
# x.exp: what you need to build the dll (in no variable)
#
LINK.shrlib = $(WINLINK) /nologo $(WIN32_DLLFLAGS) /implib:$*.lib /out:$*.dll $(DLL_DEF_FLAG)
@@ -222,27 +227,19 @@ SHRLIB_SUFFIX=.dll
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=%$(SHRLIB_SUFFIX))
#
# Under WIN32 we have the unique situation where the DLL link creates the
# DLL link library xxx.lib and we need to be very careful to avoid replacing
# the xxx.lib created by the dll link with an xxx.lib created by $(AR).
# Therefore, the object library is named xxxObj.lib
#
# SHARED_LIBRARIES is YES if we are building a DLL and NO if we aren't
# When SHARED_LIBRARIES is YES we are building a DLL link library
# and when SHARED_LIBRARIES is NO we are building an object library
#
DLL_LINK_LIBNAME_YES = $(BUILD_LIBRARY:%=%.lib)
DLL_LINK_LIBNAME = $(DLL_LINK_LIBNAME_$(SHARED_LIBRARIES))
LIB_PREFIX=
LIB_SUFFIX=Obj.lib
LIBNAME = $(BUILD_LIBRARY:%=%$(LIB_SUFFIX))
LIB_SUFFIX=.lib
LIBNAME_NO = $(BUILD_LIBRARY:%=%.lib)
LIBNAME = $(LIBNAME_$(SHARED_LIBRARIES))
# dll install location
INSTALL_SHRLIB = $(INSTALL_BIN)
#--------------------------------------------------
# Object lib name suffix
LIB_EXT_YES = Obj.lib # object library extension for static build
LIB_EXT_NO = .lib # object library extension for dynamic build
LIB_EXT = $(LIB_EXT_$(STATIC_BUILD))
#--------------------------------------------------
# Products dependancy definitions
@@ -251,9 +248,9 @@ LIB_EXT = $(LIB_EXT_$(STATIC_BUILD))
# Use PROD_SYS_LIBS
PROD_DEPLIBS=$(foreach lib, $(PROD_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
PROD_LDLIBS += $($*_DEPLIBS) $(PROD_DEPLIBS)
@@ -279,9 +276,9 @@ LIB_SYS_LIBS += $(SYS_DLL_LIBS)
# (it isnt necessary to rebuild the dll if these change)
SHRLIB_DEPLIBS += $(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
SHRLIB_LDLIBS += $($*_DLL_DEPLIBS) $($*_DEPLIBS) $(SHRLIB_DEPLIBS)

View File

@@ -20,4 +20,3 @@
# If readline is not installed comment the following line
# to omit command-line editing and history support
COMMANDLINE_LIBRARY = READLINE
LDLIBS_READLINE = -lreadline -lncurses

View File

@@ -0,0 +1,11 @@
# CONFIG_SITE.darwin-ppc.Common
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for darwin-ppc host builds
#-------------------------------------------------------
# JBA test override values
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.linux-x86-borland.Common
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86-borland host builds
#-------------------------------------------------------
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040
BORLAND = /share2/kylix3

View File

@@ -5,5 +5,3 @@
#Compiles for profiling with the gprof profiler.
#GPROF=YES
# Removes -O optimization and adds -g compile option
HOST_OPT=NO

View File

@@ -1,3 +0,0 @@
# Removes optimization and adds debugging options
HOST_OPT=NO

View File

@@ -1,7 +1,7 @@
# $Id$
# Microsoft Visual C++ .NET is the default compiler
# If you have Visual C++ 6.0, uncomment the following 4 override lines
# If you have Visual C++ 6.0, uncomment the following override lines
# This will to eliminate warnings about unknown options /GL, LTCG, and /44355.
#OPT_CFLAGS_YES = /Ox
#OPT_CXXFLAGS_YES = /Ox

View File

@@ -14,9 +14,6 @@ eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
#
# Parse configure/RELEASE file(s) and generate a derived output file.
#
# This tool replaces makeConfigAppInclude.pl, makeIocCdCommands.pl and
# makeRulesInclude.pl and adds consistency checks for RELEASE files.
#
use Cwd;
use Getopt::Std;
@@ -25,7 +22,7 @@ $cwd = cwd();
$cwd =~ s/\/tmp_mnt//; # hack for sun4
$cwd =~ s/\\/\//g; # hack for win32
getopt "aht";
getopt "ahtT";
if ($opt_a) {
$arch = $opt_a;
@@ -37,29 +34,32 @@ if ($opt_a) {
$hostarch = $arch;
$hostarch = $opt_h if ($opt_h);
# Find $top from current path; NB only works under iocBoot/* and configure/*
$top = $cwd;
$top =~ s/^\/cygdrive\/(\w)\//$1:\//;
$top =~ s/\/iocBoot.*$//;
$top =~ s/\/configure.*$//;
if ($opt_T) {
$top = $opt_T;
} else { # Find $top from current path
# This approach is only possible under iocBoot/* and configure/*
$top = $cwd;
$top =~ s/\/iocBoot.*$//;
$top =~ s/\/configure.*$//;
chomp($top = `cygpath -m $top`) if ($^O eq "cygwin");
}
# The IOC may need a different path to get to $top
if ($opt_t) {
$iocroot = $ioctop = $opt_t;
$iocroot = $opt_t;
$root = $top;
while (substr($iocroot, -1, 1) eq substr($root, -1, 1)) {
chop $iocroot;
chop $root;
}
} else {
$ioctop = $top;
}
unless (@ARGV == 1) {
print "Usage: convertRelease.pl [-a arch] [-h hostarch] [-t ioctop] outfile\n";
print "Usage: convertRelease.pl [-a arch] [-h hostarch] [-T top] [-t ioctop] outfile\n";
print " where outfile is be one of:\n";
print "\tcheckRelease - checks consistency with support apps\n";
print "\tcdCommands - generate cd path strings for IOC use\n";
print "\tcdCommands - generate cd path strings for vxWorks IOCs\n";
print "\tenvPaths - generate epicsEnvSet commands for other IOCs\n";
print "\tCONFIG_APP_INCLUDE - additional build variables\n";
print "\tRULES_INCLUDE - supports installable build rules\n";
exit 2;
@@ -73,12 +73,7 @@ $outfile = $ARGV[0];
# Read the RELEASE file(s)
$relfile = "$top/configure/RELEASE";
die "Can't find configure/RELEASE file" unless (-r $relfile);
&readRelease($relfile, \%macros, \@apps);
if ($hostarch) {
$relfile .= ".$hostarch";
&readRelease($relfile, \%macros, \@apps) if (-r $relfile);
}
&readReleaseFiles($relfile, \%macros, \@apps);
&expandRelease(\%macros, \@apps);
@@ -87,12 +82,35 @@ for ($outfile) {
/CONFIG_APP_INCLUDE/ and do { &configAppInclude; last; };
/RULES_INCLUDE/ and do { &rulesInclude; last; };
/cdCommands/ and do { &cdCommands; last; };
/envPaths/ and do { &envPaths; last; };
/checkRelease/ and do { &checkRelease; last; };
die "Output file type \'$outfile\' not supported";
}
#
# Parse a configure/RELEASE file.
# Parse all relevent configure/RELEASE* files and includes
#
sub readReleaseFiles {
my ($relfile, $Rmacros, $Rapps) = @_;
return unless (-r $relfile);
&readRelease($relfile, $Rmacros, $Rapps);
if ($hostarch) {
my ($hrelfile) = "$relfile.$hostarch";
&readRelease($hrelfile, $Rmacros, $Rapps) if (-r $hrelfile);
}
if ($arch) {
my ($crelfile) = "$relfile.Common.$arch";
&readRelease($crelfile, $Rmacros, $Rapps) if (-r $crelfile);
if ($hostarch) {
my ($arelfile) = "$relfile.$hostarch.$arch";
&readRelease($arelfile, $Rmacros, $Rapps) if (-r $arelfile);
}
}
}
#
# Parse a configure/RELEASE file and its includes.
#
# NB: This subroutine also appears in base/src/makeBaseApp/makeBaseApp.pl
# If you make changes here, they will be needed there as well.
@@ -108,7 +126,7 @@ sub readRelease {
s/\r$//; # Shouldn't need this, but sometimes...
s/\s*#.*$//; # Remove trailing comments
s/\s+$//; # Remove trailing whitespace
next if /^\s*$/; # Skip blank lines
next if /^\s*$/; # Skip blank lines
# Expand all already-defined macros in the line:
while (($pre,$var,$post) = /(.*)\$\((\w+)\)(.*)/) {
@@ -155,24 +173,28 @@ sub configAppInclude {
print OUT "# be lost when the application is next rebuilt.\n\n";
if ($arch) {
print OUT "export TOP\n";
foreach $app (@includes) {
$path = $macros{$app};
print OUT "export ${app}\n";
}
foreach $app (@includes) {
$path = $macros{$app};
next unless (-d "$path/bin/$hostarch");
print OUT "${app}_HOST_BIN = \$(strip \$($app))/bin/\$(EPICS_HOST_ARCH)\n";
}
foreach $app (@includes) {
$path = $macros{$app};
$path = $macros{$app};
next unless (-d "$path/lib/$hostarch");
print OUT "${app}_HOST_LIB = \$(strip \$($app))/bin/\$(EPICS_HOST_ARCH)\n";
}
foreach $app (@includes) {
$path = $macros{$app};
next unless (-d "$path/bin/$arch");
$path = $macros{$app};
next unless (-d "$path/bin/$arch");
print OUT "${app}_BIN = \$(strip \$($app))/bin/$arch\n";
}
foreach $app (@includes) {
$path = $macros{$app};
next unless (-d "$path/lib/$arch");
$path = $macros{$app};
next unless (-d "$path/lib/$arch");
print OUT "${app}_LIB = \$(strip \$($app))/lib/$arch\n";
}
# We can't just include TOP in the foreach list:
@@ -182,20 +204,20 @@ sub configAppInclude {
print OUT "SHRLIB_SEARCH_DIRS = $path/lib/$arch\n";
foreach $app (@includes) {
$path = $macros{$app};
next unless (-d "$path/lib/$arch");
next unless (-d "$path/lib/$arch");
print OUT "SHRLIB_SEARCH_DIRS += \$(${app}_LIB)\n";
}
}
foreach $app (@includes) {
$path = $macros{$app};
next unless (-d "$path/include");
$path = $macros{$app};
next unless (-d "$path/include");
print OUT "RELEASE_INCLUDES += -I\$(strip \$($app))/include/os/\$(OS_CLASS)\n";
print OUT "RELEASE_INCLUDES += -I\$(strip \$($app))/include\n";
}
foreach $app (@includes) {
$path = $macros{$app};
next unless (-d "$path/dbd");
print OUT "RELEASE_DBDFLAGS += -I \$(strip \$($app))/dbd\n";
$path = $macros{$app};
next unless (-d "$path/dbd");
print OUT "RELEASE_DBDFLAGS += -I \$(strip \$($app))/dbd\n";
}
close OUT;
}
@@ -209,8 +231,8 @@ sub rulesInclude {
print OUT "# be lost when the application is next rebuilt.\n\n";
foreach $app (@includes) {
$path = $macros{$app};
next unless (-r "$path/configure/RULES_BUILD");
$path = $macros{$app};
next unless (-r "$path/configure/RULES_BUILD");
print OUT "-include \$(strip \$($app))/configure/RULES_BUILD\n";
}
close OUT;
@@ -224,19 +246,48 @@ sub cdCommands {
open(OUT,">$outfile") or die "$! creating $outfile";
$startup = $cwd;
$startup =~ s/^$root/$iocroot/ if ($opt_t);
$startup =~ s/^$root/$iocroot/o if ($opt_t);
print OUT "startup = \"$startup\"\n";
$ioc = $cwd;
$ioc =~ s/^.*\///; # iocname is last component of directory name
print OUT "putenv \"ARCH=$arch\"\n";
print OUT "putenv \"IOC=$ioc\"\n";
foreach $app (@includes) {
$iocpath = $path = $macros{$app};
$iocpath =~ s/^$root/$iocroot/ if ($opt_t);
$iocpath =~ s/^$root/$iocroot/o if ($opt_t);
$app_lc = lc($app);
print OUT "$app_lc = \"$iocpath\"\n" if (-d $path);
print OUT "$app_lc = \"$iocpath\"\n" if (-d $path);
print OUT "putenv \"$app=$iocpath\"\n" if (-d $path);
print OUT "${app_lc}bin = \"$iocpath/bin/$arch\"\n" if (-d "$path/bin/$arch");
}
close OUT;
}
sub envPaths {
die "Architecture not set (use -a option)" unless ($arch);
@includes = grep !/^TEMPLATE_TOP$/, @apps;
unlink($outfile);
open(OUT,">$outfile") or die "$! creating $outfile";
$ioc = $cwd;
$ioc =~ s/^.*\///; # iocname is last component of directory name
print OUT "epicsEnvSet(ARCH,\"$arch\")\n";
print OUT "epicsEnvSet(IOC,\"$ioc\")\n";
foreach $app (@includes) {
$iocpath = $path = $macros{$app};
$iocpath =~ s/^$root/$iocroot/o if ($opt_t);
print OUT "epicsEnvSet($app,\"$iocpath\")\n" if (-d $path);
}
close OUT;
}
sub checkRelease {
$status = 0;
delete $macros{TOP};
@@ -246,11 +297,7 @@ sub checkRelease {
%check = (TOP => $path);
@order = ();
$relfile = "$path/configure/RELEASE";
&readRelease($relfile, \%check, \@order) if (-r $relfile);
if ($hostarch) {
$relfile .= ".$hostarch";
&readRelease($relfile, \%check, \@order) if (-r $relfile);
}
&readReleaseFiles($relfile, \%check, \@order);
&expandRelease(\%check, \@order);
delete $check{TOP};

View File

@@ -0,0 +1,31 @@
eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
if $running_under_some_shell; # makeConfigAppInclude.pl
#*************************************************************************
# 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.
#*************************************************************************
# Converts text file in DOS CR/LF format to unix ISO format
# $Id$
@files=@ARGV;
$| = 1;
foreach( @files ) {
open(INPUT, "<$_");
$backup = "$_.bak";
rename( $_, $backup) || die "Unable to rename $_\n$!\n";
open(OUTPUT, ">$_");
while(<INPUT>) {
s/\r\n/\n/;
print OUTPUT;
}
close INPUT;
close OUTPUT;
unlink ($backup) or die "Cannot remove $backup";
}

View File

@@ -1,10 +1,12 @@
eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
if $running_under_some_shell; # makeDependsTargets.pl
if $running_under_some_shell; # filterWarnings.pl
#*************************************************************************
# 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.
# Copyright (c) 2002 Berliner Elektronenspeicherringgesellschaft fuer
# Synchrotronstrahlung.
# 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.
@@ -34,7 +36,7 @@ while ( $errline = <> ) {
($errno) = ($errline =~ m/.* ([0-9]+):/);
$codeline = <>;
$pointline = <>;
next if $codeline =~ m|//\s*X.*aCC[^a-zA-Z]*$errno|;
next if $codeline =~ m|/[/*]\s*X.*aCC[^a-zA-Z]*$errno|;
print wrap ("", " ", $errline);
print $codeline;

View File

@@ -68,6 +68,13 @@ foreach $name ( @nameList ) {
print OUT "${name}_LDFLAGS+=\$(${name}_LDFLAGS_DEFAULT)\n";
print OUT "endif\n";
print OUT "endif\n";
print OUT "ifneq (\$(strip \$(${name}_OBJLIBS_\$(OS_CLASS))),)\n";
print OUT "${name}_OBJLIBS+=\$(subst -nil-,,\$(${name}_OBJLIBS_\$(OS_CLASS)))\n";
print OUT "else\n";
print OUT "ifdef ${name}_OBJLIBS_DEFAULT\n";
print OUT "${name}_OBJLIBS+=\$(${name}_OBJLIBS_DEFAULT)\n";
print OUT "endif\n";
print OUT "endif\n";
print OUT "ifneq (\$(strip \$(${name}_LDOBJS_\$(OS_CLASS))),)\n";
print OUT "${name}_LDOBJS+=\$(subst -nil-,,\$(${name}_LDOBJS_\$(OS_CLASS)))\n";
print OUT "else\n";
@@ -75,6 +82,7 @@ foreach $name ( @nameList ) {
print OUT "${name}_LDOBJS+=\$(${name}_LDOBJS_DEFAULT)\n";
print OUT "endif\n";
print OUT "endif\n";
print OUT "${name}_LDLIBS+=\$(${name}_LIBS)\n";
print OUT "ifneq (\$(strip \$(${name}_LIBS_\$(OS_CLASS))),)\n";
print OUT "${name}_LDLIBS+=\$(subst -nil-,,\$(${name}_LIBS_\$(OS_CLASS)))\n";
print OUT "else\n";
@@ -82,7 +90,6 @@ foreach $name ( @nameList ) {
print OUT "${name}_LDLIBS+=\$(${name}_LIBS_DEFAULT)\n";
print OUT "endif\n";
print OUT "endif\n";
print OUT "${name}_LDLIBS+=\$(${name}_LIBS)\n";
print OUT "ifneq (\$(strip \$(${name}_SYS_LIBS_\$(OS_CLASS))),)\n";
print OUT "${name}_SYS_LIBS+=\$(subst -nil-,,\$(${name}_SYS_LIBS_\$(OS_CLASS)))\n";
print OUT "else\n";
@@ -101,12 +108,13 @@ foreach $name ( @nameList ) {
print OUT "${name}_DEPLIBS=\$(foreach lib, \$(${name}_LDLIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_EXT),\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
print OUT "${name}\$(EXE): \$(${name}_OBJSNAME) \$(${name}_RESS) \$(${name}_DEPLIBS)\n";
print OUT "endif\n";
print OUT "\n";
print OUT "ifeq (\$(filter ${name},\$(LIBRARY)),${name})\n";
print OUT "ifneq (\$(filter ${name},\$(LOADABLE_LIBRARY)),${name})\n";
print OUT "ifneq (,\$(strip \$(${name}_OBJS) \$(LIBRARY_OBJS)))\n";
print OUT "BUILD_LIBRARY += ${name}\n";
print OUT "endif\n";
@@ -120,7 +128,7 @@ foreach $name ( @nameList ) {
print OUT "${name}_DLL_DEPLIBS=\$(foreach lib, \$(${name}_DLL_LIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_EXT),\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
print OUT "\$(LIB_PREFIX)${name}\$(LIB_SUFFIX):\$(${name}_OBJSNAME) \$(${name}_RESS)\n";
print OUT "\$(LIB_PREFIX)${name}\$(LIB_SUFFIX):\$(${name}_DEPLIBS)\n";
@@ -128,6 +136,27 @@ foreach $name ( @nameList ) {
print OUT "\$(LIB_PREFIX)${name}\$(SHRLIB_SUFFIX):\$(${name}_DEPLIBS)\n";
print OUT "\$(LIB_PREFIX)${name}\$(SHRLIB_SUFFIX):\$(${name}_DLL_DEPLIBS)\n";
print OUT "endif\n";
print OUT "endif\n";
print OUT "ifeq (\$(filter ${name},\$(LOADABLE_LIBRARY)),${name})\n";
print OUT "ifneq (,\$(strip \$(${name}_OBJS) \$(LIBRARY_OBJS)))\n";
print OUT "LOADABLE_BUILD_LIBRARY += ${name}\n";
print OUT "endif\n";
print OUT "${name}_RESS+=\$(addsuffix \$(RES),\$(basename \$(${name}_RCS)))\n";
print OUT "${name}_OBJSNAME+=\$(addsuffix \$(OBJ),\$(basename \$(${name}_OBJS)))\n";
print OUT "${name}_DEPLIBS=\$(foreach lib, \$(${name}_LDLIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
print OUT "${name}_DLL_DEPLIBS=\$(foreach lib, \$(${name}_DLL_LIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
print OUT "\$(LOADABLE_SHRLIB_PREFIX)${name}\$(LOADABLE_SHRLIB_SUFFIX):\$(${name}_OBJSNAME) \$(${name}_RESS)\n";
print OUT "\$(LOADABLE_SHRLIB_PREFIX)${name}\$(LOADABLE_SHRLIB_SUFFIX):\$(${name}_DEPLIBS)\n";
print OUT "\$(LOADABLE_SHRLIB_PREFIX)${name}\$(LOADABLE_SHRLIB_SUFFIX):\$(${name}_DLL_DEPLIBS)\n";
print OUT "endif\n";
print OUT "\n";
}
close OUT or die "Cannot close $outfile: $!";

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