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

4.104.114.84.95
Last change on this file since ca837f8a was ca837f8a, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 19, 2001 at 2:36:53 PM

2001-12-19 Ralf Corsepius <corsepiu@…>

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