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

4.104.114.84.95
Last change on this file since c55df85 was c55df85, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 16, 2002 at 10:09:50 PM

2001-01-16 Joel Sherrill <joel@…>

  • Added task-based timers to the Timer Manager. This added three new directives:
    • rtems_timer_initiate_server
    • rtems_timer_server_fire_after
    • rtems_timer_server_fire_when

In the process of doing this, a number of cleanups were made.

  • src/timerserver.c, src/timerserverfireafter.c, src/timerserverfirewhen.c: New files.
  • include/timer/timer.h: Added new prototypes and supporting types.
  • inline/rtems/rtems/timer.h, macros/rtems/rtems/timer.h: Enhanced _Timer_Is_interval_class() to cover the class TIMER_INTERVAL_ON_TASK.
  • src/Makefile.am: Accounted for new files.
  • src/rtemstimer.c: Added initialization of _Timer_Server variable.
  • src/timercancel.c, src/timerreset.c: Account for addition of timer classes. Also corrected the headers.
  • src/timercreate.c, src/timerdelete.c, src/timerfireafter.c, src/timerfireafter.c, src/timerident.c: Corrected header.
  • Property mode set to 100644
File size: 2.6 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 timerserver.c \
30    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}/%.o)
67
68OBJS = $(C_O_FILES)
69
70#
71# Add local stuff here using +=
72#
73
74AM_CPPFLAGS += -D__RTEMS_INSIDE__
75
76all-local: ${ARCH} ${OBJS}
77
78EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
79
80include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.