[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 | |
---|
[7a1c421f] | 40 | include_rtems_bsd_sysdir = $(include_rtemsdir)/bsd/sys |
---|
| 41 | include_rtems_bsd_sys_HEADERS = include/rtems/bsd/sys/queue.h |
---|
[e8475e8] | 42 | include_rtems_bsd_sys_HEADERS += include/rtems/bsd/sys/cdefs.h |
---|
[7a1c421f] | 43 | |
---|
[e18080ab] | 44 | if NEWLIB |
---|
| 45 | include_sysdir = $(includedir)/sys |
---|
| 46 | include_sys_HEADERS = |
---|
| 47 | |
---|
[66e365f] | 48 | include_HEADERS += libnetworking/memory.h |
---|
| 49 | |
---|
[e18080ab] | 50 | include_HEADERS += libcsupport/include/tar.h |
---|
| 51 | |
---|
| 52 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h \ |
---|
| 53 | libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \ |
---|
| 54 | libcsupport/include/sys/sockio.h libcsupport/include/sys/ttycom.h \ |
---|
[1a9aa7e] | 55 | libcsupport/include/sys/termios.h libcsupport/include/sys/utsname.h |
---|
[f9452cd] | 56 | |
---|
[3fe615ba] | 57 | if LIBNETWORKING |
---|
[f9452cd] | 58 | include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet |
---|
| 59 | include_rtems_bsdnet_HEADERS = libnetworking/rtems/bsdnet/servers.h |
---|
| 60 | include_rtems_bsdnet_HEADERS += libnetworking/rtems/bsdnet/_types.h |
---|
| 61 | endif |
---|
[e18080ab] | 62 | endif |
---|
| 63 | |
---|
[6265b83] | 64 | include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
[2f4c86f] | 65 | include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \ |
---|
[9d0e65ed] | 66 | include/rtems/concat.h include/rtems/tar.h |
---|
| 67 | |
---|
[6e4bc7c] | 68 | include_rtems_HEADERS += include/rtems/endian.h |
---|
| 69 | |
---|
[e01c480d] | 70 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
| 71 | include_rtems_HEADERS += include/rtems/irq.h |
---|
| 72 | |
---|
[fa73ccb] | 73 | ## libfs |
---|
| 74 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
| 75 | |
---|
[10bf8e69] | 76 | if LIBDOSFS |
---|
[fa73ccb] | 77 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
| 78 | endif |
---|
| 79 | |
---|
| 80 | ## libblock |
---|
| 81 | if !UNIX |
---|
| 82 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \ |
---|
| 83 | libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \ |
---|
| 84 | libblock/include/rtems/ramdisk.h \ |
---|
| 85 | libblock/include/rtems/ide_part_table.h |
---|
| 86 | endif |
---|
| 87 | |
---|
| 88 | ## ftpd |
---|
[3fe615ba] | 89 | if LIBNETWORKING |
---|
[fa73ccb] | 90 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
| 91 | endif |
---|
| 92 | |
---|
[9d0e65ed] | 93 | ## capture |
---|
| 94 | include_rtems_HEADERS += libmisc/capture/capture.h \ |
---|
| 95 | libmisc/capture/capture-cli.h |
---|
| 96 | |
---|
| 97 | ## cpuuse |
---|
| 98 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
| 99 | |
---|
| 100 | ## devnull |
---|
| 101 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
| 102 | |
---|
| 103 | ## dumpbuf |
---|
| 104 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
| 105 | |
---|
| 106 | ## monitor |
---|
| 107 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
| 108 | |
---|
| 109 | ## mw-fb |
---|
| 110 | include_rtems_HEADERS += libmisc/mw-fb/mw_fb.h libmisc/mw-fb/mw_uid.h |
---|
| 111 | |
---|
| 112 | ## shell |
---|
| 113 | if LIBSHELL |
---|
| 114 | include_rtems_HEADERS += libmisc/shell/shell.h |
---|
| 115 | endif |
---|
| 116 | |
---|
| 117 | ## rtmonuse |
---|
| 118 | include_rtems_HEADERS += libmisc/rtmonuse/rtmonuse.h |
---|
| 119 | |
---|
[6339f467] | 120 | ## i2c |
---|
| 121 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
| 122 | |
---|
[9d0e65ed] | 123 | ## serdbg |
---|
| 124 | if LIBSERDBG |
---|
| 125 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h libmisc/serdbg/serdbg.h \ |
---|
| 126 | libmisc/serdbg/termios_printk_cnf.h libmisc/serdbg/termios_printk.h |
---|
| 127 | endif |
---|
| 128 | |
---|
| 129 | ## stackchk |
---|
| 130 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
| 131 | |
---|
| 132 | ## libuntar |
---|
| 133 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
| 134 | |
---|
| 135 | ## fsmount |
---|
| 136 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
[b6b3cf5] | 137 | |
---|
[dbe8e519] | 138 | include $(srcdir)/preinstall.am |
---|
[54d540f] | 139 | include $(top_srcdir)/automake/subdirs.am |
---|
| 140 | include $(top_srcdir)/automake/local.am |
---|