1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/automake/compile.am |
---|
6 | |
---|
7 | EXTRA_DIST = README |
---|
8 | |
---|
9 | include_rtemsdir = $(includedir)/rtems |
---|
10 | include_rtems_HEADERS = |
---|
11 | noinst_LIBRARIES = |
---|
12 | CLEANFILES = |
---|
13 | |
---|
14 | ## capture |
---|
15 | EXTRA_DIST += capture/README |
---|
16 | include_rtems_HEADERS += capture/capture.h capture/capture-cli.h |
---|
17 | |
---|
18 | noinst_LIBRARIES += libcapture.a |
---|
19 | libcapture_a_SOURCES = capture/capture.c capture/capture-cli.c |
---|
20 | libcapture_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
21 | |
---|
22 | ## cpuuse |
---|
23 | EXTRA_DIST += cpuuse/README |
---|
24 | include_rtems_HEADERS += cpuuse/cpuuse.h |
---|
25 | |
---|
26 | noinst_LIBRARIES += libcpuuse.a |
---|
27 | libcpuuse_a_SOURCES = cpuuse/cpuuse.c |
---|
28 | libcpuuse_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
29 | |
---|
30 | ## devnull |
---|
31 | include_rtems_HEADERS += devnull/devnull.h |
---|
32 | |
---|
33 | noinst_LIBRARIES += libdevnull.a |
---|
34 | libdevnull_a_SOURCES = devnull/devnull.c |
---|
35 | libdevnull_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
36 | |
---|
37 | ## dummy |
---|
38 | EXTRA_DIST += dummy/README |
---|
39 | |
---|
40 | noinst_LIBRARIES += libdummy.a |
---|
41 | libdummy_a_SOURCES = dummy/dummy.c |
---|
42 | libdummy_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
43 | |
---|
44 | ## dumpbuf |
---|
45 | include_rtems_HEADERS += dumpbuf/dumpbuf.h |
---|
46 | |
---|
47 | noinst_LIBRARIES += libdumpbuf.a |
---|
48 | libdumpbuf_a_SOURCES = dumpbuf/dumpbuf.c |
---|
49 | libdumpbuf_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
50 | |
---|
51 | ## monitor |
---|
52 | |
---|
53 | include_rtems_HEADERS += monitor/monitor.h |
---|
54 | libmonitor_a_SOURCES = monitor/mon-command.c monitor/mon-symbols.c \ |
---|
55 | monitor/mon-prmisc.c monitor/mon-monitor.c monitor/mon-object.c \ |
---|
56 | monitor/mon-server.c monitor/mon-task.c monitor/mon-queue.c \ |
---|
57 | monitor/mon-driver.c monitor/mon-dname.c monitor/mon-itask.c \ |
---|
58 | monitor/mon-extension.c monitor/mon-manager.c monitor/mon-config.c \ |
---|
59 | monitor/symbols.h |
---|
60 | if HAS_MP |
---|
61 | libmonitor_a_SOURCES += monitor/mon-mpci.c |
---|
62 | endif |
---|
63 | |
---|
64 | noinst_LIBRARIES += libmonitor.a |
---|
65 | libmonitor_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
66 | |
---|
67 | EXTRA_DIST += monitor/README |
---|
68 | |
---|
69 | ## mw-fb |
---|
70 | include_rtems_HEADERS += mw-fb/mw_fb.h mw-fb/mw_uid.h |
---|
71 | |
---|
72 | noinst_LIBRARIES += libmw-fb.a |
---|
73 | libmw_fb_a_SOURCES = mw-fb/mw_fb.c mw-fb/mw_uid.c |
---|
74 | libmw_fb_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
75 | |
---|
76 | ## shell |
---|
77 | |
---|
78 | if LIBSHELL |
---|
79 | include_rtems_HEADERS += shell/shell.h |
---|
80 | |
---|
81 | noinst_LIBRARIES += libshell.a |
---|
82 | libshell_a_SOURCES = shell/cmds.c shell/shell.c |
---|
83 | libshell_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
84 | endif |
---|
85 | |
---|
86 | EXTRA_DIST += shell/README |
---|
87 | |
---|
88 | ## rtmonuse |
---|
89 | include_rtems_HEADERS += rtmonuse/rtmonuse.h |
---|
90 | |
---|
91 | noinst_LIBRARIES += librtmonuse.a |
---|
92 | librtmonuse_a_SOURCES = rtmonuse/rtmonuse.c |
---|
93 | librtmonuse_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
94 | |
---|
95 | ## serdbg |
---|
96 | |
---|
97 | if LIBSERDBG |
---|
98 | include_rtems_HEADERS += serdbg/serdbgcnf.h serdbg/serdbg.h \ |
---|
99 | serdbg/termios_printk_cnf.h serdbg/termios_printk.h |
---|
100 | |
---|
101 | noinst_LIBRARIES += libserdbg.a |
---|
102 | libserdbg_a_SOURCES = serdbg/serdbg.c serdbg/serdbgio.c \ |
---|
103 | serdbg/termios_printk.c |
---|
104 | libserdbg_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
105 | endif |
---|
106 | |
---|
107 | EXTRA_DIST += serdbg/README |
---|
108 | |
---|
109 | ## stackchk |
---|
110 | |
---|
111 | include_rtems_HEADERS += stackchk/stackchk.h |
---|
112 | |
---|
113 | noinst_LIBRARIES += libstackchk.a |
---|
114 | libstackchk_a_SOURCES = stackchk/check.c stackchk/internal.h |
---|
115 | libstackchk_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
116 | |
---|
117 | EXTRA_DIST += stackchk/README |
---|
118 | |
---|
119 | ## libuntar |
---|
120 | |
---|
121 | include_rtems_HEADERS += untar/untar.h |
---|
122 | |
---|
123 | noinst_LIBRARIES += libuntar.a |
---|
124 | libuntar_a_SOURCES = untar/untar.c |
---|
125 | libuntar_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
126 | |
---|
127 | EXTRA_DIST += untar/README |
---|
128 | |
---|
129 | ## fsmount |
---|
130 | include_rtems_HEADERS += fsmount/fsmount.h |
---|
131 | |
---|
132 | noinst_LIBRARIES += libfsmount.a |
---|
133 | libfsmount_a_SOURCES = fsmount/fsmount.c |
---|
134 | libfsmount_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
135 | |
---|
136 | EXTRA_DIST += fsmount/README |
---|
137 | |
---|
138 | ## --- |
---|
139 | |
---|
140 | all-local: $(PREINSTALL_FILES) |
---|
141 | |
---|
142 | PREINSTALL_DIRS = |
---|
143 | PREINSTALL_FILES = |
---|
144 | |
---|
145 | $(PROJECT_INCLUDE)/rtems/$(dirstamp): |
---|
146 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems |
---|
147 | @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
148 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
149 | |
---|
150 | $(PROJECT_INCLUDE)/rtems/capture.h: capture/capture.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
151 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture.h |
---|
152 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture.h |
---|
153 | |
---|
154 | $(PROJECT_INCLUDE)/rtems/capture-cli.h: capture/capture-cli.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
155 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture-cli.h |
---|
156 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture-cli.h |
---|
157 | |
---|
158 | $(PROJECT_INCLUDE)/rtems/cpuuse.h: cpuuse/cpuuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
159 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/cpuuse.h |
---|
160 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/cpuuse.h |
---|
161 | |
---|
162 | $(PROJECT_INCLUDE)/rtems/devnull.h: devnull/devnull.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
163 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/devnull.h |
---|
164 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/devnull.h |
---|
165 | |
---|
166 | $(PROJECT_INCLUDE)/rtems/dumpbuf.h: dumpbuf/dumpbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
167 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dumpbuf.h |
---|
168 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dumpbuf.h |
---|
169 | |
---|
170 | $(PROJECT_INCLUDE)/rtems/monitor.h: monitor/monitor.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
171 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/monitor.h |
---|
172 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/monitor.h |
---|
173 | |
---|
174 | $(PROJECT_INCLUDE)/rtems/mw_fb.h: mw-fb/mw_fb.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
175 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_fb.h |
---|
176 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_fb.h |
---|
177 | |
---|
178 | $(PROJECT_INCLUDE)/rtems/mw_uid.h: mw-fb/mw_uid.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
179 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_uid.h |
---|
180 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_uid.h |
---|
181 | |
---|
182 | if LIBSHELL |
---|
183 | $(PROJECT_INCLUDE)/rtems/shell.h: shell/shell.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
184 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/shell.h |
---|
185 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/shell.h |
---|
186 | endif |
---|
187 | |
---|
188 | $(PROJECT_INCLUDE)/rtems/rtmonuse.h: rtmonuse/rtmonuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
189 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtmonuse.h |
---|
190 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtmonuse.h |
---|
191 | |
---|
192 | if LIBSERDBG |
---|
193 | $(PROJECT_INCLUDE)/rtems/serdbgcnf.h: serdbg/serdbgcnf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
194 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/serdbgcnf.h |
---|
195 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/serdbgcnf.h |
---|
196 | |
---|
197 | $(PROJECT_INCLUDE)/rtems/serdbg.h: serdbg/serdbg.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
198 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/serdbg.h |
---|
199 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/serdbg.h |
---|
200 | |
---|
201 | $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h: serdbg/termios_printk_cnf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
202 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h |
---|
203 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h |
---|
204 | |
---|
205 | $(PROJECT_INCLUDE)/rtems/termios_printk.h: serdbg/termios_printk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
206 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/termios_printk.h |
---|
207 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termios_printk.h |
---|
208 | endif |
---|
209 | |
---|
210 | $(PROJECT_INCLUDE)/rtems/stackchk.h: stackchk/stackchk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
211 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stackchk.h |
---|
212 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stackchk.h |
---|
213 | |
---|
214 | $(PROJECT_INCLUDE)/rtems/untar.h: untar/untar.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
215 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/untar.h |
---|
216 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/untar.h |
---|
217 | |
---|
218 | $(PROJECT_INCLUDE)/rtems/fsmount.h: fsmount/fsmount.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
219 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fsmount.h |
---|
220 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fsmount.h |
---|
221 | |
---|
222 | CLEANFILES += $(PREINSTALL_FILES) |
---|
223 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
224 | |
---|
225 | include $(top_srcdir)/automake/local.am |
---|