1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/automake/compile.am |
---|
8 | include $(top_srcdir)/automake/multilib.am |
---|
9 | |
---|
10 | # librtemscpu |
---|
11 | SUBDIRS = . score rtems sapi posix itron |
---|
12 | SUBDIRS += libcsupport libblock libfs |
---|
13 | SUBDIRS += libnetworking librpc |
---|
14 | SUBDIRS += libi2c |
---|
15 | SUBDIRS += libmisc |
---|
16 | SUBDIRS += libmd |
---|
17 | SUBDIRS += libgnat |
---|
18 | SUBDIRS += wrapup |
---|
19 | |
---|
20 | SUBDIRS += zlib |
---|
21 | |
---|
22 | # applications |
---|
23 | SUBDIRS += httpd |
---|
24 | SUBDIRS += ftpd |
---|
25 | SUBDIRS += telnetd |
---|
26 | SUBDIRS += pppd |
---|
27 | SUBDIRS += shttpd |
---|
28 | |
---|
29 | noinst_DATA = preinstall-stamp |
---|
30 | preinstall-stamp: |
---|
31 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
32 | touch preinstall-stamp |
---|
33 | CLEANFILES = preinstall-stamp |
---|
34 | |
---|
35 | include_HEADERS = |
---|
36 | |
---|
37 | include_rtemsdir = $(includedir)/rtems |
---|
38 | include_rtems_HEADERS = |
---|
39 | |
---|
40 | include_rtems_rtemsdir = $(includedir)/rtems/rtems |
---|
41 | include_rtems_rtems_HEADERS = |
---|
42 | |
---|
43 | include_rtems_bsd_sysdir = $(include_rtemsdir)/bsd/sys |
---|
44 | include_rtems_bsd_sys_HEADERS = include/rtems/bsd/sys/queue.h |
---|
45 | include_rtems_bsd_sys_HEADERS += include/rtems/bsd/sys/cdefs.h |
---|
46 | |
---|
47 | if NEWLIB |
---|
48 | include_sysdir = $(includedir)/sys |
---|
49 | include_sys_HEADERS = |
---|
50 | |
---|
51 | include_HEADERS += libnetworking/memory.h |
---|
52 | |
---|
53 | include_HEADERS += libcsupport/include/tar.h |
---|
54 | |
---|
55 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h \ |
---|
56 | libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \ |
---|
57 | libcsupport/include/sys/sockio.h libcsupport/include/sys/ttycom.h \ |
---|
58 | libcsupport/include/sys/termios.h libcsupport/include/sys/utsname.h |
---|
59 | |
---|
60 | include_sys_HEADERS += libnetworking/sys/uio.h |
---|
61 | |
---|
62 | if LIBNETWORKING |
---|
63 | include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet |
---|
64 | include_rtems_bsdnet_HEADERS = libnetworking/rtems/bsdnet/servers.h |
---|
65 | include_rtems_bsdnet_HEADERS += libnetworking/rtems/bsdnet/_types.h |
---|
66 | endif |
---|
67 | endif |
---|
68 | |
---|
69 | include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
70 | include/rtems/fs.h include/rtems/pci.h \ |
---|
71 | include/rtems/concat.h include/rtems/tar.h \ |
---|
72 | include/rtems/status-checks.h |
---|
73 | |
---|
74 | include_rtems_HEADERS += include/rtems/endian.h |
---|
75 | |
---|
76 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
77 | include_rtems_HEADERS += include/rtems/irq.h |
---|
78 | |
---|
79 | include_rtems_HEADERS += include/rtems/irq-extension.h |
---|
80 | |
---|
81 | ## libfs |
---|
82 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
83 | |
---|
84 | ## POSIX FIFO/pipe |
---|
85 | include_rtems_HEADERS += libfs/src/pipe/pipe.h |
---|
86 | |
---|
87 | ## devfs |
---|
88 | include_rtems_HEADERS += libfs/src/devfs/devfs.h |
---|
89 | |
---|
90 | if LIBDOSFS |
---|
91 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
92 | endif |
---|
93 | |
---|
94 | ## libblock |
---|
95 | if !UNIX |
---|
96 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \ |
---|
97 | libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \ |
---|
98 | libblock/include/rtems/flashdisk.h libblock/include/rtems/ramdisk.h \ |
---|
99 | libblock/include/rtems/nvdisk.h libblock/include/rtems/nvdisk-sram.h \ |
---|
100 | libblock/include/rtems/ide_part_table.h |
---|
101 | endif |
---|
102 | |
---|
103 | ## ftpd |
---|
104 | if LIBNETWORKING |
---|
105 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
106 | endif |
---|
107 | |
---|
108 | ## capture |
---|
109 | include_rtems_HEADERS += libmisc/capture/capture.h \ |
---|
110 | libmisc/capture/capture-cli.h |
---|
111 | |
---|
112 | ## cpuuse |
---|
113 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
114 | |
---|
115 | ## devnull |
---|
116 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
117 | |
---|
118 | ## dumpbuf |
---|
119 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
120 | |
---|
121 | ## monitor |
---|
122 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
123 | |
---|
124 | ## mw-fb |
---|
125 | include_rtems_HEADERS += libmisc/mw-fb/mw_fb.h libmisc/mw-fb/mw_uid.h |
---|
126 | |
---|
127 | ## shell |
---|
128 | if LIBSHELL |
---|
129 | include_rtems_HEADERS += libmisc/shell/shell.h libmisc/shell/shellconfig.h |
---|
130 | endif |
---|
131 | |
---|
132 | ## i2c |
---|
133 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
134 | |
---|
135 | ## serdbg |
---|
136 | if LIBSERDBG |
---|
137 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h libmisc/serdbg/serdbg.h \ |
---|
138 | libmisc/serdbg/termios_printk_cnf.h libmisc/serdbg/termios_printk.h |
---|
139 | endif |
---|
140 | |
---|
141 | ## stackchk |
---|
142 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
143 | |
---|
144 | ## libuntar |
---|
145 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
146 | |
---|
147 | ## fsmount |
---|
148 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
149 | |
---|
150 | include $(srcdir)/preinstall.am |
---|
151 | include $(top_srcdir)/automake/subdirs.am |
---|
152 | include $(top_srcdir)/automake/local.am |
---|