[54d540f] | 1 | ACLOCAL_AMFLAGS = -I aclocal |
---|
[e1d8abb] | 2 | |
---|
[2f4c86f] | 3 | include $(top_srcdir)/automake/compile.am |
---|
[54d540f] | 4 | include $(top_srcdir)/automake/multilib.am |
---|
[989b938] | 5 | |
---|
[aa40f6f] | 6 | # librtemscpu |
---|
[fce31ab] | 7 | SUBDIRS = . score rtems sapi posix |
---|
[b6f21886] | 8 | SUBDIRS += dev |
---|
[175263e] | 9 | SUBDIRS += dtc/libfdt |
---|
[4466321] | 10 | SUBDIRS += libcrypt |
---|
[07da959] | 11 | SUBDIRS += libcsupport libblock libfs |
---|
[e7fade3] | 12 | SUBDIRS += libdrvmgr |
---|
[da0fc5d] | 13 | SUBDIRS += libnetworking librpc |
---|
[a31845f7] | 14 | SUBDIRS += libpci |
---|
[6339f467] | 15 | SUBDIRS += libi2c |
---|
[e30210ea] | 16 | SUBDIRS += libmisc |
---|
[a70b07b] | 17 | SUBDIRS += libmd |
---|
[db27544] | 18 | SUBDIRS += libgnat |
---|
[ae5fe7e6] | 19 | SUBDIRS += libdl |
---|
[cff773f] | 20 | SUBDIRS += libstdthreads |
---|
[aa40f6f] | 21 | SUBDIRS += wrapup |
---|
| 22 | |
---|
[fa645f6] | 23 | SUBDIRS += zlib |
---|
| 24 | |
---|
[aa40f6f] | 25 | # applications |
---|
[f26145b] | 26 | SUBDIRS += ftpd |
---|
[8280caa4] | 27 | SUBDIRS += telnetd |
---|
[c5bb2a4e] | 28 | SUBDIRS += pppd |
---|
[1eefa75] | 29 | SUBDIRS += mghttpd |
---|
[c16dcbc8] | 30 | |
---|
[6265b83] | 31 | noinst_DATA = preinstall-stamp |
---|
[c16dcbc8] | 32 | preinstall-stamp: |
---|
| 33 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
| 34 | touch preinstall-stamp |
---|
[dbe8e519] | 35 | CLEANFILES = preinstall-stamp |
---|
[e1d8abb] | 36 | |
---|
[f8284c95] | 37 | include_HEADERS = |
---|
| 38 | |
---|
[6265b83] | 39 | include_rtemsdir = $(includedir)/rtems |
---|
| 40 | include_rtems_HEADERS = |
---|
| 41 | |
---|
| 42 | include_rtems_rtemsdir = $(includedir)/rtems/rtems |
---|
| 43 | include_rtems_rtems_HEADERS = |
---|
| 44 | |
---|
[870d0a2] | 45 | include_uuiddir = $(includedir)/uuid |
---|
| 46 | include_uuid_HEADERS = libmisc/uuid/uuid.h |
---|
| 47 | |
---|
[46b7f921] | 48 | include_utf8procdir = $(includedir)/utf8proc |
---|
| 49 | include_utf8proc_HEADERS = libmisc/utf8proc/utf8proc.h |
---|
| 50 | |
---|
[e18080ab] | 51 | include_sysdir = $(includedir)/sys |
---|
| 52 | include_sys_HEADERS = |
---|
| 53 | |
---|
[4466321] | 54 | include_HEADERS += include/crypt.h |
---|
[bb679b3] | 55 | include_HEADERS += include/memory.h |
---|
[9d9b6653] | 56 | |
---|
[287843f] | 57 | include_sys_HEADERS += posix/include/sys/mman.h |
---|
[9d9b6653] | 58 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h |
---|
[8cb2882] | 59 | include_sys_HEADERS += libcsupport/include/sys/event.h |
---|
[9d9b6653] | 60 | include_sys_HEADERS += libcsupport/include/sys/filio.h |
---|
| 61 | include_sys_HEADERS += libcsupport/include/sys/ioctl.h |
---|
[16829460] | 62 | include_sys_HEADERS += libcsupport/include/sys/poll.h |
---|
[9d9b6653] | 63 | include_sys_HEADERS += libcsupport/include/sys/statvfs.h |
---|
| 64 | include_sys_HEADERS += libcsupport/include/sys/sockio.h |
---|
| 65 | include_sys_HEADERS += libcsupport/include/sys/ttycom.h |
---|
| 66 | include_sys_HEADERS += libcsupport/include/sys/termios.h |
---|
| 67 | include_sys_HEADERS += libcsupport/include/sys/utsname.h |
---|
[f9452cd] | 68 | |
---|
[a2b6895] | 69 | include_sys_HEADERS += include/sys/endian.h |
---|
[bb679b3] | 70 | include_sys_HEADERS += include/sys/uio.h |
---|
| 71 | include_sys_HEADERS += include/sys/_iovec.h |
---|
[b4a2209] | 72 | include_sys_HEADERS += include/sys/priority.h |
---|
[62a210d3] | 73 | |
---|
[3fe615ba] | 74 | if LIBNETWORKING |
---|
[f9452cd] | 75 | include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet |
---|
| 76 | include_rtems_bsdnet_HEADERS = libnetworking/rtems/bsdnet/servers.h |
---|
| 77 | include_rtems_bsdnet_HEADERS += libnetworking/rtems/bsdnet/_types.h |
---|
| 78 | endif |
---|
[ae5fe7e6] | 79 | |
---|
| 80 | if LIBDL |
---|
| 81 | include_HEADERS += libdl/dlfcn.h |
---|
| 82 | include_HEADERS += libdl/include/link.h |
---|
| 83 | include_HEADERS += libdl/include/link_elf.h |
---|
| 84 | include_sys_HEADERS += libdl/include/sys/cdefs_elf.h |
---|
| 85 | include_sys_HEADERS += libdl/include/sys/exec_elf.h |
---|
| 86 | include_arch_machinedir = $(includedir)/machine |
---|
| 87 | include_arch_machine_HEADERS = |
---|
| 88 | include_arch_machine_HEADERS += libdl/include/arch/@RTEMS_CPU@/machine/elf_machdep.h |
---|
| 89 | include_rtems_rtldir = $(includedir)/rtems/rtl |
---|
| 90 | include_rtems_rtl_HEADERS = |
---|
| 91 | include_rtems_rtl_HEADERS += libdl/dlfcn-shell.h |
---|
| 92 | include_rtems_rtl_HEADERS += libdl/rtl.h libdl/rtl-allocator.h libdl/rtl-obj-fwd.h |
---|
| 93 | include_rtems_rtl_HEADERS += libdl/rtl-fwd.h libdl/rtl-obj.h libdl/rtl-obj-cache.h |
---|
| 94 | include_rtems_rtl_HEADERS += libdl/rtl-obj-comp.h libdl/rtl-unresolved.h |
---|
| 95 | include_rtems_rtl_HEADERS += libdl/rtl-indirect-ptr.h libdl/rtl-sym.h |
---|
| 96 | include_rtems_rtl_HEADERS += libdl/rap.h libdl/rap-shell.h |
---|
[e18080ab] | 97 | endif |
---|
| 98 | |
---|
[9d9b6653] | 99 | include_rtems_HEADERS += include/rtems/bspIo.h |
---|
| 100 | include_rtems_HEADERS += include/rtems/userenv.h |
---|
| 101 | include_rtems_HEADERS += include/rtems/fs.h |
---|
[a31845f7] | 102 | if !LIBPCI |
---|
[9d9b6653] | 103 | include_rtems_HEADERS += include/rtems/pci.h |
---|
[a31845f7] | 104 | endif |
---|
[9d9b6653] | 105 | include_rtems_HEADERS += include/rtems/concat.h |
---|
| 106 | include_rtems_HEADERS += include/rtems/status-checks.h |
---|
[9d0e65ed] | 107 | |
---|
[6e4bc7c] | 108 | include_rtems_HEADERS += include/rtems/endian.h |
---|
| 109 | |
---|
[92b6f6e9] | 110 | include_rtems_HEADERS += include/rtems/btimer.h |
---|
| 111 | include_rtems_HEADERS += include/rtems/console.h |
---|
| 112 | include_rtems_HEADERS += include/rtems/clockdrv.h |
---|
| 113 | include_rtems_HEADERS += include/rtems/framebuffer.h |
---|
| 114 | include_rtems_HEADERS += include/rtems/rtc.h |
---|
| 115 | include_rtems_HEADERS += include/rtems/watchdogdrv.h |
---|
| 116 | |
---|
[e01c480d] | 117 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
| 118 | include_rtems_HEADERS += include/rtems/irq.h |
---|
| 119 | |
---|
[224aebb3] | 120 | include_rtems_HEADERS += include/rtems/irq-extension.h |
---|
| 121 | |
---|
[fa73ccb] | 122 | ## libfs |
---|
| 123 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
| 124 | |
---|
[e2324c0] | 125 | ## POSIX FIFO/pipe |
---|
| 126 | include_rtems_HEADERS += libfs/src/pipe/pipe.h |
---|
| 127 | |
---|
[d40da79b] | 128 | ## devfs |
---|
| 129 | include_rtems_HEADERS += libfs/src/devfs/devfs.h |
---|
| 130 | |
---|
[10bf8e69] | 131 | if LIBDOSFS |
---|
[fa73ccb] | 132 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
| 133 | endif |
---|
| 134 | |
---|
[a9fa9b7] | 135 | # RFS |
---|
[9d9b6653] | 136 | include_rtems_HEADERS += libfs/src/rfs/rtems-rfs.h |
---|
| 137 | include_rtems_HEADERS += libfs/src/rfs/rtems-rfs-format.h |
---|
| 138 | include_rtems_HEADERS += libfs/src/rfs/rtems-rfs-shell.h |
---|
| 139 | |
---|
[a9fa9b7] | 140 | include_rtems_rfsdir = $(include_rtemsdir)/rfs |
---|
[9d9b6653] | 141 | include_rtems_rfs_HEADERS = |
---|
| 142 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-bitmaps.h |
---|
| 143 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-block-pos.h |
---|
| 144 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-block.h |
---|
| 145 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-buffer.h |
---|
| 146 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-data.h |
---|
| 147 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-dir.h |
---|
| 148 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-dir-hash.h |
---|
| 149 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-file.h |
---|
| 150 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-file-system-fwd.h |
---|
| 151 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-file-system.h |
---|
| 152 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-group.h |
---|
| 153 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-inode.h |
---|
| 154 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-link.h |
---|
| 155 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-mutex.h |
---|
| 156 | include_rtems_rfs_HEADERS += libfs/src/rfs/rtems-rfs-trace.h |
---|
[a9fa9b7] | 157 | |
---|
[3c96bee] | 158 | # JFFS2 |
---|
| 159 | include_rtems_HEADERS += libfs/src/jffs2/include/rtems/jffs2.h |
---|
| 160 | |
---|
[fa73ccb] | 161 | ## libblock |
---|
[9d9b6653] | 162 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h |
---|
| 163 | include_rtems_HEADERS += libblock/include/rtems/blkdev.h |
---|
| 164 | include_rtems_HEADERS += libblock/include/rtems/diskdevs.h |
---|
| 165 | include_rtems_HEADERS += libblock/include/rtems/flashdisk.h |
---|
| 166 | include_rtems_HEADERS += libblock/include/rtems/ramdisk.h |
---|
| 167 | include_rtems_HEADERS += libblock/include/rtems/nvdisk.h |
---|
| 168 | include_rtems_HEADERS += libblock/include/rtems/nvdisk-sram.h |
---|
[7fab7fc] | 169 | include_rtems_HEADERS += libblock/include/rtems/sparse-disk.h |
---|
[9d9b6653] | 170 | include_rtems_HEADERS += libblock/include/rtems/ide_part_table.h |
---|
| 171 | include_rtems_HEADERS += libblock/include/rtems/bdpart.h |
---|
| 172 | include_rtems_HEADERS += libblock/include/rtems/media.h |
---|
[fa73ccb] | 173 | |
---|
| 174 | ## ftpd |
---|
[3fe615ba] | 175 | if LIBNETWORKING |
---|
[fa73ccb] | 176 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
| 177 | endif |
---|
| 178 | |
---|
[e152ecb7] | 179 | ## bspcmdline |
---|
| 180 | include_rtems_HEADERS += libmisc/bspcmdline/bspcmdline.h |
---|
| 181 | |
---|
[9d0e65ed] | 182 | ## capture |
---|
[9d9b6653] | 183 | include_rtems_HEADERS += libmisc/capture/capture.h |
---|
| 184 | include_rtems_HEADERS += libmisc/capture/capture-cli.h |
---|
[2a86615] | 185 | include_rtems_HEADERS += libmisc/capture/captureimpl.h |
---|
[9d0e65ed] | 186 | |
---|
[a300920d] | 187 | # tracing headers |
---|
| 188 | include_rtems_tracedir = $(include_rtemsdir)/trace |
---|
| 189 | include_rtems_trace_HEADERS = |
---|
| 190 | include_rtems_trace_HEADERS += libmisc/capture/rtems-trace-buffer-vars.h |
---|
| 191 | |
---|
[9d0e65ed] | 192 | ## cpuuse |
---|
| 193 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
| 194 | |
---|
| 195 | ## devnull |
---|
[9d9b6653] | 196 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
| 197 | include_rtems_HEADERS += libmisc/devnull/devzero.h |
---|
[9d0e65ed] | 198 | |
---|
| 199 | ## dumpbuf |
---|
| 200 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
| 201 | |
---|
| 202 | ## monitor |
---|
| 203 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
| 204 | |
---|
[cb09a5da] | 205 | ## fb |
---|
[9d9b6653] | 206 | include_rtems_HEADERS += libmisc/fb/fb.h |
---|
| 207 | include_rtems_HEADERS += libmisc/fb/mw_uid.h |
---|
[9d0e65ed] | 208 | |
---|
[3d6c1bb] | 209 | ## mouse |
---|
[9d9b6653] | 210 | include_rtems_HEADERS += libmisc/mouse/mouse_parser.h |
---|
| 211 | include_rtems_HEADERS += libmisc/mouse/serial_mouse.h |
---|
[3d6c1bb] | 212 | |
---|
[fb78f91] | 213 | ## libqos |
---|
| 214 | include_rtems_HEADERS += libqos/qreslib.h |
---|
| 215 | |
---|
[ebf9a05] | 216 | ## redirector |
---|
| 217 | include_rtems_HEADERS += libmisc/redirector/stdio-redirect.h |
---|
[9d0e65ed] | 218 | ## shell |
---|
| 219 | if LIBSHELL |
---|
[9d9b6653] | 220 | include_rtems_HEADERS += libmisc/shell/shell.h |
---|
| 221 | include_rtems_HEADERS += libmisc/shell/shellconfig.h |
---|
[9d0e65ed] | 222 | endif |
---|
| 223 | |
---|
[e8d59ca] | 224 | ## stringto |
---|
| 225 | include_rtems_HEADERS += libmisc/stringto/stringto.h |
---|
| 226 | |
---|
[18d0a49] | 227 | ## testsupport |
---|
| 228 | include_rtems_HEADERS += libmisc/testsupport/test.h |
---|
| 229 | |
---|
[6339f467] | 230 | ## i2c |
---|
| 231 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
| 232 | |
---|
[9d0e65ed] | 233 | ## serdbg |
---|
| 234 | if LIBSERDBG |
---|
[9d9b6653] | 235 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h |
---|
| 236 | include_rtems_HEADERS += libmisc/serdbg/serdbg.h |
---|
| 237 | include_rtems_HEADERS += libmisc/serdbg/termios_printk_cnf.h |
---|
| 238 | include_rtems_HEADERS += libmisc/serdbg/termios_printk.h |
---|
[9d0e65ed] | 239 | endif |
---|
| 240 | |
---|
| 241 | ## stackchk |
---|
| 242 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
| 243 | |
---|
| 244 | ## libuntar |
---|
| 245 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
| 246 | |
---|
| 247 | ## fsmount |
---|
| 248 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
[b6b3cf5] | 249 | |
---|
[e7fade3] | 250 | ## Driver manager |
---|
[93244a9] | 251 | if LIBDRVMGR |
---|
[e7fade3] | 252 | include_drvmgrdir = $(includedir)/drvmgr |
---|
| 253 | include_drvmgr_HEADERS = libdrvmgr/drvmgr.h |
---|
| 254 | include_drvmgr_HEADERS += libdrvmgr/drvmgr_confdefs.h |
---|
| 255 | include_drvmgr_HEADERS += libdrvmgr/drvmgr_list.h |
---|
[93244a9] | 256 | endif |
---|
[e7fade3] | 257 | |
---|
[f600eebd] | 258 | ## HACK: doxygen filter. |
---|
| 259 | EXTRA_DIST = doxy-filter |
---|
| 260 | |
---|
[dbe8e519] | 261 | include $(srcdir)/preinstall.am |
---|
[54d540f] | 262 | include $(top_srcdir)/automake/subdirs.am |
---|
| 263 | include $(top_srcdir)/automake/local.am |
---|