diff options
Diffstat (limited to 'cpukit/score/cpu/no_cpu/Makefile.am')
-rw-r--r-- | cpukit/score/cpu/no_cpu/Makefile.am | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/cpukit/score/cpu/no_cpu/Makefile.am b/cpukit/score/cpu/no_cpu/Makefile.am index a1d969cd38..a79abf2a7f 100644 --- a/cpukit/score/cpu/no_cpu/Makefile.am +++ b/cpukit/score/cpu/no_cpu/Makefile.am @@ -28,28 +28,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 |