source: rtems/cpukit/rtems/Makefile.am @ dbe8e519

4.104.114.84.9
Last change on this file since dbe8e519 was dbe8e519, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 12, 2006 at 4:19:28 AM

Cleanups

  • Property mode set to 100644
File size: 5.3 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/cache.h \
22    include/rtems/rtems/clock.h include/rtems/rtems/config.h \
23    include/rtems/rtems/dpmem.h include/rtems/rtems/event.h \
24    include/rtems/rtems/eventset.h include/rtems/rtems/intr.h \
25    include/rtems/rtems/message.h include/rtems/rtems/modes.h \
26    include/rtems/rtems/options.h include/rtems/rtems/part.h \
27    include/rtems/rtems/ratemon.h include/rtems/rtems/region.h \
28    include/rtems/rtems/rtemsapi.h include/rtems/rtems/sem.h \
29    include/rtems/rtems/signal.h include/rtems/rtems/status.h \
30    include/rtems/rtems/support.h include/rtems/rtems/tasks.h \
31    include/rtems/rtems/timer.h include/rtems/rtems/types.h
32
33if HAS_MP
34## We only build multiprocessing related files if HAS_MP was defined
35include_rtems_rtems_HEADERS += include/rtems/rtems/eventmp.h \
36    include/rtems/rtems/mp.h include/rtems/rtems/msgmp.h \
37    include/rtems/rtems/partmp.h include/rtems/rtems/regionmp.h \
38    include/rtems/rtems/semmp.h include/rtems/rtems/signalmp.h \
39    include/rtems/rtems/taskmp.h
40endif
41
42if INLINE
43include_rtems_rtems_HEADERS += inline/rtems/rtems/asr.inl \
44    inline/rtems/rtems/attr.inl inline/rtems/rtems/dpmem.inl \
45    inline/rtems/rtems/event.inl inline/rtems/rtems/eventset.inl \
46    inline/rtems/rtems/message.inl inline/rtems/rtems/modes.inl \
47    inline/rtems/rtems/options.inl inline/rtems/rtems/part.inl \
48    inline/rtems/rtems/ratemon.inl inline/rtems/rtems/region.inl \
49    inline/rtems/rtems/sem.inl inline/rtems/rtems/status.inl \
50    inline/rtems/rtems/support.inl inline/rtems/rtems/tasks.inl \
51    inline/rtems/rtems/timer.inl
52else
53include_rtems_rtems_HEADERS += macros/rtems/rtems/asr.inl \
54    macros/rtems/rtems/attr.inl macros/rtems/rtems/dpmem.inl \
55    macros/rtems/rtems/event.inl macros/rtems/rtems/eventset.inl \
56    macros/rtems/rtems/message.inl macros/rtems/rtems/modes.inl \
57    macros/rtems/rtems/options.inl macros/rtems/rtems/part.inl \
58    macros/rtems/rtems/ratemon.inl macros/rtems/rtems/region.inl \
59    macros/rtems/rtems/sem.inl macros/rtems/rtems/status.inl \
60    macros/rtems/rtems/support.inl macros/rtems/rtems/tasks.inl \
61    macros/rtems/rtems/timer.inl
62endif
63
64## src
65librtems_a_SOURCES =
66
67TASK_C_FILES = src/tasks.c src/taskcreate.c src/taskdelete.c \
68    src/taskgetnote.c src/taskident.c src/taskinitusers.c \
69    src/taskissuspended.c src/taskmode.c src/taskrestart.c src/taskresume.c \
70    src/tasksetnote.c src/tasksetpriority.c src/taskstart.c \
71    src/tasksuspend.c src/taskwakeafter.c src/taskwakewhen.c \
72    src/taskvariableadd.c src/taskvariabledelete.c src/taskvariableget.c
73
74RATEMON_C_FILES = src/ratemon.c src/ratemoncancel.c src/ratemoncreate.c \
75    src/ratemondelete.c src/ratemongetstatus.c src/ratemonident.c \
76    src/ratemonperiod.c src/ratemontimeout.c
77
78INTR_C_FILES = src/intr.c src/intrbody.c src/intrcatch.c
79
80CLOCK_C_FILES = src/rtclock.c src/clockget.c src/clockset.c src/clocktick.c
81
82TIMER_C_FILES = src/rtemstimer.c src/timercancel.c src/timercreate.c \
83    src/timerdelete.c src/timerfireafter.c src/timerfirewhen.c \
84    src/timergetinfo.c src/timerident.c src/timerreset.c src/timerserver.c \
85    src/timerserverfireafter.c src/timerserverfirewhen.c
86
87MESSAGE_QUEUE_C_FILES = src/msg.c src/msgqallocate.c src/msgqbroadcast.c \
88    src/msgqcreate.c src/msgqdelete.c src/msgqflush.c \
89    src/msgqgetnumberpending.c src/msgqident.c src/msgqreceive.c \
90    src/msgqsend.c src/msgqsubmit.c src/msgqtranslatereturncode.c \
91    src/msgqurgent.c
92
93SEMAPHORE_C_FILES = src/sem.c src/semcreate.c src/semdelete.c src/semident.c \
94    src/semobtain.c src/semrelease.c src/semflush.c \
95    src/semtranslatereturncode.c
96
97EVENT_C_FILES = src/event.c src/eventreceive.c src/eventseize.c \
98    src/eventsend.c src/eventsurrender.c src/eventtimeout.c
99
100SIGNAL_C_FILES = src/signal.c src/signalcatch.c src/signalsend.c
101
102REGION_C_FILES = src/region.c src/regioncreate.c src/regiondelete.c \
103    src/regionextend.c src/regiongetsegment.c src/regiongetsegmentsize.c \
104    src/regionident.c src/regionreturnsegment.c src/regiongetinfo.c \
105    src/regiongetfreeinfo.c src/regionresizesegment.c \
106    src/regionprocessqueue.c
107
108PARTITION_C_FILES = src/part.c src/partcreate.c src/partdelete.c \
109    src/partgetbuffer.c src/partident.c src/partreturnbuffer.c
110
111DPMEM_C_FILES = src/dpmem.c src/dpmemcreate.c src/dpmemdelete.c \
112    src/dpmemexternal2internal.c src/dpmemident.c \
113    src/dpmeminternal2external.c
114
115librtems_a_SOURCES += src/attr.c src/rtemsidtoname.c $(TASK_C_FILES) \
116    $(RATEMON_C_FILES) $(INTR_C_FILES) $(CLOCK_C_FILES) $(TIMER_C_FILES) \
117    $(SEMAPHORE_C_FILES) $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) \
118    $(SIGNAL_C_FILES) $(PARTITION_C_FILES) $(REGION_C_FILES) \
119    $(DPMEM_C_FILES)
120
121if HAS_MP
122# We only build multiprocessing related files if HAS_MP was defined
123librtems_a_SOURCES += src/eventmp.c src/mp.c src/msgmp.c src/partmp.c \
124    src/regionmp.c src/semmp.c src/signalmp.c src/taskmp.c
125endif
126
127all-local: $(PREINSTALL_FILES)
128
129include $(srcdir)/preinstall.am
130include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.