source: rtems/c/src/lib/Makefile.am @ f85a3c56

4.104.114.84.95
Last change on this file since f85a3c56 was f85a3c56, checked in by Joel Sherrill <joel.sherrill@…>, on 05/14/02 at 20:52:51

2002-05-03 Ralf Corsepius <corsepiu@…>

  • include/Makefile.am: Remove.
  • include/sys/utsname.h: Added, removed times (now in newlib).
  • Makefile.am: Merge include/Makefile.am
  • libc/utsname.c: Relocated from posix/src.
  • libc/Makefile.am: Reflect changes above.
  • configure.ac: Remove include/Makefile
  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[811804fe]1##
2##  $Id$
3##
[e1d8abb]4
[feead226]5ACLOCAL_AMFLAGS = -I ../../../aclocal
[e1d8abb]6
[deb66d1]7include $(top_srcdir)/../../../automake/multilib.am
8
9SUBDIRS = . libc
10
11include_HEADERS = include/chain.h include/console.h include/clockdrv.h \
12    include/iosupp.h include/ringbuf.h include/rtc.h \
13    include/spurious.h include/timerdrv.h include/vmeintr.h
14
15LIBC_HFILES = include/stdint.h include/inttypes.h
16include_HEADERS += $(LIBC_HFILES)
17
18PREINSTALL_FILES = $(PROJECT_INCLUDE) \
19    $(include_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
20
21$(PROJECT_INCLUDE):
22        @$(mkinstalldirs) $@
23$(PROJECT_INCLUDE)/motorola:
24        @$(mkinstalldirs) $@
25$(PROJECT_INCLUDE)/rtems:
26        @$(mkinstalldirs) $@
27$(PROJECT_INCLUDE)/sys:
28        @$(mkinstalldirs) $@
29$(PROJECT_INCLUDE)/zilog:
30        @$(mkinstalldirs) $@
31
32$(PROJECT_INCLUDE)/%.h: include/%.h
33        $(INSTALL_DATA) $< $@
34
35## motorola
36
37include_motoroladir = $(includedir)/motorola
38
39include_motorola_HEADERS = include/motorola/mc68230.h include/motorola/mc68681.h
40
41PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola \
42    $(include_motorola_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
43
44## rtems
45include_rtemsdir = $(includedir)/rtems
46
47include_rtems_HEADERS = \
48    include/rtems/assoc.h include/rtems/error.h include/rtems/libcsupport.h \
49    include/rtems/libio.h include/rtems/libio_.h \
50    include/rtems/termiostypes.h
51
52PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
53    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
54
55## sys
56
57include_sysdir = $(includedir)/sys
58
59
60if NEWLIB
61NEWLIB_H_FILES = include/sys/termios.h include/sys/cdefs.h include/sys/utsname.h
62endif
63
64include_sys_HEADERS = \
[f85a3c56]65include/sys/filio.h \
[deb66d1]66include/sys/ioccom.h \
[f85a3c56]67include/sys/ioctl.h \
68include/sys/sockio.h \
69include/sys/termios.h \
[deb66d1]70include/sys/ttycom.h \
71include/sys/utime.h \
[f85a3c56]72$(NEWLIB_H_FILES)
[deb66d1]73
74PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \
75    $(include_sys_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
76
77## zilog
78
79include_zilogdir = $(includedir)/zilog
80
81include_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \
82    include/zilog/z8536.h
83
84PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog \
85    $(include_zilog_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
86
87##  General stuff
88all-local: $(PREINSTALL_FILES)
[e1d8abb]89
90include $(top_srcdir)/../../../automake/subdirs.am
91include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.