source: rtems/cpukit/sapi/Makefile.am @ 16351f7a

4.104.114.84.95
Last change on this file since 16351f7a was a369ade, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/07/05 at 06:05:49

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

  • httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
  • Property mode set to 100644
File size: 3.3 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 += -I$(top_builddir)
25AM_CPPFLAGS += -D__RTEMS_INSIDE__
26
27noinst_LIBRARIES = libsapi.a
28libsapi_a_SOURCES = src/debug.c src/extension.c src/extensioncreate.c \
29    src/extensiondelete.c src/extensionident.c src/fatal.c src/exinit.c \
30    src/io.c src/itronapi.c src/posixapi.c src/rtemsapi.c
31libsapi_a_CPPFLAGS = $(AM_CPPFLAGS)
32
33all-local: $(PREINSTALL_FILES)
34
35PREINSTALL_DIRS =
36PREINSTALL_FILES =
37
38$(PROJECT_INCLUDE)/rtems/$(dirstamp):
39        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
40        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
41PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
42
43$(PROJECT_INCLUDE)/rtems/confdefs.h: include/confdefs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
44        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/confdefs.h
45PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/confdefs.h
46
47$(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h
50
51$(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
52        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.h
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.h
54
55$(PROJECT_INCLUDE)/rtems/fatal.h: include/rtems/fatal.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
56        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fatal.h
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fatal.h
58
59$(PROJECT_INCLUDE)/rtems/init.h: include/rtems/init.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
60        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/init.h
61PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/init.h
62
63$(PROJECT_INCLUDE)/rtems/io.h: include/rtems/io.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
64        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/io.h
65PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/io.h
66
67$(PROJECT_INCLUDE)/rtems/mptables.h: include/rtems/mptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
68        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mptables.h
69PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mptables.h
70
71$(PROJECT_INCLUDE)/rtems/sptables.h: include/rtems/sptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
72        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/sptables.h
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/sptables.h
74
75if INLINE
76$(PROJECT_INCLUDE)/rtems/extension.inl: inline/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
78PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
79
80else
81$(PROJECT_INCLUDE)/rtems/extension.inl: macros/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
82        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
83PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
84endif
85
86CLEANFILES = $(PREINSTALL_FILES)
87DISTCLEANFILES = $(PREINSTALL_DIRS)
88
89include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.