source: rtems/cpukit/itron/Makefile.am @ 6265b83

4.104.114.84.95
Last change on this file since 6265b83 was 6265b83, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 8, 2005 at 3:02:25 PM

Split preinstallation rules in to separate files (preinstall.am).

  • Property mode set to 100644
File size: 4.1 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8EXTRA_DIST =
9CLEANFILES =
10DISTCLEANFILES =
11
12if HAS_ITRON
13## include
14
15include_rtemsdir = $(includedir)/rtems
16include_rtems_HEADERS = include/itron.h
17
18## itronsys
19
20include_itronsysdir = $(includedir)/itronsys
21
22include_itronsys_HEADERS = include/itronsys/eventflags.h \
23    include/itronsys/fmempool.h include/itronsys/intr.h \
24    include/itronsys/mbox.h include/itronsys/msgbuffer.h \
25    include/itronsys/network.h include/itronsys/port.h \
26    include/itronsys/semaphore.h include/itronsys/status.h \
27    include/itronsys/sysmgmt.h include/itronsys/task.h \
28    include/itronsys/time.h include/itronsys/types.h \
29    include/itronsys/vmempool.h
30
31EXTRA_DIST += include/itronsys/README
32
33## rtems/itron
34include_rtems_itrondir = $(includedir)/rtems/itron
35
36include_rtems_itron_HEADERS = include/rtems/itron/config.h \
37    include/rtems/itron/eventflags.h include/rtems/itron/fmempool.h \
38    include/rtems/itron/intr.h include/rtems/itron/itronapi.h \
39    include/rtems/itron/mbox.h include/rtems/itron/msgbuffer.h \
40    include/rtems/itron/network.h include/rtems/itron/object.h \
41    include/rtems/itron/port.h include/rtems/itron/semaphore.h \
42    include/rtems/itron/sysmgmt.h include/rtems/itron/task.h \
43    include/rtems/itron/time.h include/rtems/itron/vmempool.h
44
45EXTRA_DIST += include/rtems/itron/README
46
47## Inline
48
49if INLINE
50include_rtems_itron_HEADERS += inline/rtems/itron/eventflags.inl \
51    inline/rtems/itron/fmempool.inl inline/rtems/itron/intr.inl \
52    inline/rtems/itron/mbox.inl inline/rtems/itron/msgbuffer.inl \
53    inline/rtems/itron/network.inl inline/rtems/itron/port.inl \
54    inline/rtems/itron/semaphore.inl inline/rtems/itron/sysmgmt.inl \
55    inline/rtems/itron/task.inl inline/rtems/itron/time.inl \
56    inline/rtems/itron/vmempool.inl
57else
58include_rtems_itron_HEADERS += macros/rtems/itron/eventflags.inl \
59    macros/rtems/itron/fmempool.inl macros/rtems/itron/intr.inl \
60    macros/rtems/itron/mbox.inl macros/rtems/itron/msgbuffer.inl \
61    macros/rtems/itron/network.inl macros/rtems/itron/port.inl \
62    macros/rtems/itron/semaphore.inl macros/rtems/itron/sysmgmt.inl \
63    macros/rtems/itron/task.inl macros/rtems/itron/time.inl \
64    macros/rtems/itron/vmempool.inl
65endif
66
67## Sources
68
69TASK_C_FILES = src/task.c src/cre_tsk.c src/del_tsk.c src/sta_tsk.c \
70    src/ext_tsk.c src/exd_tsk.c src/ter_tsk.c src/dis_dsp.c src/ena_dsp.c \
71    src/chg_pri.c src/rot_rdq.c src/rel_wai.c src/get_tid.c src/ref_tsk.c
72
73TASKSYNC_C_FILES = src/sus_tsk.c src/rsm_tsk.c src/frsm_tsk.c src/slp_tsk.c \
74    src/tslp_tsk.c src/wup_tsk.c src/can_wup.c
75
76SEMAPHORE_C_FILES = src/itronsem.c src/cre_sem.c src/del_sem.c \
77    src/preq_sem.c src/ref_sem.c src/sig_sem.c src/twai_sem.c src/wai_sem.c
78
79EVENTFLAGS_C_FILES = src/eventflags.c
80
81MAILBOX_C_FILES = src/mbox.c
82
83MSGBUFFER_C_FILES = src/msgbuffer.c src/msgbuffertranslatereturncode.c \
84    src/cre_mbf.c src/del_mbf.c src/prcv_mbf.c src/psnd_mbf.c src/rcv_mbf.c \
85    src/ref_mbf.c src/snd_mbf.c src/trcv_mbf.c src/tsnd_mbf.c
86
87RENDEZVOUS_C_FILES = src/port.c
88
89INTERRUPT_C_FILES = src/itronintr.c
90
91VARIABLE_MEMORY_POOL_C_FILES = src/vmempool.c
92
93FIXED_MEMORY_POOL_C_FILES = src/fmempool.c
94
95TIME_C_FILES = src/itrontime.c
96
97CONFIGURATION_C_FILES = src/sysmgmt.c
98
99NETWORK_C_FILES = src/network.c
100
101C_FILES = $(TASK_C_FILES) $(TASKSYNC_C_FILES) $(SEMAPHORE_C_FILES) \
102    $(EVENTFLAGS_C_FILES) $(MAILBOX_C_FILES) $(MSGBUFFER_C_FILES) \
103    $(RENDEZVOUS_C_FILES) $(INTERRUPT_C_FILES) \
104    $(VARIABLE_MEMORY_POOL_C_FILES) $(FIXED_MEMORY_POOL_C_FILES) \
105    $(TIME_C_FILES)
106
107AM_CPPFLAGS += -D__RTEMS_INSIDE__
108
109noinst_LIBRARIES = libitron.a
110libitron_a_SOURCES = $(C_FILES)
111libitron_a_CPPFLAGS = $(AM_CPPFLAGS)
112endif
113
114UNUSED_C_FILES = src/cre_mbx.c src/del_mbx.c src/mboxtranslatereturncode.c \
115    $(NETWORK_C_FILES) src/prcv_mbx.c src/rcv_mbx.c src/ref_mbx.c \
116    src/snd_mbx.c $(CONFIGURATION_C_FILES) src/trcv_mbx.c
117
118EXTRA_DIST += $(UNUSED_C_FILES) src/TODO
119
120## PREINSTALLATION STUFF - Do not edit below
121
122all-local: $(PREINSTALL_FILES)
123
124include $(srcdir)/preinstall.am
125
126include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.