source: rtems/cpukit/rtems/Makefile.am @ 684e243d

4.104.11
Last change on this file since 684e243d was 684e243d, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 6, 2009 at 8:39:27 PM

Revert.

  • Property mode set to 100644
File size: 6.1 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8AM_CPPFLAGS += -D__RTEMS_INSIDE__
9
10noinst_LIBRARIES = librtems.a
11librtems_a_CPPFLAGS = $(AM_CPPFLAGS)
12
13# include
14
15include_HEADERS = include/rtems.h
16
17# include/rtems/rtems
18include_rtems_rtemsdir = $(includedir)/rtems/rtems
19
20include_rtems_rtems_HEADERS = include/rtems/rtems/asr.h \
21    include/rtems/rtems/attr.h include/rtems/rtems/barrier.h \
22    include/rtems/rtems/cache.h include/rtems/rtems/clock.h \
23    include/rtems/rtems/config.h include/rtems/rtems/dpmem.h \
24    include/rtems/rtems/event.h include/rtems/rtems/eventset.h \
25    include/rtems/rtems/intr.h include/rtems/rtems/message.h \
26    include/rtems/rtems/modes.h include/rtems/rtems/object.h \
27    include/rtems/rtems/options.h include/rtems/rtems/part.h \
28    include/rtems/rtems/ratemon.h include/rtems/rtems/region.h \
29    include/rtems/rtems/rtemsapi.h include/rtems/rtems/sem.h \
30    include/rtems/rtems/signal.h include/rtems/rtems/status.h \
31    include/rtems/rtems/support.h include/rtems/rtems/tasks.h \
32    include/rtems/rtems/timer.h include/rtems/rtems/types.h
33
34if HAS_MP
35## We only build multiprocessing related files if HAS_MP was defined
36include_rtems_rtems_HEADERS += include/rtems/rtems/eventmp.h \
37    include/rtems/rtems/mp.h include/rtems/rtems/msgmp.h \
38    include/rtems/rtems/partmp.h include/rtems/rtems/regionmp.h \
39    include/rtems/rtems/semmp.h include/rtems/rtems/signalmp.h \
40    include/rtems/rtems/taskmp.h
41endif
42
43include_rtems_rtems_HEADERS += inline/rtems/rtems/asr.inl \
44    inline/rtems/rtems/attr.inl inline/rtems/rtems/barrier.inl \
45    inline/rtems/rtems/dpmem.inl \
46    inline/rtems/rtems/event.inl inline/rtems/rtems/eventset.inl \
47    inline/rtems/rtems/message.inl inline/rtems/rtems/modes.inl \
48    inline/rtems/rtems/options.inl inline/rtems/rtems/part.inl \
49    inline/rtems/rtems/ratemon.inl inline/rtems/rtems/region.inl \
50    inline/rtems/rtems/sem.inl inline/rtems/rtems/status.inl \
51    inline/rtems/rtems/support.inl inline/rtems/rtems/tasks.inl \
52    inline/rtems/rtems/timer.inl
53
54## src
55librtems_a_SOURCES = src/rtemsbuildid.c src/rtemsbuildname.c \
56    src/rtemsobjectgetname.c src/rtemsobjectsetname.c \
57    src/rtemsobjectidapimaximum.c src/rtemsobjectidapiminimum.c \
58    src/rtemsobjectidgetapi.c src/rtemsobjectidgetclass.c \
59    src/rtemsobjectidgetindex.c src/rtemsobjectidgetnode.c \
60    src/rtemsobjectapiminimumclass.c src/rtemsobjectapimaximumclass.c \
61    src/rtemsobjectgetapiname.c src/rtemsobjectgetapiclassname.c \
62    src/rtemsobjectgetclassinfo.c src/rtemsobjectgetclassicname.c
63
64## TASK_C_FILES
65librtems_a_SOURCES += src/tasks.c src/taskcreate.c src/taskdelete.c \
66    src/taskgetnote.c src/taskident.c src/taskinitusers.c \
67    src/taskissuspended.c src/taskmode.c src/taskrestart.c src/taskresume.c \
68    src/taskself.c src/tasksetnote.c src/tasksetpriority.c src/taskstart.c \
69    src/tasksuspend.c src/taskwakeafter.c src/taskwakewhen.c \
70    src/taskvariableadd.c src/taskvariabledelete.c src/taskvariableget.c \
71    src/taskvariable_invoke_dtor.c src/taskdata.c
72
73## RATEMON_C_FILES
74librtems_a_SOURCES += src/ratemon.c src/ratemoncancel.c src/ratemoncreate.c \
75    src/ratemondelete.c src/ratemongetstatus.c src/ratemongetstatistics.c \
76    src/ratemonresetstatistics.c src/ratemonresetall.c \
77    src/ratemonreportstatistics.c src/ratemonident.c \
78    src/ratemonperiod.c src/ratemontimeout.c src/ratemondata.c
79
80## INTR_C_FILES
81librtems_a_SOURCES += src/intrbody.c src/intrcatch.c
82
83## BARRIER_C_FILES
84librtems_a_SOURCES += src/barrier.c src/barriercreate.c src/barrierdelete.c \
85   src/barrierident.c src/barriertranslatereturncode.c src/barrierrelease.c \
86   src/barrierwait.c src/barrierdata.c
87
88## CLOCK_C_FILES
89librtems_a_SOURCES += src/clockget.c src/clockgetsecondssinceepoch.c \
90    src/clockgettickspersecond.c src/clockgettickssinceboot.c \
91    src/clockgettod.c src/clockgettodtimeval.c src/clockgetuptime.c \
92    src/clockset.c src/clocksetnsecshandler.c src/clocktick.c \
93    src/clocktodtoseconds.c src/clocktodvalidate.c
94
95## TIMER_C_FILES
96librtems_a_SOURCES += src/rtemstimer.c src/timercancel.c src/timercreate.c \
97    src/timerdelete.c src/timerfireafter.c src/timerfirewhen.c \
98    src/timergetinfo.c src/timerident.c src/timerreset.c src/timerserver.c \
99    src/timerserverfireafter.c src/timerserverfirewhen.c src/rtemstimerdata.c
100
101## MESSAGE_QUEUE_C_FILES
102librtems_a_SOURCES += src/msg.c src/msgqallocate.c src/msgqbroadcast.c \
103    src/msgqcreate.c src/msgqdelete.c src/msgqflush.c \
104    src/msgqgetnumberpending.c src/msgqident.c src/msgqreceive.c \
105    src/msgqsend.c c src/msgqtranslatereturncode.c src/msgqurgent.c \
106    src/msgdata.c
107
108## SEMAPHORE_C_FILES
109librtems_a_SOURCES += src/sem.c src/semcreate.c src/semdelete.c src/semident.c \
110    src/semobtain.c src/semrelease.c src/semflush.c \
111    src/semtranslatereturncode.c src/semdata.c
112
113## EVENT_C_FILES
114librtems_a_SOURCES += src/event.c src/eventreceive.c src/eventseize.c \
115    src/eventsend.c src/eventsurrender.c src/eventtimeout.c src/eventdata.c
116
117## SIGNAL_C_FILES
118librtems_a_SOURCES += src/signal.c src/signalcatch.c src/signalsend.c
119
120## REGION_C_FILES
121librtems_a_SOURCES += src/region.c src/regioncreate.c src/regiondelete.c \
122    src/regionextend.c src/regiongetsegment.c src/regiongetsegmentsize.c \
123    src/regionident.c src/regionreturnsegment.c src/regiongetinfo.c \
124    src/regiongetfreeinfo.c src/regionresizesegment.c \
125    src/regionprocessqueue.c src/regiondata.c
126
127## PARTITION_C_FILES
128librtems_a_SOURCES += src/part.c src/partcreate.c src/partdelete.c \
129    src/partgetbuffer.c src/partident.c src/partreturnbuffer.c src/partdata.c
130
131## DPMEM_C_FILES
132librtems_a_SOURCES += src/dpmem.c src/dpmemcreate.c src/dpmemdelete.c \
133    src/dpmemexternal2internal.c src/dpmemident.c \
134    src/dpmeminternal2external.c src/dpmemdata.c
135
136## WORKSPACE_FILES
137librtems_a_SOURCES += src/workspace.c
138
139librtems_a_SOURCES += src/attr.c
140
141if HAS_MP
142# We only build multiprocessing related files if HAS_MP was defined
143librtems_a_SOURCES += src/eventmp.c src/mp.c src/msgmp.c src/partmp.c \
144    src/regionmp.c src/semmp.c src/signalmp.c src/taskmp.c
145endif
146
147include $(srcdir)/preinstall.am
148include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.