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 | SUBDIRS += mghttpd |
---|
29 | |
---|
30 | noinst_DATA = preinstall-stamp |
---|
31 | preinstall-stamp: |
---|
32 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
33 | touch preinstall-stamp |
---|
34 | CLEANFILES = preinstall-stamp |
---|
35 | |
---|
36 | include_HEADERS = |
---|
37 | |
---|
38 | include_rtemsdir = $(includedir)/rtems |
---|
39 | include_rtems_HEADERS = |
---|
40 | |
---|
41 | include_rtems_rtemsdir = $(includedir)/rtems/rtems |
---|
42 | include_rtems_rtems_HEADERS = |
---|
43 | |
---|
44 | include_rtems_bsd_sysdir = $(include_rtemsdir)/bsd/sys |
---|
45 | include_rtems_bsd_sys_HEADERS = include/rtems/bsd/sys/queue.h |
---|
46 | include_rtems_bsd_sys_HEADERS += include/rtems/bsd/sys/cdefs.h |
---|
47 | |
---|
48 | include_uuiddir = $(includedir)/uuid |
---|
49 | include_uuid_HEADERS = libmisc/uuid/uuid.h |
---|
50 | |
---|
51 | if NEWLIB |
---|
52 | include_sysdir = $(includedir)/sys |
---|
53 | include_sys_HEADERS = |
---|
54 | |
---|
55 | include_HEADERS += libnetworking/memory.h |
---|
56 | |
---|
57 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h \ |
---|
58 | libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \ |
---|
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 |
---|
62 | |
---|
63 | include_sys_HEADERS += libnetworking/sys/uio.h |
---|
64 | include_sys_HEADERS += include/sys/priority.h |
---|
65 | |
---|
66 | if LIBNETWORKING |
---|
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 |
---|
71 | endif |
---|
72 | |
---|
73 | include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
74 | include/rtems/fs.h include/rtems/pci.h \ |
---|
75 | include/rtems/concat.h include/rtems/tar.h \ |
---|
76 | include/rtems/status-checks.h |
---|
77 | |
---|
78 | include_rtems_HEADERS += include/rtems/endian.h |
---|
79 | |
---|
80 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
81 | include_rtems_HEADERS += include/rtems/irq.h |
---|
82 | |
---|
83 | include_rtems_HEADERS += include/rtems/irq-extension.h |
---|
84 | |
---|
85 | ## libfs |
---|
86 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
87 | |
---|
88 | ## POSIX FIFO/pipe |
---|
89 | include_rtems_HEADERS += libfs/src/pipe/pipe.h |
---|
90 | |
---|
91 | ## devfs |
---|
92 | include_rtems_HEADERS += libfs/src/devfs/devfs.h |
---|
93 | |
---|
94 | if LIBDOSFS |
---|
95 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
96 | endif |
---|
97 | |
---|
98 | # RFS |
---|
99 | include_rtems_HEADERS += \ |
---|
100 | libfs/src/rfs/rtems-rfs.h \ |
---|
101 | libfs/src/rfs/rtems-rfs-format.h \ |
---|
102 | libfs/src/rfs/rtems-rfs-shell.h |
---|
103 | include_rtems_rfsdir = $(include_rtemsdir)/rfs |
---|
104 | include_rtems_rfs_HEADERS = \ |
---|
105 | libfs/src/rfs/rtems-rfs-bitmaps.h \ |
---|
106 | libfs/src/rfs/rtems-rfs-block-pos.h \ |
---|
107 | libfs/src/rfs/rtems-rfs-block.h \ |
---|
108 | libfs/src/rfs/rtems-rfs-buffer.h \ |
---|
109 | libfs/src/rfs/rtems-rfs-data.h \ |
---|
110 | libfs/src/rfs/rtems-rfs-dir.h \ |
---|
111 | libfs/src/rfs/rtems-rfs-dir-hash.h \ |
---|
112 | libfs/src/rfs/rtems-rfs-file.h \ |
---|
113 | libfs/src/rfs/rtems-rfs-file-system-fwd.h \ |
---|
114 | libfs/src/rfs/rtems-rfs-file-system.h \ |
---|
115 | libfs/src/rfs/rtems-rfs-group.h \ |
---|
116 | libfs/src/rfs/rtems-rfs-inode.h \ |
---|
117 | libfs/src/rfs/rtems-rfs-link.h \ |
---|
118 | libfs/src/rfs/rtems-rfs-mutex.h \ |
---|
119 | libfs/src/rfs/rtems-rfs-trace.h |
---|
120 | |
---|
121 | ## libblock |
---|
122 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \ |
---|
123 | libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \ |
---|
124 | libblock/include/rtems/flashdisk.h libblock/include/rtems/ramdisk.h \ |
---|
125 | libblock/include/rtems/nvdisk.h libblock/include/rtems/nvdisk-sram.h \ |
---|
126 | libblock/include/rtems/ide_part_table.h \ |
---|
127 | libblock/include/rtems/bdpart.h |
---|
128 | |
---|
129 | ## ftpd |
---|
130 | if LIBNETWORKING |
---|
131 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
132 | endif |
---|
133 | |
---|
134 | ## bspcmdline |
---|
135 | include_rtems_HEADERS += libmisc/bspcmdline/bspcmdline.h |
---|
136 | |
---|
137 | ## capture |
---|
138 | include_rtems_HEADERS += libmisc/capture/capture.h \ |
---|
139 | libmisc/capture/capture-cli.h |
---|
140 | |
---|
141 | ## cpuuse |
---|
142 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
143 | |
---|
144 | ## devnull |
---|
145 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
146 | |
---|
147 | ## dumpbuf |
---|
148 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
149 | |
---|
150 | ## monitor |
---|
151 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
152 | |
---|
153 | ## fb |
---|
154 | include_rtems_HEADERS += libmisc/fb/fb.h libmisc/fb/mw_uid.h |
---|
155 | |
---|
156 | ## shell |
---|
157 | if LIBSHELL |
---|
158 | include_rtems_HEADERS += libmisc/shell/shell.h libmisc/shell/shellconfig.h |
---|
159 | endif |
---|
160 | |
---|
161 | ## stringto |
---|
162 | include_rtems_HEADERS += libmisc/stringto/stringto.h |
---|
163 | |
---|
164 | ## i2c |
---|
165 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
166 | |
---|
167 | ## serdbg |
---|
168 | if LIBSERDBG |
---|
169 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h libmisc/serdbg/serdbg.h \ |
---|
170 | libmisc/serdbg/termios_printk_cnf.h libmisc/serdbg/termios_printk.h |
---|
171 | endif |
---|
172 | |
---|
173 | ## stackchk |
---|
174 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
175 | |
---|
176 | ## libuntar |
---|
177 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
178 | |
---|
179 | ## fsmount |
---|
180 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
181 | |
---|
182 | include $(srcdir)/preinstall.am |
---|
183 | include $(top_srcdir)/automake/subdirs.am |
---|
184 | include $(top_srcdir)/automake/local.am |
---|