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