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

4.104.114.84.95
Last change on this file since fba12eb6 was fba12eb6, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 23, 1999 at 1:29:04 PM

Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

  • Property mode set to 100644
File size: 2.5 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
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
19RATEMON_C_FILES = ratemon.c ratemoncancel.c ratemoncreate.c ratemondelete.c \
20    ratemongetstatus.c ratemonident.c ratemonperiod.c ratemontimeout.c
21
22INTR_C_FILES = intr.c intrbody.c intrcatch.c
23
24CLOCK_C_FILES = rtclock.c clockget.c clockset.c clocktick.c
25
26TIMER_C_FILES = rtemstimer.c timercancel.c timercreate.c timerdelete.c \
27    timerfireafter.c timerfirewhen.c timerident.c timerreset.c
28
29MESSAGE_QUEUE_C_FILES = msg.c msgqallocate.c msgqbroadcast.c msgqcreate.c \
30    msgqdelete.c msgqflush.c msgqgetnumberpending.c msgqident.c \
31    msgqreceive.c msgqsend.c msgqsubmit.c msgqtranslatereturncode.c \
32    msgqurgent.c
33
34SEMAPHORE_C_FILES = sem.c semcreate.c semdelete.c semident.c semobtain.c \
35    semrelease.c semflush.c semtranslatereturncode.c
36
37EVENT_C_FILES = event.c eventreceive.c eventseize.c eventsend.c \
38    eventsurrender.c eventtimeout.c
39
40SIGNAL_C_FILES = signal.c signalcatch.c signalsend.c
41
42REGION_C_FILES = region.c regioncreate.c regiondelete.c regionextend.c \
43    regiongetsegment.c regiongetsegmentsize.c regionident.c \
44    regionreturnsegment.c regionreturnsegment.c
45
46PARTITION_C_FILES = part.c partcreate.c partdelete.c partgetbuffer.c \
47    partident.c partreturnbuffer.c
48
49DPMEM_C_FILES = dpmem.c dpmemcreate.c dpmemdelete.c dpmemexternal2internal.c \
50    dpmemident.c dpmeminternal2external.c
51
52STD_C_FILES = attr.c $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \
53    $(CLOCK_C_FILES) $(TIMER_C_FILES) $(SEMAPHORE_C_FILES) \
54    $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) $(SIGNAL_C_FILES) \
55    $(PARTITION_C_FILES) $(REGION_C_FILES) $(DPMEM_C_FILES)
56
57if HAS_MP
58C_FILES = $(STD_C_FILES) $(MP_C_FILES)
59else
60C_FILES = $(STD_C_FILES)
61endif
62
63C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
64
65SRCS = $(C_FILES)
66OBJS = $(C_O_FILES)
67
68#
69# Add local stuff here using +=
70#
71
72AM_CPPFLAGS += -D__RTEMS_INSIDE__
73AM_CFLAGS += $(CFLAGS_OS_V)
74
75all: ${ARCH} $(SRCS) ${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.