source: rtems/cpukit/rtems/Makefile.am @ 57c676c6

Last change on this file since 57c676c6 was dce48791, checked in by Sebastian Huber <sebastian.huber@…>, on May 23, 2016 at 11:37:59 AM

score: Add Status_Control for all APIs

Unify the status codes of the Classic and POSIX API to use the new enum
Status_Control. This eliminates the Thread_Control::Wait::timeout_code
field and the timeout parameter of _Thread_queue_Enqueue_critical() and
_MPCI_Send_request_packet(). It gets rid of the status code translation
tables and instead uses simple bit operations to get the status for a
particular API. This enables translation of status code constants at
compile time. Add _Thread_Wait_get_status() to avoid direct access of
thread internal data structures.

  • Property mode set to 100644
File size: 9.6 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4noinst_LIBRARIES = librtems.a
5librtems_a_CPPFLAGS = $(AM_CPPFLAGS)
6
7# include
8
9include_HEADERS = include/rtems.h
10
11# include/rtems/rtems
12include_rtems_rtemsdir = $(includedir)/rtems/rtems
13include_rtems_rtems_HEADERS =
14
15include_rtems_rtems_HEADERS += include/rtems/rtems/asr.h
16include_rtems_rtems_HEADERS += include/rtems/rtems/asrimpl.h
17include_rtems_rtems_HEADERS += include/rtems/rtems/attr.h
18include_rtems_rtems_HEADERS += include/rtems/rtems/attrimpl.h
19include_rtems_rtems_HEADERS += include/rtems/rtems/barrier.h
20include_rtems_rtems_HEADERS += include/rtems/rtems/barrierimpl.h
21include_rtems_rtems_HEADERS += include/rtems/rtems/cache.h
22include_rtems_rtems_HEADERS += include/rtems/rtems/clock.h
23include_rtems_rtems_HEADERS += include/rtems/rtems/config.h
24include_rtems_rtems_HEADERS += include/rtems/rtems/dpmem.h
25include_rtems_rtems_HEADERS += include/rtems/rtems/dpmemimpl.h
26include_rtems_rtems_HEADERS += include/rtems/rtems/event.h
27include_rtems_rtems_HEADERS += include/rtems/rtems/eventimpl.h
28include_rtems_rtems_HEADERS += include/rtems/rtems/intr.h
29include_rtems_rtems_HEADERS += include/rtems/rtems/message.h
30include_rtems_rtems_HEADERS += include/rtems/rtems/messageimpl.h
31include_rtems_rtems_HEADERS += include/rtems/rtems/modes.h
32include_rtems_rtems_HEADERS += include/rtems/rtems/modesimpl.h
33include_rtems_rtems_HEADERS += include/rtems/rtems/object.h
34include_rtems_rtems_HEADERS += include/rtems/rtems/options.h
35include_rtems_rtems_HEADERS += include/rtems/rtems/optionsimpl.h
36include_rtems_rtems_HEADERS += include/rtems/rtems/part.h
37include_rtems_rtems_HEADERS += include/rtems/rtems/partimpl.h
38include_rtems_rtems_HEADERS += include/rtems/rtems/ratemon.h
39include_rtems_rtems_HEADERS += include/rtems/rtems/ratemonimpl.h
40include_rtems_rtems_HEADERS += include/rtems/rtems/region.h
41include_rtems_rtems_HEADERS += include/rtems/rtems/regionimpl.h
42include_rtems_rtems_HEADERS += include/rtems/rtems/sem.h
43include_rtems_rtems_HEADERS += include/rtems/rtems/semimpl.h
44include_rtems_rtems_HEADERS += include/rtems/rtems/signal.h
45include_rtems_rtems_HEADERS += include/rtems/rtems/signalimpl.h
46include_rtems_rtems_HEADERS += include/rtems/rtems/smp.h
47include_rtems_rtems_HEADERS += include/rtems/rtems/status.h
48include_rtems_rtems_HEADERS += include/rtems/rtems/statusimpl.h
49include_rtems_rtems_HEADERS += include/rtems/rtems/support.h
50include_rtems_rtems_HEADERS += include/rtems/rtems/tasks.h
51include_rtems_rtems_HEADERS += include/rtems/rtems/tasksimpl.h
52include_rtems_rtems_HEADERS += include/rtems/rtems/timer.h
53include_rtems_rtems_HEADERS += include/rtems/rtems/timerimpl.h
54include_rtems_rtems_HEADERS += include/rtems/rtems/types.h
55include_rtems_rtems_HEADERS += mainpage.h
56
57if HAS_MP
58## We only build multiprocessing related files if HAS_MP was defined
59include_rtems_rtems_HEADERS += include/rtems/rtems/eventmp.h
60include_rtems_rtems_HEADERS += include/rtems/rtems/mp.h
61include_rtems_rtems_HEADERS += include/rtems/rtems/msgmp.h
62include_rtems_rtems_HEADERS += include/rtems/rtems/partmp.h
63include_rtems_rtems_HEADERS += include/rtems/rtems/semmp.h
64include_rtems_rtems_HEADERS += include/rtems/rtems/signalmp.h
65include_rtems_rtems_HEADERS += include/rtems/rtems/taskmp.h
66endif
67
68## src
69librtems_a_SOURCES = src/rtemsbuildid.c
70librtems_a_SOURCES += src/rtemsbuildname.c
71librtems_a_SOURCES += src/rtemsobjectgetname.c
72librtems_a_SOURCES += src/rtemsobjectsetname.c
73librtems_a_SOURCES += src/rtemsobjectidapimaximum.c
74librtems_a_SOURCES += src/rtemsobjectidapiminimum.c
75librtems_a_SOURCES += src/rtemsobjectidgetapi.c
76librtems_a_SOURCES += src/rtemsobjectidgetclass.c
77librtems_a_SOURCES += src/rtemsobjectidgetindex.c
78librtems_a_SOURCES += src/rtemsobjectidgetnode.c
79librtems_a_SOURCES += src/rtemsobjectapiminimumclass.c
80librtems_a_SOURCES += src/rtemsobjectapimaximumclass.c
81librtems_a_SOURCES += src/rtemsobjectgetapiname.c
82librtems_a_SOURCES += src/rtemsobjectgetapiclassname.c
83librtems_a_SOURCES += src/rtemsobjectgetclassinfo.c
84librtems_a_SOURCES += src/rtemsobjectgetclassicname.c
85
86## TASK_C_FILES
87librtems_a_SOURCES += src/tasks.c
88librtems_a_SOURCES += src/taskcreate.c
89librtems_a_SOURCES += src/taskdelete.c
90librtems_a_SOURCES += src/taskgetaffinity.c
91librtems_a_SOURCES += src/taskgetscheduler.c
92librtems_a_SOURCES += src/taskident.c
93librtems_a_SOURCES += src/taskinitusers.c
94librtems_a_SOURCES += src/taskissuspended.c
95librtems_a_SOURCES += src/taskmode.c
96librtems_a_SOURCES += src/taskrestart.c
97librtems_a_SOURCES += src/taskresume.c
98librtems_a_SOURCES += src/taskself.c
99librtems_a_SOURCES += src/tasksetaffinity.c
100librtems_a_SOURCES += src/tasksetpriority.c
101librtems_a_SOURCES += src/tasksetscheduler.c
102librtems_a_SOURCES += src/taskstart.c
103librtems_a_SOURCES += src/tasksuspend.c
104librtems_a_SOURCES += src/taskwakeafter.c
105librtems_a_SOURCES += src/taskwakewhen.c
106librtems_a_SOURCES += src/schedulergetprocessorset.c
107librtems_a_SOURCES += src/schedulerident.c
108
109## RATEMON_C_FILES
110librtems_a_SOURCES += src/ratemon.c
111librtems_a_SOURCES += src/ratemoncancel.c
112librtems_a_SOURCES += src/ratemoncreate.c
113librtems_a_SOURCES += src/ratemondelete.c
114librtems_a_SOURCES += src/ratemongetstatus.c
115librtems_a_SOURCES += src/ratemongetstatistics.c
116librtems_a_SOURCES += src/ratemonresetstatistics.c
117librtems_a_SOURCES += src/ratemonresetall.c
118librtems_a_SOURCES += src/ratemonreportstatistics.c
119librtems_a_SOURCES += src/ratemonident.c
120librtems_a_SOURCES += src/ratemonperiod.c
121librtems_a_SOURCES += src/ratemontimeout.c
122
123## INTR_C_FILES
124librtems_a_SOURCES += src/intrbody.c
125librtems_a_SOURCES += src/intrcatch.c
126
127## BARRIER_C_FILES
128librtems_a_SOURCES += src/barrier.c
129librtems_a_SOURCES += src/barriercreate.c
130librtems_a_SOURCES += src/barrierdelete.c
131librtems_a_SOURCES += src/barrierident.c
132librtems_a_SOURCES += src/barrierrelease.c
133librtems_a_SOURCES += src/barrierwait.c
134
135## CLOCK_C_FILES
136librtems_a_SOURCES += src/clockgetsecondssinceepoch.c
137librtems_a_SOURCES += src/clockgettickspersecond.c
138librtems_a_SOURCES += src/clockgettod.c
139librtems_a_SOURCES += src/clockgettodtimeval.c
140librtems_a_SOURCES += src/clockgetuptime.c
141librtems_a_SOURCES += src/clockgetuptimetimeval.c
142librtems_a_SOURCES += src/clockgetuptimenanoseconds.c
143librtems_a_SOURCES += src/clockset.c
144librtems_a_SOURCES += src/clocktick.c
145librtems_a_SOURCES += src/clocktodtoseconds.c
146librtems_a_SOURCES += src/clocktodvalidate.c
147
148## TIMER_C_FILES
149librtems_a_SOURCES += src/rtemstimer.c
150librtems_a_SOURCES += src/timercancel.c
151librtems_a_SOURCES += src/timercreate.c
152librtems_a_SOURCES += src/timerdelete.c
153librtems_a_SOURCES += src/timerfireafter.c
154librtems_a_SOURCES += src/timerfirewhen.c
155librtems_a_SOURCES += src/timergetinfo.c
156librtems_a_SOURCES += src/timerident.c
157librtems_a_SOURCES += src/timerreset.c
158librtems_a_SOURCES += src/timerserver.c
159librtems_a_SOURCES += src/timerserverfireafter.c
160librtems_a_SOURCES += src/timerserverfirewhen.c
161
162## MESSAGE_QUEUE_C_FILES
163librtems_a_SOURCES += src/msg.c
164librtems_a_SOURCES += src/msgqbroadcast.c
165librtems_a_SOURCES += src/msgqcreate.c
166librtems_a_SOURCES += src/msgqdelete.c
167librtems_a_SOURCES += src/msgqflush.c
168librtems_a_SOURCES += src/msgqgetnumberpending.c
169librtems_a_SOURCES += src/msgqident.c
170librtems_a_SOURCES += src/msgqreceive.c
171librtems_a_SOURCES += src/msgqsend.c
172librtems_a_SOURCES += src/msgqurgent.c
173
174## SEMAPHORE_C_FILES
175librtems_a_SOURCES += src/sem.c
176librtems_a_SOURCES += src/semcreate.c
177librtems_a_SOURCES += src/semdelete.c
178librtems_a_SOURCES += src/semident.c
179librtems_a_SOURCES += src/semobtain.c
180librtems_a_SOURCES += src/semrelease.c
181librtems_a_SOURCES += src/semflush.c
182librtems_a_SOURCES += src/semsetpriority.c
183
184## EVENT_C_FILES
185librtems_a_SOURCES += src/eventreceive.c
186librtems_a_SOURCES += src/eventseize.c
187librtems_a_SOURCES += src/eventsend.c
188librtems_a_SOURCES += src/eventsurrender.c
189librtems_a_SOURCES += src/systemeventsend.c
190librtems_a_SOURCES += src/systemeventreceive.c
191
192## SIGNAL_C_FILES
193librtems_a_SOURCES += src/signalcatch.c
194librtems_a_SOURCES += src/signalsend.c
195
196## REGION_C_FILES
197librtems_a_SOURCES += src/region.c
198librtems_a_SOURCES += src/regioncreate.c
199librtems_a_SOURCES += src/regiondelete.c
200librtems_a_SOURCES += src/regionextend.c
201librtems_a_SOURCES += src/regiongetsegment.c
202librtems_a_SOURCES += src/regiongetsegmentsize.c
203librtems_a_SOURCES += src/regionident.c
204librtems_a_SOURCES += src/regionreturnsegment.c
205librtems_a_SOURCES += src/regiongetinfo.c
206librtems_a_SOURCES += src/regiongetfreeinfo.c
207librtems_a_SOURCES += src/regionresizesegment.c
208librtems_a_SOURCES += src/regionprocessqueue.c
209
210## PARTITION_C_FILES
211librtems_a_SOURCES += src/part.c
212librtems_a_SOURCES += src/partcreate.c
213librtems_a_SOURCES += src/partdelete.c
214librtems_a_SOURCES += src/partgetbuffer.c
215librtems_a_SOURCES += src/partident.c
216librtems_a_SOURCES += src/partreturnbuffer.c
217
218## DPMEM_C_FILES
219librtems_a_SOURCES += src/dpmem.c
220librtems_a_SOURCES += src/dpmemcreate.c
221librtems_a_SOURCES += src/dpmemdelete.c
222librtems_a_SOURCES += src/dpmemexternal2internal.c
223librtems_a_SOURCES += src/dpmemident.c
224librtems_a_SOURCES += src/dpmeminternal2external.c
225
226## WORKSPACE_FILES
227librtems_a_SOURCES += src/workspace.c
228librtems_a_SOURCES += src/workspacegreedy.c
229
230librtems_a_SOURCES += src/modes.c
231
232librtems_a_SOURCES += src/status.c
233librtems_a_SOURCES += src/statustext.c
234
235librtems_a_SOURCES += src/getcurrentprocessor.c
236librtems_a_SOURCES += src/getprocessorcount.c
237
238if HAS_MP
239# We only build multiprocessing related files if HAS_MP was defined
240librtems_a_SOURCES += src/eventmp.c
241librtems_a_SOURCES += src/mp.c
242librtems_a_SOURCES += src/msgmp.c
243librtems_a_SOURCES += src/partmp.c
244librtems_a_SOURCES += src/semmp.c
245librtems_a_SOURCES += src/signalmp.c
246librtems_a_SOURCES += src/taskmp.c
247endif
248
249include $(srcdir)/preinstall.am
250include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.