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