source: rtems/cpukit/sapi/Makefile.am @ 846a4af

4.104.114.84.9
Last change on this file since 846a4af was 846a4af, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 1, 2005 at 10:41:29 AM

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

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