[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 |
---|
[aa40f6f] | 16 | SUBDIRS += wrapup |
---|
| 17 | |
---|
[fa645f6] | 18 | SUBDIRS += zlib |
---|
| 19 | |
---|
[aa40f6f] | 20 | # applications |
---|
[be4bd26] | 21 | SUBDIRS += httpd |
---|
[f26145b] | 22 | SUBDIRS += ftpd |
---|
[8280caa4] | 23 | SUBDIRS += telnetd |
---|
[c5bb2a4e] | 24 | SUBDIRS += pppd |
---|
[c16dcbc8] | 25 | |
---|
[6265b83] | 26 | noinst_DATA = preinstall-stamp |
---|
[c16dcbc8] | 27 | preinstall-stamp: |
---|
| 28 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
| 29 | touch preinstall-stamp |
---|
[dbe8e519] | 30 | CLEANFILES = preinstall-stamp |
---|
[e1d8abb] | 31 | |
---|
[f8284c95] | 32 | include_HEADERS = |
---|
| 33 | |
---|
[6265b83] | 34 | include_rtemsdir = $(includedir)/rtems |
---|
| 35 | include_rtems_HEADERS = |
---|
| 36 | |
---|
| 37 | include_rtems_rtemsdir = $(includedir)/rtems/rtems |
---|
| 38 | include_rtems_rtems_HEADERS = |
---|
| 39 | |
---|
[f8284c95] | 40 | if DEPRECATED |
---|
| 41 | include_HEADERS += backward/asm.h backward/chain.h backward/clockdrv.h \ |
---|
| 42 | backward/confdefs.h backward/console.h backward/imfs.h backward/iosupp.h \ |
---|
| 43 | backward/ringbuf.h backward/rtc.h backward/spurious.h \ |
---|
| 44 | backward/timerdrv.h backward/vmeintr.h |
---|
[30f66299] | 45 | |
---|
[a29d2e7] | 46 | if HAS_NETWORKING |
---|
| 47 | include_HEADERS += backward/ftpd.h |
---|
[f9452cd] | 48 | |
---|
[7021a2ec] | 49 | include_HEADERS += backward/rtemspppd.h |
---|
| 50 | include_HEADERS += backward/rtemsdialer.h |
---|
[a29d2e7] | 51 | endif |
---|
| 52 | |
---|
[a59e6c0] | 53 | include_motoroladir = $(includedir)/motorola |
---|
| 54 | include_motorola_HEADERS = backward/motorola/mc68681.h \ |
---|
| 55 | backward/motorola/mc68230.h |
---|
| 56 | |
---|
| 57 | include_zilogdir = $(includedir)/zilog |
---|
| 58 | include_zilog_HEADERS = backward/zilog/z8536.h backward/zilog/z8036.h \ |
---|
| 59 | backward/zilog/z8030.h |
---|
| 60 | |
---|
[30f66299] | 61 | if !UNIX |
---|
| 62 | include_HEADERS += backward/dosfs.h |
---|
| 63 | endif |
---|
| 64 | |
---|
| 65 | if HAS_ITRON |
---|
| 66 | include_HEADERS += backward/itron.h |
---|
| 67 | endif |
---|
[f8284c95] | 68 | endif |
---|
[30f66299] | 69 | |
---|
[e18080ab] | 70 | if NEWLIB |
---|
| 71 | include_sysdir = $(includedir)/sys |
---|
| 72 | include_sys_HEADERS = |
---|
| 73 | |
---|
[66e365f] | 74 | include_HEADERS += libnetworking/memory.h |
---|
| 75 | |
---|
[e18080ab] | 76 | include_HEADERS += libcsupport/include/tar.h |
---|
| 77 | |
---|
| 78 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h \ |
---|
| 79 | libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \ |
---|
| 80 | libcsupport/include/sys/sockio.h libcsupport/include/sys/ttycom.h \ |
---|
| 81 | libcsupport/include/sys/termios.h libcsupport/include/sys/utsname.h \ |
---|
| 82 | libcsupport/include/sys/cdefs.h |
---|
[f9452cd] | 83 | |
---|
| 84 | if HAS_NETWORKING |
---|
| 85 | include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet |
---|
| 86 | include_rtems_bsdnet_HEADERS = libnetworking/rtems/bsdnet/servers.h |
---|
| 87 | include_rtems_bsdnet_HEADERS += libnetworking/rtems/bsdnet/_types.h |
---|
| 88 | endif |
---|
[e18080ab] | 89 | endif |
---|
| 90 | |
---|
[6265b83] | 91 | include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
[2f4c86f] | 92 | include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \ |
---|
[9d0e65ed] | 93 | include/rtems/concat.h include/rtems/tar.h |
---|
| 94 | |
---|
[e01c480d] | 95 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
| 96 | include_rtems_HEADERS += include/rtems/irq.h |
---|
| 97 | |
---|
[fa73ccb] | 98 | ## libfs |
---|
| 99 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
| 100 | |
---|
| 101 | if !UNIX |
---|
| 102 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
| 103 | endif |
---|
| 104 | |
---|
| 105 | ## libblock |
---|
| 106 | if !UNIX |
---|
| 107 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \ |
---|
| 108 | libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \ |
---|
| 109 | libblock/include/rtems/ramdisk.h \ |
---|
| 110 | libblock/include/rtems/ide_part_table.h |
---|
| 111 | endif |
---|
| 112 | |
---|
| 113 | ## ftpd |
---|
| 114 | if HAS_NETWORKING |
---|
| 115 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
| 116 | endif |
---|
| 117 | |
---|
[9d0e65ed] | 118 | ## capture |
---|
| 119 | include_rtems_HEADERS += libmisc/capture/capture.h \ |
---|
| 120 | libmisc/capture/capture-cli.h |
---|
| 121 | |
---|
| 122 | ## cpuuse |
---|
| 123 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
| 124 | |
---|
| 125 | ## devnull |
---|
| 126 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
| 127 | |
---|
| 128 | ## dumpbuf |
---|
| 129 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
| 130 | |
---|
| 131 | ## monitor |
---|
| 132 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
| 133 | |
---|
| 134 | ## mw-fb |
---|
| 135 | include_rtems_HEADERS += libmisc/mw-fb/mw_fb.h libmisc/mw-fb/mw_uid.h |
---|
| 136 | |
---|
| 137 | ## shell |
---|
| 138 | if LIBSHELL |
---|
| 139 | include_rtems_HEADERS += libmisc/shell/shell.h |
---|
| 140 | endif |
---|
| 141 | |
---|
| 142 | ## rtmonuse |
---|
| 143 | include_rtems_HEADERS += libmisc/rtmonuse/rtmonuse.h |
---|
| 144 | |
---|
[6339f467] | 145 | ## i2c |
---|
| 146 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
| 147 | |
---|
[9d0e65ed] | 148 | ## serdbg |
---|
| 149 | if LIBSERDBG |
---|
| 150 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h libmisc/serdbg/serdbg.h \ |
---|
| 151 | libmisc/serdbg/termios_printk_cnf.h libmisc/serdbg/termios_printk.h |
---|
| 152 | endif |
---|
| 153 | |
---|
| 154 | ## stackchk |
---|
| 155 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
| 156 | |
---|
| 157 | ## libuntar |
---|
| 158 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
| 159 | |
---|
| 160 | ## fsmount |
---|
| 161 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
[b6b3cf5] | 162 | |
---|
[dbe8e519] | 163 | include $(srcdir)/preinstall.am |
---|
[54d540f] | 164 | include $(top_srcdir)/automake/subdirs.am |
---|
| 165 | include $(top_srcdir)/automake/local.am |
---|