source: rtems/cpukit/score/Makefile.am @ 8bef4cc

4.11
Last change on this file since 8bef4cc was 8bef4cc, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 24, 2010 at 9:27:30 PM

2010-06-24 Gedare Bloom <giddyup44@…>

PR 1590/cpukit

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