source: rtems/c/src/exec/rtems/src/Makefile.in @ 1178b8c

4.104.114.84.95
Last change on this file since 1178b8c was c4d69e2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/17/99 at 21:02:16

Split Task Manager into multiple files. Eventually this effort will
reduce the size of executables.

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