source: rtems/cpukit/score/Makefile.am @ fd53d25

4.115
Last change on this file since fd53d25 was fd53d25, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 24, 2015 at 7:53:58 AM

score: Move _Watchdog_Tickle()

Make internal function _Watchdog_Remove_it() static to avoid accidental
usage.

Update #2307.

  • Property mode set to 100644
File size: 14.6 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4SUBDIRS = cpu
5
6## include
7
8include_rtemsdir = $(includedir)/rtems
9
10include_rtems_HEADERS = include/rtems/debug.h
11include_rtems_HEADERS += include/rtems/system.h
12include_rtems_HEADERS += include/rtems/seterr.h
13
14include_rtems_scoredir = $(includedir)/rtems/score
15
16include_rtems_score_HEADERS = include/rtems/score/address.h
17include_rtems_score_HEADERS += include/rtems/score/apiext.h
18include_rtems_score_HEADERS += include/rtems/score/apimutex.h
19include_rtems_score_HEADERS += include/rtems/score/assert.h
20include_rtems_score_HEADERS += include/rtems/score/atomic.h
21include_rtems_score_HEADERS += include/rtems/score/chain.h
22include_rtems_score_HEADERS += include/rtems/score/chainimpl.h
23include_rtems_score_HEADERS += include/rtems/score/context.h
24include_rtems_score_HEADERS += include/rtems/score/copyrt.h
25include_rtems_score_HEADERS += include/rtems/score/corebarrier.h
26include_rtems_score_HEADERS += include/rtems/score/corebarrierimpl.h
27include_rtems_score_HEADERS += include/rtems/score/coremsg.h
28include_rtems_score_HEADERS += include/rtems/score/coremsgimpl.h
29include_rtems_score_HEADERS += include/rtems/score/coremutex.h
30include_rtems_score_HEADERS += include/rtems/score/coremuteximpl.h
31include_rtems_score_HEADERS += include/rtems/score/coresem.h
32include_rtems_score_HEADERS += include/rtems/score/coresemimpl.h
33include_rtems_score_HEADERS += include/rtems/score/cpuset.h
34include_rtems_score_HEADERS += include/rtems/score/cpusetimpl.h
35include_rtems_score_HEADERS += include/rtems/score/cpustdatomic.h
36include_rtems_score_HEADERS += include/rtems/score/heap.h
37include_rtems_score_HEADERS += include/rtems/score/heapimpl.h
38include_rtems_score_HEADERS += include/rtems/score/protectedheap.h
39include_rtems_score_HEADERS += include/rtems/score/interr.h
40include_rtems_score_HEADERS += include/rtems/score/isr.h
41include_rtems_score_HEADERS += include/rtems/score/isrlevel.h
42include_rtems_score_HEADERS += include/rtems/score/isrlock.h
43include_rtems_score_HEADERS += include/rtems/score/freechain.h
44include_rtems_score_HEADERS += include/rtems/score/mrsp.h
45include_rtems_score_HEADERS += include/rtems/score/mrspimpl.h
46include_rtems_score_HEADERS += include/rtems/score/object.h
47include_rtems_score_HEADERS += include/rtems/score/objectimpl.h
48include_rtems_score_HEADERS += include/rtems/score/onceimpl.h
49include_rtems_score_HEADERS += include/rtems/score/percpu.h
50include_rtems_score_HEADERS += include/rtems/score/priority.h
51include_rtems_score_HEADERS += include/rtems/score/prioritybitmap.h
52include_rtems_score_HEADERS += include/rtems/score/prioritybitmapimpl.h
53include_rtems_score_HEADERS += include/rtems/score/profiling.h
54include_rtems_score_HEADERS += include/rtems/score/rbtree.h
55include_rtems_score_HEADERS += include/rtems/score/rbtreeimpl.h
56include_rtems_score_HEADERS += include/rtems/score/resource.h
57include_rtems_score_HEADERS += include/rtems/score/resourceimpl.h
58include_rtems_score_HEADERS += include/rtems/score/scheduler.h
59include_rtems_score_HEADERS += include/rtems/score/schedulerimpl.h
60include_rtems_score_HEADERS += include/rtems/score/schedulercbs.h
61include_rtems_score_HEADERS += include/rtems/score/schedulercbsimpl.h
62include_rtems_score_HEADERS += include/rtems/score/scheduleredf.h
63include_rtems_score_HEADERS += include/rtems/score/scheduleredfimpl.h
64include_rtems_score_HEADERS += include/rtems/score/schedulerpriority.h
65include_rtems_score_HEADERS += include/rtems/score/schedulerpriorityimpl.h
66include_rtems_score_HEADERS += include/rtems/score/schedulerprioritysmp.h
67include_rtems_score_HEADERS += include/rtems/score/schedulersimple.h
68include_rtems_score_HEADERS += include/rtems/score/schedulersimpleimpl.h
69include_rtems_score_HEADERS += include/rtems/score/schedulersmp.h
70include_rtems_score_HEADERS += include/rtems/score/schedulersmpimpl.h
71include_rtems_score_HEADERS += include/rtems/score/smp.h
72include_rtems_score_HEADERS += include/rtems/score/smpbarrier.h
73include_rtems_score_HEADERS += include/rtems/score/smplock.h
74include_rtems_score_HEADERS += include/rtems/score/smpimpl.h
75include_rtems_score_HEADERS += include/rtems/score/stack.h
76include_rtems_score_HEADERS += include/rtems/score/stackimpl.h
77include_rtems_score_HEADERS += include/rtems/score/states.h
78include_rtems_score_HEADERS += include/rtems/score/statesimpl.h
79include_rtems_score_HEADERS += include/rtems/score/sysstate.h
80include_rtems_score_HEADERS += include/rtems/score/thread.h
81include_rtems_score_HEADERS += include/rtems/score/threadimpl.h
82include_rtems_score_HEADERS += include/rtems/score/threaddispatch.h
83include_rtems_score_HEADERS += include/rtems/score/threadq.h
84include_rtems_score_HEADERS += include/rtems/score/threadqimpl.h
85include_rtems_score_HEADERS += include/rtems/score/threadsync.h
86include_rtems_score_HEADERS += include/rtems/score/timespec.h
87include_rtems_score_HEADERS += include/rtems/score/timestamp.h
88include_rtems_score_HEADERS += include/rtems/score/timestamp64.h
89include_rtems_score_HEADERS += include/rtems/score/tls.h
90include_rtems_score_HEADERS += include/rtems/score/tod.h
91include_rtems_score_HEADERS += include/rtems/score/todimpl.h
92include_rtems_score_HEADERS += include/rtems/score/userext.h
93include_rtems_score_HEADERS += include/rtems/score/userextimpl.h
94include_rtems_score_HEADERS += include/rtems/score/watchdog.h
95include_rtems_score_HEADERS += include/rtems/score/watchdogimpl.h
96include_rtems_score_HEADERS += include/rtems/score/wkspace.h
97include_rtems_score_HEADERS += include/rtems/score/cpuopts.h
98include_rtems_score_HEADERS += include/rtems/score/basedefs.h
99
100if HAS_PTHREADS
101include_rtems_score_HEADERS += include/rtems/score/corespinlock.h
102include_rtems_score_HEADERS += include/rtems/score/corespinlockimpl.h
103include_rtems_score_HEADERS += include/rtems/score/corerwlock.h
104include_rtems_score_HEADERS += include/rtems/score/corerwlockimpl.h
105endif
106
107if HAS_MP
108# We only build multiprocessing related files if HAS_MP was defined
109include_rtems_score_HEADERS += include/rtems/score/mpci.h
110include_rtems_score_HEADERS += include/rtems/score/mpciimpl.h
111include_rtems_score_HEADERS += include/rtems/score/mppkt.h
112include_rtems_score_HEADERS += include/rtems/score/objectmp.h
113include_rtems_score_HEADERS += include/rtems/score/threadmp.h
114endif
115
116if HAS_SMP
117include_rtems_score_HEADERS += include/rtems/score/schedulerprioritysmpimpl.h
118include_rtems_score_HEADERS += include/rtems/score/schedulerpriorityaffinitysmp.h
119include_rtems_score_HEADERS += include/rtems/score/schedulersimplesmp.h
120endif
121
122## src
123
124noinst_LIBRARIES = libscore.a
125libscore_a_SOURCES =
126libscore_a_CPPFLAGS = $(AM_CPPFLAGS)
127
128# We only build multiprocessing related files if HAS_MP was defined
129if HAS_MP
130libscore_a_SOURCES += src/mpci.c src/objectmp.c src/threadmp.c
131endif
132
133if HAS_SMP
134libscore_a_SOURCES += src/percpustatewait.c
135libscore_a_SOURCES += src/profilingsmplock.c
136libscore_a_SOURCES += src/schedulerchangeroot.c
137libscore_a_SOURCES += src/schedulerpriorityaffinitysmp.c
138libscore_a_SOURCES += src/schedulerprioritysmp.c
139libscore_a_SOURCES += src/schedulersimplesmp.c
140libscore_a_SOURCES += src/schedulersmpdebug.c
141libscore_a_SOURCES += src/smp.c
142libscore_a_SOURCES += src/smpmulticastaction.c
143libscore_a_SOURCES += src/cpuset.c
144libscore_a_SOURCES += src/cpusetprintsupport.c
145libscore_a_SOURCES += src/schedulerdefaultaskforhelp.c
146libscore_a_SOURCES += src/schedulerdefaultgetaffinity.c
147libscore_a_SOURCES += src/schedulerdefaultsetaffinity.c
148libscore_a_SOURCES += src/schedulersmpstartidle.c
149endif
150
151## CORE_APIMUTEX_C_FILES
152libscore_a_SOURCES += src/apimutex.c \
153    src/apimutexlock.c src/apimutexislocked.c src/apimutexunlock.c
154
155## CORE_BARRIER_C_FILES
156libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \
157    src/corebarrierwait.c
158
159## CORE_MESSAGE_QUEUE_C_FILES
160libscore_a_SOURCES += src/coremsg.c src/coremsgbroadcast.c \
161    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
162    src/coremsginsert.c src/coremsgflushsupp.c src/coremsgseize.c \
163    src/coremsgsubmit.c
164
165## CORE_MUTEX_C_FILES
166libscore_a_SOURCES += src/coremutex.c src/coremutexflush.c \
167    src/coremutexseize.c src/coremutexsurrender.c \
168    src/coremutexseizeintr.c
169
170## CORE_PERCPU_C_FILES
171libscore_a_SOURCES += src/percpu.c
172libscore_a_SOURCES += src/percpuasm.c
173
174## CORE_RWLOCK_C_FILES
175if HAS_PTHREADS
176libscore_a_SOURCES += src/corerwlock.c src/corerwlockobtainread.c \
177    src/corerwlockobtainwrite.c src/corerwlockrelease.c
178endif
179
180## CORE_SEMAPHORE_C_FILES
181libscore_a_SOURCES += src/coresem.c src/coresemflush.c src/coresemseize.c \
182    src/coresemsurrender.c
183
184## CORE_SPINLOCK_C_FILES
185if HAS_PTHREADS
186libscore_a_SOURCES += src/corespinlock.c src/corespinlockrelease.c \
187    src/corespinlockwait.c
188endif
189
190## HEAP_C_FILES
191libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
192    src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
193    src/heapgetfreeinfo.c src/heapresizeblock.c src/heapiterate.c \
194    src/heapgreedy.c src/heapnoextend.c
195
196## OBJECT_C_FILES
197libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
198    src/objectextendinformation.c src/objectfree.c src/objectget.c \
199    src/objectgetisr.c src/objectgetnext.c src/objectinitializeinformation.c \
200    src/objectnametoid.c src/objectnametoidstring.c \
201    src/objectshrinkinformation.c src/objectgetnoprotection.c \
202    src/objectidtoname.c src/objectgetnameasstring.c src/objectsetname.c \
203    src/objectgetinfo.c src/objectgetinfoid.c src/objectapimaximumclass.c \
204    src/objectnamespaceremove.c \
205    src/objectactivecount.c
206
207## SCHEDULER_C_FILES
208libscore_a_SOURCES += src/log2table.c
209libscore_a_SOURCES += src/scheduler.c
210libscore_a_SOURCES += src/schedulergetaffinity.c
211libscore_a_SOURCES += src/schedulersetaffinity.c
212libscore_a_SOURCES += src/schedulerdefaultnodedestroy.c
213libscore_a_SOURCES += src/schedulerdefaultnodeinit.c
214libscore_a_SOURCES += src/schedulerdefaultreleasejob.c
215libscore_a_SOURCES += src/schedulerdefaultschedule.c
216libscore_a_SOURCES += src/schedulerdefaultstartidle.c
217libscore_a_SOURCES += src/schedulerdefaulttick.c
218libscore_a_SOURCES += src/schedulerdefaultupdate.c
219
220## SCHEDULERPRIORITY_C_FILES
221libscore_a_SOURCES += src/schedulerpriority.c \
222    src/schedulerpriorityblock.c \
223    src/schedulerprioritychangepriority.c \
224    src/schedulerpriorityprioritycompare.c \
225    src/schedulerpriorityschedule.c \
226    src/schedulerpriorityunblock.c \
227    src/schedulerpriorityupdate.c \
228    src/schedulerpriorityyield.c
229
230## SCHEDULERSIMPLE_C_FILES
231libscore_a_SOURCES += src/schedulersimple.c \
232    src/schedulersimpleblock.c \
233    src/schedulersimplechangepriority.c \
234    src/schedulersimpleschedule.c \
235    src/schedulersimpleunblock.c \
236    src/schedulersimpleyield.c
237
238## SCHEDULEREDF_C_FILES
239libscore_a_SOURCES += src/scheduleredf.c \
240    src/scheduleredfnodeinit.c \
241    src/scheduleredfblock.c \
242    src/scheduleredfchangepriority.c \
243    src/scheduleredfprioritycompare.c \
244    src/scheduleredfreleasejob.c \
245    src/scheduleredfschedule.c \
246    src/scheduleredfunblock.c \
247    src/scheduleredfupdate.c \
248    src/scheduleredfyield.c
249
250## SCHEDULERCBS_C_FILES
251libscore_a_SOURCES += src/schedulercbs.c \
252    src/schedulercbsnodeinit.c \
253    src/schedulercbsattachthread.c \
254    src/schedulercbscleanup.c \
255    src/schedulercbscreateserver.c \
256    src/schedulercbsdestroyserver.c \
257    src/schedulercbsdetachthread.c \
258    src/schedulercbsgetapprovedbudget.c \
259    src/schedulercbsgetexecutiontime.c \
260    src/schedulercbsgetparameters.c \
261    src/schedulercbsgetremainingbudget.c \
262    src/schedulercbsgetserverid.c \
263    src/schedulercbssetparameters.c \
264    src/schedulercbsreleasejob.c \
265    src/schedulercbsunblock.c
266
267## PROTECTED_HEAP_C_FILES
268libscore_a_SOURCES += src/pheapallocate.c \
269    src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
270    src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
271    src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c src/pheapiterate.c
272
273## FREECHAIN_C_FILES
274libscore_a_SOURCES += src/freechain.c
275
276## RBTREE_C_FILES
277libscore_a_SOURCES += src/rbtree.c \
278    src/rbtreeextract.c src/rbtreefind.c \
279    src/rbtreeinsert.c src/rbtreeiterate.c src/rbtreenext.c
280
281## THREAD_C_FILES
282libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
283    src/threadclearstate.c src/threadcreateidle.c \
284    src/threaddelayended.c src/threaddispatch.c \
285    src/threadenabledispatch.c src/threaddisabledispatch.c \
286    src/threadget.c src/threadhandler.c src/threadinitialize.c \
287    src/threadloadenv.c \
288    src/threadrestart.c src/threadsetpriority.c \
289    src/threadsetstate.c \
290    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
291    src/threadstartmultitasking.c src/iterateoverthreads.c
292libscore_a_SOURCES += src/threadglobalconstruction.c
293libscore_a_SOURCES += src/threadyield.c
294
295if HAS_SMP
296libscore_a_SOURCES += src/threaddispatchdisablelevel.c
297endif
298
299## THREADQ_C_FILES
300libscore_a_SOURCES += src/threadq.c \
301    src/threadqenqueue.c \
302    src/threadqextractwithproxy.c src/threadqfirst.c \
303    src/threadqflush.c src/threadqprocesstimeout.c src/threadqtimeout.c
304
305## TIMESPEC_C_FILES
306libscore_a_SOURCES += src/timespecaddto.c src/timespecfromticks.c \
307    src/timespecisvalid.c src/timespeclessthan.c \
308    src/timespecsubtract.c src/timespectoticks.c src/timespecdivide.c \
309    src/timespecdividebyinteger.c src/timespecgetasnanoseconds.c
310
311## TIMESTAMP_INT64_C_FILES
312libscore_a_SOURCES += src/ts64addto.c \
313    src/ts64divide.c src/ts64equalto.c \
314    src/ts64getnanoseconds.c src/ts64getseconds.c \
315    src/ts64lessthan.c \
316    src/ts64set.c src/ts64settozero.c src/ts64subtract.c \
317    src/ts64totimespec.c src/ts64totimeval.c
318
319## TOD_C_FILES
320libscore_a_SOURCES += src/coretod.c src/coretodset.c src/coretodget.c \
321    src/coretodgetuptimetimespec.c src/coretodtickle.c \
322    src/coretodsecondssinceepoch.c src/coretodtickspersec.c \
323    src/coretodadjust.c
324
325## WATCHDOG_C_FILES
326libscore_a_SOURCES += src/watchdog.c src/watchdogadjust.c \
327    src/watchdogadjusttochain.c src/watchdoginsert.c src/watchdogremove.c
328libscore_a_SOURCES += src/watchdogtickssinceboot.c
329
330## USEREXT_C_FILES
331libscore_a_SOURCES += src/userextaddset.c \
332    src/userext.c src/userextremoveset.c src/userextiterate.c
333
334## STD_C_FILES
335libscore_a_SOURCES += src/apiext.c src/chain.c src/chainappend.c \
336    src/chainextract.c src/chainget.c src/chaininsert.c \
337    src/chainappendempty.c src/chainprependempty.c src/chaingetempty.c \
338    src/chainnodecount.c \
339    src/debugisthreaddispatchingallowed.c \
340    src/interr.c src/isr.c src/wkspace.c src/wkstringduplicate.c
341libscore_a_SOURCES += src/debugisownerofallocator.c
342libscore_a_SOURCES += src/profilingisrentryexit.c
343libscore_a_SOURCES += src/once.c
344libscore_a_SOURCES += src/resourceiterate.c
345libscore_a_SOURCES += src/smpbarrierwait.c
346
347EXTRA_DIST = src/Unlimited.txt
348
349DISTCLEANFILES = include/rtems/score/cpuopts.h
350
351include $(srcdir)/preinstall.am
352include $(top_srcdir)/automake/subdirs.am
353include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.