source: rtems/c/src/exec/rtems/src/Makefile.in @ 5aa64518

4.104.114.84.95
Last change on this file since 5aa64518 was 5aa64518, checked in by Joel Sherrill <joel.sherrill@…>, on May 17, 1999 at 10:39:20 PM

Split Region Manager into one routine per file.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../..
9subdir = c/src/exec/rtems/src
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18# We only build multiprocessing related files if HAS_MP was defined
19MP_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp
20MP_PIECES = $(MP_PIECES_$(HAS_MP)_V)
21
22TASK_PIECES=\
23  tasks taskcreate taskdelete taskgetnote taskident taskinitusers \
24  taskmode taskrestart taskresume tasksetnote tasksetpriority \
25  taskstart tasksuspend taskwakeafter taskwakewhen
26
27REGION_PIECES=\
28  region regioncreate regiondelete regionextend regiongetsegment \
29  regiongetsegmentsize regionident regionreturnsegemnt regionreturnsegemnt
30
31C_PIECES=attr clock dpmem event intr intrbody msg \
32   part ratemon $(REGION_PIECES) sem signal \
33   $(TASK_PIECES) timer $(MP_PIECES)
34C_FILES=$(C_PIECES:%=%.c)
35C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
36
37SRCS=$(C_FILES)
38OBJS=$(C_O_FILES)
39
40include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
41include $(RTEMS_ROOT)/make/lib.cfg
42
43#
44# Add local stuff here using +=
45#
46
47DEFINES  += -D__RTEMS_INSIDE__
48CPPFLAGS +=
49CFLAGS   += $(CFLAGS_OS_V)
50
51#
52# Add your list of files to delete here.  The config files
53#  already know how to delete some stuff, so you may want
54#  to just run 'make clean' first to see what gets missed.
55#  'make clobber' already includes 'make clean'
56#
57
58CLEAN_ADDITIONS +=
59CLOBBER_ADDITIONS +=
60
61all:    ${ARCH} $(SRCS) ${OBJS}
62
63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
64        cd $(top_builddir) \
65         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.