source: rtems/cpukit/score/Makefile.am @ 632e4306

4.104.11
Last change on this file since 632e4306 was 915bb51, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 17, 2009 at 9:08:22 AM

make thread dispatching in ISRs generic code

  • Property mode set to 100644
File size: 8.3 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8SUBDIRS = cpu
9
10## include
11
12include_rtemsdir = $(includedir)/rtems
13
14include_rtems_HEADERS = include/rtems/debug.h include/rtems/system.h \
15    include/rtems/seterr.h
16
17include_rtems_scoredir = $(includedir)/rtems/score
18
19include_rtems_score_HEADERS = include/rtems/score/address.h \
20    include/rtems/score/apiext.h include/rtems/score/apimutex.h \
21    include/rtems/score/bitfield.h include/rtems/score/chain.h \
22    include/rtems/score/context.h include/rtems/score/copyrt.h \
23    include/rtems/score/corebarrier.h include/rtems/score/coremsg.h \
24    include/rtems/score/coremutex.h include/rtems/score/corerwlock.h \
25    include/rtems/score/coresem.h include/rtems/score/corespinlock.h \
26    include/rtems/score/heap.h include/rtems/score/protectedheap.h \
27    include/rtems/score/interr.h include/rtems/score/isr.h \
28    include/rtems/score/object.h include/rtems/score/priority.h \
29    include/rtems/score/stack.h include/rtems/score/states.h \
30    include/rtems/score/sysstate.h include/rtems/score/thread.h \
31    include/rtems/score/threadq.h include/rtems/score/threadsync.h \
32    include/rtems/score/timespec.h include/rtems/score/timestamp.h \
33    include/rtems/score/timestamp64.h include/rtems/score/tod.h \
34    include/rtems/score/tqdata.h include/rtems/score/userext.h \
35    include/rtems/score/watchdog.h include/rtems/score/wkspace.h \
36    include/rtems/score/cpuopts.h
37
38if HAS_MP
39# We only build multiprocessing related files if HAS_MP was defined
40include_rtems_score_HEADERS += include/rtems/score/mpci.h \
41    include/rtems/score/mppkt.h include/rtems/score/objectmp.h \
42    include/rtems/score/threadmp.h
43endif
44
45## inline
46include_rtems_score_HEADERS += inline/rtems/score/address.inl \
47    inline/rtems/score/chain.inl inline/rtems/score/corebarrier.inl \
48    inline/rtems/score/coremsg.inl inline/rtems/score/corerwlock.inl \
49    inline/rtems/score/corespinlock.inl \
50    inline/rtems/score/coremutex.inl inline/rtems/score/coresem.inl \
51    inline/rtems/score/heap.inl inline/rtems/score/isr.inl \
52    inline/rtems/score/object.inl inline/rtems/score/priority.inl \
53    inline/rtems/score/stack.inl inline/rtems/score/states.inl \
54    inline/rtems/score/sysstate.inl inline/rtems/score/thread.inl \
55    inline/rtems/score/threadq.inl inline/rtems/score/tod.inl \
56    inline/rtems/score/tqdata.inl \
57    inline/rtems/score/watchdog.inl inline/rtems/score/wkspace.inl
58
59if HAS_MP
60## We only build multiprocessing related files if HAS_MP was defined
61include_rtems_score_HEADERS += inline/rtems/score/mppkt.inl \
62    inline/rtems/score/objectmp.inl inline/rtems/score/threadmp.inl
63endif
64
65## src
66
67AM_CPPFLAGS += -D__RTEMS_INSIDE__
68
69noinst_LIBRARIES = libscore.a
70libscore_a_SOURCES =
71libscore_a_CPPFLAGS = $(AM_CPPFLAGS)
72
73# We only build multiprocessing related files if HAS_MP was defined
74if HAS_MP
75libscore_a_SOURCES += src/mpci.c src/objectmp.c src/threadmp.c
76endif
77
78## CORE_APIMUTEX_C_FILES
79libscore_a_SOURCES += src/apimutex.c src/apimutexallocate.c \
80    src/apimutexlock.c src/apimutexunlock.c
81
82## CORE_BARRIER_C_FILES
83libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \
84    src/corebarrierwait.c
85
86## CORE_MESSAGE_QUEUE_C_FILES
87libscore_a_SOURCES += src/coremsg.c src/coremsgbroadcast.c \
88    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
89    src/coremsginsert.c src/coremsgflushsupp.c src/coremsgseize.c \
90    src/coremsgsubmit.c
91
92## CORE_MUTEX_C_FILES
93libscore_a_SOURCES += src/coremutex.c src/coremutexflush.c \
94    src/coremutexseize.c src/coremutexsurrender.c \
95    src/coremutexseizeintr.c
96
97## CORE_RWLOCK_C_FILES
98libscore_a_SOURCES += src/corerwlock.c src/corerwlockobtainread.c \
99    src/corerwlockobtainwrite.c src/corerwlockrelease.c src/corerwlocktimeout.c
100
101## CORE_SEMAPHORE_C_FILES
102libscore_a_SOURCES += src/coresem.c src/coresemflush.c src/coresemseize.c \
103    src/coresemsurrender.c
104
105## CORE_SPINLOCK_C_FILES
106libscore_a_SOURCES += src/corespinlock.c src/corespinlockrelease.c \
107    src/corespinlockwait.c
108
109## HEAP_C_FILES
110libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
111    src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
112    src/heapgetfreeinfo.c src/heapallocatealigned.c \
113    src/heapresizeblock.c
114
115## OBJECT_C_FILES
116libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
117    src/objectextendinformation.c src/objectfree.c src/objectget.c \
118    src/objectgetisr.c src/objectgetnext.c src/objectinitializeinformation.c \
119    src/objectnametoid.c src/objectnametoidstring.c \
120    src/objectshrinkinformation.c src/objectgetnoprotection.c \
121    src/objectidtoname.c src/objectgetnameasstring.c src/objectsetname.c \
122    src/objectgetinfo.c src/objectgetinfoid.c src/objectapimaximumclass.c \
123    src/objectnamespaceremove.c
124
125## OBJECT_C_FILES only used by ITRON API
126if LIBITRON
127libscore_a_SOURCES += src/objectallocatebyindex.c src/objectgetbyindex.c
128endif
129
130## PROTECTED_HEAP_C_FILES
131libscore_a_SOURCES += src/pheapallocatealigned.c src/pheapallocate.c \
132    src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
133    src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
134    src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c
135
136## THREAD_C_FILES
137libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
138    src/threadclearstate.c src/threadclose.c src/threadcreateidle.c \
139    src/threaddelayended.c src/threaddispatch.c src/threadevaluatemode.c \
140    src/threadget.c src/threadhandler.c src/threadidlebody.c \
141    src/threadinitialize.c src/threadloadenv.c src/threadready.c \
142    src/threadresettimeslice.c src/threadreset.c src/threadrestart.c \
143    src/threadresume.c src/threadsetpriority.c src/threadsetstate.c \
144    src/threadsettransient.c src/threadstackallocate.c \
145    src/threadstackfree.c src/threadstart.c src/threadstartmultitasking.c \
146    src/threadsuspend.c src/threadtickletimeslice.c \
147    src/threadyieldprocessor.c src/iterateoverthreads.c \
148    src/threadblockingoperationcancel.c
149
150## THREAD_C_FILES only used by ITRON API
151if LIBITRON
152libscore_a_SOURCES += src/threadrotatequeue.c
153endif
154
155## THREADQ_C_FILES
156libscore_a_SOURCES += src/threadq.c src/threadqdequeue.c \
157    src/threadqdequeuefifo.c src/threadqdequeuepriority.c \
158    src/threadqenqueue.c src/threadqenqueuefifo.c \
159    src/threadqenqueuepriority.c src/threadqextract.c \
160    src/threadqextractfifo.c src/threadqextractpriority.c \
161    src/threadqextractwithproxy.c src/threadqfirst.c src/threadqfirstfifo.c \
162    src/threadqfirstpriority.c src/threadqflush.c src/threadqrequeue.c \
163    src/threadqprocesstimeout.c src/threadqtimeout.c
164
165## TIMESPEC_C_FILES
166libscore_a_SOURCES += src/timespecaddto.c src/timespecfromticks.c \
167    src/timespecisvalid.c src/timespeclessthan.c src/timespecgreaterthan.c \
168    src/timespecsubtract.c src/timespectoticks.c src/timespecdivide.c \
169    src/timespecdividebyinteger.c
170
171## TIMESTAMP_INT64_C_FILES
172libscore_a_SOURCES += src/ts64addto.c src/ts64dividebyinteger.c \
173    src/ts64divide.c src/ts64equalto.c \
174    src/ts64getnanoseconds.c src/ts64getseconds.c \
175    src/ts64greaterthan.c src/ts64lessthan.c \
176    src/ts64set.c src/ts64settozero.c src/ts64subtract.c \
177    src/ts64toticks.c src/ts64totimespec.c
178
179## TOD_C_FILES
180libscore_a_SOURCES += src/coretod.c src/coretodset.c src/coretodget.c \
181    src/coretodgetuptime.c src/coretodgetuptimetimespec.c src/coretodtickle.c \
182    src/coretodmsecstoticks.c src/coretodtickspersec.c src/coretodusectoticks.c
183
184## WATCHDOG_C_FILES
185libscore_a_SOURCES += src/watchdog.c src/watchdogadjust.c \
186    src/watchdogadjusttochain.c src/watchdoginsert.c src/watchdogremove.c \
187    src/watchdogtickle.c src/watchdogreport.c src/watchdogreportchain.c
188
189## USEREXT_C_FILES
190libscore_a_SOURCES += src/userextaddapiset.c src/userextaddset.c \
191    src/userext.c src/userextremoveset.c src/userextthreadbegin.c \
192    src/userextthreadcreate.c src/userextthreaddelete.c \
193    src/userextthreadrestart.c src/userextthreadstart.c \
194    src/userextthreadswitch.c
195
196## STD_C_FILES
197libscore_a_SOURCES += src/apiext.c src/chain.c src/chainappend.c \
198    src/chainextract.c src/chainget.c src/chaininsert.c \
199    src/interr.c src/isr.c src/isrthreaddispatch.c src/wkspace.c
200
201EXTRA_DIST = src/Unlimited.txt
202
203DISTCLEANFILES = include/rtems/score/cpuopts.h
204
205include $(srcdir)/preinstall.am
206include $(top_srcdir)/automake/subdirs.am
207include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.