source: rtems/cpukit/rtems/src/Makefile.am @ 54d540f

4.104.114.84.9
Last change on this file since 54d540f was fed6210d, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jun 17, 2002 at 9:27:44 AM

2002-06-17 Ralf Corsepius <corsepiu@…>

  • Include $(top_srcdir)/automake/*.am.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1##
2##  $Id$
3##
4
5
6include $(top_srcdir)/automake/multilib.am
7include $(top_srcdir)/automake/compile.am
8include $(top_srcdir)/automake/lib.am
9
10# We only build multiprocessing related files if HAS_MP was defined
11MP_C_FILES = eventmp.c mp.c msgmp.c partmp.c regionmp.c semmp.c signalmp.c \
12    taskmp.c
13
14TASK_C_FILES = tasks.c taskcreate.c taskdelete.c taskgetnote.c taskident.c \
15    taskinitusers.c taskissuspended.c taskmode.c taskrestart.c taskresume.c \
16    tasksetnote.c tasksetpriority.c taskstart.c tasksuspend.c \
17    taskwakeafter.c taskwakewhen.c taskvariableadd.c taskvariabledelete.c \
18    taskvariableget.c
19
20RATEMON_C_FILES = ratemon.c ratemoncancel.c ratemoncreate.c ratemondelete.c \
21    ratemongetstatus.c ratemonident.c ratemonperiod.c ratemontimeout.c
22
23INTR_C_FILES = intr.c intrbody.c intrcatch.c
24
25CLOCK_C_FILES = rtclock.c clockget.c clockset.c clocktick.c
26
27TIMER_C_FILES = rtemstimer.c timercancel.c timercreate.c timerdelete.c \
28    timerfireafter.c timerfirewhen.c timergetinfo.c timerident.c timerreset.c \
29    timerserver.c timerserverfireafter.c timerserverfirewhen.c
30
31MESSAGE_QUEUE_C_FILES = msg.c msgqallocate.c msgqbroadcast.c msgqcreate.c \
32    msgqdelete.c msgqflush.c msgqgetnumberpending.c msgqident.c \
33    msgqreceive.c msgqsend.c msgqsubmit.c msgqtranslatereturncode.c \
34    msgqurgent.c
35
36SEMAPHORE_C_FILES = sem.c semcreate.c semdelete.c semident.c semobtain.c \
37    semrelease.c semflush.c semtranslatereturncode.c
38
39EVENT_C_FILES = event.c eventreceive.c eventseize.c eventsend.c \
40    eventsurrender.c eventtimeout.c
41
42SIGNAL_C_FILES = signal.c signalcatch.c signalsend.c
43
44REGION_C_FILES = region.c regioncreate.c regiondelete.c regionextend.c \
45    regiongetsegment.c regiongetsegmentsize.c regionident.c \
46    regionreturnsegment.c regiongetinfo.c
47
48PARTITION_C_FILES = part.c partcreate.c partdelete.c partgetbuffer.c \
49    partident.c partreturnbuffer.c
50
51DPMEM_C_FILES = dpmem.c dpmemcreate.c dpmemdelete.c dpmemexternal2internal.c \
52    dpmemident.c dpmeminternal2external.c
53
54STD_C_FILES = attr.c $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \
55    $(CLOCK_C_FILES) $(TIMER_C_FILES) $(SEMAPHORE_C_FILES) \
56    $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) $(SIGNAL_C_FILES) \
57    $(PARTITION_C_FILES) $(REGION_C_FILES) $(DPMEM_C_FILES)
58
59if HAS_MP
60C_FILES = $(STD_C_FILES) $(MP_C_FILES)
61else
62C_FILES = $(STD_C_FILES)
63endif
64
65C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
66
67OBJS = $(C_O_FILES)
68
69#
70# Add local stuff here using +=
71#
72
73AM_CPPFLAGS += -D__RTEMS_INSIDE__
74
75all-local: ${ARCH} ${OBJS}
76
77EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
78
79include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.