source: rtems/c/src/exec/score/src/Makefile.am @ 9b05600

4.104.114.84.95
Last change on this file since 9b05600 was fdcb2b52, checked in by Joel Sherrill <joel.sherrill@…>, on 06/14/00 at 13:38:47

Thread iterator and libgjc support submitted too early.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../../../automake/lib.am
9
10# We only build multiprocessing related files if HAS_MP was defined
11MP_C_FILES = mpci.c objectmp.c threadmp.c
12
13CORE_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
17CORE_MUTEX_C_FILES = coremutex.c coremutexflush.c coremutexseize.c \
18    coremutexsurrender.c
19
20CORE_SEMAPHORE_C_FILES = coresem.c coresemflush.c coresemseize.c \
21    coresemsurrender.c
22
23HEAP_C_FILES = heap.c heapallocate.c heapextend.c heapfree.c \
24    heapsizeofuserarea.c heapwalk.c
25
26OBJECT_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
32THREAD_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
42THREADQ_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
49TOD_C_FILES = coretod.c coretodset.c coretodtickle.c coretodtoseconds.c \
50    coretodvalidate.c
51
52WATCHDOG_C_FILES = watchdog.c watchdogadjust.c watchdoginsert.c \
53    watchdogremove.c watchdogtickle.c
54
55STD_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
60if HAS_MP
61C_FILES = $(STD_C_FILES) $(MP_C_FILES)
62else
63C_FILES = $(STD_C_FILES)
64endif
65C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
66
67OBJS = $(C_O_FILES)
68
69#
70# Add local stuff here using +=
71#
72
73AM_CPPFLAGS += -D__RTEMS_INSIDE__
74
75all-local: ${ARCH} ${OBJS}
76
77EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES) Unlimited.txt
78
79include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.