1 |
30 |
unneback |
##
|
2 |
|
|
## $Id: Makefile.am,v 1.2 2001-09-27 11:59:34 chris Exp $
|
3 |
|
|
##
|
4 |
|
|
|
5 |
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
6 |
|
|
|
7 |
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
8 |
|
|
include $(top_srcdir)/../../../automake/lib.am
|
9 |
|
|
|
10 |
|
|
# We only build multiprocessing related files if HAS_MP was defined
|
11 |
|
|
MP_C_FILES = mpci.c objectmp.c threadmp.c
|
12 |
|
|
|
13 |
|
|
CORE_MESSAGE_QUEUE_C_FILES = coremsg.c coremsgbroadcast.c coremsgclose.c \
|
14 |
|
|
coremsgflush.c coremsgflushwait.c coremsginsert.c coremsgflushsupp.c \
|
15 |
|
|
coremsgseize.c coremsgsubmit.c
|
16 |
|
|
|
17 |
|
|
CORE_MUTEX_C_FILES = coremutex.c coremutexflush.c coremutexseize.c \
|
18 |
|
|
coremutexsurrender.c
|
19 |
|
|
|
20 |
|
|
CORE_SEMAPHORE_C_FILES = coresem.c coresemflush.c coresemseize.c \
|
21 |
|
|
coresemsurrender.c
|
22 |
|
|
|
23 |
|
|
HEAP_C_FILES = heap.c heapallocate.c heapextend.c heapfree.c \
|
24 |
|
|
heapsizeofuserarea.c heapwalk.c
|
25 |
|
|
|
26 |
|
|
OBJECT_C_FILES = object.c objectallocate.c objectallocatebyindex.c \
|
27 |
|
|
objectclearname.c objectcomparenameraw.c objectcomparenamestring.c \
|
28 |
|
|
objectcopynameraw.c objectcopynamestring.c objectextendinformation.c \
|
29 |
|
|
objectfree.c objectget.c objectgetbyindex.c objectgetnext.c \
|
30 |
|
|
objectinitializeinformation.c objectnametoid.c objectshrinkinformation.c
|
31 |
|
|
|
32 |
|
|
THREAD_C_FILES = thread.c threadchangepriority.c threadclearstate.c \
|
33 |
|
|
threadclose.c threadcreateidle.c threaddelayended.c threaddispatch.c \
|
34 |
|
|
threadevaluatemode.c threadget.c threadhandler.c threadidlebody.c \
|
35 |
|
|
threadinitialize.c threadloadenv.c threadready.c threadresettimeslice.c \
|
36 |
|
|
threadreset.c threadrestart.c threadresume.c threadrotatequeue.c \
|
37 |
|
|
threadsetpriority.c threadsetstate.c threadsettransient.c \
|
38 |
|
|
threadstackallocate.c threadstackfree.c threadstart.c \
|
39 |
|
|
threadstartmultitasking.c threadsuspend.c threadtickletimeslice.c \
|
40 |
|
|
threadyieldprocessor.c
|
41 |
|
|
|
42 |
|
|
THREADQ_C_FILES = threadq.c threadqdequeue.c threadqdequeuefifo.c \
|
43 |
|
|
threadqdequeuepriority.c threadqenqueue.c threadqenqueuefifo.c \
|
44 |
|
|
threadqenqueuepriority.c threadqextract.c threadqextractfifo.c \
|
45 |
|
|
threadqextractpriority.c threadqextractwithproxy.c threadqfirst.c \
|
46 |
|
|
threadqfirstfifo.c threadqfirstpriority.c threadqflush.c \
|
47 |
|
|
threadqtimeout.c
|
48 |
|
|
|
49 |
|
|
TOD_C_FILES = coretod.c coretodset.c coretodtickle.c coretodtoseconds.c \
|
50 |
|
|
coretodvalidate.c
|
51 |
|
|
|
52 |
|
|
WATCHDOG_C_FILES = watchdog.c watchdogadjust.c watchdoginsert.c \
|
53 |
|
|
watchdogremove.c watchdogtickle.c
|
54 |
|
|
|
55 |
|
|
STD_C_FILES = apiext.c chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \
|
56 |
|
|
$(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) interr.c \
|
57 |
|
|
isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) $(THREADQ_C_FILES) \
|
58 |
|
|
$(TOD_C_FILES) userext.c $(WATCHDOG_C_FILES) wkspace.c
|
59 |
|
|
|
60 |
|
|
if HAS_MP
|
61 |
|
|
C_FILES = $(STD_C_FILES) $(MP_C_FILES)
|
62 |
|
|
else
|
63 |
|
|
C_FILES = $(STD_C_FILES)
|
64 |
|
|
endif
|
65 |
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
66 |
|
|
|
67 |
|
|
OBJS = $(C_O_FILES)
|
68 |
|
|
|
69 |
|
|
#
|
70 |
|
|
# Add local stuff here using +=
|
71 |
|
|
#
|
72 |
|
|
|
73 |
|
|
AM_CPPFLAGS += -D__RTEMS_INSIDE__
|
74 |
|
|
|
75 |
|
|
all-local: ${ARCH} ${OBJS}
|
76 |
|
|
|
77 |
|
|
EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES) Unlimited.txt
|
78 |
|
|
|
79 |
|
|
include $(top_srcdir)/../../../automake/local.am
|