Merge lp:~mdavidsaver/epics-base/reorg-src into lp:~epics-core/epics-base/3.15

Proposed by mdavidsaver
Status: Merged
Merge reported by: Andrew Johnson
Merged at revision: not available
Proposed branch: lp:~mdavidsaver/epics-base/reorg-src
Merge into: lp:~epics-core/epics-base/3.15
Diff against target: 3419 lines (+1409/-1167)
85 files modified
configure/CONFIG_BASE (+2/-4)
configure/RULES.Db (+1/-1)
configure/RULES_BUILD (+10/-12)
documentation/RELEASE_NOTES.html (+215/-0)
src/Makefile (+44/-68)
src/as/asHost.rc (+0/-36)
src/as/asIoc.rc (+0/-36)
src/ca/client/Makefile (+14/-1)
src/ca/client/perl/Makefile (+1/-1)
src/ca/client/tools/Makefile (+1/-1)
src/ca/legacy/gdd/Makefile (+1/-1)
src/ca/legacy/pcas/Makefile (+1/-1)
src/ca/legacy/pcas/build/Makefile (+3/-3)
src/ca/legacy/pcas/ex/Makefile (+2/-2)
src/ca/legacy/pcas/example/Makefile (+1/-1)
src/ca/legacy/pcas/example/directoryService/Makefile (+1/-1)
src/dbStatic/dbStaticIoc.rc (+0/-36)
src/dbtools/dbtoolsIoc.rc (+0/-36)
src/dev/Makefile (+0/-18)
src/ioc/Makefile (+40/-0)
src/ioc/as/Makefile (+14/-32)
src/ioc/bpt/Makefile (+10/-12)
src/ioc/bpt/RULES (+16/-0)
src/ioc/db/Makefile (+30/-45)
src/ioc/db/RULES (+28/-0)
src/ioc/db/test/Makefile (+2/-2)
src/ioc/dbCore.rc (+5/-5)
src/ioc/dbStatic/Makefile (+26/-28)
src/ioc/dbStatic/RULES (+16/-0)
src/ioc/dbtemplate/Makefile (+9/-25)
src/ioc/dbtemplate/RULES (+17/-0)
src/ioc/misc/Makefile (+11/-19)
src/ioc/misc/dbCore.dbd (+14/-0)
src/ioc/registry/Makefile (+13/-19)
src/ioc/rsrv/Makefile (+17/-22)
src/libCom/Makefile (+37/-307)
src/libCom/RTEMS/Makefile (+1/-1)
src/libCom/as/Makefile (+21/-0)
src/libCom/as/RULES (+22/-0)
src/libCom/bucketLib/Makefile (+12/-0)
src/libCom/calc/Makefile (+14/-0)
src/libCom/cppStd/Makefile (+14/-0)
src/libCom/cvtFast/Makefile (+13/-0)
src/libCom/cxxTemplates/Makefile (+23/-0)
src/libCom/dbmf/Makefile (+13/-0)
src/libCom/ellLib/Makefile (+12/-0)
src/libCom/env/Makefile (+16/-0)
src/libCom/env/RULES (+15/-0)
src/libCom/error/Makefile (+34/-0)
src/libCom/error/RULES (+14/-0)
src/libCom/fdmgr/Makefile (+14/-0)
src/libCom/flex/Makefile (+22/-31)
src/libCom/flex/RULES (+16/-0)
src/libCom/flex/parse.y (+1/-1)
src/libCom/freeList/Makefile (+13/-0)
src/libCom/gpHash/Makefile (+13/-0)
src/libCom/iocsh/Makefile (+16/-0)
src/libCom/log/Makefile (+26/-0)
src/libCom/log/RULES (+12/-0)
src/libCom/macLib/Makefile (+14/-0)
src/libCom/misc/Makefile (+43/-0)
src/libCom/misc/RULES (+12/-0)
src/libCom/osi/Makefile (+127/-0)
src/libCom/osi/RULES (+15/-0)
src/libCom/ring/Makefile (+15/-0)
src/libCom/taskwd/Makefile (+12/-0)
src/libCom/timer/Makefile (+17/-0)
src/libCom/tsDefs/Makefile (+13/-0)
src/libCom/yacc/Makefile (+20/-20)
src/misc/misc.rc (+0/-36)
src/misc/miscIoc.rc (+0/-36)
src/registry/registryIoc.rc (+0/-36)
src/rsrv/rsrvIoc.rc (+0/-36)
src/std/Makefile (+30/-0)
src/std/dbRecStd.rc (+4/-4)
src/std/dev/Makefile (+46/-50)
src/std/rec/Makefile (+38/-39)
src/std/rec/RULES (+15/-0)
src/std/softIoc/Makefile (+5/-14)
src/std/softIoc/RULES (+20/-0)
src/std/softIoc/base.dbd (+2/-32)
src/template/base/Makefile (+1/-1)
src/template/ext/Makefile (+1/-1)
src/toolsComm/Makefile (+0/-19)
src/util/Makefile (+0/-35)
To merge this branch: bzr merge lp:~mdavidsaver/epics-base/reorg-src
Reviewer Review Type Date Requested Status
Andrew Johnson Approve
Review via email: mp+44296@code.launchpad.net

Description of the change

Major reorganization of code and build system. This change tries to group code by function. The only user visible change is that the number of libraries build shrinks 16 to 7. However, the definition of EPICS_BASE_IOC_LIBS changes accordingly.

The groups are now:

src/tools - Build system infrastructure
src/libCom - Everything unrelated to CA and IOCs
src/ca - CA components which can be used outside an IOC
src/ioc - The IOC core processing mechanisms
src/std - The standard record and dset definitions
src/template - home to makeBaseApp and makeBaseExt

Dependencies are now strictly

tools:
template:
libCom: tools
ca: libCom
ioc: libCom
std: ioc

To post a comment you must log in.
Revision history for this message
Ernest Williams (ernesto-slac) wrote :

Hi
Excellent work and re-organization

Cheers
Ernest

Sent from my iPhone

On Dec 20, 2010, at 14:34, mdavidsaver <email address hidden> wrote:

> mdavidsaver has proposed merging lp:~mdavidsaver/epics-base/reorg-src into lp:epics-base.
>
> Requested reviews:
> EPICS Core Developers (epics-core)
>
>
> Major reorganization of code and build system. This change tries to group code by function. The only user visible change is that the number of libraries build shrinks 16 to 7. However, the definition of EPICS_BASE_IOC_LIBS changes accordingly.
>
> The groups are now:
>
> src/tools - Build system infrastructure
> src/libCom - Everything unrelated to CA and IOCs
> src/ca - CA components which can be used outside an IOC
> src/ioc - The IOC core processing mechanisms
> src/std - The standard record and dset definitions
> src/template - home to makeBaseApp and makeBaseExt
>
> Dependencies are now strictly
>
> tools:
> template:
> libCom: tools
> ca: libCom
> ioc: libCom
> std: ioc
>
> --
> https://code.launchpad.net/~mdavidsaver/epics-base/reorg-src/+merge/44296
> Your team EPICS Core Developers is requested to review the proposed merge of lp:~mdavidsaver/epics-base/reorg-src into lp:epics-base.
> <review-diff.txt>

Revision history for this message
Andrew Johnson (anj) wrote :

Hi Michael,

I'm currently working on merging your reorganization with my branch that split the libCom/Makefile into multiple fragments that are local to the source files but that get included by the original file. I will repeat this idea in the other src/* directories, which I believe should also make it slightly easier to merge changes across this reorganization boundary.

Did you have any particular reason for putting antelope and flex under libCom/tools rather than directly under libCom? I'm currently inclined to drop the tools layer.

- Andrew (from home, via LP)

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

> Did you have any particular reason for putting antelope and flex under
> libCom/tools rather than directly under libCom? I'm currently inclined to
> drop the tools layer.

Because antelope and e_flex use epicsTempFile which is part of libCom. So currently they have a build dependency on libCom.

At the same time asLib.y needs antelope to generate the access security file parser. Now asLib is built as part of libCom.

Thus we have a circular dependency which I currently resolve by linking antelope with epicsTempFile.o instead of the full libCom. Then using antelope to generate asLib.c for inclusion in the final Com.so library. Given this rather tangled situation it seemed appropriate to put antelope/e_flex under the libCom directory.

If you dislike the situation I would suggest looking at removing the dependency of antelope/e_flex on epicsTempFile. This seems like the best way to break the dependency loop. I didn't do this initially because, in the interest of trying not to do too much at once, I avoided any substantial source code modification.

Revision history for this message
Andrew Johnson (anj) wrote :

I'm just talking about moving the directories libCom/tools/flex to libCom/flex, and libCom/tools/antelope to libCom/yacc, which I have now successfully done. I had to rename the antelope directory to yacc since make thinks an antelope directory is the antelope target it's being asked to build and tries to install it as a script. After also renaming the two main.c files to get everything to build properly I'm now up to your revid 12222. I'm keeping the dependency resolution fix you described, and everything under libCom still builds in one go. I will record you as the author for these commits.

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

> I'm just talking about moving the directories libCom/tools/flex to
> libCom/flex, and libCom/tools/antelope to libCom/yacc, which I have now
> successfully done.

Ah, I mis-read your message.

> I had to rename the antelope directory to yacc since make
> thinks an antelope directory is the antelope target it's being asked to build
> and tries to install it as a script.

Hadn't thought of that...

> After also renaming the two main.c files
> to get everything to build properly I'm now up to your revid 12222. I'm
> keeping the dependency resolution fix you described, and everything under
> libCom still builds in one go.

> I will record you as the author for these commits.

Not necessary. Just be yourself ;)

Revision history for this message
Andrew Johnson (anj) wrote :

Another question: Was there a reason for dropping dlload.dbd and system.dbd from softIoc.dbd, or was that a mistake?

lp:~mdavidsaver/epics-base/reorg-src updated
12222. By Andrew Johnson

Split libCom/Makefile into individual subdirectories.

The new Makefile fragments in the subdirectories are incomplete and will
not work individually. Build rules are placed in a separate RULES file.
This approach keeps the instructions for building each file local and
easier to find than in a large Makefile in the parent directory.

12223. By mdavidsaver

Fold antelope/flex and asHost into libCom

Build lexer and parser from libCom/Makefile.
Since libCom now includes asLib.c and asLib_lex.c we must build
antelope and flex without linking them to Com. This works because
they only need epicsTempFile anyway. However make doesn't like a
subdirectory with the same name as a target object, so the antelope
source directory is now called yacc. The two main.c files were also
renamed to avoid other build problems.

Merge asHost into Com and remove mentions in CONFIG_BASE

Lots of noise since SRCS must be renamed to Com_SRCS

12224. By Andrew Johnson

libCom: Ommitted to include the flex/RULES file.

12225. By mdavidsaver

Merge ioc/*.

Merge miscIoc rsrvIoc dbtoolsIoc asIoc dbIoc registryIoc dbStaticIoc
into dbCore.

Move ioc/misc/asSubRecordFunctions.c to std/dev/asSubRecordFunctions.c
since it depends on the subRecord type.

Extracted ioc variable definitions from base.dbd into dbCore.dbd

12226. By mdavidsaver

Merge std/*

Combine recIoc and softDevIoc libraries into dbRecStd

Move base.dbd from ioc/misc/ to std/softIoc/

Generate stdRecords.dbd from the std/rec/Makefile list of record
types instead of hard-coding it in base.dbd

12227. By mdavidsaver

Updated release notes.

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

> Another question: Was there a reason for dropping dlload.dbd and system.dbd
> from softIoc.dbd, or was that a mistake?

A mistake. Thanks for catching it Andrew!

Revision history for this message
Andrew Johnson (anj) wrote :

My version of this reorg branch is at lp:~anj/epics-base/reorg-src for you to look at. I did include a few more changes, generating a stdRecords.dbd file in std/rec/Makefile is one obvious DRY improvement.

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

> My version of this reorg branch is at lp:~anj/epics-base/reorg-src for you to
> look at. I did include a few more changes, generating a stdRecords.dbd file
> in std/rec/Makefile is one obvious DRY improvement.

Ok, looks fine, so I've replaced my origin branch with yours.

The diff on the merge request page seems to be confused, but from looking at the branch page directly, I think I pushed the correct version.

Revision history for this message
Andrew Johnson (anj) wrote :

After rebasing and a few modifications, I have now merged this code.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'configure/CONFIG_BASE'
--- configure/CONFIG_BASE 2008-08-29 21:07:04 +0000
+++ configure/CONFIG_BASE 2011-03-03 23:06:17 +0000
@@ -21,14 +21,12 @@
21#---------------------------------------------------------------21#---------------------------------------------------------------
22# Epics base Ioc libraries 22# Epics base Ioc libraries
2323
24EPICS_BASE_IOC_LIBS += recIoc softDevIoc24EPICS_BASE_IOC_LIBS += dbRecStd dbCore ca Com
25EPICS_BASE_IOC_LIBS += miscIoc rsrvIoc dbtoolsIoc asIoc
26EPICS_BASE_IOC_LIBS += dbIoc registryIoc dbStaticIoc ca Com
2725
28#---------------------------------------------------------------26#---------------------------------------------------------------
29# Epics base Host libraries 27# Epics base Host libraries
3028
31EPICS_BASE_HOST_LIBS += cas gdd asHost dbStaticHost registryIoc29EPICS_BASE_HOST_LIBS += cas gdd dbStaticHost
32EPICS_BASE_HOST_LIBS += ca Com30EPICS_BASE_HOST_LIBS += ca Com
3331
34#---------------------------------------------------------------32#---------------------------------------------------------------
3533
=== modified file 'configure/RULES.Db'
--- configure/RULES.Db 2010-09-29 15:36:40 +0000
+++ configure/RULES.Db 2011-03-03 23:06:17 +0000
@@ -262,7 +262,7 @@
262 $(ECHO) "$<:../Makefile" >> $(notdir $@)$(DEP)262 $(ECHO) "$<:../Makefile" >> $(notdir $@)$(DEP)
263 $(ECHO) "Expanding dbd"263 $(ECHO) "Expanding dbd"
264 @$(RM) $@264 @$(RM) $@
265 @$(DBEXPAND) $(DBDFLAGS) -o $@ $<265 $(DBEXPAND) $(DBDFLAGS) -o $@ $<
266266
267$(COMMON_DIR)/%.dbd: %Include.dbd 267$(COMMON_DIR)/%.dbd: %Include.dbd
268 @$(RM) $(notdir $@)$(DEP)268 @$(RM) $(notdir $@)$(DEP)
269269
=== modified file 'configure/RULES_BUILD'
--- configure/RULES_BUILD 2011-02-18 22:16:56 +0000
+++ configure/RULES_BUILD 2011-03-03 23:06:17 +0000
@@ -225,23 +225,21 @@
225 @$(RM) $@225 @$(RM) $@
226 $(BAFCMD) $<226 $(BAFCMD) $<
227227
228YACCOPT ?= $($*_YACCOPT)
228#229#
229# rename the y.tab.h file only if we230# rename the y.tab.h file only if we
230# are creating it231# are creating it
231#232#
232ifeq ($(findstring -d, $(YACCOPT)),-d)
233%.h %.c: %.y
234 $(RM) $*.c y.tab.c
235 $(RM) $*.h y.tab.h
236 $(YACC) $(YACCOPT) $<
237 $(MV) y.tab.c $*.c
238 $(MV) y.tab.h $*.h
239else
240%.c: %.y233%.c: %.y
241 $(RM) $*.c y.tab.c234 $(RM) $*.tab.c
242 $(YACC) $(YACCOPT) $<235 $(RM) $*.tab.h
243 $(MV) y.tab.c $*.c236 $(YACC) -b$* $(YACCOPT) $<
244endif237 $(MV) $*.tab.c $*.c
238 $(if $(findstring -d, $(YACCOPT)),$(MV) $*.tab.h $*.h,)
239
240# must be a seperate rule since when not using '-d' the
241# prefix for .h will be different then .c
242%.h : %.c %.y
245243
246%.c: %.l244%.c: %.l
247 @$(RM) lex.yy.c245 @$(RM) lex.yy.c
248246
=== modified file 'documentation/RELEASE_NOTES.html'
--- documentation/RELEASE_NOTES.html 2010-11-28 03:06:40 +0000
+++ documentation/RELEASE_NOTES.html 2011-03-03 23:06:17 +0000
@@ -13,6 +13,221 @@
13<h2 align="center">Changes between 3.14.x and 3.15.1</h2>13<h2 align="center">Changes between 3.14.x and 3.15.1</h2>
14<!-- Insert new items immediately below here ... -->14<!-- Insert new items immediately below here ... -->
1515
16<h3>Reorganization of src/</h3>
17<p>Reorganization of subdirectories of src/ to better represent the relation
18between different parts as described in the following table.</p>
19
20<p>This change also allows the number of libraries built to be reduced to:
21libCap5.so, libca.so, libdbCore.so, libdbStaticHost.so,
22libCom.so, libcas.so, libdbRecStd.so, and libgdd.so</p>
23
24<table border="1"><tbody>
25<tr>
26 <th>Component</th>
27 <th>Dependency</th>
28 <th>Library name</th>
29 <th>Description</th>
30</tr>
31<tr>
32 <td>src/tools</td>
33 <td></td>
34 <td></td>
35 <td>Build system scripts</td>
36</tr>
37<tr>
38 <td>src/libCom</td>
39 <td>src/tools</td>
40 <td>Com</td>
41 <td>Utility routines and OS-independant API</td>
42</tr>
43<tr>
44 <td>src/template</td>
45 <td>src/tools</td>
46 <td></td>
47 <td>User application templates (e.g. makeBaseApp)</td>
48</tr>
49<tr>
50 <td>src/ca/client</td>
51 <td>src/libCom</td>
52 <td>ca</td>
53 <td>Channel Access client</td>
54</tr>
55<tr>
56 <td>src/ca/legacy/gdd</td>
57 <td>src/ca/client</td>
58 <td>gdd</td>
59 <td>Generic data layer for PCAS</td>
60</tr>
61<tr>
62 <td>src/ca/legacy/pcas</td>
63 <td>src/ca/legacy/gdd</td>
64 <td>cas</td>
65 <td>Portable Channel Access Server</td>
66</tr>
67<tr>
68 <td>src/ioc</td>
69 <td>src/ca</td>
70 <td>dbCore</td>
71 <td>Core database processing functions</td>
72</tr>
73<tr>
74 <td>src/std</td>
75 <td>src/ioc</td>
76 <td>dbRecStd</td>
77 <td>Standard records, soft device support and the softIoc </td>
78</tr>
79</tbody></table>
80
81<p>
82In order to better reflect these relations the following
83directories and files were moved as described:</p>
84
85<table border="1"><tbody>
86<tr>
87 <th colspan="2">Relocations</th>
88</tr>
89<tr>
90 <th>Previous</th><th>New</th>
91</tr>
92<tr>
93 <th colspan="2">libCom</th>
94</tr>
95<tr>
96 <td>src/RTEMS</td>
97 <td>src/libCom/RTEMS</td>
98</tr>
99<tr>
100 <td>src/toolsComm/flex</td>
101 <td>src/libCom/flex</td>
102</tr>
103<tr>
104 <td>src/toolsComm/antelope</td>
105 <td>src/libCom/yacc</td>
106</tr>
107<tr>
108 <td align="right">src/dbStatic/alarm.h<br>.../alarmString.h</td>
109 <td>src/libCom/misc/</td>
110</tr>
111<tr>
112 <th colspan="2">IOC Core Components</th>
113</tr>
114<tr>
115 <td>src/bpt</td>
116 <td>src/ioc/bpt</td>
117</tr>
118<tr>
119 <td>src/db</td>
120 <td>src/ioc/db</td>
121</tr>
122<tr>
123 <td>src/dbStatic</td>
124 <td>src/ioc/dbStatic</td>
125</tr>
126<tr>
127 <td>src/dbtools</td>
128 <td>src/ioc/dbtemplate</td>
129</tr>
130<tr>
131 <td>src/misc</td>
132 <td>src/ioc/misc</td>
133</tr>
134<tr>
135 <td>src/registry</td>
136 <td>src/ioc/registry</td>
137</tr>
138<tr>
139 <td>src/rsrv</td>
140 <td>src/ioc/rsrv <a href="#rsrv">1</a></td>
141</tr>
142<tr>
143 <th colspan="2">Standard Record Definitions</th>
144</tr>
145<tr>
146 <td>src/dev/softDev</td>
147 <td>src/std/dev</td>
148</tr>
149<tr>
150 <td>src/rec</td>
151 <td>src/std/rec</td>
152</tr>
153<tr>
154 <td>src/softIoc</td>
155 <td>src/std/softIoc</td>
156</tr>
157<tr>
158 <th colspan="2">Channel Access</th>
159</tr>
160<tr>
161 <td>src/ca</td>
162 <td>src/ca/client</td>
163</tr>
164<tr>
165 <td>src/catools</td>
166 <td>src/ca/client/tools</td>
167</tr>
168<tr>
169 <td>src/cap5</td>
170 <td>src/ca/client/perl</td>
171</tr>
172<tr>
173 <td>src/gdd</td>
174 <td>src/ca/legacy/gdd</td>
175</tr>
176<tr>
177 <td>src/cas</td>
178 <td>src/ca/legacy/pcas</td>
179</tr>
180<tr>
181 <td>src/excas</td>
182 <td>src/ca/legacy/pcas/ex</td>
183</tr>
184<tr>
185 <th colspan="2">User Templates</th>
186</tr>
187<tr>
188 <td>src/makeBaseApp</td>
189 <td>src/template/base</td>
190</tr>
191<tr>
192 <td>src/makeBaseExt</td>
193 <td>src/template/ext</td>
194</tr>
195<tr>
196 <th colspan="2">Dispersed</th>
197</tr>
198<tr>
199 <td rowspan="3">src/util <a href="#util">2</a></td>
200 <td>src/ca/client</td>
201</tr>
202<tr>
203 <td>src/ca/client/test</td>
204</tr>
205<tr>
206 <td>src/libCom/log</td>
207</tr>
208<tr>
209 <td rowspan="2">src/as <a href="#as">3</a></td>
210 <td>src/libCom/as</td>
211</tr>
212<tr>
213 <td>src/ioc/as</td>
214</tr>
215</tbody></table>
216
217<p><a name="rsrv">1</a>
218RSRV is built as part of dbCore due to its tight (bidirectional) coupling
219with the other database code.</p>
220
221<p><a name="util">2</a>
222The contents for src/util/ moved to three locations. The caRepeater init script
223was moved to src/ca/client/. ca_test is now in src/ca/client/test/.
224The iocLogServer was moved into the same directory (src/libCom/log) as
225the log client code.</p>
226
227<p><a name="as">3</a>
228The Access Security code has been divided, with the parts not related to the
229database (lexer/parser and trap registration) becoming part of libCom.
230The remaining components are included in the dbCore library</p>
16231
17<h3>232<h3>
18Moved src/RTEMS/base directory</h3>233Moved src/RTEMS/base directory</h3>
19234
=== modified file 'src/Makefile'
--- src/Makefile 2010-10-12 16:27:17 +0000
+++ src/Makefile 2011-03-03 23:06:17 +0000
@@ -15,80 +15,56 @@
1515
16DIRS += tools16DIRS += tools
1717
18DIRS += makeBaseApp18DIRS += template/base
19makeBaseApp_DEPEND_DIRS = tools19template/base_DEPEND_DIRS = tools
2020
21DIRS += makeBaseExt21DIRS += template/ext
22makeBaseExt_DEPEND_DIRS = tools22template/ext_DEPEND_DIRS = tools
23
24# Common
2325
24DIRS += libCom26DIRS += libCom
25libCom_DEPEND_DIRS = tools27libCom_DEPEND_DIRS = tools
2628
27DIRS += toolsComm29DIRS += libCom/RTEMS
28toolsComm_DEPEND_DIRS = libCom30libCom/RTEMS_DEPEND_DIRS = libCom
29
30DIRS += ca
31ca_DEPEND_DIRS = libCom
32
33DIRS += dbStatic
34dbStatic_DEPEND_DIRS = toolsComm
35
36DIRS += registry
37registry_DEPEND_DIRS = dbStatic
38
39DIRS += bpt
40bpt_DEPEND_DIRS = dbStatic
41
42DIRS += db
43db_DEPEND_DIRS = bpt ca
44
45DIRS += as
46as_DEPEND_DIRS = db
47
48DIRS += util
49util_DEPEND_DIRS = ca
50
51DIRS += dbtools
52dbtools_DEPEND_DIRS = db
53
54DIRS += catools
55catools_DEPEND_DIRS = ca dbStatic
56
57DIRS += rsrv
58rsrv_DEPEND_DIRS = as
59
60DIRS += rec
61rec_DEPEND_DIRS = as registry
62
63DIRS += misc
64misc_DEPEND_DIRS = dbtools rsrv rec
65
66DIRS += dev
67dev_DEPEND_DIRS = rec misc
68
69DIRS += RTEMS
70RTEMS_DEPEND_DIRS = libCom
7131
72DIRS += libCom/test32DIRS += libCom/test
73libCom/test_DEPEND_DIRS = ca RTEMS33libCom/test_DEPEND_DIRS = libCom/RTEMS
7434
75DIRS += db/test35# Channel Access
76db/test_DEPEND_DIRS = db RTEMS36
7737DIRS += ca/client
78DIRS += softIoc38ca/client_DEPEND_DIRS = libCom
79softIoc_DEPEND_DIRS = dev dbtools RTEMS39
8040DIRS += ca/client/tools
81DIRS += gdd41ca/client/tools_DEPEND_DIRS = ca/client
82gdd_DEPEND_DIRS = ca42
8343DIRS += ca/legacy/gdd
84DIRS += cas44ca/legacy/gdd_DEPEND_DIRS = ca/client
85cas_DEPEND_DIRS = gdd dbStatic45
8646DIRS += ca/legacy/pcas
87DIRS += excas47ca/legacy/pcas_DEPEND_DIRS = ca/legacy/gdd
88excas_DEPEND_DIRS = cas as registry48
8949DIRS += ca/legacy/pcas/ex
90DIRS += cap550# needs ioc for dbStaticHost
91cap5_DEPEND_DIRS = ca dbStatic51ca/legacy/pcas/ex_DEPEND_DIRS = ca/legacy/pcas libCom ioc
52
53DIRS += ca/client/perl
54ca/client/perl_DEPEND_DIRS = ca/client
55
56# PDB Core
57
58DIRS += ioc
59ioc_DEPEND_DIRS = libCom ca/client
60
61DIRS += ioc/db/test
62ioc/db/test_DEPEND_DIRS = ioc libCom/RTEMS
63
64# PDB Standard Record Definitions
65
66DIRS += std
67std_DEPEND_DIRS = ioc libCom/RTEMS
9268
9369
94include $(TOP)/configure/RULES_DIRS70include $(TOP)/configure/RULES_DIRS
9571
=== removed file 'src/as/asHost.rc'
--- src/as/asHost.rc 2005-12-19 21:42:40 +0000
+++ src/as/asHost.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","Host Access Security Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Host Access Security Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "asHost\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "asHost.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== removed file 'src/as/asIoc.rc'
--- src/as/asIoc.rc 2005-12-19 21:42:40 +0000
+++ src/as/asIoc.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","IOC Access Security Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "IOC Access Security Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "asIoc\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "asIoc.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== added directory 'src/ca'
=== renamed directory 'src/ca' => 'src/ca/client'
=== modified file 'src/ca/client/Makefile'
--- src/ca/Makefile 2010-10-12 16:27:17 +0000
+++ src/ca/client/Makefile 2011-03-03 23:06:17 +0000
@@ -7,7 +7,7 @@
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
99
10TOP=../..10TOP=../../..
1111
12include $(TOP)/configure/CONFIG12include $(TOP)/configure/CONFIG
1313
@@ -95,5 +95,18 @@
9595
96casw_SYS_LIBS_solaris = socket96casw_SYS_LIBS_solaris = socket
9797
98SCRIPTS_solaris := S99caRepeater
99SCRIPTS_Linux := S99caRepeater
100
101SRC_DIRS += $(TOP)/src/ca/client/test
102PROD_HOST += ca_test
103ca_test_SRCS = ca_test_main.c ca_test.c
104ca_test_LIBS = ca Com
105ca_test_SYS_LIBS_WIN32 = ws2_32 advapi32 user32
106
107OBJS_vxWorks += ca_test
108
98include $(TOP)/configure/RULES109include $(TOP)/configure/RULES
99110
111S99%: ../rc2.%
112 sed -e s%:INSTALL_BIN:%`cd $(INSTALL_BIN); pwd`% $< >$@
100113
=== renamed directory 'src/cap5' => 'src/ca/client/perl'
=== modified file 'src/ca/client/perl/Makefile'
--- src/cap5/Makefile 2010-05-25 20:44:38 +0000
+++ src/ca/client/perl/Makefile 2011-03-03 23:06:17 +0000
@@ -5,7 +5,7 @@
5# in file LICENSE that is included with this distribution. 5# in file LICENSE that is included with this distribution.
6#*************************************************************************6#*************************************************************************
77
8TOP=../..8TOP=../../../..
9include $(TOP)/configure/CONFIG9include $(TOP)/configure/CONFIG
1010
1111
1212
=== renamed file 'src/util/rc2.caRepeater' => 'src/ca/client/rc2.caRepeater'
=== added directory 'src/ca/client/test'
=== renamed file 'src/util/ca_test.c' => 'src/ca/client/test/ca_test.c'
=== renamed file 'src/util/ca_test.h' => 'src/ca/client/test/ca_test.h'
=== renamed file 'src/util/ca_test_main.c' => 'src/ca/client/test/ca_test_main.c'
=== renamed directory 'src/catools' => 'src/ca/client/tools'
=== modified file 'src/ca/client/tools/Makefile'
--- src/catools/Makefile 2011-02-16 16:57:20 +0000
+++ src/ca/client/tools/Makefile 2011-03-03 23:06:17 +0000
@@ -8,7 +8,7 @@
8# EPICS BASE is distributed subject to a Software License Agreement found8# EPICS BASE is distributed subject to a Software License Agreement found
9# in file LICENSE that is included with this distribution. 9# in file LICENSE that is included with this distribution.
10#*************************************************************************10#*************************************************************************
11TOP=../..11TOP=../../../..
1212
13include $(TOP)/configure/CONFIG13include $(TOP)/configure/CONFIG
1414
1515
=== added directory 'src/ca/legacy'
=== renamed directory 'src/gdd' => 'src/ca/legacy/gdd'
=== modified file 'src/ca/legacy/gdd/Makefile'
--- src/gdd/Makefile 2010-10-12 16:27:17 +0000
+++ src/ca/legacy/gdd/Makefile 2011-03-03 23:06:17 +0000
@@ -7,7 +7,7 @@
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
99
10TOP=../..10TOP=../../../..
1111
12include $(TOP)/configure/CONFIG12include $(TOP)/configure/CONFIG
1313
1414
=== renamed directory 'src/cas' => 'src/ca/legacy/pcas'
=== modified file 'src/ca/legacy/pcas/Makefile'
--- src/cas/Makefile 2010-10-12 16:27:17 +0000
+++ src/ca/legacy/pcas/Makefile 2011-03-03 23:06:17 +0000
@@ -7,7 +7,7 @@
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
99
10TOP=../..10TOP=../../../..
1111
12include $(TOP)/configure/CONFIG12include $(TOP)/configure/CONFIG
1313
1414
=== modified file 'src/ca/legacy/pcas/build/Makefile'
--- src/cas/build/Makefile 2010-10-29 17:15:48 +0000
+++ src/ca/legacy/pcas/build/Makefile 2011-03-03 23:06:17 +0000
@@ -7,10 +7,10 @@
7# and higher are distributed subject to a Software License Agreement found7# and higher are distributed subject to a Software License Agreement found
8# in file LICENSE that is included with this distribution. 8# in file LICENSE that is included with this distribution.
9#*************************************************************************9#*************************************************************************
10TOP := ../../..10TOP := ../../../../..
11CAS := $(TOP)/src/cas11CAS := $(TOP)/src/ca/legacy/pcas
12SRC := $(CAS)/generic12SRC := $(CAS)/generic
13CA := $(CAS)/../ca13CA := $(TOP)/src/ca/client
14IOSRC := $(CAS)/io/bsdSocket14IOSRC := $(CAS)/io/bsdSocket
15STSRC := $(SRC)/st15STSRC := $(SRC)/st
1616
1717
=== renamed directory 'src/excas' => 'src/ca/legacy/pcas/ex'
=== modified file 'src/ca/legacy/pcas/ex/Makefile'
--- src/excas/Makefile 2010-10-12 16:27:17 +0000
+++ src/ca/legacy/pcas/ex/Makefile 2011-03-03 23:06:17 +0000
@@ -7,13 +7,13 @@
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
99
10TOP=../..10TOP=../../../../..
1111
12include $(TOP)/configure/CONFIG12include $(TOP)/configure/CONFIG
1313
14PROD_LIBS += $(EPICS_BASE_HOST_LIBS)14PROD_LIBS += $(EPICS_BASE_HOST_LIBS)
1515
16SRC_DIRS += $(TOP)/src/makeBaseApp/top/caServerApp16SRC_DIRS += $(TOP)/src/template/base/top/caServerApp
1717
18#18#
19# Added ws2_32 winmm user32 for the non-dll build19# Added ws2_32 winmm user32 for the non-dll build
2020
=== modified file 'src/ca/legacy/pcas/example/Makefile'
--- src/cas/example/Makefile 2003-04-01 19:59:46 +0000
+++ src/ca/legacy/pcas/example/Makefile 2011-03-03 23:06:17 +0000
@@ -8,7 +8,7 @@
8# in file LICENSE that is included with this distribution. 8# in file LICENSE that is included with this distribution.
9#*************************************************************************9#*************************************************************************
1010
11TOP=../../..11TOP=../../../../..
1212
13include $(TOP)/configure/CONFIG13include $(TOP)/configure/CONFIG
1414
1515
=== modified file 'src/ca/legacy/pcas/example/directoryService/Makefile'
--- src/cas/example/directoryService/Makefile 2008-06-11 20:50:17 +0000
+++ src/ca/legacy/pcas/example/directoryService/Makefile 2011-03-03 23:06:17 +0000
@@ -8,7 +8,7 @@
8# in file LICENSE that is included with this distribution. 8# in file LICENSE that is included with this distribution.
9#*************************************************************************9#*************************************************************************
1010
11TOP=../../../..11TOP=../../../../../..
1212
13include $(TOP)/configure/CONFIG13include $(TOP)/configure/CONFIG
1414
1515
=== removed file 'src/dbStatic/dbStaticIoc.rc'
--- src/dbStatic/dbStaticIoc.rc 2005-12-19 21:42:40 +0000
+++ src/dbStatic/dbStaticIoc.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","Static Ioc Database Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Static Ioc Database Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "dbStaticIoc\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "dbStaticIoc.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== removed file 'src/dbtools/dbtoolsIoc.rc'
--- src/dbtools/dbtoolsIoc.rc 2005-12-19 21:42:40 +0000
+++ src/dbtools/dbtoolsIoc.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","Ioc Database Tools Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Ioc Database Tools Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "dbtoolsIoc\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "dbtoolsIoc.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== removed directory 'src/dev'
=== removed file 'src/dev/Makefile'
--- src/dev/Makefile 2010-10-12 16:27:17 +0000
+++ src/dev/Makefile 1970-01-01 00:00:00 +0000
@@ -1,18 +0,0 @@
1#*************************************************************************
2# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9
10TOP=../..
11
12include $(TOP)/configure/CONFIG
13
14DIRS += softDev
15DIRS += testDev
16
17include $(TOP)/configure/RULES_DIRS
18
190
=== added directory 'src/ioc'
=== added file 'src/ioc/Makefile'
--- src/ioc/Makefile 1970-01-01 00:00:00 +0000
+++ src/ioc/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,40 @@
1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9TOP=../..
10
11include $(TOP)/configure/CONFIG
12
13SRC = $(TOP)/src
14IOCDIR = $(SRC)/ioc
15
16LIBRARY_IOC += dbCore
17dbCore_LIBS += ca Com
18dbCore_SYS_LIBS_WIN32 += ws2_32
19
20dbCore_RCS += dbCore.rc
21dbStaticHost_RCS = dbStaticHost.rc
22
23PROD_LIBS = Com
24
25include $(IOCDIR)/as/Makefile
26include $(IOCDIR)/bpt/Makefile
27include $(IOCDIR)/db/Makefile
28include $(IOCDIR)/dbStatic/Makefile
29include $(IOCDIR)/dbtemplate/Makefile
30include $(IOCDIR)/misc/Makefile
31include $(IOCDIR)/registry/Makefile
32include $(IOCDIR)/rsrv/Makefile
33
34include $(TOP)/configure/RULES
35
36include $(IOCDIR)/dbStatic/RULES
37include $(IOCDIR)/bpt/RULES
38include $(IOCDIR)/db/RULES
39include $(IOCDIR)/dbtemplate/RULES
40
041
=== renamed directory 'src/as' => 'src/ioc/as'
=== modified file 'src/ioc/as/Makefile'
--- src/as/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/as/Makefile 2011-03-03 23:06:17 +0000
@@ -1,45 +1,27 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2010 Brookhaven Science Associates, as Operator of
5# Brookhaven National Lab.
4# Copyright (c) 2002 The Regents of the University of California, as6# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.7# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found8# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 9# in file LICENSE that is included with this distribution.
8#*************************************************************************10#*************************************************************************
9TOP=../..11
10include $(TOP)/configure/CONFIG12# This is a Makefile fragment, see src/ioc/Makefile.
1113
12INC += asLib.h14SRC_DIRS += $(IOCDIR)/as
15
13INC += asDbLib.h16INC += asDbLib.h
14INC += asCa.h17INC += asCa.h
15INC += asTrapWrite.h
16INC += asIocRegister.h18INC += asIocRegister.h
1719
18LIB_SRCS += asLib.c20dbCore_SRCS += asDbLib.c
19LIB_SRCS += asTrapWrite.c21dbCore_SRCS += asCa.c
2022dbCore_SRCS += asIocRegister.c
21asIoc_SRCS += asDbLib.c23
22asIoc_SRCS += asCa.c24PROD_HOST += ascheck
23asIoc_SRCS += asIocRegister.c
24
25LIBRARY_HOST = asHost
26LIBRARY_IOC = asIoc
27
28asHost_LIBS = dbStaticHost ca Com
29asIoc_LIBS = dbIoc dbStaticIoc ca Com
30
31asHost_RCS = asHost.rc
32asIoc_RCS = asIoc.rc
33
34PROD_HOST = ascheck
35ascheck_SRCS = ascheck.c25ascheck_SRCS = ascheck.c
36PROD_LIBS = asHost dbStaticHost ca Com26ascheck_LIBS = dbStaticHost
37
38include $(TOP)/configure/RULES
39
40# Extra rule since asLib_lex.c is included by asLib.c
41asLib$(OBJ): asLib_lex.c
42
43clean::
44 @$(RM) asLib.c asLib_lex.c
4527
4628
=== renamed directory 'src/bpt' => 'src/ioc/bpt'
=== modified file 'src/ioc/bpt/Makefile'
--- src/bpt/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/bpt/Makefile 2011-03-03 23:06:17 +0000
@@ -1,29 +1,27 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2002 The University of Chicago, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9
10include $(TOP)/configure/CONFIG10# This is a Makefile fragment, see src/ioc/Makefile.
11
12SRC_DIRS += $(IOCDIR)/bpt
1113
12INC += cvtTable.h14INC += cvtTable.h
1315
14DBD += menuConvert.dbd16DBD += menuConvert.dbd
15INC += menuConvert.h17INC += menuConvert.h
1618
17DBD += bptTypeJdegC.dbd19BPT_DBD += bptTypeJdegC.dbd
18DBD += bptTypeJdegF.dbd20BPT_DBD += bptTypeJdegF.dbd
19DBD += bptTypeKdegC.dbd21BPT_DBD += bptTypeKdegC.dbd
20DBD += bptTypeKdegF.dbd22BPT_DBD += bptTypeKdegF.dbd
23DBD += $(BPT_DBD)
2124
22PROD_LIBS = Com
23PROD_HOST += makeBpt25PROD_HOST += makeBpt
24makeBpt_SRCS=makeBpt26makeBpt_SRCS=makeBpt
2527
26include $(TOP)/configure/RULES
27
28$(COMMON_DBDS): $(TOOLS)/makeBpt$(HOSTEXE)
29
3028
=== added file 'src/ioc/bpt/RULES'
--- src/ioc/bpt/RULES 1970-01-01 00:00:00 +0000
+++ src/ioc/bpt/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,16 @@
1#*************************************************************************
2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2010 Brookhaven Science Associates, as Operator of
5# Brookhaven National Lab.
6# Copyright (c) 2002 The Regents of the University of California, as
7# Operator of Los Alamos National Laboratory.
8# EPICS BASE is distributed subject to a Software License Agreement found
9# in file LICENSE that is included with this distribution.
10#*************************************************************************
11
12# This is a Makefile fragment, see src/ioc/Makefile.
13
14$(patsubst %,$(COMMON_DIR)/%,$(BPT_DBD)) : \
15$(COMMON_DIR)/bpt%.dbd : $(call PATH_FILTER, $(TOOLS)/makeBpt$(HOSTEXE))
16
017
=== renamed directory 'src/db' => 'src/ioc/db'
=== modified file 'src/ioc/db/Makefile'
--- src/db/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/db/Makefile 2011-03-03 23:06:17 +0000
@@ -1,16 +1,16 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9
10include $(TOP)/configure/CONFIG10# This is a Makefile fragment, see src/ioc/Makefile.
1111
12# includes to install from this sub-project12SRC_DIRS += $(IOCDIR)/db
13#13
14INC += callback.h14INC += callback.h
15INC += dbAccess.h15INC += dbAccess.h
16INC += dbAccessDefs.h16INC += dbAccessDefs.h
@@ -49,43 +49,28 @@
49DBDINC += dbCommon49DBDINC += dbCommon
50DBD+= menuGlobal.dbd50DBD+= menuGlobal.dbd
5151
52LIB_SRCS += dbLock.c52dbCore_SRCS += dbLock.c
53LIB_SRCS += dbAccess.c53dbCore_SRCS += dbAccess.c
54LIB_SRCS += dbBkpt.c54dbCore_SRCS += dbBkpt.c
55LIB_SRCS += dbConvert.c55dbCore_SRCS += dbConvert.c
56LIB_SRCS += dbFastLinkConv.c56dbCore_SRCS += dbFastLinkConv.c
57LIB_SRCS += dbNotify.c57dbCore_SRCS += dbNotify.c
58LIB_SRCS += dbScan.c58dbCore_SRCS += dbScan.c
59LIB_SRCS += dbEvent.c59dbCore_SRCS += dbEvent.c
60LIB_SRCS += dbTest.c60dbCore_SRCS += dbTest.c
61LIB_SRCS += db_access.c61dbCore_SRCS += db_access.c
62LIB_SRCS += db_test.c62dbCore_SRCS += db_test.c
63LIB_SRCS += recGbl.c63dbCore_SRCS += recGbl.c
64LIB_SRCS += callback.c64dbCore_SRCS += callback.c
65LIB_SRCS += dbCa.c65dbCore_SRCS += dbCa.c
66LIB_SRCS += dbCaTest.c66dbCore_SRCS += dbCaTest.c
67LIB_SRCS += initHooks.c67dbCore_SRCS += initHooks.c
68LIB_SRCS += cvtBpt.c68dbCore_SRCS += cvtBpt.c
69LIB_SRCS += dbContext.cpp69dbCore_SRCS += dbContext.cpp
70LIB_SRCS += dbChannelIO.cpp70dbCore_SRCS += dbChannelIO.cpp
71LIB_SRCS += dbSubscriptionIO.cpp71dbCore_SRCS += dbSubscriptionIO.cpp
72LIB_SRCS += dbPutNotifyBlocker.cpp72dbCore_SRCS += dbPutNotifyBlocker.cpp
73LIB_SRCS += dbContextReadNotifyCache.cpp73dbCore_SRCS += dbContextReadNotifyCache.cpp
74LIB_SRCS += templateInstances.cpp74dbCore_SRCS += templateInstances.cpp
75LIB_SRCS += dbIocRegister.c75dbCore_SRCS += dbIocRegister.c
76
77LIBRARY_IOC = dbIoc
78dbIoc_LIBS = dbStaticIoc ca Com
79
80dbIoc_RCS = dbIoc.rc
81
82include $(TOP)/configure/RULES
83
84dbCommon.h$(DEP): ../dbCommonRecord.dbd ../dbCommon.dbd
85 @$(RM) $@
86 @-$(MKMF) -m $@ .. $(COMMON_DIR)/dbCommon.h $<
87
88$(COMMON_DIR)/dbCommon.h: ../dbCommonRecord.dbd ../dbCommon.dbd
89 $(RM) $@
90 $(DBTORECORDTYPEH) -I .. $< $@
9176
9277
=== added file 'src/ioc/db/RULES'
--- src/ioc/db/RULES 1970-01-01 00:00:00 +0000
+++ src/ioc/db/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,28 @@
1#*************************************************************************
2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2010 Brookhaven Science Associates, as Operator of
5# Brookhaven National Lab.
6# Copyright (c) 2002 The Regents of the University of California, as
7# Operator of Los Alamos National Laboratory.
8# EPICS BASE is distributed subject to a Software License Agreement found
9# in file LICENSE that is included with this distribution.
10#*************************************************************************
11
12# This is a Makefile fragment, see src/ioc/Makefile.
13
14$(filter-out $(STATIC_SRCS),$(dbCore_SRCS)) : $(COMMON_DIR)/dbCommon.h
15
16dbCommon.h$(DEP): $(IOCDIR)/db/dbCommonRecord.dbd $(IOCDIR)/db/dbCommon.dbd
17 @$(RM) $@
18 @-$(MKMF) -m $@ ../db $(COMMON_DIR)/dbCommon.h $<
19
20$(COMMON_DIR)/dbCommon.h: $(IOCDIR)/db/dbCommonRecord.dbd $(IOCDIR)/db/dbCommon.dbd
21 $(RM) $@
22 $(DBTORECORDTYPEH) -I ../db $< $@
23
24$(COMMON_DIR)/dbCommon.h: $(DBTORECORDTYPEH)
25
26$(patsubst %,$(COMMON_DIR)/%.h,$(DBDINC) menuConvert menuGlobal) : \
27$(COMMON_DIR)/%.h : $(DBTOMENUH)
28
029
=== modified file 'src/ioc/db/test/Makefile'
--- src/db/test/Makefile 2010-09-29 21:00:46 +0000
+++ src/ioc/db/test/Makefile 2011-03-03 23:06:17 +0000
@@ -6,11 +6,11 @@
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in the file LICENSE that is included with this distribution. 7# in the file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../../..9TOP=../../../..
1010
11include $(TOP)/configure/CONFIG11include $(TOP)/configure/CONFIG
1212
13callbackTest_LIBS = dbIoc13callbackTest_LIBS = dbCore
14callbackTest_LIBS_DEFAULT = dbStaticHost14callbackTest_LIBS_DEFAULT = dbStaticHost
15callbackTest_LIBS_vxWorks = dbStaticIoc15callbackTest_LIBS_vxWorks = dbStaticIoc
16callbackTest_LIBS_RTEMS = dbStaticIoc16callbackTest_LIBS_RTEMS = dbStaticIoc
1717
=== renamed file 'src/db/dbIoc.rc' => 'src/ioc/dbCore.rc'
--- src/db/dbIoc.rc 2005-12-19 21:42:40 +0000
+++ src/ioc/dbCore.rc 2011-03-03 23:06:17 +0000
@@ -18,13 +18,13 @@
18 BEGIN18 BEGIN
19 BLOCK "040904b0"19 BLOCK "040904b0"
20 BEGIN20 BEGIN
21 VALUE "Comments","Database Library for EPICS\0"21 VALUE "Comments","Database Core Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Database Library\0"23 VALUE "FileDescription", "Database Core Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "dbIoc\0"25 VALUE "InternalName", "dbCore\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, UChicago Argonne LLC\0"
27 VALUE "OriginalFilename", "dbIoc.dll\0"27 VALUE "OriginalFilename", "dbCore.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END30 END
3131
=== renamed directory 'src/dbStatic' => 'src/ioc/dbStatic'
=== modified file 'src/ioc/dbStatic/Makefile'
--- src/dbStatic/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/dbStatic/Makefile 2011-03-03 23:06:17 +0000
@@ -1,17 +1,16 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9
1010# This is a Makefile fragment, see src/ioc/Makefile.
11include $(TOP)/configure/CONFIG11
1212SRC_DIRS += $(IOCDIR)/dbStatic
13INC += alarm.h13
14INC += alarmString.h
15INC += dbBase.h14INC += dbBase.h
16INC += dbFldTypes.h15INC += dbFldTypes.h
17INC += dbStaticLib.h16INC += dbStaticLib.h
@@ -24,35 +23,34 @@
24INC += recSup.h23INC += recSup.h
25INC += dbStaticIocRegister.h24INC += dbStaticIocRegister.h
2625
27LIBSRCS += dbStaticLib.c26STATIC_SRCS += dbStaticLib.c
28LIBSRCS += dbYacc.c27STATIC_SRCS += dbYacc.c
29LIBSRCS += dbPvdLib.c28STATIC_SRCS += dbPvdLib.c
3029
30dbCore_SRCS += $(STATIC_SRCS)
31dbCore_SRCS += dbStaticRun.c
32dbCore_SRCS += dbStaticIocRegister.c
33
34dbStaticHost_SRCS += $(STATIC_SRCS)
31dbStaticHost_SRCS += dbStaticNoRun.c 35dbStaticHost_SRCS += dbStaticNoRun.c
32dbStaticIoc_SRCS += dbStaticRun.c
33dbStaticIoc_SRCS += dbStaticIocRegister.c
3436
35LIBRARY_HOST += dbStaticHost37LIBRARY_HOST += dbStaticHost
36LIBRARY_IOC += dbStaticIoc
3738
38dbStaticHost_LIBS = Com39dbStaticHost_LIBS = Com
39dbStaticIoc_LIBS = Com40
4041PROD_HOST += dbReadTest dbExpand dbToMenuH dbToRecordtypeH
41dbStaticHost_RCS = dbStaticHost.rc
42dbStaticIoc_RCS = dbStaticIoc.rc
43
44PROD_LIBS := dbStaticHost Com
45PROD_HOST = dbReadTest dbExpand dbToMenuH dbToRecordtypeH
4642
47dbReadTest_SRCS = dbReadTest.c43dbReadTest_SRCS = dbReadTest.c
48dbExpand_SRCS = dbExpand.c44dbExpand_SRCS = dbExpand.c
49dbToMenuH_SRCS = dbToMenuH.c45dbToMenuH_SRCS = dbToMenuH.c
50dbToRecordtypeH_SRCS = dbToRecordtypeH.c46dbToRecordtypeH_SRCS = dbToRecordtypeH.c
5147
52include $(TOP)/configure/RULES48# Include dbStaticHost objects directly in executables
5349# because of a Circular dependency induced by a rule
54# Extra rule since dbLexRoutines.c is included in dbYacc.c50# $(INSTALL_LIBS): $(INSTALL_SHRLIBS)
55dbYacc.c: dbLex.c ../dbLexRoutines.c51# in RULES_BUILD
5652dbReadTest_SRCS += $(dbStaticHost_SRCS)
57clean::53dbExpand_SRCS += $(dbStaticHost_SRCS)
58 @$(RM) dbLex.c dbYacc.c 54dbToMenuH_SRCS += $(dbStaticHost_SRCS)
55dbToRecordtypeH_SRCS += $(dbStaticHost_SRCS)
56
5957
=== added file 'src/ioc/dbStatic/RULES'
--- src/ioc/dbStatic/RULES 1970-01-01 00:00:00 +0000
+++ src/ioc/dbStatic/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,16 @@
1#*************************************************************************
2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9
10# This is a Makefile fragment, see src/ioc/Makefile.
11
12# dbLexRoutines.c is included in dbYacc.c
13dbYacc.c: dbLex.c $(IOCDIR)/dbStatic/dbLexRoutines.c
14
15clean::
16 @$(RM) dbLex.c dbYacc.c
017
=== renamed file 'src/dbStatic/dbStaticHost.rc' => 'src/ioc/dbStaticHost.rc'
=== renamed directory 'src/dbtools' => 'src/ioc/dbtemplate'
=== modified file 'src/ioc/dbtemplate/Makefile'
--- src/dbtools/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/dbtemplate/Makefile 2011-03-03 23:06:17 +0000
@@ -1,37 +1,21 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2002 The University of Chicago, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9
1010# This is a Makefile fragment, see src/ioc/Makefile.
11include $(TOP)/configure/CONFIG11
12SRC_DIRS += $(IOCDIR)/dbtemplate
1213
13INC += dbLoadTemplate.h14INC += dbLoadTemplate.h
14INC += dbtoolsIocRegister.h15INC += dbtoolsIocRegister.h
1516
16LIB_SRCS += dbLoadTemplate.c17dbCore_SRCS += dbLoadTemplate.c
17LIB_SRCS += dbtoolsIocRegister.c18dbCore_SRCS += dbtoolsIocRegister.c
1819
19LIBRARY_IOC = dbtoolsIoc20HTMLS += dbtemplate/dbLoadTemplate.html
20
21dbtoolsIoc_LIBS = dbIoc dbStaticIoc Com
22
23dbtoolsIoc_RCS = dbtoolsIoc.rc
24
25HTMLS += dbLoadTemplate.html
26
27include $(TOP)/configure/RULES
28
29#
30# These lex sources are included in some C sources,
31# so they have to be created in time:
32#
33dbLoadTemplate.c: dbLoadTemplate_lex.c ../dbLoadTemplate.h
34
35clean::
36 @$(RM) dbLoadTemplate_lex.c dbLoadTemplate.c
3721
3822
=== added file 'src/ioc/dbtemplate/RULES'
--- src/ioc/dbtemplate/RULES 1970-01-01 00:00:00 +0000
+++ src/ioc/dbtemplate/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,17 @@
1#*************************************************************************
2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9
10# This is a Makefile fragment, see src/ioc/Makefile.
11
12# dbLoadTemplate_lex.c is included by dbLoadTemplate.c
13dbLoadTemplate.c: dbLoadTemplate_lex.c $(IOCDIR)/dbtemplate/dbLoadTemplate.h
14
15clean::
16 @$(RM) dbLoadTemplate_lex.c dbLoadTemplate.c
17
018
=== renamed directory 'src/misc' => 'src/ioc/misc'
=== modified file 'src/ioc/misc/Makefile'
--- src/misc/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/misc/Makefile 2011-03-03 23:06:17 +0000
@@ -1,5 +1,5 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2009 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
@@ -7,30 +7,22 @@
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
99
10TOP=../..10# This is a Makefile fragment, see src/ioc/Makefile.
11include $(TOP)/configure/CONFIG11
1212SRC_DIRS += $(IOCDIR)/misc
13DBD += base.dbd13
14DBD += system.dbd14DBD += system.dbd
15DBD += dlload.dbd15DBD += dlload.dbd
16DBD += dbCore.dbd
1617
17INC += epicsRelease.h18INC += epicsRelease.h
18INC += iocInit.h19INC += iocInit.h
19INC += miscIocRegister.h20INC += miscIocRegister.h
20INC += iocshRegisterCommon.h21INC += iocshRegisterCommon.h
2122
22LIB_SRCS += epicsRelease.c23dbCore_SRCS += epicsRelease.c
23LIB_SRCS += iocInit.c24dbCore_SRCS += iocInit.c
24LIB_SRCS += asSubRecordFunctions.c25dbCore_SRCS += miscIocRegister.c
25LIB_SRCS += miscIocRegister.c26dbCore_SRCS += dlload.c
26LIB_SRCS += dlload.c27dbCore_SRCS += iocshRegisterCommon.c
27LIB_SRCS += iocshRegisterCommon.c
28
29
30LIBRARY_IOC = miscIoc
31
32miscIoc_RCS = miscIoc.rc
33miscIoc_LIBS = rsrvIoc asIoc dbtoolsIoc dbIoc registryIoc dbStaticIoc ca Com
34
35include $(TOP)/configure/RULES
3628
3729
=== added file 'src/ioc/misc/dbCore.dbd'
--- src/ioc/misc/dbCore.dbd 1970-01-01 00:00:00 +0000
+++ src/ioc/misc/dbCore.dbd 2011-03-03 23:06:17 +0000
@@ -0,0 +1,14 @@
1# dbCore.dbd
2#
3# $Revision-Id$
4#
5# This file provides iocsh access to variables that control some lesser-used
6# and debugging features of the IOC database code.
7
8# Access security subroutines
9variable(asCaDebug,int)
10
11# Static database access variables
12variable(dbRecordsOnceOnly,int)
13variable(dbBptNotMonotonic,int)
14
015
=== renamed directory 'src/registry' => 'src/ioc/registry'
=== modified file 'src/ioc/registry/Makefile'
--- src/registry/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/registry/Makefile 2011-03-03 23:06:17 +0000
@@ -1,14 +1,15 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9
1010# This is a Makefile fragment, see src/ioc/Makefile.
11include $(TOP)/configure/CONFIG11
12SRC_DIRS += $(IOCDIR)/registry
1213
13INC += registryRecordType.h14INC += registryRecordType.h
14INC += registryDeviceSupport.h15INC += registryDeviceSupport.h
@@ -17,19 +18,12 @@
17INC += registryCommon.h18INC += registryCommon.h
18INC += registryIocRegister.h19INC += registryIocRegister.h
1920
20SCRIPTS_HOST += registerRecordDeviceDriver.pl21SCRIPTS_HOST += registry/registerRecordDeviceDriver.pl
2122
22LIB_SRCS += registryRecordType.c23dbCore_SRCS += registryRecordType.c
23LIB_SRCS += registryDeviceSupport.c24dbCore_SRCS += registryDeviceSupport.c
24LIB_SRCS += registryDriverSupport.c25dbCore_SRCS += registryDriverSupport.c
25LIB_SRCS += registryFunction.c26dbCore_SRCS += registryFunction.c
26LIB_SRCS += registryCommon.c27dbCore_SRCS += registryCommon.c
27LIB_SRCS += registryIocRegister.c28dbCore_SRCS += registryIocRegister.c
28
29LIBRARY_IOC = registryIoc
30registryIoc_LIBS = dbStaticIoc Com
31
32registryIoc_RCS = registryIoc.rc
33
34include $(TOP)/configure/RULES
3529
3630
=== renamed directory 'src/rsrv' => 'src/ioc/rsrv'
=== modified file 'src/ioc/rsrv/Makefile'
--- src/rsrv/Makefile 2010-10-12 16:27:17 +0000
+++ src/ioc/rsrv/Makefile 2011-03-03 23:06:17 +0000
@@ -1,33 +1,28 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9
1010# This is a Makefile fragment, see src/ioc/Makefile.
11include $(TOP)/configure/CONFIG11
1212SRC_DIRS += $(IOCDIR)/rsrv
13USR_INCLUDES = -I../../ca13
14# These need access to net_convert.h from the CA client
15caserverio_INCLUDES = -I$(SRC)/ca/client
16camessage_INCLUDES = -I$(SRC)/ca/client
1417
15INC += rsrv.h18INC += rsrv.h
16INC += rsrvIocRegister.h19INC += rsrvIocRegister.h
1720
18LIB_SRCS += caserverio.c21dbCore_SRCS += caserverio.c
19LIB_SRCS += caservertask.c22dbCore_SRCS += caservertask.c
20LIB_SRCS += camsgtask.c23dbCore_SRCS += camsgtask.c
21LIB_SRCS += camessage.c24dbCore_SRCS += camessage.c
22LIB_SRCS += cast_server.c25dbCore_SRCS += cast_server.c
23LIB_SRCS += online_notify.c26dbCore_SRCS += online_notify.c
24LIB_SRCS += rsrvIocRegister.c27dbCore_SRCS += rsrvIocRegister.c
2528
26LIBRARY_IOC = rsrvIoc
27
28rsrvIoc_LIBS = asIoc dbIoc ca Com
29
30rsrvIoc_SYS_LIBS_WIN32 := ws2_32
31rsrvIoc_RCS = rsrvIoc.rc
32
33include $(TOP)/configure/RULES
3429
=== modified file 'src/libCom/Makefile'
--- src/libCom/Makefile 2010-10-12 16:27:17 +0000
+++ src/libCom/Makefile 2011-03-03 23:06:17 +0000
@@ -1,5 +1,5 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
@@ -9,318 +9,48 @@
9TOP = ../..9TOP = ../..
10include $(TOP)/configure/CONFIG10include $(TOP)/configure/CONFIG
1111
12LIBCOM = $(TOP)/src/libCom12SRC = $(TOP)/src
1313LIBCOM = $(SRC)/libCom
14# Command-line input support14
15epicsReadline_CFLAGS += -DEPICS_COMMANDLINE_LIBRARY=EPICS_COMMANDLINE_LIBRARY_$(COMMANDLINE_LIBRARY)15include $(LIBCOM)/as/Makefile
16epicsReadline_INCLUDES += $(INCLUDES_$(COMMANDLINE_LIBRARY))16include $(LIBCOM)/bucketLib/Makefile
1717include $(LIBCOM)/calc/Makefile
18#POSIX thread priority scheduling flag18include $(LIBCOM)/cvtFast/Makefile
19THREAD_CPPFLAGS_NO += -DDONT_USE_POSIX_THREAD_PRIORITY_SCHEDULING19include $(LIBCOM)/cppStd/Makefile
20osdThread_CPPFLAGS += $(THREAD_CPPFLAGS_$(USE_POSIX_THREAD_PRIORITY_SCHEDULING))20include $(LIBCOM)/cxxTemplates/Makefile
2121include $(LIBCOM)/dbmf/Makefile
22#epicsVersion is created by this Makefile22include $(LIBCOM)/ellLib/Makefile
23INC += epicsVersion.h23include $(LIBCOM)/env/Makefile
2424include $(LIBCOM)/error/Makefile
25SRC_DIRS += $(LIBCOM)/bucketLib25include $(LIBCOM)/fdmgr/Makefile
26INC += bucketLib.h26include $(LIBCOM)/flex/Makefile
27SRCS += bucketLib.c27include $(LIBCOM)/freeList/Makefile
2828include $(LIBCOM)/gpHash/Makefile
29SRC_DIRS += $(LIBCOM)/ring29include $(LIBCOM)/iocsh/Makefile
30#following needed for locating epicsRingPointer.h and epicsRingBytes.h30include $(LIBCOM)/log/Makefile
31INC += epicsRingPointer.h31include $(LIBCOM)/macLib/Makefile
32INC += epicsRingBytes.h32include $(LIBCOM)/misc/Makefile
33SRCS += epicsRingPointer.cpp33include $(LIBCOM)/osi/Makefile
34SRCS += epicsRingBytes.c34include $(LIBCOM)/ring/Makefile
3535include $(LIBCOM)/taskwd/Makefile
36SRC_DIRS += $(LIBCOM)/calc36include $(LIBCOM)/timer/Makefile
37INC += postfix.h37include $(LIBCOM)/tsDefs/Makefile
38SRCS += postfix.c38include $(LIBCOM)/yacc/Makefile
39SRCS += calcPerform.c39
4040# Library to build:
41SRC_DIRS += $(LIBCOM)/cvtFast
42INC += cvtFast.h
43SRCS += cvtFast.c
44
45# From cppStd
46SRC_DIRS += $(LIBCOM)/cppStd
47INC += epicsAlgorithm.h
48INC += epicsExcept.h
49INC += epicsMemory.h
50
51# From cxxTemplates
52SRC_DIRS += $(LIBCOM)/cxxTemplates
53INC += resourceLib.h
54INC += tsDLList.h
55INC += tsSLList.h
56INC += tsMinMax.h
57INC += tsBTree.h
58INC += tsFreeList.h
59INC += epicsSingleton.h
60INC += epicsGuard.h
61INC += epicsOnce.h
62SRCS += resourceLib.cpp
63SRCS += epicsOnce.cpp
64SRCS += epicsSingletonMutex.cpp
65
66SRC_DIRS += $(LIBCOM)/dbmf
67INC += dbmf.h
68SRCS += dbmf.c
69
70SRC_DIRS += $(LIBCOM)/ellLib
71INC += ellLib.h
72SRCS += ellLib.c
73
74SRC_DIRS += $(LIBCOM)/env
75INC += envDefs.h
76SRCS += envSubr.c
77SRCS += envData.c
78
79SRC_DIRS += $(LIBCOM)/error
80INC += epicsPrint.h
81INC += errMdef.h
82INC += errSymTbl.h
83INC += errlog.h
84INC += error.h
85SRCS += errlog.c
86SRCS += errSymLib.c
87SRCS += errSymTbl.c
88
89SRC_DIRS += $(LIBCOM)/fdmgr
90INC += fdManager.h
91INC += fdmgr.h
92SRCS += fdmgr.cpp
93SRCS += fdManager.cpp
94
95SRC_DIRS += $(LIBCOM)/freeList
96INC += freeList.h
97SRCS += freeListLib.c
98HTMLS += freeList/freeList.html
99
100SRC_DIRS += $(LIBCOM)/gpHash
101INC += gpHash.h
102SRCS += gpHashLib.c
103HTMLS += gpHash/gpHash.html
104
105SRC_DIRS += $(LIBCOM)/iocsh
106INC += iocsh.h
107INC += registry.h
108INC += libComRegister.h
109SRCS += iocsh.cpp
110SRCS += registry.c
111SRCS += libComRegister.c
112
113SRC_DIRS += $(LIBCOM)/logClient
114INC += iocLog.h
115INC += logClient.h
116SRCS += iocLog.c
117SRCS += logClient.c
118
119SRC_DIRS += $(LIBCOM)/macLib
120INC += macLib.h
121SRCS += macCore.c
122SRCS += macEnv.c
123SRCS += macUtil.c
124
125SRC_DIRS += $(LIBCOM)/misc
126INC += adjustment.h
127INC += cantProceed.h
128INC += dbDefs.h
129INC += epicsConvert.h
130INC += epicsExit.h
131INC += epicsStdlib.h
132INC += epicsString.h
133INC += epicsTypes.h
134INC += shareLib.h
135INC += epicsExport.h
136INC += unixFileName.h
137INC += locationException.h
138INC += ipAddrToAsciiAsynchronous.h
139INC += compilerDependencies.h
140INC += epicsUnitTest.h
141INC += testMain.h
142SRCS += aToIPAddr.c
143SRCS += adjustment.c
144SRCS += cantProceed.c
145SRCS += epicsConvert.c
146SRCS += epicsExit.c
147SRCS += epicsStdlib.c
148SRCS += epicsString.c
149SRCS += truncateFile.c
150SRCS += ipAddrToAsciiAsynchronous.cpp
151SRCS += epicsUnitTest.c
152
153# From osi
154SRC_DIRS += $(LIBCOM)/osi
155INC += osiFileName.h
156INC += osiSock.h
157INC += osdSock.h
158INC += epicsInterrupt.h
159INC += osdInterrupt.h
160
161INC += epicsMutex.h
162INC += osdMutex.h
163INC += epicsEvent.h
164INC += osdEvent.h
165INC += epicsMath.h
166INC += osdMessageQueue.h
167INC += osdStrtod.h
168
169INC += epicsAssert.h
170INC += epicsFindSymbol.h
171INC += osiPoolStatus.h
172INC += osdPoolStatus.h
173INC += osdThread.h
174
175INC += epicsThread.h
176INC += epicsTime.h
177INC += epicsGeneralTime.h
178INC += osdTime.h
179INC += generalTimeSup.h
180INC += osiClockTime.h
181INC += epicsSignal.h
182INC += osiProcess.h
183INC += osiUnistd.h
184INC += osiWireFormat.h
185INC += osdWireFormat.h
186INC += osdWireConfig.h
187INC += epicsEndian.h
188INC += epicsReadline.h
189INC += epicsMessageQueue.h
190INC += epicsStdio.h
191INC += epicsStdioRedirect.h
192INC += epicsGetopt.h
193
194INC += devLib.h
195INC += devLibVME.h
196INC += devLibVMEImpl.h
197INC += osdVME.h
198
199SRCS += epicsThread.cpp
200SRCS += epicsMutex.cpp
201SRCS += epicsEvent.cpp
202SRCS += epicsTime.cpp
203SRCS += epicsMessageQueue.cpp
204SRCS += epicsMath.cpp
205
206SRCS += epicsGeneralTime.c
207SRCS += osiClockTime.c
208
209SRCS += osdSock.c
210SRCS += osdSockAddrReuse.cpp
211SRCS += osiSock.c
212SRCS += systemCallIntMech.cpp
213SRCS += epicsSocketConvertErrnoToString.cpp
214SRCS += osdAssert.c
215SRCS += osdFindSymbol.c
216SRCS += osdInterrupt.c
217SRCS += osdPoolStatus.c
218SRCS += osdSignal.cpp
219SRCS += osdEnv.c
220SRCS += epicsReadline.c
221SRCS += epicsTempFile.cpp
222SRCS += epicsStdio.c
223SRCS += osdStdio.c
224
225osdEnv_CFLAGS_WIN32= -U__STDC__
226
227SRCS += osdThread.c
228SRCS += osdMutex.c
229SRCS += osdEvent.c
230SRCS += osdTime.cpp
231SRCS += osdProcess.c
232SRCS += osdNetIntf.c
233SRCS += osdMessageQueue.c
234
235SRCS += devLibVME.c
236SRCS += devLibVMEOSD.c
237
238SRC_DIRS += $(LIBCOM)/taskwd
239INC += taskwd.h
240SRCS += taskwd.c
241
242SRC_DIRS += $(LIBCOM)/timer
243INC += epicsTimer.h
244SRCS += epicsTimer.cpp
245SRCS += timer.cpp
246SRCS += timerQueue.cpp
247SRCS += timerQueueActive.cpp
248SRCS += timerQueueActiveMgr.cpp
249SRCS += timerQueuePassive.cpp
250
251#tsDefs contains R3.13 compatibility tsStamp code
252SRC_DIRS += $(LIBCOM)/tsDefs
253INC += tsDefs.h
254SRCS += tsDefs.c
255
256# Time providers, in osi
257SRCS_vxWorks += osiNTPTime.c
258SRCS_RTEMS += osiNTPTime.c
259
260# These files are in osi/os/vxWorks
261# Special reboot hook
262SRCS_vxWorks += atReboot.cpp
263# For old vxWorks applications
264INC_vxWorks += camacLib.h
265INC_vxWorks += epicsDynLink.h
266INC_vxWorks += module_types.h
267INC_vxWorks += task_params.h
268SRCS_vxWorks += epicsDynLink.c
269SRCS_vxWorks += veclist.c
270SRCS_vxWorks += logMsgToErrlog.cpp
271
272#This forces the vxWorks compatibility stuff to be loaded
273OBJS_vxWorks = vxComLibrary
274
275# These files are in osi/os/WIN32
276SRCS_WIN32 += epicsGetopt.c
277SRCS_WIN32 += setThreadName.cpp
278#SRCS_WIN32 += dllmain.cpp
279SRCS_WIN32 += forceBadAllocException.cpp
280
281# Library to build:
282# lib$(LIBRARY).a or ..dll/..exp/..lib
283#
284LIBRARY=Com41LIBRARY=Com
28542
286Com_SYS_LIBS_WIN32 = ws2_32 advapi32 user3243Com_SYS_LIBS_WIN32 = ws2_32 advapi32 user32
28744
288Com_RCS = Com.rc45Com_RCS = Com.rc
28946
290# libs needed for PROD and TESTPRODUCT
291PROD_LIBS = Com
292PROD_SYS_LIBS_WIN32 = ws2_32 advapi32
293
294# for bldErrSymTbl:
295#
296ERR_S_FILES += $(TOP)/src/libCom/osi/devLib.h
297ERR_S_FILES += $(TOP)/src/as/asLib.h
298ERR_S_FILES += $(TOP)/src/db/dbAccessDefs.h
299ERR_S_FILES += $(TOP)/src/dbStatic/devSup.h
300ERR_S_FILES += $(TOP)/src/dbStatic/drvSup.h
301ERR_S_FILES += $(TOP)/src/dbStatic/recSup.h
302ERR_S_FILES += $(TOP)/src/dbStatic/dbStaticLib.h
303ERR_S_FILES += $(LIBCOM)/error/errMdef.h
304ERR_S_FILES += $(TOP)/src/cas/generic/casdef.h
305ERR_S_FILES += $(TOP)/src/gdd/gddAppFuncTable.h
306
307include $(TOP)/configure/RULES47include $(TOP)/configure/RULES
30848
309osdAssert$(OBJ): $(COMMON_DIR)/epicsVersion.h49include $(LIBCOM)/as/RULES
310epicsTime$(OBJ): $(COMMON_DIR)/epicsVersion.h50include $(LIBCOM)/env/RULES
311osdNetIntf$(OBJ): $(COMMON_DIR)/epicsVersion.h51include $(LIBCOM)/error/RULES
312osdSock$(OBJ): $(COMMON_DIR)/epicsVersion.h52include $(LIBCOM)/flex/RULES
31353include $(LIBCOM)/log/RULES
314envData.c: $(LIBCOM)/env/envDefs.h $(LIBCOM)/env/bldEnvData.pl \54include $(LIBCOM)/misc/RULES
315 $(CONFIG)/CONFIG_ENV $(CONFIG)/CONFIG_SITE_ENV55include $(LIBCOM)/osi/RULES
316 $(PERL) $(LIBCOM)/env/bldEnvData.pl $(CONFIG)
317
318errSymTbl.c: $(ERR_S_FILES) $(LIBCOM)/error/makeStatTbl.pl
319 $(PERL) $(LIBCOM)/error/makeStatTbl.pl $(ERR_S_FILES)
320
321$(COMMON_DIR)/epicsVersion.h: $(CONFIG)/CONFIG_BASE_VERSION $(CONFIG)/CONFIG_SITE
322 $(PERL) $(LIBCOM)/misc/makeEpicsVersion.pl $(CONFIG)/CONFIG_BASE_VERSION $(@D) $(EPICS_SITE_VERSION)
323
324clean::
325 @$(RM) errSymTbl.c envData.c
32656
32757
=== renamed directory 'src/RTEMS' => 'src/libCom/RTEMS'
=== modified file 'src/libCom/RTEMS/Makefile'
--- src/RTEMS/Makefile 2010-11-17 22:55:22 +0000
+++ src/libCom/RTEMS/Makefile 2011-03-03 23:06:17 +0000
@@ -6,7 +6,7 @@
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9TOP=../../..
10include $(TOP)/configure/CONFIG10include $(TOP)/configure/CONFIG
1111
12INC += epicsRtemsInitHooks.h12INC += epicsRtemsInitHooks.h
1313
=== added directory 'src/libCom/as'
=== added file 'src/libCom/as/Makefile'
--- src/libCom/as/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/as/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,21 @@
1#*************************************************************************
2# Copyright (c) 2010 Brookhaven Science Associates, as Operator of
3# Brookhaven National Lab.
4# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
5# National Laboratory.
6# Copyright (c) 2002 The Regents of the University of California, as
7# Operator of Los Alamos National Laboratory.
8# EPICS BASE is distributed subject to a Software License Agreement found
9# in file LICENSE that is included with this distribution.
10#************************************************************************
11
12# This is a Makefile fragment, see src/libCom/Makefile.
13
14SRC_DIRS += $(LIBCOM)/as
15
16INC += asLib.h
17INC += asTrapWrite.h
18
19LIB_SRCS += asLib.c
20LIB_SRCS += asTrapWrite.c
21
022
=== added file 'src/libCom/as/RULES'
--- src/libCom/as/RULES 1970-01-01 00:00:00 +0000
+++ src/libCom/as/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,22 @@
1#*************************************************************************
2# Copyright (c) 2010 Brookhaven Science Associates, as Operator of
3# Brookhaven National Lab.
4# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
5# National Laboratory.
6# Copyright (c) 2002 The Regents of the University of California, as
7# Operator of Los Alamos National Laboratory.
8# EPICS BASE is distributed subject to a Software License Agreement found
9# in file LICENSE that is included with this distribution.
10#************************************************************************
11
12# This is a Makefile fragment, see src/libCom/Makefile.
13
14# Extra rule since asLib_lex.c is included by asLib.c
15asLib$(OBJ): asLib_lex.c
16
17# Ensure that lexer and parser are built before they are needed
18asLib.c: $(call PATH_FILTER, $(TOOLS)/antelope$(HOSTEXE))
19asLib_lex.c: $(call PATH_FILTER, $(TOOLS)/e_flex$(HOSTEXE))
20
21clean::
22 @$(RM) asLib.c asLib_lex.c
023
=== renamed file 'src/as/asLib.h' => 'src/libCom/as/asLib.h'
=== renamed file 'src/as/asLib.y' => 'src/libCom/as/asLib.y'
=== renamed file 'src/as/asLibRoutines.c' => 'src/libCom/as/asLibRoutines.c'
=== renamed file 'src/as/asLib_lex.l' => 'src/libCom/as/asLib_lex.l'
=== renamed file 'src/as/asTrapWrite.c' => 'src/libCom/as/asTrapWrite.c'
=== renamed file 'src/as/asTrapWrite.h' => 'src/libCom/as/asTrapWrite.h'
=== added file 'src/libCom/bucketLib/Makefile'
--- src/libCom/bucketLib/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/bucketLib/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,12 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/bucketLib
11INC += bucketLib.h
12Com_SRCS += bucketLib.c
013
=== added file 'src/libCom/calc/Makefile'
--- src/libCom/calc/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/calc/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,14 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/calc
11INC += postfix.h
12Com_SRCS += postfix.c
13Com_SRCS += calcPerform.c
14
015
=== added file 'src/libCom/cppStd/Makefile'
--- src/libCom/cppStd/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/cppStd/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,14 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/cppStd
11INC += epicsAlgorithm.h
12INC += epicsExcept.h
13INC += epicsMemory.h
14
015
=== added file 'src/libCom/cvtFast/Makefile'
--- src/libCom/cvtFast/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/cvtFast/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,13 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/cvtFast
11INC += cvtFast.h
12Com_SRCS += cvtFast.c
13
014
=== added file 'src/libCom/cxxTemplates/Makefile'
--- src/libCom/cxxTemplates/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/cxxTemplates/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,23 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/cxxTemplates
11INC += resourceLib.h
12INC += tsDLList.h
13INC += tsSLList.h
14INC += tsMinMax.h
15INC += tsBTree.h
16INC += tsFreeList.h
17INC += epicsSingleton.h
18INC += epicsGuard.h
19INC += epicsOnce.h
20Com_SRCS += resourceLib.cpp
21Com_SRCS += epicsOnce.cpp
22Com_SRCS += epicsSingletonMutex.cpp
23
024
=== added file 'src/libCom/dbmf/Makefile'
--- src/libCom/dbmf/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/dbmf/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,13 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/dbmf
11INC += dbmf.h
12Com_SRCS += dbmf.c
13
014
=== added file 'src/libCom/ellLib/Makefile'
--- src/libCom/ellLib/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/ellLib/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,12 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/ellLib
11INC += ellLib.h
12Com_SRCS += ellLib.c
013
=== added file 'src/libCom/env/Makefile'
--- src/libCom/env/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/env/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,16 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/env
11
12INC += envDefs.h
13
14Com_SRCS += envSubr.c
15Com_SRCS += envData.c
16
017
=== added file 'src/libCom/env/RULES'
--- src/libCom/env/RULES 1970-01-01 00:00:00 +0000
+++ src/libCom/env/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,15 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10envData.c: $(LIBCOM)/env/envDefs.h $(LIBCOM)/env/bldEnvData.pl \
11 $(CONFIG)/CONFIG_ENV $(CONFIG)/CONFIG_SITE_ENV
12 $(PERL) $(LIBCOM)/env/bldEnvData.pl $(CONFIG)
13
14clean::
15 @$(RM) envData.c
016
=== added file 'src/libCom/error/Makefile'
--- src/libCom/error/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/error/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,34 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/error
11
12INC += epicsPrint.h
13INC += errMdef.h
14INC += errSymTbl.h
15INC += errlog.h
16INC += error.h
17
18Com_SRCS += errlog.c
19Com_SRCS += errSymLib.c
20Com_SRCS += errSymTbl.c
21
22# For bldErrSymTbl
23#
24ERR_S_FILES += $(LIBCOM)/osi/devLib.h
25ERR_S_FILES += $(LIBCOM)/as/asLib.h
26ERR_S_FILES += $(SRC)/ioc/db/dbAccessDefs.h
27ERR_S_FILES += $(SRC)/ioc/dbStatic/devSup.h
28ERR_S_FILES += $(SRC)/ioc/dbStatic/drvSup.h
29ERR_S_FILES += $(SRC)/ioc/dbStatic/recSup.h
30ERR_S_FILES += $(SRC)/ioc/dbStatic/dbStaticLib.h
31ERR_S_FILES += $(LIBCOM)/error/errMdef.h
32ERR_S_FILES += $(SRC)/ca/legacy/pcas/generic/casdef.h
33ERR_S_FILES += $(SRC)/ca/legacy/gdd/gddAppFuncTable.h
34
035
=== added file 'src/libCom/error/RULES'
--- src/libCom/error/RULES 1970-01-01 00:00:00 +0000
+++ src/libCom/error/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,14 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10errSymTbl.c: $(ERR_S_FILES) $(LIBCOM)/error/makeStatTbl.pl
11 $(PERL) $(LIBCOM)/error/makeStatTbl.pl $(ERR_S_FILES)
12
13clean::
14 @$(RM) errSymTbl.c
015
=== added file 'src/libCom/fdmgr/Makefile'
--- src/libCom/fdmgr/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/fdmgr/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,14 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/fdmgr
11INC += fdManager.h
12INC += fdmgr.h
13Com_SRCS += fdmgr.cpp
14Com_SRCS += fdManager.cpp
015
=== renamed directory 'src/toolsComm/flex' => 'src/libCom/flex'
=== modified file 'src/libCom/flex/Makefile'
--- src/toolsComm/flex/Makefile 2009-07-22 20:41:09 +0000
+++ src/libCom/flex/Makefile 2011-03-03 23:06:17 +0000
@@ -1,44 +1,35 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2002 The University of Chicago, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../../..9
1010# This is a Makefile fragment, see src/libCom/Makefile.
11include $(TOP)/configure/CONFIG11
1212SRC_DIRS += $(LIBCOM)/flex
13HOST_WARN=NO13
1414parse_YACCOPT = -l -d
15YACC = $(EYACC)
16YACCOPT = -l -d
1715
18SKELETON_FILE = include/flex.skel.static16SKELETON_FILE = include/flex.skel.static
1917
20USR_CPPFLAGS = -DDEFAULT_SKELETON_FILE=$(SKELETON_FILE)18parse_CPPFLAGS = -DDEFAULT_SKELETON_FILE=$(SKELETON_FILE)
2119
22INC += flex.skel.static20INC += flex.skel.static
2321
24# main.c is included in parse.c22# flex.c is included in parse.c
25#23e_flex_SRCS += ccl.c
26SRCS += ccl.c24e_flex_SRCS += dfa.c
27SRCS += dfa.c25e_flex_SRCS += ecs.c
28SRCS += ecs.c26e_flex_SRCS += gen.c
29SRCS += gen.c27e_flex_SRCS += misc.c
30SRCS += misc.c28e_flex_SRCS += nfa.c
31SRCS += nfa.c29e_flex_SRCS += sym.c
32SRCS += sym.c30e_flex_SRCS += tblcmp.c
33SRCS += tblcmp.c31e_flex_SRCS += parse.c
34SRCS += parse.c32e_flex_OBJS += epicsTempFile$(OBJ)
3533
36PROD_HOST = e_flex34PROD_HOST += e_flex
37PROD_LIBS = Com35
38
39include $(TOP)/configure/RULES
40
41clean::
42 $(RM) parse.c parse.h
43
44# EOF Makefile.Host for base/src/toolsComm/flex
4536
=== added file 'src/libCom/flex/RULES'
--- src/libCom/flex/RULES 1970-01-01 00:00:00 +0000
+++ src/libCom/flex/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,16 @@
1#*************************************************************************
2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9
10# This is a Makefile fragment, see src/libCom/Makefile.
11
12# Ensure that the lexer is built before it is needed
13parse.c: $(YACC)
14
15clean::
16 $(RM) parse.c parse.h
017
=== renamed file 'src/toolsComm/flex/main.c' => 'src/libCom/flex/flex.c'
=== modified file 'src/libCom/flex/parse.y'
--- src/toolsComm/flex/parse.y 2010-10-05 19:27:37 +0000
+++ src/libCom/flex/parse.y 2011-03-03 23:06:17 +0000
@@ -703,5 +703,5 @@
703703
704#include "scan.c"704#include "scan.c"
705#include "yylex.c"705#include "yylex.c"
706#include "main.c"706#include "flex.c"
707707
708708
=== added file 'src/libCom/freeList/Makefile'
--- src/libCom/freeList/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/freeList/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,13 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/freeList
11INC += freeList.h
12Com_SRCS += freeListLib.c
13HTMLS += freeList/freeList.html
014
=== added file 'src/libCom/gpHash/Makefile'
--- src/libCom/gpHash/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/gpHash/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,13 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/gpHash
11INC += gpHash.h
12Com_SRCS += gpHashLib.c
13HTMLS += gpHash/gpHash.html
014
=== added file 'src/libCom/iocsh/Makefile'
--- src/libCom/iocsh/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/iocsh/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,16 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/iocsh
11INC += iocsh.h
12INC += registry.h
13INC += libComRegister.h
14Com_SRCS += iocsh.cpp
15Com_SRCS += registry.c
16Com_SRCS += libComRegister.c
017
=== renamed directory 'src/libCom/logClient' => 'src/libCom/log'
=== added file 'src/libCom/log/Makefile'
--- src/libCom/log/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/log/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,26 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/log
11INC += iocLog.h
12INC += logClient.h
13Com_SRCS += iocLog.c
14Com_SRCS += logClient.c
15
16PROD_HOST += iocLogServer
17
18iocLogServer_SRCS = iocLogServer.c
19iocLogServer_LIBS = Com
20
21iocLogServer_SYS_LIBS_solaris += socket
22iocLogServer_SYS_LIBS_WIN32 += user32
23
24SCRIPTS_solaris := S99logServer
25SCRIPTS_Linux := S99logServer
26
027
=== added file 'src/libCom/log/RULES'
--- src/libCom/log/RULES 1970-01-01 00:00:00 +0000
+++ src/libCom/log/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,12 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10S99%: ../log/rc2.%
11 sed -e s%:INSTALL_BIN:%`cd $(INSTALL_BIN); pwd`% $< >$@
12
013
=== renamed file 'src/util/iocLogServer.c' => 'src/libCom/log/iocLogServer.c'
=== renamed file 'src/util/rc2.logServer' => 'src/libCom/log/rc2.logServer'
=== added file 'src/libCom/macLib/Makefile'
--- src/libCom/macLib/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/macLib/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,14 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/macLib
11INC += macLib.h
12Com_SRCS += macCore.c
13Com_SRCS += macEnv.c
14Com_SRCS += macUtil.c
015
=== added file 'src/libCom/misc/Makefile'
--- src/libCom/misc/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/misc/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,43 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/misc
11
12INC += alarm.h
13INC += alarmString.h
14INC += adjustment.h
15INC += cantProceed.h
16INC += dbDefs.h
17INC += epicsConvert.h
18INC += epicsExit.h
19INC += epicsStdlib.h
20INC += epicsString.h
21INC += epicsTypes.h
22INC += shareLib.h
23INC += epicsExport.h
24INC += unixFileName.h
25INC += locationException.h
26INC += ipAddrToAsciiAsynchronous.h
27INC += compilerDependencies.h
28INC += epicsUnitTest.h
29INC += testMain.h
30
31# epicsVersion.h is created by this Makefile
32INC += epicsVersion.h
33
34Com_SRCS += aToIPAddr.c
35Com_SRCS += adjustment.c
36Com_SRCS += cantProceed.c
37Com_SRCS += epicsConvert.c
38Com_SRCS += epicsExit.c
39Com_SRCS += epicsStdlib.c
40Com_SRCS += epicsString.c
41Com_SRCS += truncateFile.c
42Com_SRCS += ipAddrToAsciiAsynchronous.cpp
43Com_SRCS += epicsUnitTest.c
044
=== added file 'src/libCom/misc/RULES'
--- src/libCom/misc/RULES 1970-01-01 00:00:00 +0000
+++ src/libCom/misc/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,12 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10$(COMMON_DIR)/epicsVersion.h: $(CONFIG)/CONFIG_BASE_VERSION $(CONFIG)/CONFIG_SITE
11 $(PERL) $(LIBCOM)/misc/makeEpicsVersion.pl $(CONFIG)/CONFIG_BASE_VERSION $(@D) $(EPICS_SITE_VERSION)
12
013
=== renamed file 'src/dbStatic/alarm.h' => 'src/libCom/misc/alarm.h'
=== renamed file 'src/dbStatic/alarmString.h' => 'src/libCom/misc/alarmString.h'
=== added file 'src/libCom/osi/Makefile'
--- src/libCom/osi/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/osi/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,127 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/osi
11INC += osiFileName.h
12INC += osiSock.h
13INC += osdSock.h
14INC += epicsInterrupt.h
15INC += osdInterrupt.h
16
17INC += epicsMutex.h
18INC += osdMutex.h
19INC += epicsEvent.h
20INC += osdEvent.h
21INC += epicsMath.h
22INC += osdMessageQueue.h
23INC += osdStrtod.h
24
25INC += epicsAssert.h
26INC += epicsFindSymbol.h
27INC += osiPoolStatus.h
28INC += osdPoolStatus.h
29INC += osdThread.h
30
31INC += epicsThread.h
32INC += epicsTime.h
33INC += epicsGeneralTime.h
34INC += osdTime.h
35INC += generalTimeSup.h
36INC += osiClockTime.h
37INC += epicsSignal.h
38INC += osiProcess.h
39INC += osiUnistd.h
40INC += osiWireFormat.h
41INC += osdWireFormat.h
42INC += osdWireConfig.h
43INC += epicsEndian.h
44INC += epicsReadline.h
45INC += epicsMessageQueue.h
46INC += epicsStdio.h
47INC += epicsStdioRedirect.h
48INC += epicsGetopt.h
49
50INC += devLib.h
51INC += devLibVME.h
52INC += devLibVMEImpl.h
53INC += osdVME.h
54
55Com_SRCS += epicsThread.cpp
56Com_SRCS += epicsMutex.cpp
57Com_SRCS += epicsEvent.cpp
58Com_SRCS += epicsTime.cpp
59Com_SRCS += epicsMessageQueue.cpp
60Com_SRCS += epicsMath.cpp
61
62Com_SRCS += epicsGeneralTime.c
63
64# Time providers
65Com_SRCS += osiClockTime.c
66Com_SRCS_vxWorks += osiNTPTime.c
67Com_SRCS_RTEMS += osiNTPTime.c
68
69Com_SRCS += osdSock.c
70Com_SRCS += osdSockAddrReuse.cpp
71Com_SRCS += osiSock.c
72Com_SRCS += systemCallIntMech.cpp
73Com_SRCS += epicsSocketConvertErrnoToString.cpp
74Com_SRCS += osdAssert.c
75Com_SRCS += osdFindSymbol.c
76Com_SRCS += osdInterrupt.c
77Com_SRCS += osdPoolStatus.c
78Com_SRCS += osdSignal.cpp
79
80osdEnv_CFLAGS_WIN32= -U__STDC__
81
82Com_SRCS += osdEnv.c
83
84# Command-line input support
85epicsReadline_CFLAGS += -DEPICS_COMMANDLINE_LIBRARY=EPICS_COMMANDLINE_LIBRARY_$(COMMANDLINE_LIBRARY)
86epicsReadline_INCLUDES += $(INCLUDES_$(COMMANDLINE_LIBRARY))
87
88Com_SRCS += epicsReadline.c
89
90Com_SRCS += epicsTempFile.cpp
91Com_SRCS += epicsStdio.c
92Com_SRCS += osdStdio.c
93
94#POSIX thread priority scheduling flag
95THREAD_CPPFLAGS_NO += -DDONT_USE_POSIX_THREAD_PRIORITY_SCHEDULING
96osdThread_CPPFLAGS += $(THREAD_CPPFLAGS_$(USE_POSIX_THREAD_PRIORITY_SCHEDULING))
97
98Com_SRCS += osdThread.c
99Com_SRCS += osdMutex.c
100Com_SRCS += osdEvent.c
101Com_SRCS += osdTime.cpp
102Com_SRCS += osdProcess.c
103Com_SRCS += osdNetIntf.c
104Com_SRCS += osdMessageQueue.c
105
106Com_SRCS += devLibVME.c
107Com_SRCS += devLibVMEOSD.c
108
109Com_SRCS_vxWorks += atReboot.cpp
110
111# For old vxWorks applications
112INC_vxWorks += camacLib.h
113INC_vxWorks += epicsDynLink.h
114INC_vxWorks += module_types.h
115INC_vxWorks += task_params.h
116
117Com_SRCS_vxWorks += epicsDynLink.c
118Com_SRCS_vxWorks += veclist.c
119Com_SRCS_vxWorks += logMsgToErrlog.cpp
120
121#This forces the vxWorks compatibility stuff to be loaded
122OBJS_vxWorks = vxComLibrary
123
124Com_SRCS_WIN32 += epicsGetopt.c
125Com_SRCS_WIN32 += setThreadName.cpp
126#Com_SRCS_WIN32 += dllmain.cpp
127Com_SRCS_WIN32 += forceBadAllocException.cpp
0128
=== added file 'src/libCom/osi/RULES'
--- src/libCom/osi/RULES 1970-01-01 00:00:00 +0000
+++ src/libCom/osi/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,15 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10# Ensure epicsVersion.h gets built first
11osdAssert$(OBJ): $(COMMON_DIR)/epicsVersion.h
12epicsTime$(OBJ): $(COMMON_DIR)/epicsVersion.h
13osdNetIntf$(OBJ): $(COMMON_DIR)/epicsVersion.h
14osdSock$(OBJ): $(COMMON_DIR)/epicsVersion.h
15
016
=== added file 'src/libCom/ring/Makefile'
--- src/libCom/ring/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/ring/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,15 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/ring
11#following needed for locating epicsRingPointer.h and epicsRingBytes.h
12INC += epicsRingPointer.h
13INC += epicsRingBytes.h
14Com_SRCS += epicsRingPointer.cpp
15Com_SRCS += epicsRingBytes.c
016
=== added file 'src/libCom/taskwd/Makefile'
--- src/libCom/taskwd/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/taskwd/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,12 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/taskwd
11INC += taskwd.h
12Com_SRCS += taskwd.c
013
=== added file 'src/libCom/timer/Makefile'
--- src/libCom/timer/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/timer/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,17 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10SRC_DIRS += $(LIBCOM)/timer
11INC += epicsTimer.h
12Com_SRCS += epicsTimer.cpp
13Com_SRCS += timer.cpp
14Com_SRCS += timerQueue.cpp
15Com_SRCS += timerQueueActive.cpp
16Com_SRCS += timerQueueActiveMgr.cpp
17Com_SRCS += timerQueuePassive.cpp
018
=== renamed directory 'src/toolsComm' => 'src/libCom/tools'
=== added file 'src/libCom/tsDefs/Makefile'
--- src/libCom/tsDefs/Makefile 1970-01-01 00:00:00 +0000
+++ src/libCom/tsDefs/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,13 @@
1#*************************************************************************
2# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in file LICENSE that is included with this distribution.
6#*************************************************************************
7
8# This is a Makefile fragment, see src/libCom/Makefile.
9
10#tsDefs contains R3.13 compatibility tsStamp code
11SRC_DIRS += $(LIBCOM)/tsDefs
12INC += tsDefs.h
13Com_SRCS += tsDefs.c
014
=== renamed directory 'src/toolsComm/antelope' => 'src/libCom/yacc'
=== modified file 'src/libCom/yacc/Makefile'
--- src/toolsComm/antelope/Makefile 2009-07-10 22:00:18 +0000
+++ src/libCom/yacc/Makefile 2011-03-03 23:06:17 +0000
@@ -6,24 +6,24 @@
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../../..9
10include $(TOP)/configure/CONFIG10# This is a Makefile fragment, see src/libCom/Makefile.
1111
12SRCS += closure.c12SRC_DIRS += $(LIBCOM)/yacc
13SRCS += error.c13
14SRCS += lalr.c14antelope_SRCS += closure.c
15SRCS += lr0.c15antelope_SRCS += error.c
16SRCS += main.c16antelope_SRCS += lalr.c
17SRCS += mkpar.c17antelope_SRCS += lr0.c
18SRCS += output.c18antelope_SRCS += antelope.c
19SRCS += reader.c19antelope_SRCS += mkpar.c
20SRCS += skeleton.c20antelope_SRCS += output.c
21SRCS += symtab.c21antelope_SRCS += reader.c
22SRCS += verbose.c22antelope_SRCS += skeleton.c
23SRCS += warshall.c23antelope_SRCS += symtab.c
2424antelope_SRCS += verbose.c
25PROD_HOST = antelope25antelope_SRCS += warshall.c
26PROD_LIBS = Com26antelope_OBJS += epicsTempFile$(OBJ)
2727
28include $(TOP)/configure/RULES28PROD_HOST += antelope
2929
3030
=== renamed file 'src/toolsComm/antelope/main.c' => 'src/libCom/yacc/antelope.c'
=== removed file 'src/misc/misc.rc'
--- src/misc/misc.rc 2005-12-19 21:42:40 +0000
+++ src/misc/misc.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","Miscellaneous Tools Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Miscellaneous Tools Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "misc\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "misc.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== removed file 'src/misc/miscIoc.rc'
--- src/misc/miscIoc.rc 2005-12-19 21:42:40 +0000
+++ src/misc/miscIoc.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","Miscellaneous Ioc Tools Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Miscellaneous Ioc Tools Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "miscIoc\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "miscIoc.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== removed file 'src/registry/registryIoc.rc'
--- src/registry/registryIoc.rc 2005-12-19 21:42:40 +0000
+++ src/registry/registryIoc.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","Registry Ioc Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Registry Ioc Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "registryIoc\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "registryIoc.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== removed file 'src/rsrv/rsrvIoc.rc'
--- src/rsrv/rsrvIoc.rc 2005-12-19 21:42:40 +0000
+++ src/rsrv/rsrvIoc.rc 1970-01-01 00:00:00 +0000
@@ -1,36 +0,0 @@
1#include <Winver.h>
2#include "epicsVersion.h"
3
4VS_VERSION_INFO VERSIONINFO
5 FILEVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
6 PRODUCTVERSION EPICS_VERSION,EPICS_REVISION,EPICS_MODIFICATION,EPICS_PATCH_LEVEL
7 FILEFLAGSMASK 0x3fL
8#ifdef _DEBUG
9 FILEFLAGS 0x1L
10#else
11 FILEFLAGS 0x0L
12#endif
13 FILEOS VOS__WINDOWS32
14 FILETYPE VFT_UNKNOWN
15 FILESUBTYPE 0x0L
16BEGIN
17 BLOCK "StringFileInfo"
18 BEGIN
19 BLOCK "040904b0"
20 BEGIN
21 VALUE "Comments","Channel Access Ioc Resource Server Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Channel Access Ioc Resource Server Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "rsrv\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "rsrv.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END
31 END
32 BLOCK "VarFileInfo"
33 BEGIN
34 VALUE "Translation", 0x409, 1200
35 END
36END
370
=== added directory 'src/std'
=== added file 'src/std/Makefile'
--- src/std/Makefile 1970-01-01 00:00:00 +0000
+++ src/std/Makefile 2011-03-03 23:06:17 +0000
@@ -0,0 +1,30 @@
1#*************************************************************************
2# Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9TOP=../..
10
11include $(TOP)/configure/CONFIG
12
13STDDIR=$(TOP)/src/std
14
15USR_DBDFLAGS += -I ../rec -I ../dev -I ../softIoc
16
17LIBRARY_IOC += dbRecStd
18dbRecStd_LIBS = dbCore ca Com
19
20dbRecStd_RCS += dbRecStd.rc
21
22include $(STDDIR)/dev/Makefile
23include $(STDDIR)/rec/Makefile
24include $(STDDIR)/softIoc/Makefile
25
26include $(TOP)/configure/RULES
27
28include $(STDDIR)/rec/RULES
29include $(STDDIR)/softIoc/RULES
30
031
=== renamed file 'src/rec/recIoc.rc' => 'src/std/dbRecStd.rc'
--- src/rec/recIoc.rc 2005-12-19 21:42:40 +0000
+++ src/std/dbRecStd.rc 2011-03-03 23:06:17 +0000
@@ -18,13 +18,13 @@
18 BEGIN18 BEGIN
19 BLOCK "040904b0"19 BLOCK "040904b0"
20 BEGIN20 BEGIN
21 VALUE "Comments","Record Support Library for EPICS\0"21 VALUE "Comments","Record and Soft Device Support Library for EPICS\0"
22 VALUE "CompanyName", "The EPICS collaboration\0"22 VALUE "CompanyName", "The EPICS collaboration\0"
23 VALUE "FileDescription", "Record Support Library\0"23 VALUE "FileDescription", "Record and Soft Device Support Library\0"
24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"24 VALUE "FileVersion", EPICS_VERSION_STRING "\0"
25 VALUE "InternalName", "rec\0"25 VALUE "InternalName", "dbRecStd\0"
26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"26 VALUE "LegalCopyright", "Copyright (C) Univ. of California, Univ. of Chicago\0"
27 VALUE "OriginalFilename", "rec.dll\0"27 VALUE "OriginalFilename", "dbRecStd.dll\0"
28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"28 VALUE "ProductName", "Experimental Physics and Industrial Control System (EPICS)\0"
29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"29 VALUE "ProductVersion", EPICS_VERSION_STRING "\0"
30 END30 END
3131
=== renamed directory 'src/dev/softDev' => 'src/std/dev'
=== modified file 'src/std/dev/Makefile'
--- src/dev/softDev/Makefile 2010-10-12 16:27:17 +0000
+++ src/std/dev/Makefile 2011-03-03 23:06:17 +0000
@@ -1,61 +1,57 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../../..9
1010# This is a Makefile fragment, see src/std/Makefile.
11include $(TOP)/configure/CONFIG11
12SRC_DIRS += $(STDDIR)/dev
1213
13DBD += devSoft.dbd14DBD += devSoft.dbd
1415
15LIBSRCS += devAaiSoft.c16dbRecStd_SRCS += devAaiSoft.c
16LIBSRCS += devAaoSoft.c17dbRecStd_SRCS += devAaoSoft.c
17LIBSRCS += devAiSoft.c18dbRecStd_SRCS += devAiSoft.c
18LIBSRCS += devAiSoftRaw.c19dbRecStd_SRCS += devAiSoftRaw.c
19LIBSRCS += devAoSoft.c20dbRecStd_SRCS += devAoSoft.c
20LIBSRCS += devAoSoftRaw.c21dbRecStd_SRCS += devAoSoftRaw.c
21LIBSRCS += devBiSoft.c22dbRecStd_SRCS += devBiSoft.c
22LIBSRCS += devBiSoftRaw.c23dbRecStd_SRCS += devBiSoftRaw.c
23LIBSRCS += devBoSoft.c24dbRecStd_SRCS += devBoSoft.c
24LIBSRCS += devBoSoftRaw.c25dbRecStd_SRCS += devBoSoftRaw.c
25LIBSRCS += devCalcoutSoft.c26dbRecStd_SRCS += devCalcoutSoft.c
26LIBSRCS += devEventSoft.c27dbRecStd_SRCS += devEventSoft.c
27LIBSRCS += devHistogramSoft.c28dbRecStd_SRCS += devHistogramSoft.c
28LIBSRCS += devLiSoft.c29dbRecStd_SRCS += devLiSoft.c
29LIBSRCS += devLoSoft.c30dbRecStd_SRCS += devLoSoft.c
30LIBSRCS += devMbbiDirectSoft.c31dbRecStd_SRCS += devMbbiDirectSoft.c
31LIBSRCS += devMbbiDirectSoftRaw.c32dbRecStd_SRCS += devMbbiDirectSoftRaw.c
32LIBSRCS += devMbbiSoft.c33dbRecStd_SRCS += devMbbiSoft.c
33LIBSRCS += devMbbiSoftRaw.c34dbRecStd_SRCS += devMbbiSoftRaw.c
34LIBSRCS += devMbboDirectSoft.c35dbRecStd_SRCS += devMbboDirectSoft.c
35LIBSRCS += devMbboDirectSoftRaw.c36dbRecStd_SRCS += devMbboDirectSoftRaw.c
36LIBSRCS += devMbboSoft.c37dbRecStd_SRCS += devMbboSoft.c
37LIBSRCS += devMbboSoftRaw.c38dbRecStd_SRCS += devMbboSoftRaw.c
38LIBSRCS += devSASoft.c39dbRecStd_SRCS += devSASoft.c
39LIBSRCS += devSiSoft.c40dbRecStd_SRCS += devSiSoft.c
40LIBSRCS += devSoSoft.c41dbRecStd_SRCS += devSoSoft.c
41LIBSRCS += devWfSoft.c42dbRecStd_SRCS += devWfSoft.c
42LIBSRCS += devGeneralTime.c43dbRecStd_SRCS += devGeneralTime.c
4344
44LIBSRCS += devAoSoftCallback.c45dbRecStd_SRCS += devAoSoftCallback.c
45LIBSRCS += devBoSoftCallback.c46dbRecStd_SRCS += devBoSoftCallback.c
46LIBSRCS += devCalcoutSoftCallback.c47dbRecStd_SRCS += devCalcoutSoftCallback.c
47LIBSRCS += devLoSoftCallback.c48dbRecStd_SRCS += devLoSoftCallback.c
48LIBSRCS += devMbboSoftCallback.c49dbRecStd_SRCS += devMbboSoftCallback.c
49LIBSRCS += devMbboDirectSoftCallback.c50dbRecStd_SRCS += devMbboDirectSoftCallback.c
50LIBSRCS += devSoSoftCallback.c51dbRecStd_SRCS += devSoSoftCallback.c
5152
52LIBSRCS += devTimestamp.c53dbRecStd_SRCS += devTimestamp.c
53LIBSRCS += devSoStdio.c54dbRecStd_SRCS += devSoStdio.c
5455
55LIBRARY_IOC += softDevIoc56dbRecStd_SRCS += asSubRecordFunctions.c
56softDevIoc_LIBS += miscIoc recIoc asIoc dbIoc registryIoc dbStaticIoc ca Com
57softDevIoc_RCS = softDevIoc.rc
58
59include $(TOP)/configure/RULES
60
6157
6258
=== renamed file 'src/misc/asSubRecordFunctions.c' => 'src/std/dev/asSubRecordFunctions.c'
=== renamed directory 'src/rec' => 'src/std/rec'
=== modified file 'src/std/rec/Makefile'
--- src/rec/Makefile 2010-10-12 16:27:17 +0000
+++ src/std/rec/Makefile 2011-03-03 23:06:17 +0000
@@ -1,13 +1,15 @@
1#*************************************************************************1#*************************************************************************
2# Copyright (c) 2002 The University of Chicago, as Operator of Argonne2# Copyright (c) 2011 The University of Chicago, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution. 7# in file LICENSE that is included with this distribution.
8#*************************************************************************8#*************************************************************************
9TOP=../..9
10include $(TOP)/configure/CONFIG10# This is a Makefile fragment, see src/std/Makefile.
11
12SRC_DIRS += $(STDDIR)/rec
1113
12DBDINC += aaiRecord14DBDINC += aaiRecord
13DBDINC += aaoRecord15DBDINC += aaoRecord
@@ -39,40 +41,37 @@
39DBDINC += subArrayRecord41DBDINC += subArrayRecord
40DBDINC += waveformRecord42DBDINC += waveformRecord
4143
42LIBSRCS += aaiRecord.c44DBD += stdRecords.dbd
43LIBSRCS += aaoRecord.c45
44LIBSRCS += aiRecord.c46stdRecords_DBD = $(patsubst %,%.dbd,$(DBDINC))
45LIBSRCS += aoRecord.c47
46LIBSRCS += aSubRecord.c48dbRecStd_SRCS += aaiRecord.c
47LIBSRCS += biRecord.c49dbRecStd_SRCS += aaoRecord.c
48LIBSRCS += boRecord.c50dbRecStd_SRCS += aiRecord.c
49LIBSRCS += calcRecord.c51dbRecStd_SRCS += aoRecord.c
50LIBSRCS += calcoutRecord.c52dbRecStd_SRCS += aSubRecord.c
51LIBSRCS += compressRecord.c53dbRecStd_SRCS += biRecord.c
52LIBSRCS += dfanoutRecord.c54dbRecStd_SRCS += boRecord.c
53LIBSRCS += eventRecord.c55dbRecStd_SRCS += calcRecord.c
54LIBSRCS += fanoutRecord.c56dbRecStd_SRCS += calcoutRecord.c
55LIBSRCS += histogramRecord.c57dbRecStd_SRCS += compressRecord.c
56LIBSRCS += longinRecord.c58dbRecStd_SRCS += dfanoutRecord.c
57LIBSRCS += longoutRecord.c59dbRecStd_SRCS += eventRecord.c
58LIBSRCS += mbbiRecord.c60dbRecStd_SRCS += fanoutRecord.c
59LIBSRCS += mbbiDirectRecord.c61dbRecStd_SRCS += histogramRecord.c
60LIBSRCS += mbboRecord.c62dbRecStd_SRCS += longinRecord.c
61LIBSRCS += mbboDirectRecord.c63dbRecStd_SRCS += longoutRecord.c
62LIBSRCS += permissiveRecord.c64dbRecStd_SRCS += mbbiRecord.c
63LIBSRCS += selRecord.c65dbRecStd_SRCS += mbbiDirectRecord.c
64LIBSRCS += seqRecord.c66dbRecStd_SRCS += mbboRecord.c
65LIBSRCS += stateRecord.c67dbRecStd_SRCS += mbboDirectRecord.c
66LIBSRCS += stringinRecord.c68dbRecStd_SRCS += permissiveRecord.c
67LIBSRCS += stringoutRecord.c69dbRecStd_SRCS += selRecord.c
68LIBSRCS += subRecord.c70dbRecStd_SRCS += seqRecord.c
69LIBSRCS += subArrayRecord.c71dbRecStd_SRCS += stateRecord.c
70LIBSRCS += waveformRecord.c72dbRecStd_SRCS += stringinRecord.c
7173dbRecStd_SRCS += stringoutRecord.c
72LIBRARY_IOC += recIoc74dbRecStd_SRCS += subRecord.c
7375dbRecStd_SRCS += subArrayRecord.c
74recIoc_LIBS = asIoc dbIoc registryIoc dbStaticIoc ca Com76dbRecStd_SRCS += waveformRecord.c
75recIoc_RCS = recIoc.rc
76
77include $(TOP)/configure/RULES
7877
7978
=== added file 'src/std/rec/RULES'
--- src/std/rec/RULES 1970-01-01 00:00:00 +0000
+++ src/std/rec/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,15 @@
1#*************************************************************************
2# Copyright (c) 2011 The University of Chicago, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9
10# This is a Makefile fragment, see src/std/Makefile.
11
12$(COMMON_DIR)/stdRecords.dbd:
13 $(RM) $@
14 $(PERL) $(TOOLS)/makeIncludeDbd.pl $(stdRecords_DBD) $@
15
016
=== renamed directory 'src/softIoc' => 'src/std/softIoc'
=== modified file 'src/std/softIoc/Makefile'
--- src/softIoc/Makefile 2010-10-22 22:02:40 +0000
+++ src/std/softIoc/Makefile 2011-03-03 23:06:17 +0000
@@ -1,17 +1,19 @@
1##########################################################################1##########################################################################
2# Copyright (c) 2009 UChicago Argonne LLC, as Operator of Argonne2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found4# EPICS BASE is distributed subject to a Software License Agreement found
5# in the file LICENSE that is included with this distribution.5# in the file LICENSE that is included with this distribution.
6##########################################################################6##########################################################################
77
8TOP=../..8# This is a Makefile fragment, see src/ioc/Makefile.
99
10include $(TOP)/configure/CONFIG10SRC_DIRS += $(STDDIR)/softIoc
1111
12PROD_IOC = softIoc12PROD_IOC = softIoc
1313
14DBD += base.dbd
14DBD += softIoc.dbd15DBD += softIoc.dbd
16
15softIoc_DBD += base.dbd17softIoc_DBD += base.dbd
16softIoc_DBD += dlload.dbd18softIoc_DBD += dlload.dbd
17softIoc_DBD += system.dbd19softIoc_DBD += system.dbd
@@ -26,14 +28,3 @@
2628
27FINAL_LOCATION ?= $(shell $(PERL) $(TOOLS)/fullPathName.pl $(INSTALL_LOCATION))29FINAL_LOCATION ?= $(shell $(PERL) $(TOOLS)/fullPathName.pl $(INSTALL_LOCATION))
2830
29include $(TOP)/configure/RULES
30
31softMain$(OBJ) : epicsInstallDir.h
32
33epicsInstallDir.h:
34 $(ECHO) "FINAL_LOCATION=$(FINAL_LOCATION)"
35 $(PERL) ../makeInstallDir.pl '$(FINAL_LOCATION)' > $@
36
37clean::
38 @$(RM) epicsInstallDir.h
39
4031
=== added file 'src/std/softIoc/RULES'
--- src/std/softIoc/RULES 1970-01-01 00:00:00 +0000
+++ src/std/softIoc/RULES 2011-03-03 23:06:17 +0000
@@ -0,0 +1,20 @@
1##########################################################################
2# Copyright (c) 2011 UChicago Argonne LLC, as Operator of Argonne
3# National Laboratory.
4# EPICS BASE is distributed subject to a Software License Agreement found
5# in the file LICENSE that is included with this distribution.
6##########################################################################
7
8# This is a Makefile fragment, see src/ioc/Makefile.
9
10$(COMMON_DIR)/softIoc.dbd: $(INSTALL_DBD)/stdRecords.dbd
11
12softMain$(OBJ): epicsInstallDir.h
13
14epicsInstallDir.h:
15 $(ECHO) "FINAL_LOCATION=$(FINAL_LOCATION)"
16 $(PERL) $(STDDIR)/softIoc/makeInstallDir.pl '$(FINAL_LOCATION)' > $@
17
18clean::
19 @$(RM) epicsInstallDir.h
20
021
=== renamed file 'src/misc/base.dbd' => 'src/std/softIoc/base.dbd'
--- src/misc/base.dbd 2010-10-05 19:27:37 +0000
+++ src/std/softIoc/base.dbd 2011-03-03 23:06:17 +0000
@@ -8,43 +8,13 @@
8include "menuConvert.dbd"8include "menuConvert.dbd"
99
10# Record types10# Record types
11include "aaiRecord.dbd"11include "stdRecords.dbd"
12include "aaoRecord.dbd"
13include "aiRecord.dbd"
14include "aoRecord.dbd"
15include "aSubRecord.dbd"
16include "biRecord.dbd"
17include "boRecord.dbd"
18include "calcRecord.dbd"
19include "calcoutRecord.dbd"
20include "compressRecord.dbd"
21include "dfanoutRecord.dbd"
22include "eventRecord.dbd"
23include "fanoutRecord.dbd"
24include "longinRecord.dbd"
25include "longoutRecord.dbd"
26include "mbbiRecord.dbd"
27include "mbbiDirectRecord.dbd"
28include "mbboRecord.dbd"
29include "mbboDirectRecord.dbd"
30include "permissiveRecord.dbd"
31include "selRecord.dbd"
32include "seqRecord.dbd"
33include "stateRecord.dbd"
34include "stringinRecord.dbd"
35include "stringoutRecord.dbd"
36include "subRecord.dbd"
37include "subArrayRecord.dbd"
38include "waveformRecord.dbd"
3912
40# "Soft Channel", "Raw Soft Channel", and "Async Soft Channel" device support13# "Soft Channel", "Raw Soft Channel", and "Async Soft Channel" device support
41include "devSoft.dbd"14include "devSoft.dbd"
4215
43# Access security subroutines16# Access security subroutines
44registrar(asSub)17registrar(asSub)
45variable(asCaDebug,int)
4618
47# dbStaticLib settings19include "dbCore.dbd"
48variable(dbRecordsOnceOnly,int)
49variable(dbBptNotMonotonic,int)
5020
5121
=== renamed directory 'src/dev/testDev' => 'src/std/test'
=== added directory 'src/template'
=== renamed directory 'src/makeBaseApp' => 'src/template/base'
=== modified file 'src/template/base/Makefile'
--- src/makeBaseApp/Makefile 2008-10-08 22:42:49 +0000
+++ src/template/base/Makefile 2011-03-03 23:06:17 +0000
@@ -1,4 +1,4 @@
1TOP=../..1TOP=../../..
22
3include $(TOP)/configure/CONFIG3include $(TOP)/configure/CONFIG
44
55
=== renamed directory 'src/makeBaseExt' => 'src/template/ext'
=== modified file 'src/template/ext/Makefile'
--- src/makeBaseExt/Makefile 2006-03-29 17:09:24 +0000
+++ src/template/ext/Makefile 2011-03-03 23:06:17 +0000
@@ -1,4 +1,4 @@
1TOP=../..1TOP=../../..
22
3include $(TOP)/configure/CONFIG3include $(TOP)/configure/CONFIG
44
55
=== removed file 'src/toolsComm/Makefile'
--- src/toolsComm/Makefile 2010-10-12 16:27:17 +0000
+++ src/toolsComm/Makefile 1970-01-01 00:00:00 +0000
@@ -1,19 +0,0 @@
1#*************************************************************************
2# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9
10TOP=../..
11
12include $(TOP)/configure/CONFIG
13
14DIRS = antelope flex
15
16flex_DEPEND_DIRS += antelope
17
18include $(TOP)/configure/RULES_DIRS
19
200
=== removed directory 'src/util'
=== removed file 'src/util/Makefile'
--- src/util/Makefile 2010-10-12 16:27:17 +0000
+++ src/util/Makefile 1970-01-01 00:00:00 +0000
@@ -1,35 +0,0 @@
1#*************************************************************************
2# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3# National Laboratory.
4# Copyright (c) 2002 The Regents of the University of California, as
5# Operator of Los Alamos National Laboratory.
6# EPICS BASE is distributed subject to a Software License Agreement found
7# in file LICENSE that is included with this distribution.
8#*************************************************************************
9TOP=../..
10
11include $(TOP)/configure/CONFIG
12
13PROD_LIBS = ca Com
14
15#
16# Added winmm user32 for the non-dll build
17#
18PROD_HOST_DEFAULT = ca_test iocLogServer
19PROD_HOST_WIN32 = ca_test iocLogServer
20PROD_SYS_LIBS_WIN32 = ws2_32 advapi32 user32
21
22iocLogServer_SYS_LIBS_solaris = socket
23
24ca_test_SRCS = ca_test_main.c ca_test.c
25iocLogServer_SRCS = iocLogServer.c
26
27OBJS_vxWorks = ca_test
28
29SCRIPTS_solaris := S99logServer S99caRepeater
30SCRIPTS_Linux := S99logServer S99caRepeater
31
32include $(TOP)/configure/RULES
33
34S99%: ../rc2.%
35 sed -e s%:INSTALL_BIN:%`cd $(INSTALL_BIN); pwd`% $< >$@

Subscribers

People subscribed via source and target branches