From 08119f1824e9a3a530f587dfb341cc3335fc4924 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 1 Apr 2004 11:04:16 +0000 Subject: 2004-04-01 Ralf Corsepius * sapi/Makefile.am: Install confdefs.h to $(includedir)/rtems. --- cpukit/sapi/Makefile.am | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'cpukit/sapi') 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 -- cgit v1.2.3