source: rtems/cpukit/Makefile.am @ e18080ab

4.104.114.84.95
Last change on this file since e18080ab was e18080ab, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 27, 2005 at 6:42:37 AM

2005-01-27 Ralf Corsepius <ralf.corsepius@…>

  • libcsupport/include/tar.h: New (SUSv3).
  • Makefile.am: Integrate newlib-specific headers. Add libcsupport/include/tar.h.
  • libcsupport/Makefile.am: Remove newlib-specific headers.
  • Property mode set to 100644
File size: 9.6 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I aclocal
6
7include $(top_srcdir)/automake/compile.am
8include $(top_srcdir)/automake/multilib.am
9
10SUBDIRS = . ada score rtems sapi posix itron
11SUBDIRS += libcsupport libblock libfs
12SUBDIRS += libnetworking librpc
13SUBDIRS += libmisc
14SUBDIRS += httpd
15SUBDIRS += wrapup
16
17noinst_DATA = preinstall-stamp
18
19preinstall-stamp:
20        $(MAKE) $(AM_MAKEFLAGS) preinstall
21        touch preinstall-stamp
22CLEANFILES = preinstall-stamp
23
24include_HEADERS =
25
26if DEPRECATED
27include_HEADERS += backward/asm.h backward/chain.h backward/clockdrv.h \
28    backward/confdefs.h backward/console.h backward/imfs.h backward/iosupp.h \
29    backward/ringbuf.h backward/rtc.h backward/spurious.h \
30    backward/timerdrv.h backward/vmeintr.h
31
32include_motoroladir = $(includedir)/motorola
33include_motorola_HEADERS = backward/motorola/mc68681.h \
34    backward/motorola/mc68230.h
35
36include_zilogdir = $(includedir)/zilog
37include_zilog_HEADERS = backward/zilog/z8536.h backward/zilog/z8036.h \
38    backward/zilog/z8030.h
39
40if !UNIX
41include_HEADERS += backward/dosfs.h
42endif
43
44if HAS_ITRON
45include_HEADERS += backward/itron.h
46endif
47endif
48
49if NEWLIB
50include_sysdir = $(includedir)/sys
51include_sys_HEADERS =
52
53include_HEADERS += libcsupport/include/stdint.h
54include_HEADERS += libcsupport/include/inttypes.h
55include_HEADERS += libcsupport/include/tar.h
56
57include_sys_HEADERS += libcsupport/include/sys/ioccom.h \
58    libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \
59    libcsupport/include/sys/sockio.h libcsupport/include/sys/ttycom.h \
60    libcsupport/include/sys/termios.h libcsupport/include/sys/utsname.h \
61    libcsupport/include/sys/cdefs.h
62endif
63
64include_rtemsdir = $(includedir)/rtems
65include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \
66    include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \
67    include/rtems/concat.h
68
69PREINSTALL_DIRS =
70PREINSTALL_FILES =
71
72$(PROJECT_INCLUDE)/$(dirstamp):
73        @$(mkdir_p) $(PROJECT_INCLUDE)
74        @: > $(PROJECT_INCLUDE)/$(dirstamp)
75PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
76
77if DEPRECATED
78$(PROJECT_INCLUDE)/asm.h: backward/asm.h $(PROJECT_INCLUDE)/$(dirstamp)
79        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h
80PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
81
82$(PROJECT_INCLUDE)/chain.h: backward/chain.h $(PROJECT_INCLUDE)/$(dirstamp)
83        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/chain.h
84PREINSTALL_FILES += $(PROJECT_INCLUDE)/chain.h
85
86$(PROJECT_INCLUDE)/clockdrv.h: backward/clockdrv.h $(PROJECT_INCLUDE)/$(dirstamp)
87        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/clockdrv.h
88PREINSTALL_FILES += $(PROJECT_INCLUDE)/clockdrv.h
89
90$(PROJECT_INCLUDE)/confdefs.h: backward/confdefs.h $(PROJECT_INCLUDE)/$(dirstamp)
91        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/confdefs.h
92PREINSTALL_FILES += $(PROJECT_INCLUDE)/confdefs.h
93
94$(PROJECT_INCLUDE)/console.h: backward/console.h $(PROJECT_INCLUDE)/$(dirstamp)
95        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/console.h
96PREINSTALL_FILES += $(PROJECT_INCLUDE)/console.h
97
98$(PROJECT_INCLUDE)/imfs.h: backward/imfs.h $(PROJECT_INCLUDE)/$(dirstamp)
99        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/imfs.h
100PREINSTALL_FILES += $(PROJECT_INCLUDE)/imfs.h
101
102$(PROJECT_INCLUDE)/iosupp.h: backward/iosupp.h $(PROJECT_INCLUDE)/$(dirstamp)
103        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/iosupp.h
104PREINSTALL_FILES += $(PROJECT_INCLUDE)/iosupp.h
105
106$(PROJECT_INCLUDE)/ringbuf.h: backward/ringbuf.h $(PROJECT_INCLUDE)/$(dirstamp)
107        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ringbuf.h
108PREINSTALL_FILES += $(PROJECT_INCLUDE)/ringbuf.h
109
110$(PROJECT_INCLUDE)/rtc.h: backward/rtc.h $(PROJECT_INCLUDE)/$(dirstamp)
111        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtc.h
112PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtc.h
113
114$(PROJECT_INCLUDE)/spurious.h: backward/spurious.h $(PROJECT_INCLUDE)/$(dirstamp)
115        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spurious.h
116PREINSTALL_FILES += $(PROJECT_INCLUDE)/spurious.h
117
118$(PROJECT_INCLUDE)/timerdrv.h: backward/timerdrv.h $(PROJECT_INCLUDE)/$(dirstamp)
119        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/timerdrv.h
120PREINSTALL_FILES += $(PROJECT_INCLUDE)/timerdrv.h
121
122$(PROJECT_INCLUDE)/vmeintr.h: backward/vmeintr.h $(PROJECT_INCLUDE)/$(dirstamp)
123        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vmeintr.h
124PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h
125
126$(PROJECT_INCLUDE)/motorola/$(dirstamp):
127        @$(mkdir_p) $(PROJECT_INCLUDE)/motorola
128        @: > $(PROJECT_INCLUDE)/motorola/$(dirstamp)
129PREINSTALL_DIRS += $(PROJECT_INCLUDE)/motorola/$(dirstamp)
130
131$(PROJECT_INCLUDE)/motorola/mc68681.h: backward/motorola/mc68681.h $(PROJECT_INCLUDE)/motorola/$(dirstamp)
132        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/motorola/mc68681.h
133PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola/mc68681.h
134
135$(PROJECT_INCLUDE)/motorola/mc68230.h: backward/motorola/mc68230.h $(PROJECT_INCLUDE)/motorola/$(dirstamp)
136        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/motorola/mc68230.h
137PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola/mc68230.h
138
139$(PROJECT_INCLUDE)/zilog/$(dirstamp):
140        @$(mkdir_p) $(PROJECT_INCLUDE)/zilog
141        @: > $(PROJECT_INCLUDE)/zilog/$(dirstamp)
142PREINSTALL_DIRS += $(PROJECT_INCLUDE)/zilog/$(dirstamp)
143
144$(PROJECT_INCLUDE)/zilog/z8536.h: backward/zilog/z8536.h $(PROJECT_INCLUDE)/zilog/$(dirstamp)
145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/zilog/z8536.h
146PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8536.h
147
148$(PROJECT_INCLUDE)/zilog/z8036.h: backward/zilog/z8036.h $(PROJECT_INCLUDE)/zilog/$(dirstamp)
149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/zilog/z8036.h
150PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8036.h
151
152$(PROJECT_INCLUDE)/zilog/z8030.h: backward/zilog/z8030.h $(PROJECT_INCLUDE)/zilog/$(dirstamp)
153        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/zilog/z8030.h
154PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8030.h
155
156if !UNIX
157$(PROJECT_INCLUDE)/dosfs.h: backward/dosfs.h $(PROJECT_INCLUDE)/$(dirstamp)
158        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/dosfs.h
159PREINSTALL_FILES += $(PROJECT_INCLUDE)/dosfs.h
160endif
161
162if HAS_ITRON
163$(PROJECT_INCLUDE)/itron.h: backward/itron.h $(PROJECT_INCLUDE)/$(dirstamp)
164        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itron.h
165PREINSTALL_FILES += $(PROJECT_INCLUDE)/itron.h
166endif
167endif
168
169if NEWLIB
170$(PROJECT_INCLUDE)/sys/$(dirstamp):
171        @$(mkdir_p) $(PROJECT_INCLUDE)/sys
172        @: > $(PROJECT_INCLUDE)/sys/$(dirstamp)
173PREINSTALL_DIRS += $(PROJECT_INCLUDE)/sys/$(dirstamp)
174
175$(PROJECT_INCLUDE)/stdint.h: libcsupport/include/stdint.h $(PROJECT_INCLUDE)/$(dirstamp)
176        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/stdint.h
177PREINSTALL_FILES += $(PROJECT_INCLUDE)/stdint.h
178
179$(PROJECT_INCLUDE)/inttypes.h: libcsupport/include/inttypes.h $(PROJECT_INCLUDE)/$(dirstamp)
180        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/inttypes.h
181PREINSTALL_FILES += $(PROJECT_INCLUDE)/inttypes.h
182
183$(PROJECT_INCLUDE)/tar.h: libcsupport/include/tar.h $(PROJECT_INCLUDE)/$(dirstamp)
184        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tar.h
185PREINSTALL_FILES += $(PROJECT_INCLUDE)/tar.h
186
187$(PROJECT_INCLUDE)/sys/ioccom.h: libcsupport/include/sys/ioccom.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
188        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ioccom.h
189PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ioccom.h
190
191$(PROJECT_INCLUDE)/sys/filio.h: libcsupport/include/sys/filio.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
192        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/filio.h
193PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/filio.h
194
195$(PROJECT_INCLUDE)/sys/ioctl.h: libcsupport/include/sys/ioctl.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
196        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ioctl.h
197PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ioctl.h
198
199$(PROJECT_INCLUDE)/sys/sockio.h: libcsupport/include/sys/sockio.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
200        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/sockio.h
201PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/sockio.h
202
203$(PROJECT_INCLUDE)/sys/ttycom.h: libcsupport/include/sys/ttycom.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
204        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/ttycom.h
205PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/ttycom.h
206
207$(PROJECT_INCLUDE)/sys/termios.h: libcsupport/include/sys/termios.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
208        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/termios.h
209PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/termios.h
210
211$(PROJECT_INCLUDE)/sys/utsname.h: libcsupport/include/sys/utsname.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
212        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/utsname.h
213PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/utsname.h
214
215$(PROJECT_INCLUDE)/sys/cdefs.h: libcsupport/include/sys/cdefs.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
216        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/cdefs.h
217PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/cdefs.h
218endif
219
220$(PROJECT_INCLUDE)/rtems/$(dirstamp):
221        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
222        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
223PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
224
225$(PROJECT_INCLUDE)/rtems/bspIo.h: include/rtems/bspIo.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
226        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bspIo.h
227PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspIo.h
228
229$(PROJECT_INCLUDE)/rtems/userenv.h: include/rtems/userenv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
230        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/userenv.h
231PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/userenv.h
232
233$(PROJECT_INCLUDE)/rtems/fs.h: include/rtems/fs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
234        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fs.h
235PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fs.h
236
237$(PROJECT_INCLUDE)/rtems/pci.h: include/rtems/pci.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
238        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pci.h
239PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pci.h
240
241$(PROJECT_INCLUDE)/rtems/stdint.h: include/rtems/stdint.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
242        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stdint.h
243PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stdint.h
244
245$(PROJECT_INCLUDE)/rtems/concat.h: include/rtems/concat.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
246        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/concat.h
247PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/concat.h
248
249CLEANFILES += $(PREINSTALL_FILES)
250DISTCLEANFILES = $(PREINSTALL_DIRS)
251
252include $(top_srcdir)/automake/subdirs.am
253include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.