source: rtems/cpukit/rtems/src/Makefile.am @ d8c76574

4.104.114.84.95
Last change on this file since d8c76574 was d8c76574, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 19, 2001 at 2:36:48 PM

2001-12-19 Ralf Corsepius <corsepiu@…>

  • src/Makefile.am: Add multilib support.
  • optman/Makefile.am: Add multilib support.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
10
11# We only build multiprocessing related files if HAS_MP was defined
12MP_C_FILES = eventmp.c mp.c msgmp.c partmp.c regionmp.c semmp.c signalmp.c \
13    taskmp.c
14
15TASK_C_FILES = tasks.c taskcreate.c taskdelete.c taskgetnote.c taskident.c \
16    taskinitusers.c taskissuspended.c taskmode.c taskrestart.c taskresume.c \
17    tasksetnote.c tasksetpriority.c taskstart.c tasksuspend.c \
18    taskwakeafter.c taskwakewhen.c taskvariableadd.c taskvariabledelete.c \
19    taskvariableget.c
20
21RATEMON_C_FILES = ratemon.c ratemoncancel.c ratemoncreate.c ratemondelete.c \
22    ratemongetstatus.c ratemonident.c ratemonperiod.c ratemontimeout.c
23
24INTR_C_FILES = intr.c intrbody.c intrcatch.c
25
26CLOCK_C_FILES = rtclock.c clockget.c clockset.c clocktick.c
27
28TIMER_C_FILES = rtemstimer.c timercancel.c timercreate.c timerdelete.c \
29    timerfireafter.c timerfirewhen.c timerident.c timerreset.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.