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

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

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