source: rtems/cpukit/score/Makefile.am @ 154721c4

4.11
Last change on this file since 154721c4 was 154721c4, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 16, 2012 at 12:39:55 PM

score: Add _Timestamp_To_timeval()

  • Property mode set to 100644
File size: 13.4 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
13include_rtems_HEADERS += include/rtems/bspsmp.h
14
15include_rtems_scoredir = $(includedir)/rtems/score
16
17include_rtems_score_HEADERS = include/rtems/score/address.h
18include_rtems_score_HEADERS += include/rtems/score/apiext.h
19include_rtems_score_HEADERS += include/rtems/score/apimutex.h
20include_rtems_score_HEADERS += include/rtems/score/bitfield.h
21include_rtems_score_HEADERS += include/rtems/score/chain.h
22include_rtems_score_HEADERS += include/rtems/score/context.h
23include_rtems_score_HEADERS += include/rtems/score/copyrt.h
24include_rtems_score_HEADERS += include/rtems/score/corebarrier.h
25include_rtems_score_HEADERS += include/rtems/score/coremsg.h
26include_rtems_score_HEADERS += include/rtems/score/coremutex.h
27include_rtems_score_HEADERS += include/rtems/score/coresem.h
28include_rtems_score_HEADERS += include/rtems/score/heap.h
29include_rtems_score_HEADERS += include/rtems/score/protectedheap.h
30include_rtems_score_HEADERS += include/rtems/score/interr.h
31include_rtems_score_HEADERS += include/rtems/score/isr.h
32include_rtems_score_HEADERS += include/rtems/score/isrlevel.h
33include_rtems_score_HEADERS += include/rtems/score/object.h
34include_rtems_score_HEADERS += include/rtems/score/percpu.h
35include_rtems_score_HEADERS += include/rtems/score/priority.h
36include_rtems_score_HEADERS += include/rtems/score/prioritybitmap.h
37include_rtems_score_HEADERS += include/rtems/score/rbtree.h
38include_rtems_score_HEADERS += include/rtems/score/scheduler.h
39include_rtems_score_HEADERS += include/rtems/score/schedulercbs.h
40include_rtems_score_HEADERS += include/rtems/score/scheduleredf.h
41include_rtems_score_HEADERS += include/rtems/score/schedulerpriority.h
42include_rtems_score_HEADERS += include/rtems/score/schedulersimple.h
43include_rtems_score_HEADERS += include/rtems/score/stack.h
44include_rtems_score_HEADERS += include/rtems/score/states.h
45include_rtems_score_HEADERS += include/rtems/score/sysstate.h
46include_rtems_score_HEADERS += include/rtems/score/thread.h
47include_rtems_score_HEADERS += include/rtems/score/threadq.h
48include_rtems_score_HEADERS += include/rtems/score/threadsync.h
49include_rtems_score_HEADERS += include/rtems/score/timespec.h
50include_rtems_score_HEADERS += include/rtems/score/timestamp.h
51include_rtems_score_HEADERS += include/rtems/score/timestamp64.h
52include_rtems_score_HEADERS += include/rtems/score/tod.h
53include_rtems_score_HEADERS += include/rtems/score/tqdata.h
54include_rtems_score_HEADERS += include/rtems/score/userext.h
55include_rtems_score_HEADERS += include/rtems/score/watchdog.h
56include_rtems_score_HEADERS += include/rtems/score/wkspace.h
57include_rtems_score_HEADERS += include/rtems/score/cpuopts.h
58include_rtems_score_HEADERS += include/rtems/score/basedefs.h
59
60if HAS_SMP
61include_rtems_score_HEADERS += include/rtems/score/smplock.h
62include_rtems_score_HEADERS += include/rtems/score/smp.h
63endif
64
65if HAS_PTHREADS
66include_rtems_score_HEADERS += include/rtems/score/corespinlock.h
67include_rtems_score_HEADERS += include/rtems/score/corerwlock.h
68endif
69
70if HAS_MP
71# We only build multiprocessing related files if HAS_MP was defined
72include_rtems_score_HEADERS += include/rtems/score/mpci.h
73include_rtems_score_HEADERS += include/rtems/score/mppkt.h
74include_rtems_score_HEADERS += include/rtems/score/objectmp.h
75include_rtems_score_HEADERS += include/rtems/score/threadmp.h
76endif
77
78if HAS_SMP
79include_rtems_score_HEADERS += include/rtems/score/schedulersimplesmp.h
80endif
81
82## inline
83include_rtems_score_HEADERS += inline/rtems/score/address.inl
84include_rtems_score_HEADERS += inline/rtems/score/chain.inl
85include_rtems_score_HEADERS += inline/rtems/score/corebarrier.inl
86include_rtems_score_HEADERS += inline/rtems/score/coremsg.inl
87include_rtems_score_HEADERS += inline/rtems/score/coremutex.inl
88include_rtems_score_HEADERS += inline/rtems/score/coresem.inl
89include_rtems_score_HEADERS += inline/rtems/score/heap.inl
90include_rtems_score_HEADERS += inline/rtems/score/isr.inl
91include_rtems_score_HEADERS += inline/rtems/score/object.inl
92include_rtems_score_HEADERS += inline/rtems/score/priority.inl
93include_rtems_score_HEADERS += inline/rtems/score/prioritybitmap.inl
94include_rtems_score_HEADERS += inline/rtems/score/rbtree.inl
95include_rtems_score_HEADERS += inline/rtems/score/scheduler.inl
96include_rtems_score_HEADERS += inline/rtems/score/schedulerpriority.inl
97include_rtems_score_HEADERS += inline/rtems/score/schedulersimple.inl
98include_rtems_score_HEADERS += inline/rtems/score/stack.inl
99include_rtems_score_HEADERS += inline/rtems/score/states.inl
100include_rtems_score_HEADERS += inline/rtems/score/sysstate.inl
101include_rtems_score_HEADERS += inline/rtems/score/thread.inl
102include_rtems_score_HEADERS += inline/rtems/score/threadq.inl
103include_rtems_score_HEADERS += inline/rtems/score/tod.inl
104include_rtems_score_HEADERS += inline/rtems/score/tqdata.inl
105include_rtems_score_HEADERS += inline/rtems/score/watchdog.inl
106include_rtems_score_HEADERS += inline/rtems/score/wkspace.inl
107
108if HAS_PTHREADS
109include_rtems_score_HEADERS += inline/rtems/score/corespinlock.inl
110include_rtems_score_HEADERS += inline/rtems/score/corerwlock.inl
111endif
112
113if HAS_MP
114## We only build multiprocessing related files if HAS_MP was defined
115include_rtems_score_HEADERS += inline/rtems/score/mppkt.inl
116include_rtems_score_HEADERS += inline/rtems/score/objectmp.inl
117include_rtems_score_HEADERS += inline/rtems/score/threadmp.inl
118endif
119
120## src
121
122AM_CPPFLAGS += -D__RTEMS_INSIDE__
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/isrsmp.c src/smp.c src/smplock.c \
135    src/schedulersimplesmpblock.c src/schedulersimplesmpschedule.c \
136    src/schedulersimplesmpunblock.c src/schedulersimplesmptick.c
137endif
138
139## CORE_APIMUTEX_C_FILES
140libscore_a_SOURCES += src/apimutex.c src/apimutexallocate.c \
141    src/apimutexlock.c src/apimutexunlock.c
142
143## CORE_BARRIER_C_FILES
144libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \
145    src/corebarrierwait.c
146
147## CORE_MESSAGE_QUEUE_C_FILES
148libscore_a_SOURCES += src/coremsg.c src/coremsgbroadcast.c \
149    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
150    src/coremsginsert.c src/coremsgflushsupp.c src/coremsgseize.c \
151    src/coremsgsubmit.c
152
153## CORE_MUTEX_C_FILES
154libscore_a_SOURCES += src/coremutex.c src/coremutexflush.c \
155    src/coremutexseize.c src/coremutexsurrender.c \
156    src/coremutexseizeintr.c
157
158## CORE_PERCPU_C_FILES
159libscore_a_SOURCES += src/percpu.c
160
161## CORE_RWLOCK_C_FILES
162if HAS_PTHREADS
163libscore_a_SOURCES += src/corerwlock.c src/corerwlockobtainread.c \
164    src/corerwlockobtainwrite.c src/corerwlockrelease.c src/corerwlocktimeout.c
165endif
166
167## CORE_SEMAPHORE_C_FILES
168libscore_a_SOURCES += src/coresem.c src/coresemflush.c src/coresemseize.c \
169    src/coresemsurrender.c
170
171## CORE_SPINLOCK_C_FILES
172if HAS_PTHREADS
173libscore_a_SOURCES += src/corespinlock.c src/corespinlockrelease.c \
174    src/corespinlockwait.c
175endif
176
177## HEAP_C_FILES
178libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
179    src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
180    src/heapgetfreeinfo.c src/heapresizeblock.c src/heapiterate.c \
181    src/heapgreedy.c src/heapnoextend.c
182
183## OBJECT_C_FILES
184libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
185    src/objectextendinformation.c src/objectfree.c src/objectget.c \
186    src/objectgetisr.c src/objectgetnext.c src/objectinitializeinformation.c \
187    src/objectnametoid.c src/objectnametoidstring.c \
188    src/objectshrinkinformation.c src/objectgetnoprotection.c \
189    src/objectidtoname.c src/objectgetnameasstring.c src/objectsetname.c \
190    src/objectgetinfo.c src/objectgetinfoid.c src/objectapimaximumclass.c \
191    src/objectnamespaceremove.c
192
193## SCHEDULER_C_FILES
194libscore_a_SOURCES += src/scheduler.c
195
196## SCHEDULERPRIORITY_C_FILES
197libscore_a_SOURCES += src/schedulerpriority.c \
198    src/schedulerpriorityallocate.c \
199    src/schedulerprioritytick.c \
200    src/schedulerpriorityblock.c \
201    src/schedulerpriorityenqueue.c \
202    src/schedulerpriorityenqueuefirst.c \
203    src/schedulerpriorityextract.c \
204    src/schedulerpriorityfree.c \
205    src/schedulerpriorityprioritycompare.c \
206    src/schedulerpriorityreleasejob.c \
207    src/schedulerpriorityschedule.c \
208    src/schedulerpriorityunblock.c \
209    src/schedulerpriorityupdate.c \
210    src/schedulerpriorityyield.c
211
212## SCHEDULERSIMPLE_C_FILES
213libscore_a_SOURCES += src/schedulersimple.c \
214    src/schedulersimpleblock.c \
215    src/schedulersimpleenqueue.c \
216    src/schedulersimpleenqueuefirst.c \
217    src/schedulersimpleextract.c \
218    src/schedulersimplereadyqueueenqueue.c \
219    src/schedulersimplereadyqueueenqueuefirst.c \
220    src/schedulersimpleschedule.c \
221    src/schedulersimpleunblock.c \
222    src/schedulersimpleyield.c
223
224## SCHEDULEREDF_C_FILES
225libscore_a_SOURCES += src/scheduleredf.c \
226    src/scheduleredfallocate.c \
227    src/scheduleredfblock.c \
228    src/scheduleredfenqueue.c \
229    src/scheduleredfenqueuefirst.c \
230    src/scheduleredfextract.c \
231    src/scheduleredffree.c \
232    src/scheduleredfprioritycompare.c \
233    src/scheduleredfreleasejob.c \
234    src/scheduleredfschedule.c \
235    src/scheduleredfunblock.c \
236    src/scheduleredfupdate.c \
237    src/scheduleredfyield.c
238
239## SCHEDULERCBS_C_FILES
240libscore_a_SOURCES += src/schedulercbs.c \
241    src/schedulercbsallocate.c \
242    src/schedulercbsattachthread.c \
243    src/schedulercbscleanup.c \
244    src/schedulercbscreateserver.c \
245    src/schedulercbsdestroyserver.c \
246    src/schedulercbsdetachthread.c \
247    src/schedulercbsgetapprovedbudget.c \
248    src/schedulercbsgetexecutiontime.c \
249    src/schedulercbsgetparameters.c \
250    src/schedulercbsgetremainingbudget.c \
251    src/schedulercbsgetserverid.c \
252    src/schedulercbssetparameters.c \
253    src/schedulercbsreleasejob.c \
254    src/schedulercbsunblock.c
255
256## PROTECTED_HEAP_C_FILES
257libscore_a_SOURCES += src/pheapallocate.c \
258    src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
259    src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
260    src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c src/pheapiterate.c
261
262## RBTREE_C_FILES
263libscore_a_SOURCES += src/rbtree.c \
264    src/rbtreeextract.c src/rbtreefind.c src/rbtreefindheader.c \
265    src/rbtreeget.c src/rbtreeinsert.c src/rbtreeiterate.c src/rbtreenext.c
266
267## THREAD_C_FILES
268libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
269    src/threadclearstate.c src/threadclose.c src/threadcreateidle.c \
270    src/threaddelayended.c src/threaddispatch.c \
271    src/threadenabledispatch.c src/threaddisabledispatch.c \
272    src/threadget.c src/threadhandler.c src/threadinitialize.c \
273    src/threadloadenv.c src/threadready.c src/threadreset.c \
274    src/threadrestart.c src/threadsetpriority.c \
275    src/threadsetstate.c src/threadsettransient.c \
276    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
277    src/threadstartmultitasking.c src/iterateoverthreads.c \
278    src/threadblockingoperationcancel.c
279   
280if HAS_SMP
281libscore_a_SOURCES += src/threaddispatchdisablelevel.c
282endif
283
284## THREADQ_C_FILES
285libscore_a_SOURCES += src/threadq.c src/threadqdequeue.c \
286    src/threadqdequeuefifo.c src/threadqdequeuepriority.c \
287    src/threadqenqueue.c src/threadqenqueuefifo.c \
288    src/threadqenqueuepriority.c src/threadqextract.c \
289    src/threadqextractfifo.c src/threadqextractpriority.c \
290    src/threadqextractwithproxy.c src/threadqfirst.c src/threadqfirstfifo.c \
291    src/threadqfirstpriority.c src/threadqflush.c src/threadqrequeue.c \
292    src/threadqprocesstimeout.c src/threadqtimeout.c
293
294## TIMESPEC_C_FILES
295libscore_a_SOURCES += src/timespecaddto.c src/timespecfromticks.c \
296    src/timespecisvalid.c src/timespeclessthan.c \
297    src/timespecsubtract.c src/timespectoticks.c src/timespecdivide.c \
298    src/timespecdividebyinteger.c
299
300## TIMESTAMP_INT64_C_FILES
301libscore_a_SOURCES += src/ts64addto.c src/ts64dividebyinteger.c \
302    src/ts64divide.c src/ts64equalto.c \
303    src/ts64getnanoseconds.c src/ts64getseconds.c \
304    src/ts64lessthan.c \
305    src/ts64set.c src/ts64settozero.c src/ts64subtract.c \
306    src/ts64toticks.c src/ts64totimespec.c src/ts64totimeval.c
307
308## TOD_C_FILES
309libscore_a_SOURCES += src/coretod.c src/coretodset.c src/coretodget.c \
310    src/coretodgetuptime.c src/coretodgetuptimetimespec.c src/coretodtickle.c \
311    src/coretodmsecstoticks.c src/coretodtickspersec.c src/coretodusectoticks.c
312
313## WATCHDOG_C_FILES
314libscore_a_SOURCES += src/watchdog.c src/watchdogadjust.c \
315    src/watchdogadjusttochain.c src/watchdoginsert.c src/watchdogremove.c \
316    src/watchdogtickle.c src/watchdogreport.c src/watchdogreportchain.c \
317    src/watchdognanoseconds.c
318
319## USEREXT_C_FILES
320libscore_a_SOURCES += src/userextaddset.c \
321    src/userext.c src/userextremoveset.c src/userextiterate.c \
322    src/userextthreadswitch.c
323
324## STD_C_FILES
325libscore_a_SOURCES += src/apiext.c src/chain.c src/chainappend.c \
326    src/chainextract.c src/chainget.c src/chaininsert.c \
327    src/chainappendempty.c src/chainprependempty.c src/chaingetempty.c \
328    src/interr.c src/isr.c src/wkspace.c src/wkstringduplicate.c
329
330EXTRA_DIST = src/Unlimited.txt
331
332DISTCLEANFILES = include/rtems/score/cpuopts.h
333
334include $(srcdir)/preinstall.am
335include $(top_srcdir)/automake/subdirs.am
336include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.