source: rtems/cpukit/libmisc/Makefile.am @ bf9ea48

4.104.114.84.95
Last change on this file since bf9ea48 was bf9ea48, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 11, 2004 at 5:45:29 AM

2004-01-11 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Include compile.am again. Misc fixes.
  • Property mode set to 100644
File size: 10.1 KB
Line 
1##
2##  $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6
7EXTRA_DIST = README
8
9AM_CPPFLAGS += -I$(top_builddir)
10
11include_rtemsdir = $(includedir)/rtems
12include_HEADERS =
13include_rtems_HEADERS =
14EXTRA_LIBRARIES =
15TMP_LIBS =
16CLEANFILES =
17
18## capture
19EXTRA_DIST += capture/README
20include_rtems_HEADERS += capture/capture.h capture/capture-cli.h
21
22EXTRA_LIBRARIES += libcapture.a
23CLEANFILES += libcapture.a
24libcapture_a_SOURCES = capture/capture.c capture/capture-cli.c
25libcapture_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
26
27EXTRA_LIBRARIES += libcapture_g.a
28CLEANFILES += libcapture_g.a
29libcapture_g_a_SOURCES = $(libcapture_a_SOURCES)
30libcapture_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
31
32TMP_LIBS += libcapture$(LIB_VARIANT).a
33
34## cpuuse
35EXTRA_DIST += cpuuse/README
36include_rtems_HEADERS += cpuuse/cpuuse.h
37
38EXTRA_LIBRARIES += libcpuuse.a
39CLEANFILES += libcpuuse.a
40libcpuuse_a_SOURCES = cpuuse/cpuuse.c
41libcpuuse_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
42
43EXTRA_LIBRARIES += libcpuuse_g.a
44CLEANFILES += libcpuuse_g.a
45libcpuuse_g_a_SOURCES = $(libcpuuse_a_SOURCES)
46libcpuuse_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
47
48TMP_LIBS += libcpuuse$(LIB_VARIANT).a
49
50## devnull
51include_rtems_HEADERS += devnull/devnull.h
52
53EXTRA_LIBRARIES += libdevnull.a
54CLEANFILES += libdevnull.a
55libdevnull_a_SOURCES = devnull/devnull.c
56libdevnull_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
57
58EXTRA_LIBRARIES += libdevnull_g.a
59CLEANFILES += libdevnull_g.a
60libdevnull_g_a_SOURCES = $(libdevnull_a_SOURCES)
61libdevnull_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
62
63TMP_LIBS += libdevnull$(LIB_VARIANT).a
64
65## dummy
66EXTRA_DIST += dummy/README
67
68EXTRA_LIBRARIES += libdummy.a
69CLEANFILES += libdummy.a
70libdummy_a_SOURCES = dummy/dummy.c
71libdummy_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
72
73EXTRA_LIBRARIES += libdummy_g.a
74CLEANFILES += libdummy_g.a
75libdummy_g_a_SOURCES = $(libdummy_a_SOURCES)
76libdummy_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
77
78TMP_LIBS += libdummy$(LIB_VARIANT).a
79
80## dumpbuf
81include_rtems_HEADERS += dumpbuf/dumpbuf.h
82
83EXTRA_LIBRARIES += libdumpbuf.a
84CLEANFILES += libdumpbuf.a
85libdumpbuf_a_SOURCES = dumpbuf/dumpbuf.c
86libdumpbuf_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
87
88EXTRA_LIBRARIES += libdumpbuf_g.a
89CLEANFILES += libdumpbuf_g.a
90libdumpbuf_g_a_SOURCES = $(libdumpbuf_a_SOURCES)
91libdumpbuf_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
92
93TMP_LIBS += libdumpbuf$(LIB_VARIANT).a
94
95## monitor
96
97include_rtems_HEADERS += monitor/monitor.h
98libmonitor_a_SOURCES = monitor/mon-command.c monitor/mon-symbols.c \
99    monitor/mon-prmisc.c monitor/mon-monitor.c monitor/mon-object.c \
100    monitor/mon-server.c monitor/mon-task.c monitor/mon-queue.c \
101    monitor/mon-driver.c monitor/mon-dname.c monitor/mon-itask.c \
102    monitor/mon-extension.c monitor/mon-manager.c monitor/mon-config.c \
103    monitor/symbols.h
104if HAS_MP
105libmonitor_a_SOURCES += monitor/mon-mpci.c
106endif
107
108EXTRA_LIBRARIES += libmonitor.a
109CLEANFILES += libmonitor.a
110libmonitor_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
111
112EXTRA_LIBRARIES += libmonitor_g.a
113CLEANFILES += libmonitor_g.a
114libmonitor_g_a_SOURCES = $(libmonitor_a_SOURCES)
115libmonitor_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
116
117EXTRA_DIST += monitor/README
118
119TMP_LIBS += libmonitor$(LIB_VARIANT).a
120
121## mw-fb
122include_rtems_HEADERS += mw-fb/mw_fb.h mw-fb/mw_uid.h
123
124EXTRA_LIBRARIES += libmw-fb.a
125CLEANFILES += libmw-fb.a
126libmw_fb_a_SOURCES = mw-fb/mw_fb.c mw-fb/mw_uid.c
127libmw_fb_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
128
129EXTRA_LIBRARIES += libmw-fb_g.a
130CLEANFILES += libmw-fb_g.a
131libmw_fb_g_a_SOURCES = $(libmw_fb_a_SOURCES)
132libmw_fb_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
133
134TMP_LIBS += libmw-fb$(LIB_VARIANT).a
135
136## shell
137
138if LIBSHELL
139include_rtems_HEADERS += shell/shell.h
140
141EXTRA_LIBRARIES += libshell.a
142CLEANFILES += libshell.a
143libshell_a_SOURCES = shell/cmds.c shell/shell.c
144libshell_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
145
146EXTRA_LIBRARIES += libshell_g.a
147CLEANFILES += libshell_g.a
148libshell_g_a_SOURCES = $(libshell_a_SOURCES)
149libshell_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
150
151TMP_LIBS += libshell$(LIB_VARIANT).a
152endif
153
154EXTRA_DIST += shell/README
155
156## rtmonuse
157include_rtems_HEADERS += rtmonuse/rtmonuse.h
158
159EXTRA_LIBRARIES += librtmonuse.a
160CLEANFILES += librtmonuse.a
161librtmonuse_a_SOURCES = rtmonuse/rtmonuse.c
162librtmonuse_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
163
164EXTRA_LIBRARIES += librtmonuse_g.a
165CLEANFILES += librtmonuse_g.a
166librtmonuse_g_a_SOURCES = $(librtmonuse_a_SOURCES)
167librtmonuse_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
168
169TMP_LIBS += librtmonuse$(LIB_VARIANT).a
170
171## serdbg
172
173if LIBSERDBG
174include_HEADERS += serdbg/serdbgcnf.h serdbg/serdbg.h \
175    serdbg/termios_printk_cnf.h serdbg/termios_printk.h
176
177EXTRA_LIBRARIES += libserdbg.a
178CLEANFILES += libserdbg.a
179libserdbg_a_SOURCES = serdbg/serdbg.c serdbg/serdbgio.c \
180    serdbg/termios_printk.c
181libserdbg_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
182
183EXTRA_LIBRARIES += libserdbg_g.a
184CLEANFILES += libserdbg_g.a
185libserdbg_g_a_SOURCES = $(libserdbg_a_SOURCES)
186libserdbg_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
187
188TMP_LIBS += libserdbg$(LIB_VARIANT).a
189endif
190
191EXTRA_DIST += serdbg/README
192
193## stackchk
194
195include_rtems_HEADERS += stackchk/stackchk.h
196
197EXTRA_LIBRARIES += libstackchk.a
198CLEANFILES += libstackchk.a
199libstackchk_a_SOURCES = stackchk/check.c stackchk/internal.h
200libstackchk_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
201
202EXTRA_LIBRARIES += libstackchk_g.a
203CLEANFILES += libstackchk_g.a
204libstackchk_g_a_SOURCES = $(libstackchk_a_SOURCES)
205libstackchk_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
206
207TMP_LIBS += libstackchk$(LIB_VARIANT).a
208EXTRA_DIST += stackchk/README
209
210## libuntar
211
212include_rtems_HEADERS += untar/untar.h
213
214EXTRA_LIBRARIES += libuntar.a
215CLEANFILES += libuntar.a
216libuntar_a_SOURCES = untar/untar.c
217libuntar_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
218
219EXTRA_LIBRARIES += libuntar_g.a
220CLEANFILES += libuntar_g.a
221libuntar_g_a_SOURCES = $(libuntar_a_SOURCES)
222libuntar_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
223
224TMP_LIBS += libuntar$(LIB_VARIANT).a
225
226EXTRA_DIST += untar/README
227
228## fsmount
229include_rtems_HEADERS += fsmount/fsmount.h
230
231EXTRA_LIBRARIES += libfsmount.a
232CLEANFILES += libfsmount.a
233libfsmount_a_SOURCES = fsmount/fsmount.c
234libfsmount_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
235
236EXTRA_LIBRARIES += libfsmount_g.a
237CLEANFILES += libfsmount_g.a
238libfsmount_g_a_SOURCES = $(libfsmount_a_SOURCES)
239libfsmount_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
240
241TMP_LIBS += libfsmount$(LIB_VARIANT).a
242
243EXTRA_DIST += fsmount/README
244
245## ---
246
247all-local: $(PREINSTALL_FILES) $(TMP_LIBS)
248
249PREINSTALL_FILES =
250
251$(PROJECT_INCLUDE)/$(dirstamp):
252        @$(mkdir_p) $(PROJECT_INCLUDE)
253        @: > $(PROJECT_INCLUDE)/$(dirstamp)
254
255$(PROJECT_INCLUDE)/rtems/$(dirstamp):
256        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
257        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
258
259$(PROJECT_INCLUDE)/rtems/capture.h: capture/capture.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
260        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture.h
261PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture.h
262
263$(PROJECT_INCLUDE)/rtems/capture-cli.h: capture/capture-cli.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
264        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture-cli.h
265PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture-cli.h
266
267$(PROJECT_INCLUDE)/rtems/cpuuse.h: cpuuse/cpuuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
268        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/cpuuse.h
269PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/cpuuse.h
270
271$(PROJECT_INCLUDE)/rtems/devnull.h: devnull/devnull.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
272        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/devnull.h
273PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/devnull.h
274
275$(PROJECT_INCLUDE)/rtems/dumpbuf.h: dumpbuf/dumpbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
276        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dumpbuf.h
277PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dumpbuf.h
278
279$(PROJECT_INCLUDE)/rtems/monitor.h: monitor/monitor.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
280        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/monitor.h
281PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/monitor.h
282
283$(PROJECT_INCLUDE)/rtems/mw_fb.h: mw-fb/mw_fb.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
284        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_fb.h
285PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_fb.h
286
287$(PROJECT_INCLUDE)/rtems/mw_uid.h: mw-fb/mw_uid.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
288        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_uid.h
289PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_uid.h
290
291if LIBSHELL
292$(PROJECT_INCLUDE)/rtems/shell.h: shell/shell.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
293        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/shell.h
294PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/shell.h
295endif
296
297$(PROJECT_INCLUDE)/rtems/rtmonuse.h: rtmonuse/rtmonuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
298        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtmonuse.h
299PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtmonuse.h
300
301if LIBSERDBG
302$(PROJECT_INCLUDE)/serdbgcnf.h: serdbg/serdbgcnf.h $(PROJECT_INCLUDE)/$(dirstamp)
303        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/serdbgcnf.h
304PREINSTALL_FILES += $(PROJECT_INCLUDE)/serdbgcnf.h
305
306$(PROJECT_INCLUDE)/serdbg.h: serdbg/serdbg.h $(PROJECT_INCLUDE)/$(dirstamp)
307        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/serdbg.h
308PREINSTALL_FILES += $(PROJECT_INCLUDE)/serdbg.h
309
310$(PROJECT_INCLUDE)/termios_printk_cnf.h: serdbg/termios_printk_cnf.h $(PROJECT_INCLUDE)/$(dirstamp)
311        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/termios_printk_cnf.h
312PREINSTALL_FILES += $(PROJECT_INCLUDE)/termios_printk_cnf.h
313
314$(PROJECT_INCLUDE)/termios_printk.h: serdbg/termios_printk.h $(PROJECT_INCLUDE)/$(dirstamp)
315        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/termios_printk.h
316PREINSTALL_FILES += $(PROJECT_INCLUDE)/termios_printk.h
317endif
318
319$(PROJECT_INCLUDE)/rtems/stackchk.h: stackchk/stackchk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
320        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stackchk.h
321PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stackchk.h
322
323$(PROJECT_INCLUDE)/rtems/untar.h: untar/untar.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
324        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/untar.h
325PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/untar.h
326
327$(PROJECT_INCLUDE)/rtems/fsmount.h: fsmount/fsmount.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
328        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fsmount.h
329PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fsmount.h
330
331include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.