source: rtems/c/src/exec/rtems/src/Makefile.in @ bd83f47

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

Split Clock Manager into one routine per file.

  • Property mode set to 100644
File size: 1.7 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
27CLOCK_PIECES=
28  clock clockget clockset clocktick
29
30REGION_PIECES=\
31  region regioncreate regiondelete regionextend regiongetsegment \
32  regiongetsegmentsize regionident regionreturnsegemnt regionreturnsegemnt
33
34C_PIECES=attr $(CLOCK_PIECES) dpmem event intr intrbody msg \
35   part ratemon $(REGION_PIECES) sem signal \
36   $(TASK_PIECES) timer $(MP_PIECES)
37C_FILES=$(C_PIECES:%=%.c)
38C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
39
40SRCS=$(C_FILES)
41OBJS=$(C_O_FILES)
42
43include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
44include $(RTEMS_ROOT)/make/lib.cfg
45
46#
47# Add local stuff here using +=
48#
49
50DEFINES  += -D__RTEMS_INSIDE__
51CPPFLAGS +=
52CFLAGS   += $(CFLAGS_OS_V)
53
54#
55# Add your list of files to delete here.  The config files
56#  already know how to delete some stuff, so you may want
57#  to just run 'make clean' first to see what gets missed.
58#  'make clobber' already includes 'make clean'
59#
60
61CLEAN_ADDITIONS +=
62CLOBBER_ADDITIONS +=
63
64all:    ${ARCH} $(SRCS) ${OBJS}
65
66Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
67        cd $(top_builddir) \
68         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.