1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | |
---|
6 | include_HEADERS = chain.h console.h clockdrv.h iosupp.h ringbuf.h rtc.h \ |
---|
7 | spurious.h timerdrv.h vmeintr.h |
---|
8 | |
---|
9 | LIBC_HFILES = stdint.h inttypes.h |
---|
10 | include_HEADERS += $(LIBC_HFILES) |
---|
11 | |
---|
12 | PREINSTALL_FILES = $(PROJECT_INCLUDE) \ |
---|
13 | $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
14 | |
---|
15 | $(PROJECT_INCLUDE): |
---|
16 | @$(mkinstalldirs) $@ |
---|
17 | $(PROJECT_INCLUDE)/motorola: |
---|
18 | @$(mkinstalldirs) $@ |
---|
19 | $(PROJECT_INCLUDE)/rtems: |
---|
20 | @$(mkinstalldirs) $@ |
---|
21 | $(PROJECT_INCLUDE)/sys: |
---|
22 | @$(mkinstalldirs) $@ |
---|
23 | $(PROJECT_INCLUDE)/zilog: |
---|
24 | @$(mkinstalldirs) $@ |
---|
25 | |
---|
26 | $(PROJECT_INCLUDE)/%.h: %.h |
---|
27 | $(INSTALL_DATA) $< $@ |
---|
28 | |
---|
29 | ## motorola |
---|
30 | |
---|
31 | include_motoroladir = $(includedir)/motorola |
---|
32 | |
---|
33 | include_motorola_HEADERS = motorola/mc68230.h motorola/mc68681.h |
---|
34 | |
---|
35 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola \ |
---|
36 | $(include_motorola_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
37 | |
---|
38 | ## rtems |
---|
39 | include_rtemsdir = $(includedir)/rtems |
---|
40 | |
---|
41 | include_rtems_HEADERS = \ |
---|
42 | rtems/assoc.h rtems/error.h rtems/libcsupport.h rtems/libio.h rtems/libio_.h \ |
---|
43 | rtems/termiostypes.h |
---|
44 | |
---|
45 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ |
---|
46 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
47 | |
---|
48 | ## sys |
---|
49 | |
---|
50 | include_sysdir = $(includedir)/sys |
---|
51 | |
---|
52 | if !HAS_NETWORKING |
---|
53 | NETWORKING_H_FILES = sys/ioctl.h |
---|
54 | endif |
---|
55 | |
---|
56 | if NEWLIB |
---|
57 | NEWLIB_H_FILES = sys/termios.h sys/cdefs.h |
---|
58 | endif |
---|
59 | |
---|
60 | include_sys_HEADERS = \ |
---|
61 | sys/ioccom.h \ |
---|
62 | sys/ttycom.h \ |
---|
63 | sys/utime.h \ |
---|
64 | $(NEWLIB_H_FILES) $(NETWORKING_H_FILES) |
---|
65 | |
---|
66 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \ |
---|
67 | $(include_sys_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
68 | |
---|
69 | ## zilog |
---|
70 | |
---|
71 | include_zilogdir = $(includedir)/zilog |
---|
72 | |
---|
73 | include_zilog_HEADERS = zilog/z8036.h zilog/z8530.h zilog/z8536.h |
---|
74 | |
---|
75 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog \ |
---|
76 | $(include_zilog_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
77 | |
---|
78 | ## General stuff |
---|
79 | all-local: $(PREINSTALL_FILES) |
---|
80 | |
---|
81 | include $(top_srcdir)/../../../automake/local.am |
---|