source: rtems/cpukit/score/Makefile.am @ 0daa8ab

Last change on this file since 0daa8ab was 7851555, checked in by Sebastian Huber <sebastian.huber@…>, on Jul 3, 2017 at 12:05:26 PM

score: Move processor affinity to Thread_Control

Update #3059.

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