source: rtems/cpukit/score/Makefile.am @ 502693f5

4.11
Last change on this file since 502693f5 was 502693f5, checked in by WeiY <wei.a.yang@…>, on Apr 23, 2013 at 4:34:17 PM

Clear the atomic conditional compilation.

  • Property mode set to 100644
File size: 13.7 KB
RevLine 
[0c819966]1include $(top_srcdir)/automake/multilib.am
[53fa63e]2include $(top_srcdir)/automake/compile.am
[e1d8abb]3
[4df3f89]4SUBDIRS = cpu
[0c819966]5
6## include
7
8include_rtemsdir = $(includedir)/rtems
9
[a2680da0]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
[0c819966]14
15include_rtems_scoredir = $(includedir)/rtems/score
16
[a2680da0]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
[df00777]32include_rtems_score_HEADERS += include/rtems/score/isrlevel.h
[a2680da0]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
[82db8e56]39include_rtems_score_HEADERS += include/rtems/score/schedulercbs.h
[5472ad41]40include_rtems_score_HEADERS += include/rtems/score/scheduleredf.h
[a2680da0]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
[3be0c9a]55include_rtems_score_HEADERS += include/rtems/score/userextimpl.h
[a2680da0]56include_rtems_score_HEADERS += include/rtems/score/watchdog.h
57include_rtems_score_HEADERS += include/rtems/score/wkspace.h
58include_rtems_score_HEADERS += include/rtems/score/cpuopts.h
59include_rtems_score_HEADERS += include/rtems/score/basedefs.h
[9d23df2]60include_rtems_score_HEADERS += include/rtems/score/atomic.h
61include_rtems_score_HEADERS += include/rtems/score/genericcpuatomic.h
[f6db560]62include_rtems_score_HEADERS += include/rtems/score/genericatomicops.h
[42bb344e]63if HAS_SMP
[a2680da0]64include_rtems_score_HEADERS += include/rtems/score/smplock.h
65include_rtems_score_HEADERS += include/rtems/score/smp.h
[42bb344e]66endif
67
[88157a7]68if HAS_PTHREADS
[a2680da0]69include_rtems_score_HEADERS += include/rtems/score/corespinlock.h
70include_rtems_score_HEADERS += include/rtems/score/corerwlock.h
[0df035b]71endif
72
[0c819966]73if HAS_MP
[8f83131]74# We only build multiprocessing related files if HAS_MP was defined
[a2680da0]75include_rtems_score_HEADERS += include/rtems/score/mpci.h
76include_rtems_score_HEADERS += include/rtems/score/mppkt.h
77include_rtems_score_HEADERS += include/rtems/score/objectmp.h
78include_rtems_score_HEADERS += include/rtems/score/threadmp.h
[0c819966]79endif
80
[ba7bc09]81if HAS_SMP
82include_rtems_score_HEADERS += include/rtems/score/schedulersimplesmp.h
83endif
84
[0c819966]85## inline
[a2680da0]86include_rtems_score_HEADERS += inline/rtems/score/address.inl
87include_rtems_score_HEADERS += inline/rtems/score/chain.inl
88include_rtems_score_HEADERS += inline/rtems/score/corebarrier.inl
89include_rtems_score_HEADERS += inline/rtems/score/coremsg.inl
90include_rtems_score_HEADERS += inline/rtems/score/coremutex.inl
91include_rtems_score_HEADERS += inline/rtems/score/coresem.inl
92include_rtems_score_HEADERS += inline/rtems/score/heap.inl
93include_rtems_score_HEADERS += inline/rtems/score/isr.inl
94include_rtems_score_HEADERS += inline/rtems/score/object.inl
95include_rtems_score_HEADERS += inline/rtems/score/priority.inl
96include_rtems_score_HEADERS += inline/rtems/score/prioritybitmap.inl
97include_rtems_score_HEADERS += inline/rtems/score/rbtree.inl
98include_rtems_score_HEADERS += inline/rtems/score/scheduler.inl
99include_rtems_score_HEADERS += inline/rtems/score/schedulerpriority.inl
100include_rtems_score_HEADERS += inline/rtems/score/schedulersimple.inl
101include_rtems_score_HEADERS += inline/rtems/score/stack.inl
102include_rtems_score_HEADERS += inline/rtems/score/states.inl
103include_rtems_score_HEADERS += inline/rtems/score/sysstate.inl
104include_rtems_score_HEADERS += inline/rtems/score/thread.inl
105include_rtems_score_HEADERS += inline/rtems/score/threadq.inl
106include_rtems_score_HEADERS += inline/rtems/score/tod.inl
107include_rtems_score_HEADERS += inline/rtems/score/tqdata.inl
108include_rtems_score_HEADERS += inline/rtems/score/watchdog.inl
109include_rtems_score_HEADERS += inline/rtems/score/wkspace.inl
[9d23df2]110include_rtems_score_HEADERS += inline/rtems/score/atomic.inl
[88157a7]111
112if HAS_PTHREADS
[a2680da0]113include_rtems_score_HEADERS += inline/rtems/score/corespinlock.inl
114include_rtems_score_HEADERS += inline/rtems/score/corerwlock.inl
[0df035b]115endif
[8f83131]116
[0c819966]117if HAS_MP
[8f83131]118## We only build multiprocessing related files if HAS_MP was defined
[a2680da0]119include_rtems_score_HEADERS += inline/rtems/score/mppkt.inl
120include_rtems_score_HEADERS += inline/rtems/score/objectmp.inl
121include_rtems_score_HEADERS += inline/rtems/score/threadmp.inl
[0c819966]122endif
123
124## src
125
[4df3f89]126AM_CPPFLAGS += -D__RTEMS_INSIDE__
127
128noinst_LIBRARIES = libscore.a
129libscore_a_SOURCES =
130libscore_a_CPPFLAGS = $(AM_CPPFLAGS)
131
[0c819966]132# We only build multiprocessing related files if HAS_MP was defined
[4df3f89]133if HAS_MP
134libscore_a_SOURCES += src/mpci.c src/objectmp.c src/threadmp.c
135endif
[0c819966]136
[42bb344e]137if HAS_SMP
[dad36c52]138libscore_a_SOURCES += src/isrsmp.c src/smp.c src/smplock.c \
[ba7bc09]139    src/schedulersimplesmpblock.c src/schedulersimplesmpschedule.c \
[c5a4332]140    src/schedulersimplesmpunblock.c src/schedulersimplesmptick.c
[42bb344e]141endif
[06dcaf0]142
[8fd28d8]143## CORE_APIMUTEX_C_FILES
144libscore_a_SOURCES += src/apimutex.c src/apimutexallocate.c \
145    src/apimutexlock.c src/apimutexunlock.c
146
[9c191ee]147## CORE_BARRIER_C_FILES
148libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \
149    src/corebarrierwait.c
150
[4df3f89]151## CORE_MESSAGE_QUEUE_C_FILES
152libscore_a_SOURCES += src/coremsg.c src/coremsgbroadcast.c \
[8f83131]153    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
154    src/coremsginsert.c src/coremsgflushsupp.c src/coremsgseize.c \
155    src/coremsgsubmit.c
[0c819966]156
[4df3f89]157## CORE_MUTEX_C_FILES
158libscore_a_SOURCES += src/coremutex.c src/coremutexflush.c \
[bc2b8df6]159    src/coremutexseize.c src/coremutexsurrender.c \
160    src/coremutexseizeintr.c
[0c819966]161
[11e8bc5]162## CORE_PERCPU_C_FILES
163libscore_a_SOURCES += src/percpu.c
[f1738ed]164libscore_a_SOURCES += src/percpuasm.c
[11e8bc5]165
[9c191ee]166## CORE_RWLOCK_C_FILES
[88157a7]167if HAS_PTHREADS
[9c191ee]168libscore_a_SOURCES += src/corerwlock.c src/corerwlockobtainread.c \
[047d67a]169    src/corerwlockobtainwrite.c src/corerwlockrelease.c src/corerwlocktimeout.c
[88157a7]170endif
[9c191ee]171
[4df3f89]172## CORE_SEMAPHORE_C_FILES
173libscore_a_SOURCES += src/coresem.c src/coresemflush.c src/coresemseize.c \
[0c819966]174    src/coresemsurrender.c
175
[9c191ee]176## CORE_SPINLOCK_C_FILES
[88157a7]177if HAS_PTHREADS
[9c191ee]178libscore_a_SOURCES += src/corespinlock.c src/corespinlockrelease.c \
179    src/corespinlockwait.c
[0df035b]180endif
[9c191ee]181
[4df3f89]182## HEAP_C_FILES
[e746a88]183libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \
184    src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
[28a0887]185    src/heapgetfreeinfo.c src/heapresizeblock.c src/heapiterate.c \
[6ccfe72]186    src/heapgreedy.c src/heapnoextend.c
[0c819966]187
[4df3f89]188## OBJECT_C_FILES
[584ab9e]189libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \
[ce19f1fa]190    src/objectextendinformation.c src/objectfree.c src/objectget.c \
191    src/objectgetisr.c src/objectgetnext.c src/objectinitializeinformation.c \
192    src/objectnametoid.c src/objectnametoidstring.c \
[ff08b808]193    src/objectshrinkinformation.c src/objectgetnoprotection.c \
[6c06288]194    src/objectidtoname.c src/objectgetnameasstring.c src/objectsetname.c \
[9184270]195    src/objectgetinfo.c src/objectgetinfoid.c src/objectapimaximumclass.c \
[fe1dc22]196    src/objectnamespaceremove.c \
197    src/objectactivecount.c
[0c819966]198
[0faa9dad]199## SCHEDULER_C_FILES
200libscore_a_SOURCES += src/scheduler.c
201
202## SCHEDULERPRIORITY_C_FILES
203libscore_a_SOURCES += src/schedulerpriority.c \
[108c4b0]204    src/schedulerpriorityallocate.c \
[3203e09]205    src/schedulerprioritytick.c \
[108c4b0]206    src/schedulerpriorityblock.c \
207    src/schedulerpriorityenqueue.c \
208    src/schedulerpriorityenqueuefirst.c \
209    src/schedulerpriorityextract.c \
210    src/schedulerpriorityfree.c \
[ac9d2ecc]211    src/schedulerpriorityprioritycompare.c \
212    src/schedulerpriorityreleasejob.c \
[108c4b0]213    src/schedulerpriorityschedule.c \
214    src/schedulerpriorityunblock.c \
215    src/schedulerpriorityupdate.c \
216    src/schedulerpriorityyield.c
[0faa9dad]217
[0118ed6]218## SCHEDULERSIMPLE_C_FILES
219libscore_a_SOURCES += src/schedulersimple.c \
220    src/schedulersimpleblock.c \
221    src/schedulersimpleenqueue.c \
222    src/schedulersimpleenqueuefirst.c \
223    src/schedulersimpleextract.c \
224    src/schedulersimplereadyqueueenqueue.c \
225    src/schedulersimplereadyqueueenqueuefirst.c \
226    src/schedulersimpleschedule.c \
227    src/schedulersimpleunblock.c \
228    src/schedulersimpleyield.c
229
[5472ad41]230## SCHEDULEREDF_C_FILES
231libscore_a_SOURCES += src/scheduleredf.c \
232    src/scheduleredfallocate.c \
233    src/scheduleredfblock.c \
234    src/scheduleredfenqueue.c \
235    src/scheduleredfenqueuefirst.c \
236    src/scheduleredfextract.c \
237    src/scheduleredffree.c \
238    src/scheduleredfprioritycompare.c \
239    src/scheduleredfreleasejob.c \
240    src/scheduleredfschedule.c \
241    src/scheduleredfunblock.c \
242    src/scheduleredfupdate.c \
243    src/scheduleredfyield.c
244
[82db8e56]245## SCHEDULERCBS_C_FILES
246libscore_a_SOURCES += src/schedulercbs.c \
[7a9288fe]247    src/schedulercbsallocate.c \
[82db8e56]248    src/schedulercbsattachthread.c \
249    src/schedulercbscleanup.c \
250    src/schedulercbscreateserver.c \
251    src/schedulercbsdestroyserver.c \
252    src/schedulercbsdetachthread.c \
253    src/schedulercbsgetapprovedbudget.c \
254    src/schedulercbsgetexecutiontime.c \
255    src/schedulercbsgetparameters.c \
256    src/schedulercbsgetremainingbudget.c \
257    src/schedulercbsgetserverid.c \
258    src/schedulercbssetparameters.c \
259    src/schedulercbsreleasejob.c \
260    src/schedulercbsunblock.c
261
[e746a88]262## PROTECTED_HEAP_C_FILES
[9224a751]263libscore_a_SOURCES += src/pheapallocate.c \
[7246c8e9]264    src/pheapextend.c src/pheapfree.c src/pheapgetsize.c \
265    src/pheapgetblocksize.c src/pheapgetfreeinfo.c src/pheapgetinfo.c \
[a89ae540]266    src/pheapinit.c src/pheapresizeblock.c src/pheapwalk.c src/pheapiterate.c
[e746a88]267
[bd9baa81]268## RBTREE_C_FILES
269libscore_a_SOURCES += src/rbtree.c \
270    src/rbtreeextract.c src/rbtreefind.c src/rbtreefindheader.c \
[0f31ec5d]271    src/rbtreeget.c src/rbtreeinsert.c src/rbtreeiterate.c src/rbtreenext.c
[bd9baa81]272
[4df3f89]273## THREAD_C_FILES
274libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
[8f83131]275    src/threadclearstate.c src/threadclose.c src/threadcreateidle.c \
[569b3f4]276    src/threaddelayended.c src/threaddispatch.c \
[d7c3883]277    src/threadenabledispatch.c src/threaddisabledispatch.c \
[93f7ea15]278    src/threadget.c src/threadhandler.c src/threadinitialize.c \
[8bef4cc]279    src/threadloadenv.c src/threadready.c src/threadreset.c \
[59eb125]280    src/threadrestart.c src/threadsetpriority.c \
[8bef4cc]281    src/threadsetstate.c src/threadsettransient.c \
[93f7ea15]282    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
[3203e09]283    src/threadstartmultitasking.c src/iterateoverthreads.c \
284    src/threadblockingoperationcancel.c
[3a8a999]285   
286if HAS_SMP
287libscore_a_SOURCES += src/threaddispatchdisablelevel.c
288endif
[0c819966]289
[4df3f89]290## THREADQ_C_FILES
291libscore_a_SOURCES += src/threadq.c src/threadqdequeue.c \
[8f83131]292    src/threadqdequeuefifo.c src/threadqdequeuepriority.c \
293    src/threadqenqueue.c src/threadqenqueuefifo.c \
294    src/threadqenqueuepriority.c src/threadqextract.c \
295    src/threadqextractfifo.c src/threadqextractpriority.c \
296    src/threadqextractwithproxy.c src/threadqfirst.c src/threadqfirstfifo.c \
[96d0b64]297    src/threadqfirstpriority.c src/threadqflush.c src/threadqrequeue.c \
[c57f26bd]298    src/threadqprocesstimeout.c src/threadqtimeout.c
[0c819966]299
[fc054ca]300## TIMESPEC_C_FILES
[412dbff6]301libscore_a_SOURCES += src/timespecaddto.c src/timespecfromticks.c \
[3a42e6fd]302    src/timespecisvalid.c src/timespeclessthan.c \
[c3330a8]303    src/timespecsubtract.c src/timespectoticks.c src/timespecdivide.c \
304    src/timespecdividebyinteger.c
[fc054ca]305
[e57cb3c]306## TIMESTAMP_INT64_C_FILES
307libscore_a_SOURCES += src/ts64addto.c src/ts64dividebyinteger.c \
308    src/ts64divide.c src/ts64equalto.c \
309    src/ts64getnanoseconds.c src/ts64getseconds.c \
[3a42e6fd]310    src/ts64lessthan.c \
[e57cb3c]311    src/ts64set.c src/ts64settozero.c src/ts64subtract.c \
[154721c4]312    src/ts64toticks.c src/ts64totimespec.c src/ts64totimeval.c
[e57cb3c]313
[4df3f89]314## TOD_C_FILES
[812da54]315libscore_a_SOURCES += src/coretod.c src/coretodset.c src/coretodget.c \
[62181b21]316    src/coretodgetuptimetimespec.c src/coretodtickle.c \
[26fb4aa]317    src/coretodmsecstoticks.c src/coretodtickspersec.c src/coretodusectoticks.c
[0c819966]318
[4df3f89]319## WATCHDOG_C_FILES
[812da54]320libscore_a_SOURCES += src/watchdog.c src/watchdogadjust.c \
[109ace3a]321    src/watchdogadjusttochain.c src/watchdoginsert.c src/watchdogremove.c \
[18657d1]322    src/watchdogtickle.c src/watchdogreport.c src/watchdogreportchain.c \
323    src/watchdognanoseconds.c
[0c819966]324
[c3db01d0]325## USEREXT_C_FILES
[b7de5de]326libscore_a_SOURCES += src/userextaddset.c \
[32b2c83]327    src/userext.c src/userextremoveset.c src/userextiterate.c
[c3db01d0]328
[4df3f89]329## STD_C_FILES
[c3db01d0]330libscore_a_SOURCES += src/apiext.c src/chain.c src/chainappend.c \
331    src/chainextract.c src/chainget.c src/chaininsert.c \
[a19ae9ec]332    src/chainappendempty.c src/chainprependempty.c src/chaingetempty.c \
[cbd07e4]333    src/chainnodecount.c \
[141b311]334    src/interr.c src/isr.c src/wkspace.c src/wkstringduplicate.c
[0c819966]335
[4768a274]336EXTRA_DIST = src/Unlimited.txt
[0c819966]337
[dbe8e519]338DISTCLEANFILES = include/rtems/score/cpuopts.h
[8f83131]339
[6265b83]340include $(srcdir)/preinstall.am
[fed6210d]341include $(top_srcdir)/automake/subdirs.am
342include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.