2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Add preinstallation dirstamp support.
	* clock/Makefile.am: Cosmetics.
	* console/Makefile.am: Cosmetics.
	* irq/Makefile.am: Add preinstallation dirstamp support.
	* startup/Makefile.am: Cosmetics.
	* timer/Makefile.am: Cosmetics.
This commit is contained in:
Ralf Corsepius
2003-12-03 05:16:57 +00:00
parent 0f4b28e36d
commit 7f0e84c5fa
7 changed files with 24 additions and 17 deletions

View File

@@ -1,3 +1,12 @@
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add preinstallation dirstamp support.
* clock/Makefile.am: Cosmetics.
* console/Makefile.am: Cosmetics.
* irq/Makefile.am: Add preinstallation dirstamp support.
* startup/Makefile.am: Cosmetics.
* timer/Makefile.am: Cosmetics.
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Remove all-local: $(ARCH).

View File

@@ -16,12 +16,12 @@ nodist_include_HEADERS += $(top_srcdir)/../../shared/include/coverhd.h
all-local: $(PREINSTALL_FILES)
$(PROJECT_INCLUDE)/registers.h: include/registers.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/registers.h: include/registers.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/registers.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/registers.h
$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
include $(top_srcdir)/../../../../automake/subdirs.am

View File

@@ -2,7 +2,6 @@
## $Id$
##
PGM = $(ARCH)/clock.rel
C_FILES = clockdrv.c

View File

@@ -2,7 +2,6 @@
## $Id$
##
VPATH = @srcdir@:@srcdir@/../../shared/comm:@srcdir@/../../shared/io
PGM = $(ARCH)/console.rel

View File

@@ -2,7 +2,6 @@
## $Id$
##
VPATH = @srcdir@:@srcdir@/../../shared/irq
PGM = $(ARCH)/irq.rel
@@ -16,14 +15,6 @@ S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
irq_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
$(PROJECT_INCLUDE):
$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../../../automake/lib.am
@@ -40,4 +31,15 @@ all: $(PREINSTALL_FILES) $(ARCH) $(irq_rel_OBJECTS) $(PGM)
EXTRA_DIST = irq.c bsp_irq_init.c bsp_irq_asm.S
PREINSTALL_FILES =
$(PROJECT_INCLUDE)/$(dirstamp):
@$(mkinstalldirs) $(PROJECT_INCLUDE)
@: > $(PROJECT_INCLUDE)/$(dirstamp)
PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
$(PROJECT_INCLUDE)/irq.h: irq.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -2,7 +2,6 @@
## $Id$
##
VPATH = @srcdir@:@srcdir@/../../../shared
C_FILES = bsplibc.c bsppost.c bspstart.c exit.c bootcard.c main.c sbrk.c \

View File

@@ -2,7 +2,6 @@
## $Id$
##
VPATH = @srcdir@:@srcdir@/../../../shared
PGM = $(ARCH)/timer.rel