source: rtems/cpukit/libcsupport/Makefile.am @ 8ed9f53

4.104.114.84.95
Last change on this file since 8ed9f53 was 8ed9f53, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jun 17, 2002 at 9:12:49 AM

2002-06-17 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Include $(top_srcdir)/../automake/*.am. Use ../aclocal.
  • src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2##  $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../aclocal
6
7include $(top_srcdir)/../automake/multilib.am
8
9SUBDIRS = . src
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 = \
65include/sys/filio.h \
66include/sys/ioccom.h \
67include/sys/ioctl.h \
68include/sys/sockio.h \
69include/sys/termios.h \
70include/sys/ttycom.h \
71include/sys/utime.h \
72$(NEWLIB_H_FILES)
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)
89
90include $(top_srcdir)/../automake/subdirs.am
91include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.