From 7d0eba022a72276f82c7aee9a4b919a9606247a1 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 30 Nov 2003 07:35:52 +0000 Subject: 2003-11-30 Ralf Corsepius * Makefile.am: Add $(dirstamp) to preinstallation rules. --- cpukit/score/cpu/no_cpu/ChangeLog | 4 ++++ cpukit/score/cpu/no_cpu/Makefile.am | 30 ++++++++++++++++++------------ 2 files changed, 22 insertions(+), 12 deletions(-) (limited to 'cpukit/score/cpu/no_cpu') diff --git a/cpukit/score/cpu/no_cpu/ChangeLog b/cpukit/score/cpu/no_cpu/ChangeLog index d0a6ce9e96..9e170e2aaa 100644 --- a/cpukit/score/cpu/no_cpu/ChangeLog +++ b/cpukit/score/cpu/no_cpu/ChangeLog @@ -1,3 +1,7 @@ +2003-11-30 Ralf Corsepius + + * Makefile.am: Add $(dirstamp) to preinstallation rules. + 2003-11-23 Ralf Corsepius * Makefile.am: Don't use gmake rules for preinstallation. diff --git a/cpukit/score/cpu/no_cpu/Makefile.am b/cpukit/score/cpu/no_cpu/Makefile.am index 2bfe798c90..5b7b812f69 100644 --- a/cpukit/score/cpu/no_cpu/Makefile.am +++ b/cpukit/score/cpu/no_cpu/Makefile.am @@ -29,28 +29,34 @@ EXTRA_DIST = cpu.c cpu_asm.c PREINSTALL_FILES = -$(PROJECT_INCLUDE)/asm.h: asm.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/$(dirstamp): + @$(mkinstalldirs) $(PROJECT_INCLUDE) + @: > $(PROJECT_INCLUDE)/$(dirstamp) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp) + +$(PROJECT_INCLUDE)/asm.h: asm.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h -$(PROJECT_INCLUDE)/rtems/score: +$(PROJECT_INCLUDE)/rtems/score/$(dirstamp): @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/score -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score + @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) -$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h -$(PROJECT_INCLUDE)/rtems/score/no_cpu.h: rtems/score/no_cpu.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/rtems/score/no_cpu.h: rtems/score/no_cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/no_cpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/no_cpu.h -$(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h -$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h include $(top_srcdir)/../../../automake/local.am -- cgit v1.2.3