source: rtems/cpukit/sapi/Makefile.am @ 9d83387b

4.104.114.84.95
Last change on this file since 9d83387b was 05b37c50, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/28/05 at 02:32:38

2005-01-28 Ralf Corsepius <ralf.corsepius@…>

  • itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am: Remove AM_CPPFLAGS += -I$(top_builddir).
  • Property mode set to 100644
File size: 3.2 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8include_rtemsdir = $(includedir)/rtems
9
10include_rtems_HEADERS = include/confdefs.h
11include_rtems_HEADERS += include/rtems/config.h include/rtems/extension.h \
12    include/rtems/fatal.h include/rtems/init.h include/rtems/io.h \
13    include/rtems/mptables.h include/rtems/sptables.h
14
15EXTRA_DIST = include/rtems/README
16
17if INLINE
18include_rtems_HEADERS += inline/rtems/extension.inl
19else
20include_rtems_HEADERS += macros/rtems/extension.inl
21endif
22
23## src
24AM_CPPFLAGS += -D__RTEMS_INSIDE__
25
26noinst_LIBRARIES = libsapi.a
27libsapi_a_SOURCES = src/debug.c src/extension.c src/extensioncreate.c \
28    src/extensiondelete.c src/extensionident.c src/fatal.c src/exinit.c \
29    src/io.c src/itronapi.c src/posixapi.c src/rtemsapi.c
30libsapi_a_CPPFLAGS = $(AM_CPPFLAGS)
31
32all-local: $(PREINSTALL_FILES)
33
34PREINSTALL_DIRS =
35PREINSTALL_FILES =
36
37$(PROJECT_INCLUDE)/rtems/$(dirstamp):
38        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
39        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
40PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
41
42$(PROJECT_INCLUDE)/rtems/confdefs.h: include/confdefs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/confdefs.h
44PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/confdefs.h
45
46$(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h
49
50$(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
51        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.h
52PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.h
53
54$(PROJECT_INCLUDE)/rtems/fatal.h: include/rtems/fatal.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
55        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fatal.h
56PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fatal.h
57
58$(PROJECT_INCLUDE)/rtems/init.h: include/rtems/init.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
59        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/init.h
60PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/init.h
61
62$(PROJECT_INCLUDE)/rtems/io.h: include/rtems/io.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
63        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/io.h
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/io.h
65
66$(PROJECT_INCLUDE)/rtems/mptables.h: include/rtems/mptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
67        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mptables.h
68PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mptables.h
69
70$(PROJECT_INCLUDE)/rtems/sptables.h: include/rtems/sptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
71        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/sptables.h
72PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/sptables.h
73
74if INLINE
75$(PROJECT_INCLUDE)/rtems/extension.inl: inline/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
76        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
77PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
78
79else
80$(PROJECT_INCLUDE)/rtems/extension.inl: macros/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
82PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
83endif
84
85CLEANFILES = $(PREINSTALL_FILES)
86DISTCLEANFILES = $(PREINSTALL_DIRS)
87
88include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.