source: rtems/c/src/lib/include/Makefile.am @ 49ed8e7

4.104.114.84.9
Last change on this file since 49ed8e7 was 49ed8e7, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 16, 2001 at 6:50:03 PM

2001-10-16 Ralf Corsepius <corsepiu@…>

  • include/zilog/Makefile.am: Remove.
  • include/motorola/Makefile.am: Remove.
  • include/sys/Makefile.am: Remove.
  • include/rtems/Makefile.am: Remove.
  • include/Makefile.am: Handle subdirs, require automake-1.5
  • Makefile.am: Require automake-1.5.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.5
6
7include_HEADERS = bspIo.h chain.h console.h clockdrv.h iosupp.h ringbuf.h rtc.h \
8    spurious.h timerdrv.h vmeintr.h
9
10PREINSTALL_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
29include_motoroladir = $(includedir)/motorola
30
31include_motorola_HEADERS = motorola/mc68230.h motorola/mc68681.h
32
33PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola \
34    $(include_motorola_HEADERS:%=$(PROJECT_INCLUDE)/%)
35
36## rtems
37include_rtemsdir = $(includedir)/rtems
38
39include_rtems_HEADERS = \
40    rtems/assoc.h rtems/error.h rtems/libcsupport.h rtems/libio.h rtems/libio_.h \
41    rtems/termiostypes.h
42
43PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
44    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
45
46## sys
47
48include_sysdir = $(includedir)/sys
49
50if !HAS_NETWORKING
51NETWORKING_H_FILES = sys/ioctl.h
52endif
53
54if NEWLIB
55NEWLIB_H_FILES = sys/termios.h sys/cdefs.h
56endif
57
58include_sys_HEADERS = \
59sys/ioccom.h \
60sys/ttycom.h \
61sys/utime.h \
62$(NEWLIB_H_FILES) $(NETWORKING_H_FILES)
63
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \
65    $(include_sys_HEADERS:%=$(PROJECT_INCLUDE)/%)
66
67## zilog
68
69include_zilogdir = $(includedir)/zilog
70
71include_zilog_HEADERS = zilog/z8036.h zilog/z8530.h zilog/z8536.h
72
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog \
74    $(include_zilog_HEADERS:%=$(PROJECT_INCLUDE)/%)
75
76##  General stuff
77all-local: $(PREINSTALL_FILES)
78
79include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.