2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Preinstall adainclude_HEADERS.
	Add $(dirstamp) to preinstallation rules.
This commit is contained in:
Ralf Corsepius
2003-11-30 07:52:50 +00:00
parent 8a61c2a17a
commit 74c77c5cdf
4 changed files with 60 additions and 20 deletions

View File

@@ -1,3 +1,8 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Preinstall adainclude_HEADERS.
Add $(dirstamp) to preinstallation rules.
2003-11-25 Joel Sherrill <joel@OARcorp.com>
PR 528/rtems_misc

View File

@@ -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

View File

@@ -1,3 +1,8 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Preinstall adainclude_HEADERS.
Add $(dirstamp) to preinstallation rules.
2003-11-25 Joel Sherrill <joel@OARcorp.com>
PR 528/rtems_misc

View File

@@ -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