source: rtems/cpukit/score/Makefile.am @ 4e97166

4.104.114.84.9
Last change on this file since 4e97166 was 4e97166, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 12, 2006 at 9:57:43 AM

Remove all-local.

  • Property mode set to 100644
File size: 6.5 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/coremsg.h include/rtems/score/coremutex.h \
24    include/rtems/score/coresem.h include/rtems/score/heap.h \
25    include/rtems/score/interr.h include/rtems/score/isr.h \
26    include/rtems/score/object.h include/rtems/score/priority.h \
27    include/rtems/score/stack.h include/rtems/score/states.h \
28    include/rtems/score/sysstate.h include/rtems/score/thread.h \
29    include/rtems/score/threadq.h include/rtems/score/tod.h \
30    include/rtems/score/tqdata.h include/rtems/score/userext.h \
31    include/rtems/score/watchdog.h include/rtems/score/wkspace.h \
32    include/rtems/score/cpuopts.h
33
34if HAS_MP
35# We only build multiprocessing related files if HAS_MP was defined
36include_rtems_score_HEADERS += include/rtems/score/mpci.h \
37    include/rtems/score/mppkt.h include/rtems/score/objectmp.h \
38    include/rtems/score/threadmp.h
39endif
40
41## inline
42if INLINE
43include_rtems_score_HEADERS += inline/rtems/score/address.inl \
44    inline/rtems/score/chain.inl inline/rtems/score/coremsg.inl \
45    inline/rtems/score/coremutex.inl inline/rtems/score/coresem.inl \
46    inline/rtems/score/heap.inl inline/rtems/score/isr.inl \
47    inline/rtems/score/object.inl inline/rtems/score/priority.inl \
48    inline/rtems/score/stack.inl inline/rtems/score/states.inl \
49    inline/rtems/score/sysstate.inl inline/rtems/score/thread.inl \
50    inline/rtems/score/tod.inl inline/rtems/score/tqdata.inl \
51    inline/rtems/score/userext.inl inline/rtems/score/watchdog.inl \
52    inline/rtems/score/wkspace.inl
53
54if HAS_MP
55## We only build multiprocessing related files if HAS_MP was defined
56include_rtems_score_HEADERS += inline/rtems/score/mppkt.inl \
57    inline/rtems/score/objectmp.inl inline/rtems/score/threadmp.inl
58endif
59else
60## macros
61include_rtems_score_HEADERS += macros/rtems/score/address.inl \
62    macros/rtems/score/chain.inl macros/rtems/score/coremsg.inl \
63    macros/rtems/score/coremutex.inl macros/rtems/score/coresem.inl \
64    macros/rtems/score/heap.inl macros/rtems/score/isr.inl \
65    macros/rtems/score/object.inl macros/rtems/score/priority.inl \
66    macros/rtems/score/stack.inl macros/rtems/score/states.inl \
67    macros/rtems/score/sysstate.inl macros/rtems/score/thread.inl \
68    macros/rtems/score/tod.inl macros/rtems/score/tqdata.inl \
69    macros/rtems/score/userext.inl macros/rtems/score/watchdog.inl \
70    macros/rtems/score/wkspace.inl
71if HAS_MP
72## We only build multiprocessing related files if HAS_MP was defined
73include_rtems_score_HEADERS += macros/rtems/score/mppkt.inl \
74    macros/rtems/score/objectmp.inl macros/rtems/score/threadmp.inl
75endif
76endif
77
78EXTRA_DIST = macros/README
79
80## src
81
82# We only build multiprocessing related files if HAS_MP was defined
83MP_C_FILES = src/mpci.c src/objectmp.c src/threadmp.c
84
85CORE_MESSAGE_QUEUE_C_FILES = src/coremsg.c src/coremsgbroadcast.c \
86    src/coremsgclose.c src/coremsgflush.c src/coremsgflushwait.c \
87    src/coremsginsert.c src/coremsgflushsupp.c src/coremsgseize.c \
88    src/coremsgsubmit.c
89
90CORE_MUTEX_C_FILES = src/coremutex.c src/coremutexflush.c \
91    src/coremutexseize.c src/coremutexsurrender.c
92
93CORE_SEMAPHORE_C_FILES = src/coresem.c src/coresemflush.c src/coresemseize.c \
94    src/coresemsurrender.c
95
96HEAP_C_FILES = src/heap.c src/heapallocate.c src/heapextend.c src/heapfree.c \
97    src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \
98    src/heapgetfreeinfo.c src/heapallocatealigned.c \
99    src/heapresizeblock.c
100
101OBJECT_C_FILES = src/object.c src/objectallocate.c \
102    src/objectallocatebyindex.c src/objectclearname.c \
103    src/objectcomparenameraw.c src/objectcomparenamestring.c \
104    src/objectcopynameraw.c src/objectcopynamestring.c \
105    src/objectextendinformation.c src/objectfree.c src/objectget.c \
106    src/objectgetisr.c src/objectgetbyindex.c src/objectgetnext.c \
107    src/objectinitializeinformation.c src/objectnametoid.c \
108    src/objectshrinkinformation.c src/objectgetnoprotection.c \
109    src/objectidtoname.c
110
111THREAD_C_FILES = src/thread.c src/threadchangepriority.c \
112    src/threadclearstate.c src/threadclose.c src/threadcreateidle.c \
113    src/threaddelayended.c src/threaddispatch.c src/threadevaluatemode.c \
114    src/threadget.c src/threadhandler.c src/threadidlebody.c \
115    src/threadinitialize.c src/threadloadenv.c src/threadready.c \
116    src/threadresettimeslice.c src/threadreset.c src/threadrestart.c \
117    src/threadresume.c src/threadrotatequeue.c src/threadsetpriority.c \
118    src/threadsetstate.c src/threadsettransient.c src/threadstackallocate.c \
119    src/threadstackfree.c src/threadstart.c src/threadstartmultitasking.c \
120    src/threadsuspend.c src/threadtickletimeslice.c \
121    src/threadyieldprocessor.c src/iterateoverthreads.c
122
123THREADQ_C_FILES = src/threadq.c src/threadqdequeue.c \
124    src/threadqdequeuefifo.c src/threadqdequeuepriority.c \
125    src/threadqenqueue.c src/threadqenqueuefifo.c \
126    src/threadqenqueuepriority.c src/threadqextract.c \
127    src/threadqextractfifo.c src/threadqextractpriority.c \
128    src/threadqextractwithproxy.c src/threadqfirst.c src/threadqfirstfifo.c \
129    src/threadqfirstpriority.c src/threadqflush.c src/threadqtimeout.c
130
131TOD_C_FILES = src/coretod.c src/coretodset.c src/coretodtickle.c \
132    src/coretodtoseconds.c src/coretodvalidate.c
133
134WATCHDOG_C_FILES = src/watchdog.c src/watchdogadjust.c src/watchdoginsert.c \
135    src/watchdogremove.c src/watchdogtickle.c
136
137STD_C_FILES = src/apiext.c src/chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \
138    $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) \
139    src/interr.c src/isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) \
140    $(THREADQ_C_FILES) $(TOD_C_FILES) src/userext.c $(WATCHDOG_C_FILES) \
141    src/wkspace.c
142
143C_FILES = $(STD_C_FILES)
144if HAS_MP
145C_FILES += $(MP_C_FILES)
146endif
147
148AM_CPPFLAGS += -D__RTEMS_INSIDE__
149
150noinst_LIBRARIES = libscore.a
151libscore_a_SOURCES = $(C_FILES)
152libscore_a_CPPFLAGS = $(AM_CPPFLAGS)
153
154EXTRA_DIST += $(STD_C_FILES) $(MP_C_FILES) src/Unlimited.txt
155
156DISTCLEANFILES = include/rtems/score/cpuopts.h
157
158include $(srcdir)/preinstall.am
159include $(top_srcdir)/automake/subdirs.am
160include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.