source: rtems/cpukit/score/src/Makefile.am @ 70810dc

4.104.114.84.95
Last change on this file since 70810dc was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/00 at 22:33:25

Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams
  • Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
  • Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible)
  • Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization)
  • Cleans up several bogus comments.
  • Removes MKLIB
  • Switches the version number to 4.5.0 (for testing version number handling)
  • 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__
74AM_CFLAGS += $(CFLAGS_OS_V)
75
76all: ${ARCH} ${OBJS}
77
78EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES) Unlimited.txt
79
80include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.