source: rtems/cpukit/score/Makefile.am @ 68e1ccc

5
Last change on this file since 68e1ccc was 68e1ccc, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 11, 2018 at 4:30:20 AM

build: Remove specialized CPPFLAGS

  • Property mode set to 100644
File size: 8.1 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4_SUBDIRS = cpu
5
6## include
7
8if HAS_MP
9# We only build multiprocessing related files if HAS_MP was defined
10endif
11
12if HAS_SMP
13endif
14
15## src
16
17noinst_LIBRARIES = libscore.a
18libscore_a_SOURCES =
19
20# We only build multiprocessing related files if HAS_MP was defined
21if HAS_MP
22libscore_a_SOURCES += src/mpci.c src/objectmp.c src/threadmp.c
23endif
24
25if HAS_SMP
26libscore_a_SOURCES += src/percpustatewait.c
27libscore_a_SOURCES += src/profilingsmplock.c
28libscore_a_SOURCES += src/schedulerdefaultpinunpin.c
29libscore_a_SOURCES += src/scheduleredfsmp.c
30libscore_a_SOURCES += src/schedulerpriorityaffinitysmp.c
31libscore_a_SOURCES += src/schedulerprioritysmp.c
32libscore_a_SOURCES += src/schedulersimplesmp.c
33libscore_a_SOURCES += src/schedulerstrongapa.c
34libscore_a_SOURCES += src/smp.c
35libscore_a_SOURCES += src/smplock.c
36libscore_a_SOURCES += src/smpmulticastaction.c
37libscore_a_SOURCES += src/schedulerdefaultaskforhelp.c
38libscore_a_SOURCES += src/schedulerdefaultsetaffinity.c
39libscore_a_SOURCES += src/schedulersmp.c
40libscore_a_SOURCES += src/schedulersmpstartidle.c
41libscore_a_SOURCES += src/threadunpin.c
42endif
43
44## CORE_APIMUTEX_C_FILES
45libscore_a_SOURCES += src/allocatormutex.c
46libscore_a_SOURCES += src/apimutexisowner.c
47libscore_a_SOURCES += src/apimutexlock.c
48libscore_a_SOURCES += src/apimutexunlock.c
49
50## CORE_BARRIER_C_FILES
51libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \
52    src/corebarrierwait.c
53
54## CORE_MESSAGE_QUEUE_C_FILES
55libscore_a_SOURCES += src/coremsg.c src/coremsgbroadcast.c \
56    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
57    src/coremsginsert.c src/coremsgseize.c \
58    src/coremsgsubmit.c
59
60## CORE_MUTEX_C_FILES
61libscore_a_SOURCES += src/coremutexseize.c
62
63## CORE_PERCPU_C_FILES
64libscore_a_SOURCES += src/percpu.c
65libscore_a_SOURCES += src/percpuasm.c
66
67## CORE_RWLOCK_C_FILES
68libscore_a_SOURCES += src/corerwlock.c src/corerwlockobtainread.c \
69    src/corerwlockobtainwrite.c src/corerwlockrelease.c
70
71## CORE_SEMAPHORE_C_FILES
72libscore_a_SOURCES += src/coresem.c
73
74## HEAP_C_FILES
75libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
76    src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
77    src/heapgetfreeinfo.c src/heapresizeblock.c src/heapiterate.c \
78    src/heapgreedy.c src/heapnoextend.c
79
80## OBJECT_C_FILES
81libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
82    src/objectextendinformation.c src/objectfree.c \
83    src/objectgetnext.c src/objectinitializeinformation.c \
84    src/objectnametoid.c src/objectnametoidstring.c \
85    src/objectshrinkinformation.c src/objectgetnoprotection.c \
86    src/objectidtoname.c src/objectgetnameasstring.c src/objectsetname.c \
87    src/objectgetinfo.c src/objectgetinfoid.c src/objectapimaximumclass.c \
88    src/objectnamespaceremove.c \
89    src/objectactivecount.c
90libscore_a_SOURCES += src/objectgetlocal.c
91
92## SCHEDULER_C_FILES
93libscore_a_SOURCES += src/log2table.c
94libscore_a_SOURCES += src/scheduler.c
95libscore_a_SOURCES += src/schedulergetaffinity.c
96libscore_a_SOURCES += src/schedulersetaffinity.c
97libscore_a_SOURCES += src/schedulerdefaultmappriority.c
98libscore_a_SOURCES += src/schedulerdefaultnodedestroy.c
99libscore_a_SOURCES += src/schedulerdefaultnodeinit.c
100libscore_a_SOURCES += src/schedulerdefaultreleasejob.c
101libscore_a_SOURCES += src/schedulerdefaultschedule.c
102libscore_a_SOURCES += src/schedulerdefaultstartidle.c
103libscore_a_SOURCES += src/schedulerdefaulttick.c
104
105## SCHEDULERPRIORITY_C_FILES
106libscore_a_SOURCES += src/schedulerpriority.c \
107    src/schedulerpriorityblock.c \
108    src/schedulerprioritychangepriority.c \
109    src/schedulerpriorityschedule.c \
110    src/schedulerpriorityunblock.c \
111    src/schedulerpriorityyield.c
112
113## SCHEDULERSIMPLE_C_FILES
114libscore_a_SOURCES += src/schedulersimple.c \
115    src/schedulersimpleblock.c \
116    src/schedulersimplechangepriority.c \
117    src/schedulersimpleschedule.c \
118    src/schedulersimpleunblock.c \
119    src/schedulersimpleyield.c
120
121## SCHEDULEREDF_C_FILES
122libscore_a_SOURCES += src/scheduleredf.c \
123    src/scheduleredfnodeinit.c \
124    src/scheduleredfblock.c \
125    src/scheduleredfchangepriority.c \
126    src/scheduleredfreleasejob.c \
127    src/scheduleredfschedule.c \
128    src/scheduleredfunblock.c \
129    src/scheduleredfyield.c
130
131## SCHEDULERCBS_C_FILES
132libscore_a_SOURCES += src/schedulercbs.c \
133    src/schedulercbsnodeinit.c \
134    src/schedulercbsattachthread.c \
135    src/schedulercbscleanup.c \
136    src/schedulercbscreateserver.c \
137    src/schedulercbsdestroyserver.c \
138    src/schedulercbsdetachthread.c \
139    src/schedulercbsgetapprovedbudget.c \
140    src/schedulercbsgetexecutiontime.c \
141    src/schedulercbsgetparameters.c \
142    src/schedulercbsgetremainingbudget.c \
143    src/schedulercbsgetserverid.c \
144    src/schedulercbssetparameters.c \
145    src/schedulercbsreleasejob.c \
146    src/schedulercbsunblock.c
147
148## PROTECTED_HEAP_C_FILES
149libscore_a_SOURCES += src/pheapallocate.c \
150    src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
151    src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
152    src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c src/pheapiterate.c
153
154## FREECHAIN_C_FILES
155libscore_a_SOURCES += src/freechain.c
156
157## RBTREE_C_FILES
158libscore_a_SOURCES += \
159    src/rbtreeextract.c \
160    src/rbtreeinsert.c src/rbtreeiterate.c src/rbtreenext.c
161libscore_a_SOURCES += src/rbtreepostorder.c
162libscore_a_SOURCES += src/rbtreereplace.c
163
164## THREAD_C_FILES
165libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
166    src/threadclearstate.c src/threadcreateidle.c \
167    src/threaddispatch.c \
168    src/threadget.c src/threadhandler.c src/threadinitialize.c \
169    src/threadloadenv.c \
170    src/threadrestart.c \
171    src/threadsetstate.c \
172    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
173    src/threadstartmultitasking.c src/iterateoverthreads.c
174libscore_a_SOURCES += src/threadentryadaptoridle.c
175libscore_a_SOURCES += src/threadentryadaptornumeric.c
176libscore_a_SOURCES += src/threadentryadaptorpointer.c
177libscore_a_SOURCES += src/threadgetcputimeused.c
178libscore_a_SOURCES += src/threaditerate.c
179libscore_a_SOURCES += src/threadname.c
180libscore_a_SOURCES += src/threadscheduler.c
181libscore_a_SOURCES += src/threadtimeout.c
182libscore_a_SOURCES += src/threadwaitgetid.c
183libscore_a_SOURCES += src/threadyield.c
184
185## THREADQ_C_FILES
186libscore_a_SOURCES += src/threadq.c \
187    src/threadqenqueue.c \
188    src/threadqextractwithproxy.c src/threadqfirst.c \
189    src/threadqflush.c
190libscore_a_SOURCES += src/threadqops.c
191libscore_a_SOURCES += src/threadqtimeout.c
192
193## TIMESPEC_C_FILES
194libscore_a_SOURCES += src/timespecaddto.c src/timespecfromticks.c \
195    src/timespecisvalid.c src/timespeclessthan.c \
196    src/timespecsubtract.c src/timespectoticks.c src/timespecdivide.c \
197    src/timespecdividebyinteger.c src/timespecgetasnanoseconds.c
198
199## TOD_C_FILES
200libscore_a_SOURCES += src/coretod.c src/coretodset.c \
201    src/coretodtickspersec.c \
202    src/coretodadjust.c
203
204## WATCHDOG_C_FILES
205libscore_a_SOURCES += src/watchdoginsert.c
206libscore_a_SOURCES += src/watchdogremove.c
207libscore_a_SOURCES += src/watchdogtick.c
208libscore_a_SOURCES += src/watchdogtickssinceboot.c
209
210## USEREXT_C_FILES
211libscore_a_SOURCES += src/userextaddset.c \
212    src/userext.c src/userextremoveset.c src/userextiterate.c
213
214## STD_C_FILES
215libscore_a_SOURCES += src/chain.c \
216    src/chainnodecount.c \
217    src/debugisthreaddispatchingallowed.c \
218    src/interr.c src/isr.c src/wkspace.c src/wkstringduplicate.c
219libscore_a_SOURCES += src/ioprintf.c
220libscore_a_SOURCES += src/iovprintf.c
221libscore_a_SOURCES += src/isrisinprogress.c
222libscore_a_SOURCES += src/condition.c
223libscore_a_SOURCES += src/futex.c
224libscore_a_SOURCES += src/profilingisrentryexit.c
225libscore_a_SOURCES += src/mutex.c
226libscore_a_SOURCES += src/once.c
227libscore_a_SOURCES += src/sched.c
228libscore_a_SOURCES += src/semaphore.c
229libscore_a_SOURCES += src/smpbarrierwait.c
230libscore_a_SOURCES += src/kern_tc.c
231libscore_a_SOURCES += src/libatomic.c
232libscore_a_SOURCES += src/processormaskcopy.c
233
234
235# This file is in the build tree
236include_rtems_scoredir = $(includedir)/rtems/score
237include_rtems_score_HEADERS = ../../include/rtems/score/cpuopts.h
238
239include $(top_srcdir)/automake/subdirs.am
240include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.