source: rtems/c/src/exec/score/src/Makefile.in @ 82cb78d8

4.104.114.84.95
Last change on this file since 82cb78d8 was 82cb78d8, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 21:45:15

Split core message queue and watchdog handler objects into separate files.

  • Property mode set to 100644
File size: 3.1 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = score/src
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(RTEMS_ROOT)/make/lib.cfg
18
19INSTALL_CHANGE = @INSTALL_CHANGE@
20
21# We only build multiprocessing related files if HAS_MP was defined
22MP_C_PIECES_yes_V = mpci objectmp threadmp
23MP_C_PIECES = $(MP_C_PIECES_$(HAS_MP)_V)
24
25CORE_MESSAGE_QUEUE_C_PIECES= coremsg coremsgbroadcast coremsgclose \
26    coremsgflush coremsgflushsupp coremsgseize coremsgsubmit
27
28CORE_MUTEX_C_PIECES= coremutex coremutexflush coremutexseize \
29    coremutexsurrender
30
31CORE_SEMAPHORE_C_PIECES= coresem coresemflush coresemseize coresemsurrender
32
33HEAP_C_PIECES = heap heapallocate heapextend heapfree \
34    heapsizeofuserarea heapwalk
35
36OBJECT_C_PIECES = object objectallocate objectallocatebyindex \
37    objectclearname objectcomparenameraw objectcomparenamestring \
38    objectcopynameraw objectcopynamestring objectextendinformation \
39    objectfree objectget objectgetbyindex objectgetnext \
40    objectinitializeinformation objectnametoid objectshrinkinformation
41
42THREAD_C_PIECES = thread threadchangepriority threadclearstate threadclose \
43    threadcreateidle threaddelayended threaddispatch threadevaluatemode \
44    threadget threadhandler threadidlebody threadinitialize threadloadenv \
45    threadready threadresettimeslice threadrestart threadsetpriority \
46    threadsetstate threadsettransient threadstackallocate threadstackfree \
47    threadstart threadstartmultitasking threadtickletimeslice \
48    threadyieldprocessor
49
50THREADQ_C_PIECES= threadq threadqdequeue threadqdequeuefifo \
51    threadqdequeuepriority threadqenqueue threadqenqueuefifo \
52    threadqenqueuepriority threadqextract threadqextractfifo \
53    threadqextractpriority threadqextractwithproxy threadqfirst \
54    threadqfirstfifo threadqfirstpriority threadqflush threadqtimeout
55
56TOD_C_PIECES= coretod coretodset coretodtickle coretodtoseconds \
57    coretodvalidate
58
59WATCHDOG_C_PIECES= watchdog watchdogadjust watchdoginsert watchdogremove \
60    watchdogtickle
61
62# C and C++ source names, if any, go here -- minus the .c or .cc
63C_PIECES = apiext chain $(CORE_MESSAGE_QUEUE_C_PIECES) $(CORE_MUTEX_C_PIECES) \
64    $(CORE_SEMAPHORE_C_PIECES) $(HEAP_C_PIECES) interr isr \
65    $(OBJECT_C_PIECES) $(THREAD_C_PIECES) $(THREADQ_C_PIECES) \
66    $(TOD_C_PIECES) userext \
67    $(WATCHDOG_C_PIECES) wkspace $(MP_C_PIECES)
68C_FILES = $(C_PIECES:%=%.c)
69C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
70
71SRCS = $(C_FILES)
72OBJS = $(C_O_FILES)
73
74#
75# Add local stuff here using +=
76#
77
78DEFINES += -D__RTEMS_INSIDE__
79CPPFLAGS +=
80CFLAGS += $(CFLAGS_OS_V)
81
82#
83# Add your list of files to delete here.  The config files
84#  already know how to delete some stuff, so you may want
85#  to just run 'make clean' first to see what gets missed.
86#  'make clobber' already includes 'make clean'
87#
88
89CLEAN_ADDITIONS +=
90CLOBBER_ADDITIONS +=
91
92all: ${ARCH} $(SRCS) ${OBJS}
93
94Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
95        cd $(top_builddir) \
96         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.