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