diff options
Diffstat (limited to 'cpukit/score/cpu/h8300/Makefile.am')
-rw-r--r-- | cpukit/score/cpu/h8300/Makefile.am | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/cpukit/score/cpu/h8300/Makefile.am b/cpukit/score/cpu/h8300/Makefile.am index 71214c3ad2..85cf8f2b07 100644 --- a/cpukit/score/cpu/h8300/Makefile.am +++ b/cpukit/score/cpu/h8300/Makefile.am @@ -32,24 +32,30 @@ EXTRA_DIST = cpu.c cpu_asm.S 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/h8300.h: rtems/score/h8300.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/rtems/score/h8300.h: rtems/score/h8300.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/h8300.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/h8300.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 |