[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 |
---|
[f554b02] | 11 | SUBDIRS = . score rtems sapi posix itron |
---|
[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 |
---|
[be4bd26] | 23 | SUBDIRS += httpd |
---|
[f26145b] | 24 | SUBDIRS += ftpd |
---|
[8280caa4] | 25 | SUBDIRS += telnetd |
---|
[c5bb2a4e] | 26 | SUBDIRS += pppd |
---|
[31903f07] | 27 | SUBDIRS += shttpd |
---|
[c16dcbc8] | 28 | |
---|
[6265b83] | 29 | noinst_DATA = preinstall-stamp |
---|
[c16dcbc8] | 30 | preinstall-stamp: |
---|
| 31 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
| 32 | touch preinstall-stamp |
---|
[dbe8e519] | 33 | CLEANFILES = preinstall-stamp |
---|
[e1d8abb] | 34 | |
---|
[f8284c95] | 35 | include_HEADERS = |
---|
| 36 | |
---|
[6265b83] | 37 | include_rtemsdir = $(includedir)/rtems |
---|
| 38 | include_rtems_HEADERS = |
---|
| 39 | |
---|
| 40 | include_rtems_rtemsdir = $(includedir)/rtems/rtems |
---|
| 41 | include_rtems_rtems_HEADERS = |
---|
| 42 | |
---|
[7a1c421f] | 43 | include_rtems_bsd_sysdir = $(include_rtemsdir)/bsd/sys |
---|
| 44 | include_rtems_bsd_sys_HEADERS = include/rtems/bsd/sys/queue.h |
---|
[e8475e8] | 45 | include_rtems_bsd_sys_HEADERS += include/rtems/bsd/sys/cdefs.h |
---|
[7a1c421f] | 46 | |
---|
[e18080ab] | 47 | if NEWLIB |
---|
| 48 | include_sysdir = $(includedir)/sys |
---|
| 49 | include_sys_HEADERS = |
---|
| 50 | |
---|
[66e365f] | 51 | include_HEADERS += libnetworking/memory.h |
---|
| 52 | |
---|
[e18080ab] | 53 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h \ |
---|
| 54 | libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \ |
---|
| 55 | libcsupport/include/sys/sockio.h libcsupport/include/sys/ttycom.h \ |
---|
[1a9aa7e] | 56 | libcsupport/include/sys/termios.h libcsupport/include/sys/utsname.h |
---|
[f9452cd] | 57 | |
---|
[62a210d3] | 58 | include_sys_HEADERS += libnetworking/sys/uio.h |
---|
| 59 | |
---|
[3fe615ba] | 60 | if LIBNETWORKING |
---|
[f9452cd] | 61 | include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet |
---|
| 62 | include_rtems_bsdnet_HEADERS = libnetworking/rtems/bsdnet/servers.h |
---|
| 63 | include_rtems_bsdnet_HEADERS += libnetworking/rtems/bsdnet/_types.h |
---|
| 64 | endif |
---|
[e18080ab] | 65 | endif |
---|
| 66 | |
---|
[6265b83] | 67 | include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
[b8c5277f] | 68 | include/rtems/fs.h include/rtems/pci.h \ |
---|
[224aebb3] | 69 | include/rtems/concat.h include/rtems/tar.h \ |
---|
| 70 | include/rtems/status-checks.h |
---|
[9d0e65ed] | 71 | |
---|
[6e4bc7c] | 72 | include_rtems_HEADERS += include/rtems/endian.h |
---|
| 73 | |
---|
[e01c480d] | 74 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
| 75 | include_rtems_HEADERS += include/rtems/irq.h |
---|
| 76 | |
---|
[224aebb3] | 77 | include_rtems_HEADERS += include/rtems/irq-extension.h |
---|
| 78 | |
---|
[fa73ccb] | 79 | ## libfs |
---|
| 80 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
| 81 | |
---|
[e2324c0] | 82 | ## POSIX FIFO/pipe |
---|
| 83 | include_rtems_HEADERS += libfs/src/pipe/pipe.h |
---|
| 84 | |
---|
[d40da79b] | 85 | ## devfs |
---|
| 86 | include_rtems_HEADERS += libfs/src/devfs/devfs.h |
---|
| 87 | |
---|
[10bf8e69] | 88 | if LIBDOSFS |
---|
[fa73ccb] | 89 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
| 90 | endif |
---|
| 91 | |
---|
| 92 | ## libblock |
---|
| 93 | if !UNIX |
---|
| 94 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \ |
---|
| 95 | libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \ |
---|
[3c68c6c8] | 96 | libblock/include/rtems/flashdisk.h libblock/include/rtems/ramdisk.h \ |
---|
[5a2b5b2] | 97 | libblock/include/rtems/nvdisk.h libblock/include/rtems/nvdisk-sram.h \ |
---|
[fa73ccb] | 98 | libblock/include/rtems/ide_part_table.h |
---|
| 99 | endif |
---|
| 100 | |
---|
| 101 | ## ftpd |
---|
[3fe615ba] | 102 | if LIBNETWORKING |
---|
[fa73ccb] | 103 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
| 104 | endif |
---|
| 105 | |
---|
[9d0e65ed] | 106 | ## capture |
---|
| 107 | include_rtems_HEADERS += libmisc/capture/capture.h \ |
---|
| 108 | libmisc/capture/capture-cli.h |
---|
| 109 | |
---|
| 110 | ## cpuuse |
---|
| 111 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
| 112 | |
---|
| 113 | ## devnull |
---|
| 114 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
| 115 | |
---|
| 116 | ## dumpbuf |
---|
| 117 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
| 118 | |
---|
| 119 | ## monitor |
---|
| 120 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
| 121 | |
---|
| 122 | ## mw-fb |
---|
| 123 | include_rtems_HEADERS += libmisc/mw-fb/mw_fb.h libmisc/mw-fb/mw_uid.h |
---|
| 124 | |
---|
| 125 | ## shell |
---|
| 126 | if LIBSHELL |
---|
[06bd7c7] | 127 | include_rtems_HEADERS += libmisc/shell/shell.h libmisc/shell/shellconfig.h |
---|
[9d0e65ed] | 128 | endif |
---|
| 129 | |
---|
[6339f467] | 130 | ## i2c |
---|
| 131 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
| 132 | |
---|
[9d0e65ed] | 133 | ## serdbg |
---|
| 134 | if LIBSERDBG |
---|
| 135 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h libmisc/serdbg/serdbg.h \ |
---|
| 136 | libmisc/serdbg/termios_printk_cnf.h libmisc/serdbg/termios_printk.h |
---|
| 137 | endif |
---|
| 138 | |
---|
| 139 | ## stackchk |
---|
| 140 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
| 141 | |
---|
| 142 | ## libuntar |
---|
| 143 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
| 144 | |
---|
| 145 | ## fsmount |
---|
| 146 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
[b6b3cf5] | 147 | |
---|
[dbe8e519] | 148 | include $(srcdir)/preinstall.am |
---|
[54d540f] | 149 | include $(top_srcdir)/automake/subdirs.am |
---|
| 150 | include $(top_srcdir)/automake/local.am |
---|