source: rtems/cpukit/score/Makefile.am @ 9f9a82b

4.115
Last change on this file since 9f9a82b was 9f9a82b, checked in by Sebastian Huber <sebastian.huber@…>, on Jul 16, 2010 at 8:31:34 AM

2010-07-16 Sebastian Huber <sebastian.huber@…>

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