source: rtems/c/src/exec/rtems/src/Makefile.in @ 0123e3b

4.104.114.84.95
Last change on this file since 0123e3b was 0123e3b, checked in by Joel Sherrill <joel.sherrill@…>, on May 17, 1999 at 11:20:52 PM

Split Signal Manager into one routine per file.

  • Property mode set to 100644
File size: 2.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
30TIMER_PIECES=\
31  timer timercancel timercreate timerdelete timerfireafter \
32  timerfirewhere timerident timerreset
33
34MESSAGE_QUEUE_PIECES=\
35  msg msgqallocate msgqbroadcast msgqcreate msgqdelete \
36  msgqflush msgqgetnumberpending msgqident msgqreceive \
37  msgqsend msgqsubmit msgqtranslatereturncode msgqurgent
38
39SEMAPHORE_PIECES=\
40  sem semcreate semdelete semident semobtain semrelease \
41  semtranslatereturncode
42
43EVENT_PIECES=\
44  event eventreceive eventseize eventsend eventsurrender eventtimeout
45
46SIGNAL_PIECES=\
47  signal signalcatch signalsend
48
49RATEMON_PIECES=\
50  ratemon ratemoncancel ratemoncreate ratemondelete ratemongetstatus \
51  ratemonident ratemonperiod ratemontimeout
52
53REGION_PIECES=\
54  region regioncreate regiondelete regionextend regiongetsegment \
55  regiongetsegmentsize regionident regionreturnsegemnt regionreturnsegemnt
56
57PARTITION_PIECES=\
58  part partcreate partdelete partgetbuffer partident partreturnbuffer
59
60DPMEM_PIECES=\
61  dpmem dpmemcreate dpmemdelete dpmemexternal2internal \
62  dpmemident dpmeminternal2external
63
64C_PIECES=\
65  attr $(TASK_PIECES) $(RATEMON_PIECES) \
66  intr intrbody \
67  $(CLOCK_PIECES) $(TIMER_PIECES) \
68  $(SEMAPHORE_PIECES) $(MESSAGE_QUEUE_PIECES) \
69  $(EVENT_PIECES) $(SIGNAL_PIECES) \
70  $(PARTITION_PIECES) $(REGION_PIECES) $(DPMEM_PIECES) \
71  $(MP_PIECES)
72C_FILES=$(C_PIECES:%=%.c)
73C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
74
75SRCS=$(C_FILES)
76OBJS=$(C_O_FILES)
77
78include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
79include $(RTEMS_ROOT)/make/lib.cfg
80
81#
82# Add local stuff here using +=
83#
84
85DEFINES  += -D__RTEMS_INSIDE__
86CPPFLAGS +=
87CFLAGS   += $(CFLAGS_OS_V)
88
89#
90# Add your list of files to delete here.  The config files
91#  already know how to delete some stuff, so you may want
92#  to just run 'make clean' first to see what gets missed.
93#  'make clobber' already includes 'make clean'
94#
95
96CLEAN_ADDITIONS +=
97CLOBBER_ADDITIONS +=
98
99all:    ${ARCH} $(SRCS) ${OBJS}
100
101Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
102        cd $(top_builddir) \
103         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.