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 | noinst_DATA = preinstall-stamp |
---|
27 | preinstall-stamp: |
---|
28 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
29 | touch preinstall-stamp |
---|
30 | CLEANFILES = preinstall-stamp |
---|
31 | |
---|
32 | include_HEADERS = |
---|
33 | |
---|
34 | include_rtemsdir = $(includedir)/rtems |
---|
35 | include_rtems_HEADERS = |
---|
36 | |
---|
37 | include_rtems_rtemsdir = $(includedir)/rtems/rtems |
---|
38 | include_rtems_rtems_HEADERS = |
---|
39 | |
---|
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 |
---|
45 | |
---|
46 | if HAS_NETWORKING |
---|
47 | include_HEADERS += backward/ftpd.h |
---|
48 | |
---|
49 | include_HEADERS += backward/rtemspppd.h |
---|
50 | include_HEADERS += backward/rtemsdialer.h |
---|
51 | endif |
---|
52 | |
---|
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 | |
---|
61 | if !UNIX |
---|
62 | include_HEADERS += backward/dosfs.h |
---|
63 | endif |
---|
64 | |
---|
65 | if HAS_ITRON |
---|
66 | include_HEADERS += backward/itron.h |
---|
67 | endif |
---|
68 | endif |
---|
69 | |
---|
70 | if NEWLIB |
---|
71 | include_sysdir = $(includedir)/sys |
---|
72 | include_sys_HEADERS = |
---|
73 | |
---|
74 | include_HEADERS += libnetworking/memory.h |
---|
75 | |
---|
76 | if RTEMS_PROVIDES_STDINT_H |
---|
77 | include_HEADERS += libcsupport/include/stdint.h |
---|
78 | endif |
---|
79 | if RTEMS_PROVIDES_INTTYPES_H |
---|
80 | include_HEADERS += libcsupport/include/inttypes.h |
---|
81 | endif |
---|
82 | include_HEADERS += libcsupport/include/tar.h |
---|
83 | |
---|
84 | include_sys_HEADERS += libcsupport/include/sys/ioccom.h \ |
---|
85 | libcsupport/include/sys/filio.h libcsupport/include/sys/ioctl.h \ |
---|
86 | libcsupport/include/sys/sockio.h libcsupport/include/sys/ttycom.h \ |
---|
87 | libcsupport/include/sys/termios.h libcsupport/include/sys/utsname.h \ |
---|
88 | libcsupport/include/sys/cdefs.h |
---|
89 | |
---|
90 | if HAS_NETWORKING |
---|
91 | include_rtems_bsdnetdir = $(includedir)/rtems/bsdnet |
---|
92 | include_rtems_bsdnet_HEADERS = libnetworking/rtems/bsdnet/servers.h |
---|
93 | include_rtems_bsdnet_HEADERS += libnetworking/rtems/bsdnet/_types.h |
---|
94 | endif |
---|
95 | endif |
---|
96 | |
---|
97 | include_rtems_HEADERS += include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
98 | include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \ |
---|
99 | include/rtems/concat.h include/rtems/tar.h |
---|
100 | |
---|
101 | ## should be conditional and only installed for PowerPC, x86, and ARM |
---|
102 | include_rtems_HEADERS += include/rtems/irq.h |
---|
103 | |
---|
104 | ## libfs |
---|
105 | include_rtems_HEADERS += libfs/src/imfs/imfs.h |
---|
106 | |
---|
107 | if !UNIX |
---|
108 | include_rtems_HEADERS += libfs/src/dosfs/dosfs.h |
---|
109 | endif |
---|
110 | |
---|
111 | ## libblock |
---|
112 | if !UNIX |
---|
113 | include_rtems_HEADERS += libblock/include/rtems/bdbuf.h \ |
---|
114 | libblock/include/rtems/blkdev.h libblock/include/rtems/diskdevs.h \ |
---|
115 | libblock/include/rtems/ramdisk.h \ |
---|
116 | libblock/include/rtems/ide_part_table.h |
---|
117 | endif |
---|
118 | |
---|
119 | ## ftpd |
---|
120 | if HAS_NETWORKING |
---|
121 | include_rtems_HEADERS += ftpd/ftpd.h |
---|
122 | endif |
---|
123 | |
---|
124 | ## capture |
---|
125 | include_rtems_HEADERS += libmisc/capture/capture.h \ |
---|
126 | libmisc/capture/capture-cli.h |
---|
127 | |
---|
128 | ## cpuuse |
---|
129 | include_rtems_HEADERS += libmisc/cpuuse/cpuuse.h |
---|
130 | |
---|
131 | ## devnull |
---|
132 | include_rtems_HEADERS += libmisc/devnull/devnull.h |
---|
133 | |
---|
134 | ## dumpbuf |
---|
135 | include_rtems_HEADERS += libmisc/dumpbuf/dumpbuf.h |
---|
136 | |
---|
137 | ## monitor |
---|
138 | include_rtems_HEADERS += libmisc/monitor/monitor.h |
---|
139 | |
---|
140 | ## mw-fb |
---|
141 | include_rtems_HEADERS += libmisc/mw-fb/mw_fb.h libmisc/mw-fb/mw_uid.h |
---|
142 | |
---|
143 | ## shell |
---|
144 | if LIBSHELL |
---|
145 | include_rtems_HEADERS += libmisc/shell/shell.h |
---|
146 | endif |
---|
147 | |
---|
148 | ## rtmonuse |
---|
149 | include_rtems_HEADERS += libmisc/rtmonuse/rtmonuse.h |
---|
150 | |
---|
151 | ## i2c |
---|
152 | include_rtems_HEADERS += libi2c/libi2c.h |
---|
153 | |
---|
154 | ## serdbg |
---|
155 | if LIBSERDBG |
---|
156 | include_rtems_HEADERS += libmisc/serdbg/serdbgcnf.h libmisc/serdbg/serdbg.h \ |
---|
157 | libmisc/serdbg/termios_printk_cnf.h libmisc/serdbg/termios_printk.h |
---|
158 | endif |
---|
159 | |
---|
160 | ## stackchk |
---|
161 | include_rtems_HEADERS += libmisc/stackchk/stackchk.h |
---|
162 | |
---|
163 | ## libuntar |
---|
164 | include_rtems_HEADERS += libmisc/untar/untar.h |
---|
165 | |
---|
166 | ## fsmount |
---|
167 | include_rtems_HEADERS += libmisc/fsmount/fsmount.h |
---|
168 | |
---|
169 | cpukit.doxy: cpukit.doxy.in Makefile |
---|
170 | d=`pwd`;cd $(PROJECT_INCLUDE);project_include=`pwd`;cd $$d; \ |
---|
171 | sed \ |
---|
172 | -e "s,[@]PROJECT_INCLUDE[@],$${project_include}," \ |
---|
173 | -e 's,[@]DOXY_FILTER[@],$(top_srcdir)/$(RTEMS_TOPdir)/tools/build/doxy-filter,' \ |
---|
174 | $(srcdir)/cpukit.doxy.in > cpukit.doxy |
---|
175 | |
---|
176 | doxy: preinstall-stamp cpukit.doxy |
---|
177 | doxygen cpukit.doxy |
---|
178 | |
---|
179 | include $(srcdir)/preinstall.am |
---|
180 | include $(top_srcdir)/automake/subdirs.am |
---|
181 | include $(top_srcdir)/automake/local.am |
---|