source: rtems/cpukit/sapi/Makefile.am @ 08119f1

4.104.114.84.95
Last change on this file since 08119f1 was 08119f1, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/01/04 at 11:04:16

2004-04-01 Ralf Corsepius <ralf_corsepius@…>

  • sapi/Makefile.am: Install confdefs.h to $(includedir)/rtems.
  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[811804fe]1##
2## $Id$
3##
[e1d8abb]4
[f117cafc]5include $(top_srcdir)/automake/multilib.am
[53fa63e]6include $(top_srcdir)/automake/compile.am
[e1d8abb]7
[f117cafc]8include_rtemsdir = $(includedir)/rtems
9
[08119f1]10include_rtems_HEADERS = include/confdefs.h
11include_rtems_HEADERS += include/rtems/config.h include/rtems/extension.h \
[8b273c2]12    include/rtems/fatal.h include/rtems/init.h include/rtems/io.h \
13    include/rtems/mptables.h include/rtems/sptables.h
[f117cafc]14
15EXTRA_DIST = include/rtems/README
16
17if INLINE
[8b273c2]18include_rtems_HEADERS += inline/rtems/extension.inl
[8a61c2a]19else
[8b273c2]20include_rtems_HEADERS += macros/rtems/extension.inl
[f117cafc]21endif
22
23## src
24
[8b273c2]25EXTENSION_FILES = src/extension.c src/extensioncreate.c \
26    src/extensiondelete.c src/extensionident.c
[f117cafc]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
[a3fb105]30AM_CPPFLAGS += -I$(top_builddir)
[f117cafc]31AM_CPPFLAGS += -D__RTEMS_INSIDE__
32
[89b46875]33EXTRA_LIBRARIES = libsapi.a
[b71e8d0]34CLEANFILES = libsapi.a
[89b46875]35libsapi_a_SOURCES = $(C_FILES)
36libsapi_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
[f117cafc]37
[89b46875]38EXTRA_LIBRARIES += libsapi_g.a
[b71e8d0]39CLEANFILES += libsapi_g.a
40libsapi_g_a_SOURCES = $(libsapi_a_SOURCES)
[89b46875]41libsapi_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
[f117cafc]42
[89b46875]43all-local: $(PREINSTALL_FILES) libsapi$(LIB_VARIANT).a
[e1d8abb]44
[3d1de20]45PREINSTALL_DIRS =
[8b273c2]46PREINSTALL_FILES =
47
[8a61c2a]48$(PROJECT_INCLUDE)/rtems/$(dirstamp):
[53a8958]49        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
[8a61c2a]50        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
[3d1de20]51PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
[8b273c2]52
[08119f1]53$(PROJECT_INCLUDE)/rtems/confdefs.h: include/confdefs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
54        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/confdefs.h
55PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/confdefs.h
56
[8a61c2a]57$(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
58        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h
[8b273c2]59PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h
60
[8a61c2a]61$(PROJECT_INCLUDE)/rtems/extension.h: include/rtems/extension.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
62        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.h
[8b273c2]63PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.h
64
[8a61c2a]65$(PROJECT_INCLUDE)/rtems/fatal.h: include/rtems/fatal.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
66        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fatal.h
[8b273c2]67PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fatal.h
68
[8a61c2a]69$(PROJECT_INCLUDE)/rtems/init.h: include/rtems/init.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
70        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/init.h
[8b273c2]71PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/init.h
72
[8a61c2a]73$(PROJECT_INCLUDE)/rtems/io.h: include/rtems/io.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
74        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/io.h
[8b273c2]75PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/io.h
76
[8a61c2a]77$(PROJECT_INCLUDE)/rtems/mptables.h: include/rtems/mptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
78        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mptables.h
[8b273c2]79PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mptables.h
80
[8a61c2a]81$(PROJECT_INCLUDE)/rtems/sptables.h: include/rtems/sptables.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
82        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/sptables.h
[8b273c2]83PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/sptables.h
84
85if INLINE
[8a61c2a]86$(PROJECT_INCLUDE)/rtems/extension.inl: inline/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
87        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
[8b273c2]88PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
89
[8a61c2a]90else
91$(PROJECT_INCLUDE)/rtems/extension.inl: macros/rtems/extension.inl $(PROJECT_INCLUDE)/rtems/$(dirstamp)
92        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/extension.inl
[8b273c2]93PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/extension.inl
94endif
95
[8956e27]96CLEANFILES += $(PREINSTALL_FILES)
[3d1de20]97DISTCLEANFILES = $(PREINSTALL_DIRS)
[8956e27]98
[fed6210d]99include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.