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

4.104.114.84.95
Last change on this file since d66ca67 was d66ca67, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 1, 2002 at 12:00:31 PM

2002-08-01 Ralf Corsepius <corsepiu@…>

  • src/Makefile.am: Add librtems.a.
  • Property mode set to 100644
File size: 2.6 KB
Line 
1##
2##  $Id$
3##
4
5LIB = $(ARCH)/librtems.a
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 timergetinfo.c timerident.c timerreset.c \
30    timerserver.c timerserverfireafter.c timerserverfirewhen.c
31
32MESSAGE_QUEUE_C_FILES = msg.c msgqallocate.c msgqbroadcast.c msgqcreate.c \
33    msgqdelete.c msgqflush.c msgqgetnumberpending.c msgqident.c \
34    msgqreceive.c msgqsend.c msgqsubmit.c msgqtranslatereturncode.c \
35    msgqurgent.c
36
37SEMAPHORE_C_FILES = sem.c semcreate.c semdelete.c semident.c semobtain.c \
38    semrelease.c semflush.c semtranslatereturncode.c
39
40EVENT_C_FILES = event.c eventreceive.c eventseize.c eventsend.c \
41    eventsurrender.c eventtimeout.c
42
43SIGNAL_C_FILES = signal.c signalcatch.c signalsend.c
44
45REGION_C_FILES = region.c regioncreate.c regiondelete.c regionextend.c \
46    regiongetsegment.c regiongetsegmentsize.c regionident.c \
47    regionreturnsegment.c regiongetinfo.c
48
49PARTITION_C_FILES = part.c partcreate.c partdelete.c partgetbuffer.c \
50    partident.c partreturnbuffer.c
51
52DPMEM_C_FILES = dpmem.c dpmemcreate.c dpmemdelete.c dpmemexternal2internal.c \
53    dpmemident.c dpmeminternal2external.c
54
55STD_C_FILES = attr.c $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \
56    $(CLOCK_C_FILES) $(TIMER_C_FILES) $(SEMAPHORE_C_FILES) \
57    $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) $(SIGNAL_C_FILES) \
58    $(PARTITION_C_FILES) $(REGION_C_FILES) $(DPMEM_C_FILES)
59
60if HAS_MP
61C_FILES = $(STD_C_FILES) $(MP_C_FILES)
62else
63C_FILES = $(STD_C_FILES)
64endif
65
66C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
67
68OBJS = $(C_O_FILES)
69
70#
71# Add local stuff here using +=
72#
73
74AM_CPPFLAGS += -D__RTEMS_INSIDE__
75
76all-local: ${ARCH} $(LIB)
77
78$(LIB): ${OBJS}
79        $(make-library)
80
81
82EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
83
84include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.