diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-30 07:52:50 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-30 07:52:50 +0000 |
commit | 74c77c5cdfc94f6d84d12c3685aadbd6bde44dd8 (patch) | |
tree | e6d04bc256a1efc8c0be527247301d19cd7d5e16 /cpukit/ada/Makefile.am | |
parent | 2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-74c77c5cdfc94f6d84d12c3685aadbd6bde44dd8.tar.bz2 |
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Preinstall adainclude_HEADERS.
Add $(dirstamp) to preinstallation rules.
Diffstat (limited to '')
-rw-r--r-- | cpukit/ada/Makefile.am | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/cpukit/ada/Makefile.am b/cpukit/ada/Makefile.am index 635f636352..4b2a807b16 100644 --- a/cpukit/ada/Makefile.am +++ b/cpukit/ada/Makefile.am @@ -2,23 +2,38 @@ # $Id$ # -$(PROJECT_INCLUDE)/adainclude: - $(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/adainclude/%: % - $(INSTALL_DATA) $< $@ - adaincludedir = $(includedir)/adainclude if RTEMS_ADA adainclude_HEADERS = rtems.adb rtems.ads adainclude_HEADERS += rtems-multiprocessing.adb rtems-multiprocessing.ads - -TMPINSTALL_FILES = \ - $(PROJECT_INCLUDE)/adainclude \ - $(adainclude_HEADERS:%=$(PROJECT_INCLUDE)/adainclude/%) \ - $(nodist_adalib_HEADERS:%=$(PROJECT_INCLUDE)/adainclude/%) endif all-local: $(TMPINSTALL_FILES) +PREINSTALL_FILES = + +$(PROJECT_INCLUDE)/adainclude/$(dirstamp): + @$(mkinstalldirs) $(PROJECT_INCLUDE)/adainclude + @: > $(PROJECT_INCLUDE)/adainclude/$(dirstamp) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/$(dirstamp) + +if RTEMS_ADA +$(PROJECT_INCLUDE)/adainclude/rtems.adb: rtems.adb $(PROJECT_INCLUDE)/adainclude/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems.adb +PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems.adb + +$(PROJECT_INCLUDE)/adainclude/rtems.ads: rtems.ads $(PROJECT_INCLUDE)/adainclude/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems.ads +PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems.ads + +$(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.adb: rtems-multiprocessing.adb $(PROJECT_INCLUDE)/adainclude/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.adb +PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.adb + +$(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.ads: rtems-multiprocessing.ads $(PROJECT_INCLUDE)/adainclude/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.ads +PREINSTALL_FILES += $(PROJECT_INCLUDE)/adainclude/rtems-multiprocessing.ads +endif + include $(top_srcdir)/automake/local.am |