source: rtems/cpukit/score/src/Makefile.am @ 35fc54b1

4.104.114.84.95
Last change on this file since 35fc54b1 was 35fc54b1, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 31, 2002 at 3:01:48 PM

2002-07-31 Ralf Corsepius <corsepiu@…>

  • src/Makefile.am: Build into libscore.a.
  • Property mode set to 100644
File size: 2.9 KB
Line 
1##
2##  $Id$
3##
4
5LIB=$(ARCH)/libscore.a
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 objectgetnoprotection.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 threadqtimeout.c
49
50TOD_C_FILES = coretod.c coretodset.c coretodtickle.c coretodtoseconds.c \
51    coretodvalidate.c
52
53WATCHDOG_C_FILES = watchdog.c watchdogadjust.c watchdoginsert.c \
54    watchdogremove.c watchdogtickle.c
55
56STD_C_FILES = apiext.c chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \
57    $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) interr.c \
58    isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) $(THREADQ_C_FILES) \
59    $(TOD_C_FILES) userext.c $(WATCHDOG_C_FILES) wkspace.c
60
61if HAS_MP
62C_FILES = $(STD_C_FILES) $(MP_C_FILES)
63else
64C_FILES = $(STD_C_FILES)
65endif
66C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
67
68OBJS = $(C_O_FILES)
69
70#
71# Add local stuff here using +=
72#
73
74AM_CPPFLAGS += -D__RTEMS_INSIDE__
75
76all-local: ${ARCH} $(LIB)
77
78$(LIB): ${OBJS}
79        $(make-library)
80
81EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES) Unlimited.txt
82
83include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.