diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-01 11:51:05 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-01 11:51:05 +0000 |
commit | a9c795b965d9b39760c8be825aca4d5290af4563 (patch) | |
tree | 69c32899a123f12f41d9f855e3252c079e0e2ebd /c/src/lib/libcpu/powerpc/mpc8xx | |
parent | 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-a9c795b965d9b39760c8be825aca4d5290af4563.tar.bz2 |
2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc505/Makefile.am: Reformat.
* mpc505/ictrl/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc505/timer/Makefile.am: Reformat.
* mpc505/vectors/Makefile.am: Reformat.
* mpc6xx/Makefile.am: Reformat.
* mpc6xx/clock/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc6xx/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc6xx/mmu/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc6xx/timer/Makefile.am: Reformat.
* mpc6xx/wrapup/Makefile.am: Reformat.
* mpc8260/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8260/clock/Makefile.am: Reformat.
* mpc8260/console-generic/Makefile.am: Reformat.
* mpc8260/cpm/Makefile.am: Reformat.
* mpc8260/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8260/mmu/Makefile.am: Reformat.
* mpc8260/timer/Makefile.am: Reformat.
* mpc8xx/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8xx/clock/Makefile.am: Reformat.
* mpc8xx/console-generic/Makefile.am: Reformat.
* mpc8xx/cpm/Makefile.am: Reformat.
* mpc8xx/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8xx/mmu/Makefile.am: Reformat.
* mpc8xx/timer/Makefile.am: Reformat.
* ppc403/Makefile.am: Reformat.
* ppc403/clock/Makefile.am: Reformat.
* ppc403/console/Makefile.am: Reformat.
* ppc403/ictrl/Makefile.am: Reformat. Use dirstamp for preinstallation.
* ppc403/timer/Makefile.am: Reformat.
* ppc403/tty_drv/Makefile.am: Reformat. Use dirstamp for preinstallation.
* ppc403/vectors/Makefile.am: Reformat.
* shared/Makefile.am: Reformat.
* shared/include/Makefile.am: Reformat. Use dirstamp for preinstallation.
* shared/src/Makefile.am: Reformat. Use dirstamp for preinstallation.
* wrapup/Makefile.am: Reformat.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc8xx')
7 files changed, 36 insertions, 24 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am index 94100985ed..6e9a61b612 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am @@ -9,20 +9,35 @@ include_mpc8xxdir = $(includedir)/mpc8xx include_HEADERS = include/mpc8xx.h include_mpc8xx_HEADERS = include/console.h include/cpm.h include/mmu.h -PREINSTALL_FILES = $(PROJECT_INCLUDE)/mpc8xx \ - $(include_HEADERS:include/%=$(PROJECT_INCLUDE)/%) \ - $(include_mpc8xx_HEADERS:include/%=$(PROJECT_INCLUDE)/mpc8xx/%) +all-local: $(PREINSTALL_FILES) -$(PROJECT_INCLUDE)/mpc8xx: - $(mkinstalldirs) $@ +PREINSTALL_FILES = -$(PROJECT_INCLUDE)/%.h: include/%.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/$(dirstamp): + @$(mkinstalldirs) $(PROJECT_INCLUDE) + @: > $(PROJECT_INCLUDE)/$(dirstamp) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp) -$(PROJECT_INCLUDE)/mpc8xx/%.h: include/%.h - $(INSTALL_DATA) $< $@ +$(PROJECT_INCLUDE)/mpc8xx/$(dirstamp): + @$(mkinstalldirs) $(PROJECT_INCLUDE)/mpc8xx + @: > $(PROJECT_INCLUDE)/mpc8xx/$(dirstamp) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8xx/$(dirstamp) -all-local: $(PREINSTALL_FILES) +$(PROJECT_INCLUDE)/mpc8xx.h: include/mpc8xx.h $(PROJECT_INCLUDE)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8xx.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8xx.h + +$(PROJECT_INCLUDE)/mpc8xx/console.h: include/console.h $(PROJECT_INCLUDE)/mpc8xx/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8xx/console.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8xx/console.h + +$(PROJECT_INCLUDE)/mpc8xx/cpm.h: include/cpm.h $(PROJECT_INCLUDE)/mpc8xx/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8xx/cpm.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8xx/cpm.h + +$(PROJECT_INCLUDE)/mpc8xx/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/mpc8xx/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8xx/mmu.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8xx/mmu.h include $(top_srcdir)/../../../automake/subdirs.am include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/clock/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/clock/Makefile.am index e99a32f08a..1a849a2266 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/clock/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/clock/Makefile.am @@ -2,7 +2,6 @@ ## $Id$ ## - PGM = ${ARCH}/clock.rel ## C sources diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/Makefile.am index 3f64451004..50eb2730fc 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/console-generic/Makefile.am @@ -2,7 +2,6 @@ ## $Id$ ## - PGM = ${ARCH}/console-generic.rel ## C sources diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/Makefile.am index da26052a5d..b3e58a6ca1 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/cpm/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/cpm/Makefile.am @@ -2,7 +2,6 @@ ## $Id$ ## - PGM = ${ARCH}/cp.rel ## C sources diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/Makefile.am index 1b00b276e7..f89204edd7 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/exceptions/Makefile.am @@ -2,7 +2,6 @@ ## $Id$ ## - PGM = $(ARCH)/exceptions.rel C_FILES = raw_exception.c @@ -18,11 +17,6 @@ exceptions_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) \ include $(top_srcdir)/../../../automake/compile.am include $(top_srcdir)/../../../automake/lib.am -$(PROJECT_INCLUDE)/libcpu: - $(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/libcpu/%.h: %.h - $(INSTALL_DATA) $< $@ - # # (OPTIONAL) Add local stuff here using += # @@ -30,13 +24,21 @@ $(PROJECT_INCLUDE)/libcpu/%.h: %.h $(PGM): $(exceptions_rel_OBJECTS) $(make-rel) -PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \ - $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%) - all-local: $(ARCH) $(PREINSTALL_FILES) $(exceptions_rel_OBJECTS) $(PGM) .PRECIOUS: $(PGM) EXTRA_DIST = asm_utils.S raw_exception.c raw_exception.h +PREINSTALL_FILES = + +$(PROJECT_INCLUDE)/libcpu/$(dirstamp): + @$(mkinstalldirs) $(PROJECT_INCLUDE)/libcpu + @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/$(dirstamp) + +$(PROJECT_INCLUDE)/libcpu/raw_exception.h: raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h + include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/mmu/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/mmu/Makefile.am index f62c09a0a6..675da4a183 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/mmu/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/mmu/Makefile.am @@ -2,7 +2,6 @@ ## $Id$ ## - PGM = ${ARCH}/mmu.rel ## C sources diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/timer/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/timer/Makefile.am index 109bafeac1..3d413c3575 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/timer/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/timer/Makefile.am @@ -2,7 +2,6 @@ ## $Id$ ## - PGM = ${ARCH}/timer.rel ## C sources |