summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-01 11:04:16 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-01 11:04:16 +0000
commit08119f1824e9a3a530f587dfb341cc3335fc4924 (patch)
tree3d9ef8d64908fdf77efc078c8bcacccf2bb8cc0d /cpukit/sapi
parent2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-08119f1824e9a3a530f587dfb341cc3335fc4924.tar.bz2
2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* sapi/Makefile.am: Install confdefs.h to $(includedir)/rtems.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/Makefile.am18
1 files changed, 6 insertions, 12 deletions
diff --git a/cpukit/sapi/Makefile.am b/cpukit/sapi/Makefile.am
index 8e042d9f07..93684bc0dd 100644
--- a/cpukit/sapi/Makefile.am
+++ b/cpukit/sapi/Makefile.am
@@ -5,11 +5,10 @@
include $(top_srcdir)/automake/multilib.am
include $(top_srcdir)/automake/compile.am
-include_HEADERS = include/confdefs.h
-
include_rtemsdir = $(includedir)/rtems
-include_rtems_HEADERS = include/rtems/config.h include/rtems/extension.h \
+include_rtems_HEADERS = include/confdefs.h
+include_rtems_HEADERS += include/rtems/config.h include/rtems/extension.h \
include/rtems/fatal.h include/rtems/init.h include/rtems/io.h \
include/rtems/mptables.h include/rtems/sptables.h
@@ -46,20 +45,15 @@ all-local: $(PREINSTALL_FILES) libsapi$(LIB_VARIANT).a
PREINSTALL_DIRS =
PREINSTALL_FILES =
-$(PROJECT_INCLUDE)/$(dirstamp):
- @$(mkdir_p) $(PROJECT_INCLUDE)
- @: > $(PROJECT_INCLUDE)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
-
-$(PROJECT_INCLUDE)/confdefs.h: include/confdefs.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/confdefs.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/confdefs.h
-
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
@$(mkdir_p) $(PROJECT_INCLUDE)/rtems
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
+$(PROJECT_INCLUDE)/rtems/confdefs.h: include/confdefs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/confdefs.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/confdefs.h
+
$(PROJECT_INCLUDE)/rtems/config.h: include/rtems/config.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/config.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/config.h