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 | SUBDIRS = . ada score rtems sapi posix itron |
---|
11 | SUBDIRS += libcsupport libblock libfs |
---|
12 | SUBDIRS += libnetworking librpc |
---|
13 | SUBDIRS += libmisc |
---|
14 | SUBDIRS += wrapup |
---|
15 | |
---|
16 | noinst_DATA = preinstall-stamp |
---|
17 | |
---|
18 | preinstall-stamp: |
---|
19 | $(MAKE) $(AM_MAKEFLAGS) preinstall |
---|
20 | touch preinstall-stamp |
---|
21 | CLEANFILES = preinstall-stamp |
---|
22 | |
---|
23 | include_HEADERS = backward/asm.h backward/chain.h backward/clockdrv.h \ |
---|
24 | backward/console.h backward/imfs.h backward/iosupp.h backward/ringbuf.h \ |
---|
25 | backward/rtc.h backward/spurious.h backward/timerdrv.h \ |
---|
26 | backward/vmeintr.h |
---|
27 | |
---|
28 | if !UNIX |
---|
29 | include_HEADERS += backward/dosfs.h |
---|
30 | endif |
---|
31 | |
---|
32 | if HAS_ITRON |
---|
33 | include_HEADERS += backward/itron.h |
---|
34 | endif |
---|
35 | |
---|
36 | include_rtemsdir = $(includedir)/rtems |
---|
37 | include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \ |
---|
38 | include/rtems/fs.h include/rtems/pci.h include/rtems/stdint.h \ |
---|
39 | include/rtems/concat.h |
---|
40 | |
---|
41 | PREINSTALL_DIRS = |
---|
42 | PREINSTALL_FILES = |
---|
43 | |
---|
44 | $(PROJECT_INCLUDE)/$(dirstamp): |
---|
45 | @$(mkdir_p) $(PROJECT_INCLUDE) |
---|
46 | @: > $(PROJECT_INCLUDE)/$(dirstamp) |
---|
47 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp) |
---|
48 | |
---|
49 | $(PROJECT_INCLUDE)/asm.h: backward/asm.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
50 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h |
---|
51 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h |
---|
52 | |
---|
53 | $(PROJECT_INCLUDE)/chain.h: backward/chain.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
54 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/chain.h |
---|
55 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/chain.h |
---|
56 | |
---|
57 | $(PROJECT_INCLUDE)/clockdrv.h: backward/clockdrv.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
58 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/clockdrv.h |
---|
59 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/clockdrv.h |
---|
60 | |
---|
61 | $(PROJECT_INCLUDE)/console.h: backward/console.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
62 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/console.h |
---|
63 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/console.h |
---|
64 | |
---|
65 | $(PROJECT_INCLUDE)/imfs.h: backward/imfs.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
66 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/imfs.h |
---|
67 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/imfs.h |
---|
68 | |
---|
69 | $(PROJECT_INCLUDE)/iosupp.h: backward/iosupp.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
70 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/iosupp.h |
---|
71 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/iosupp.h |
---|
72 | |
---|
73 | $(PROJECT_INCLUDE)/ringbuf.h: backward/ringbuf.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
74 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ringbuf.h |
---|
75 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/ringbuf.h |
---|
76 | |
---|
77 | $(PROJECT_INCLUDE)/rtc.h: backward/rtc.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
78 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtc.h |
---|
79 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtc.h |
---|
80 | |
---|
81 | $(PROJECT_INCLUDE)/spurious.h: backward/spurious.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
82 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/spurious.h |
---|
83 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/spurious.h |
---|
84 | |
---|
85 | $(PROJECT_INCLUDE)/timerdrv.h: backward/timerdrv.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
86 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/timerdrv.h |
---|
87 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/timerdrv.h |
---|
88 | |
---|
89 | $(PROJECT_INCLUDE)/vmeintr.h: backward/vmeintr.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
90 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vmeintr.h |
---|
91 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h |
---|
92 | |
---|
93 | if !UNIX |
---|
94 | $(PROJECT_INCLUDE)/dosfs.h: backward/dosfs.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
95 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/dosfs.h |
---|
96 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/dosfs.h |
---|
97 | endif |
---|
98 | |
---|
99 | if HAS_ITRON |
---|
100 | $(PROJECT_INCLUDE)/itron.h: backward/itron.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
101 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itron.h |
---|
102 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/itron.h |
---|
103 | endif |
---|
104 | |
---|
105 | $(PROJECT_INCLUDE)/rtems/$(dirstamp): |
---|
106 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems |
---|
107 | @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
108 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
109 | |
---|
110 | $(PROJECT_INCLUDE)/rtems/bspIo.h: include/rtems/bspIo.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
111 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bspIo.h |
---|
112 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspIo.h |
---|
113 | |
---|
114 | $(PROJECT_INCLUDE)/rtems/userenv.h: include/rtems/userenv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
115 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/userenv.h |
---|
116 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/userenv.h |
---|
117 | |
---|
118 | $(PROJECT_INCLUDE)/rtems/fs.h: include/rtems/fs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
119 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fs.h |
---|
120 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fs.h |
---|
121 | |
---|
122 | $(PROJECT_INCLUDE)/rtems/pci.h: include/rtems/pci.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
123 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pci.h |
---|
124 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pci.h |
---|
125 | |
---|
126 | $(PROJECT_INCLUDE)/rtems/stdint.h: include/rtems/stdint.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
127 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stdint.h |
---|
128 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stdint.h |
---|
129 | |
---|
130 | $(PROJECT_INCLUDE)/rtems/concat.h: include/rtems/concat.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
131 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/concat.h |
---|
132 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/concat.h |
---|
133 | |
---|
134 | CLEANFILES += $(PREINSTALL_FILES) |
---|
135 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
136 | |
---|
137 | include $(top_srcdir)/automake/subdirs.am |
---|
138 | include $(top_srcdir)/automake/local.am |
---|