diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-30 07:35:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-30 07:35:52 +0000 |
commit | 7d0eba022a72276f82c7aee9a4b919a9606247a1 (patch) | |
tree | f17056719911431651f47357c84ca9d6d35bf0af /cpukit/score/cpu/mips/Makefile.am | |
parent | 2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-7d0eba022a72276f82c7aee9a4b919a9606247a1.tar.bz2 |
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add $(dirstamp) to preinstallation rules.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/mips/Makefile.am | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/cpukit/score/cpu/mips/Makefile.am b/cpukit/score/cpu/mips/Makefile.am index 047ba5b7b2..1d9127bc9e 100644 --- a/cpukit/score/cpu/mips/Makefile.am +++ b/cpukit/score/cpu/mips/Makefile.am @@ -32,32 +32,38 @@ 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)/idtcpu.h: idtcpu.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/idtcpu.h: idtcpu.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/idtcpu.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/idtcpu.h -$(PROJECT_INCLUDE)/iregdef.h: iregdef.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/iregdef.h: iregdef.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/iregdef.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/iregdef.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/mips.h: rtems/score/mips.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/rtems/score/mips.h: rtems/score/mips.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mips.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mips.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 |