[811804fe] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
[e1d8abb] | 4 | |
---|
[54d540f] | 5 | ACLOCAL_AMFLAGS = -I aclocal |
---|
[e1d8abb] | 6 | |
---|
[2f4c86f] | 7 | include $(top_srcdir)/automake/compile.am |
---|
[54d540f] | 8 | include $(top_srcdir)/automake/multilib.am |
---|
[989b938] | 9 | |
---|
[71e66df] | 10 | SUBDIRS = . ada score rtems sapi posix itron |
---|
[07da959] | 11 | SUBDIRS += libcsupport libblock libfs |
---|
[da0fc5d] | 12 | SUBDIRS += libnetworking librpc |
---|
[e30210ea] | 13 | SUBDIRS += libmisc |
---|
[be4bd26] | 14 | SUBDIRS += httpd |
---|
[e30210ea] | 15 | SUBDIRS += wrapup |
---|
[c16dcbc8] | 16 | |
---|
| 17 | noinst_DATA = preinstall-stamp |
---|
| 18 | |
---|
| 19 | preinstall-stamp: |
---|
| 20 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
| 21 | touch preinstall-stamp |
---|
[532fad28] | 22 | CLEANFILES = preinstall-stamp |
---|
[e1d8abb] | 23 | |
---|
[f8284c95] | 24 | include_HEADERS = |
---|
| 25 | |
---|
| 26 | if DEPRECATED |
---|
| 27 | include_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 |
---|
[30f66299] | 31 | |
---|
[a59e6c0] | 32 | include_motoroladir = $(includedir)/motorola |
---|
| 33 | include_motorola_HEADERS = backward/motorola/mc68681.h \ |
---|
| 34 | backward/motorola/mc68230.h |
---|
| 35 | |
---|
| 36 | include_zilogdir = $(includedir)/zilog |
---|
| 37 | include_zilog_HEADERS = backward/zilog/z8536.h backward/zilog/z8036.h \ |
---|
| 38 | backward/zilog/z8030.h |
---|
| 39 | |
---|
[30f66299] | 40 | if !UNIX |
---|
| 41 | include_HEADERS += backward/dosfs.h |
---|
| 42 | endif |
---|
| 43 | |
---|
| 44 | if HAS_ITRON |
---|
| 45 | include_HEADERS += backward/itron.h |
---|
| 46 | endif |
---|
[f8284c95] | 47 | endif |
---|
[30f66299] | 48 | |
---|
[e18080ab] | 49 | if NEWLIB |
---|
| 50 | include_sysdir = $(includedir)/sys |
---|
| 51 | include_sys_HEADERS = |
---|
| 52 | |
---|
| 53 | include_HEADERS += libcsupport/include/stdint.h |
---|
| 54 | include_HEADERS += libcsupport/include/inttypes.h |
---|
| 55 | include_HEADERS += libcsupport/include/tar.h |
---|
| 56 | |
---|
| 57 | include_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 |
---|
| 62 | endif |
---|
| 63 | |
---|
[71e66df] | 64 | include_rtemsdir = $(includedir)/rtems |
---|
| 65 | include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
[2f4c86f] | 66 | include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \ |
---|
| 67 | include/rtems/concat.h |
---|
[b6b3cf5] | 68 | |
---|
[3d1de20] | 69 | PREINSTALL_DIRS = |
---|
[6547cf0] | 70 | PREINSTALL_FILES = |
---|
| 71 | |
---|
[30f66299] | 72 | $(PROJECT_INCLUDE)/$(dirstamp): |
---|
| 73 | @$(mkdir_p) $(PROJECT_INCLUDE) |
---|
| 74 | @: > $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 75 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 76 | |
---|
[f8284c95] | 77 | if DEPRECATED |
---|
[30f66299] | 78 | $(PROJECT_INCLUDE)/asm.h: backward/asm.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 79 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h |
---|
| 80 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h |
---|
| 81 | |
---|
| 82 | $(PROJECT_INCLUDE)/chain.h: backward/chain.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 83 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/chain.h |
---|
| 84 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/chain.h |
---|
| 85 | |
---|
| 86 | $(PROJECT_INCLUDE)/clockdrv.h: backward/clockdrv.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 87 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/clockdrv.h |
---|
| 88 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/clockdrv.h |
---|
| 89 | |
---|
[f8284c95] | 90 | $(PROJECT_INCLUDE)/confdefs.h: backward/confdefs.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 91 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/confdefs.h |
---|
| 92 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/confdefs.h |
---|
| 93 | |
---|
[30f66299] | 94 | $(PROJECT_INCLUDE)/console.h: backward/console.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 95 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/console.h |
---|
| 96 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/console.h |
---|
| 97 | |
---|
| 98 | $(PROJECT_INCLUDE)/imfs.h: backward/imfs.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 99 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/imfs.h |
---|
| 100 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/imfs.h |
---|
| 101 | |
---|
| 102 | $(PROJECT_INCLUDE)/iosupp.h: backward/iosupp.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 103 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/iosupp.h |
---|
| 104 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/iosupp.h |
---|
| 105 | |
---|
| 106 | $(PROJECT_INCLUDE)/ringbuf.h: backward/ringbuf.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 107 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ringbuf.h |
---|
| 108 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/ringbuf.h |
---|
| 109 | |
---|
| 110 | $(PROJECT_INCLUDE)/rtc.h: backward/rtc.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 111 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtc.h |
---|
| 112 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtc.h |
---|
| 113 | |
---|
| 114 | $(PROJECT_INCLUDE)/spurious.h: backward/spurious.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 115 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spurious.h |
---|
| 116 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/spurious.h |
---|
| 117 | |
---|
| 118 | $(PROJECT_INCLUDE)/timerdrv.h: backward/timerdrv.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 119 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/timerdrv.h |
---|
| 120 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/timerdrv.h |
---|
| 121 | |
---|
| 122 | $(PROJECT_INCLUDE)/vmeintr.h: backward/vmeintr.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 123 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vmeintr.h |
---|
| 124 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h |
---|
| 125 | |
---|
[a59e6c0] | 126 | $(PROJECT_INCLUDE)/motorola/$(dirstamp): |
---|
| 127 | @$(mkdir_p) $(PROJECT_INCLUDE)/motorola |
---|
| 128 | @: > $(PROJECT_INCLUDE)/motorola/$(dirstamp) |
---|
| 129 | PREINSTALL_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 |
---|
| 133 | PREINSTALL_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 |
---|
| 137 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola/mc68230.h |
---|
| 138 | |
---|
| 139 | $(PROJECT_INCLUDE)/zilog/$(dirstamp): |
---|
| 140 | @$(mkdir_p) $(PROJECT_INCLUDE)/zilog |
---|
| 141 | @: > $(PROJECT_INCLUDE)/zilog/$(dirstamp) |
---|
| 142 | PREINSTALL_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 |
---|
| 146 | PREINSTALL_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 |
---|
| 150 | PREINSTALL_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 |
---|
| 154 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog/z8030.h |
---|
| 155 | |
---|
[30f66299] | 156 | if !UNIX |
---|
| 157 | $(PROJECT_INCLUDE)/dosfs.h: backward/dosfs.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 158 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/dosfs.h |
---|
| 159 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/dosfs.h |
---|
| 160 | endif |
---|
| 161 | |
---|
| 162 | if HAS_ITRON |
---|
| 163 | $(PROJECT_INCLUDE)/itron.h: backward/itron.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
| 164 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itron.h |
---|
| 165 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/itron.h |
---|
| 166 | endif |
---|
[f8284c95] | 167 | endif |
---|
[30f66299] | 168 | |
---|
[e18080ab] | 169 | if NEWLIB |
---|
| 170 | $(PROJECT_INCLUDE)/sys/$(dirstamp): |
---|
| 171 | @$(mkdir_p) $(PROJECT_INCLUDE)/sys |
---|
| 172 | @: > $(PROJECT_INCLUDE)/sys/$(dirstamp) |
---|
| 173 | PREINSTALL_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 |
---|
| 177 | PREINSTALL_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 |
---|
| 181 | PREINSTALL_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 |
---|
| 185 | PREINSTALL_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 |
---|
| 189 | PREINSTALL_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 |
---|
| 193 | PREINSTALL_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 |
---|
| 197 | PREINSTALL_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 |
---|
| 201 | PREINSTALL_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 |
---|
| 205 | PREINSTALL_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 |
---|
| 209 | PREINSTALL_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 |
---|
| 213 | PREINSTALL_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 |
---|
| 217 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/cdefs.h |
---|
| 218 | endif |
---|
| 219 | |
---|
[6041409] | 220 | $(PROJECT_INCLUDE)/rtems/$(dirstamp): |
---|
[b0805d8] | 221 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems |
---|
[6041409] | 222 | @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
[3d1de20] | 223 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
[6547cf0] | 224 | |
---|
[6041409] | 225 | $(PROJECT_INCLUDE)/rtems/bspIo.h: include/rtems/bspIo.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
| 226 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bspIo.h |
---|
[6547cf0] | 227 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspIo.h |
---|
| 228 | |
---|
[6041409] | 229 | $(PROJECT_INCLUDE)/rtems/userenv.h: include/rtems/userenv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
| 230 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/userenv.h |
---|
[6547cf0] | 231 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/userenv.h |
---|
| 232 | |
---|
[6041409] | 233 | $(PROJECT_INCLUDE)/rtems/fs.h: include/rtems/fs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
| 234 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fs.h |
---|
[6547cf0] | 235 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fs.h |
---|
| 236 | |
---|
[2f4c86f] | 237 | $(PROJECT_INCLUDE)/rtems/pci.h: include/rtems/pci.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
| 238 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pci.h |
---|
| 239 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pci.h |
---|
| 240 | |
---|
[6041409] | 241 | $(PROJECT_INCLUDE)/rtems/stdint.h: include/rtems/stdint.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
| 242 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stdint.h |
---|
[6547cf0] | 243 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stdint.h |
---|
| 244 | |
---|
[2f4c86f] | 245 | $(PROJECT_INCLUDE)/rtems/concat.h: include/rtems/concat.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
| 246 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/concat.h |
---|
| 247 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/concat.h |
---|
| 248 | |
---|
[5c24afe9] | 249 | CLEANFILES += $(PREINSTALL_FILES) |
---|
[3d1de20] | 250 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
[5c24afe9] | 251 | |
---|
[54d540f] | 252 | include $(top_srcdir)/automake/subdirs.am |
---|
| 253 | include $(top_srcdir)/automake/local.am |
---|