[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 | |
---|
[aa40f6f] | 10 | # librtemscpu |
---|
[fce31ab] | 11 | SUBDIRS = . score rtems sapi posix |
---|
[07da959] | 12 | SUBDIRS += libcsupport libblock libfs |
---|
[da0fc5d] | 13 | SUBDIRS += libnetworking librpc |
---|
[6339f467] | 14 | SUBDIRS += libi2c |
---|
[e30210ea] | 15 | SUBDIRS += libmisc |
---|
[a70b07b] | 16 | SUBDIRS += libmd |
---|
[db27544] | 17 | SUBDIRS += libgnat |
---|
[aa40f6f] | 18 | SUBDIRS += wrapup |
---|
| 19 | |
---|
[fa645f6] | 20 | SUBDIRS += zlib |
---|
| 21 | |
---|
[aa40f6f] | 22 | # applications |
---|
[f26145b] | 23 | SUBDIRS += ftpd |
---|
[8280caa4] | 24 | SUBDIRS += telnetd |
---|
[c5bb2a4e] | 25 | SUBDIRS += pppd |
---|
[1eefa75] | 26 | SUBDIRS += mghttpd |
---|
[c16dcbc8] | 27 | |
---|
[6265b83] | 28 | noinst_DATA = preinstall-stamp |
---|
[c16dcbc8] | 29 | preinstall-stamp: |
---|
| 30 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
| 31 | touch preinstall-stamp |
---|
[dbe8e519] | 32 | CLEANFILES = preinstall-stamp |
---|
[e1d8abb] | 33 | |
---|
[f8284c95] | 34 | include_HEADERS = |
---|
| 35 | |
---|
[6265b83] | 36 | include_rtemsdir = $(includedir)/rtems |
---|
| 37 | include_rtems_HEADERS = |
---|
| 38 | |
---|
| 39 | include_rtems_rtemsdir = $(includedir)/rtems/rtems |
---|
| 40 | include_rtems_rtems_HEADERS = |
---|
| 41 | |
---|
[7a1c421f] | 42 | include_rtems_bsd_sysdir = $(include_rtemsdir)/bsd/sys |
---|
| 43 | include_rtems_bsd_sys_HEADERS = include/rtems/bsd/sys/queue.h |
---|
[e8475e8] | 44 | include_rtems_bsd_sys_HEADERS += include/rtems/bsd/sys/cdefs.h |
---|
[7a1c421f] | 45 | |
---|
[870d0a2] | 46 | include_uuiddir = $(includedir)/uuid |
---|
| 47 | include_uuid_HEADERS = libmisc/uuid/uuid.h |
---|
| 48 | |
---|
[e18080ab] | 49 | if NEWLIB |
---|
| 50 | include_sysdir = $(includedir)/sys |
---|
| 51 | include_sys_HEADERS = |
---|
| 52 | |
---|
[d2065e3] | 53 | include_HEADERS += libnetworking/memory.h \ |
---|
| 54 | libmd/md4.h \ |
---|
| 55 | libmd/md5.h |
---|
[66e365f] | 56 | |
---|
[e18080ab] | 57 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h \ |
---|
| 58 | libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \ |
---|
[eb649786] | 59 | libcsupport/include/sys/statvfs.h libcsupport/include/sys/sockio.h \ |
---|
| 60 | libcsupport/include/sys/ttycom.h libcsupport/include/sys/termios.h \ |
---|
| 61 | libcsupport/include/sys/utsname.h |
---|
[f9452cd] | 62 | |
---|
[62a210d3] | 63 | include_sys_HEADERS += libnetworking/sys/uio.h |
---|
[b4a2209] | 64 | include_sys_HEADERS += include/sys/priority.h |
---|
[62a210d3] | 65 | |
---|
[3fe615ba] | 66 | if LIBNETWORKING |
---|
[f9452cd] | 67 | include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet |
---|
| 68 | include_rtems_bsdnet_HEADERS = libnetworking/rtems/bsdnet/servers.h |
---|
| 69 | include_rtems_bsdnet_HEADERS += libnetworking/rtems/bsdnet/_types.h |
---|
| 70 | endif |
---|
[e18080ab] | 71 | endif |
---|
| 72 | |
---|
[6265b83] | 73 | include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
[b8c5277f] | 74 | include/rtems/fs.h include/rtems/pci.h \ |
---|
[de93598] | 75 | include/rtems/concat.h \ |
---|
[224aebb3] | 76 | include/rtems/status-checks.h |
---|
[9d0e65ed] | 77 | |
---|
[46d6e7a9] | 78 | include_rtems_HEADERS += include/rtems/btimer.h |
---|
[6e4bc7c] | 79 | include_rtems_HEADERS += include/rtems/endian.h |
---|
| 80 | |
---|
[e01c480d] | 81 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
| 82 | include_rtems_HEADERS += include/rtems/irq.h |
---|
| 83 | |
---|
[224aebb3] | 84 | include_rtems_HEADERS += include/rtems/irq-extension.h |
---|
| 85 | |
---|
[fa73ccb] | 86 | ## libfs |
---|
| 87 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
| 88 | |
---|
[e2324c0] | 89 | ## POSIX FIFO/pipe |
---|
| 90 | include_rtems_HEADERS += libfs/src/pipe/pipe.h |
---|
| 91 | |
---|
[d40da79b] | 92 | ## devfs |
---|
| 93 | include_rtems_HEADERS += libfs/src/devfs/devfs.h |
---|
| 94 | |
---|
[10bf8e69] | 95 | if LIBDOSFS |
---|
[fa73ccb] | 96 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
| 97 | endif |
---|
| 98 | |
---|
[a9fa9b7] | 99 | # RFS |
---|
| 100 | include_rtems_HEADERS += \ |
---|
| 101 | libfs/src/rfs/rtems-rfs.h \ |
---|
| 102 | libfs/src/rfs/rtems-rfs-format.h \ |
---|
| 103 | libfs/src/rfs/rtems-rfs-shell.h |
---|
| 104 | include_rtems_rfsdir = $(include_rtemsdir)/rfs |
---|
| 105 | include_rtems_rfs_HEADERS = \ |
---|
| 106 | libfs/src/rfs/rtems-rfs-bitmaps.h \ |
---|
| 107 | libfs/src/rfs/rtems-rfs-block-pos.h \ |
---|
| 108 | libfs/src/rfs/rtems-rfs-block.h \ |
---|
| 109 | libfs/src/rfs/rtems-rfs-buffer.h \ |
---|
| 110 | libfs/src/rfs/rtems-rfs-data.h \ |
---|
| 111 | libfs/src/rfs/rtems-rfs-dir.h \ |
---|
| 112 | libfs/src/rfs/rtems-rfs-dir-hash.h \ |
---|
| 113 | libfs/src/rfs/rtems-rfs-file.h \ |
---|
| 114 | libfs/src/rfs/rtems-rfs-file-system-fwd.h \ |
---|
| 115 | libfs/src/rfs/rtems-rfs-file-system.h \ |
---|
| 116 | libfs/src/rfs/rtems-rfs-group.h \ |
---|
| 117 | libfs/src/rfs/rtems-rfs-inode.h \ |
---|
| 118 | libfs/src/rfs/rtems-rfs-link.h \ |
---|
| 119 | libfs/src/rfs/rtems-rfs-mutex.h \ |
---|
| 120 | libfs/src/rfs/rtems-rfs-trace.h |
---|
| 121 | |
---|
[fa73ccb] | 122 | ## libblock |
---|
| 123 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \ |
---|
| 124 | libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \ |
---|
[3c68c6c8] | 125 | libblock/include/rtems/flashdisk.h libblock/include/rtems/ramdisk.h \ |
---|
[5a2b5b2] | 126 | libblock/include/rtems/nvdisk.h libblock/include/rtems/nvdisk-sram.h \ |
---|
[870d0a2] | 127 | libblock/include/rtems/ide_part_table.h \ |
---|
[d91e3a7] | 128 | libblock/include/rtems/bdpart.h \ |
---|
| 129 | libblock/include/rtems/media.h |
---|
[fa73ccb] | 130 | |
---|
| 131 | ## ftpd |
---|
[3fe615ba] | 132 | if LIBNETWORKING |
---|
[fa73ccb] | 133 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
| 134 | endif |
---|
| 135 | |
---|
[e152ecb7] | 136 | ## bspcmdline |
---|
| 137 | include_rtems_HEADERS += libmisc/bspcmdline/bspcmdline.h |
---|
| 138 | |
---|
[9d0e65ed] | 139 | ## capture |
---|
| 140 | include_rtems_HEADERS += libmisc/capture/capture.h \ |
---|
| 141 | libmisc/capture/capture-cli.h |
---|
| 142 | |
---|
| 143 | ## cpuuse |
---|
| 144 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
| 145 | |
---|
| 146 | ## devnull |
---|
| 147 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
| 148 | |
---|
| 149 | ## dumpbuf |
---|
| 150 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
| 151 | |
---|
| 152 | ## monitor |
---|
| 153 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
| 154 | |
---|
[cb09a5da] | 155 | ## fb |
---|
| 156 | include_rtems_HEADERS += libmisc/fb/fb.h libmisc/fb/mw_uid.h |
---|
[9d0e65ed] | 157 | |
---|
[3d6c1bb] | 158 | ## mouse |
---|
| 159 | include_rtems_HEADERS += libmisc/mouse/mouse_parser.h \ |
---|
| 160 | libmisc/mouse/serial_mouse.h |
---|
| 161 | |
---|
[9d0e65ed] | 162 | ## shell |
---|
| 163 | if LIBSHELL |
---|
[e4bd96ec] | 164 | include_rtems_HEADERS += libmisc/shell/shell.h libmisc/shell/shellconfig.h |
---|
[9d0e65ed] | 165 | endif |
---|
| 166 | |
---|
[e8d59ca] | 167 | ## stringto |
---|
| 168 | include_rtems_HEADERS += libmisc/stringto/stringto.h |
---|
| 169 | |
---|
[6339f467] | 170 | ## i2c |
---|
| 171 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
| 172 | |
---|
[9d0e65ed] | 173 | ## serdbg |
---|
| 174 | if LIBSERDBG |
---|
| 175 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h libmisc/serdbg/serdbg.h \ |
---|
| 176 | libmisc/serdbg/termios_printk_cnf.h libmisc/serdbg/termios_printk.h |
---|
| 177 | endif |
---|
| 178 | |
---|
| 179 | ## stackchk |
---|
| 180 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
| 181 | |
---|
| 182 | ## libuntar |
---|
| 183 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
| 184 | |
---|
| 185 | ## fsmount |
---|
| 186 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
[b6b3cf5] | 187 | |
---|
[f600eebd] | 188 | ## HACK: doxygen filter. |
---|
| 189 | EXTRA_DIST = doxy-filter |
---|
| 190 | |
---|
[dbe8e519] | 191 | include $(srcdir)/preinstall.am |
---|
[54d540f] | 192 | include $(top_srcdir)/automake/subdirs.am |
---|
| 193 | include $(top_srcdir)/automake/local.am |
---|