From 23090f33860ae60badb5eb6e781e99a79801720a Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 29 Sep 2003 13:22:48 +0000 Subject: 2003-09-29 Ralf Corsepius * Makefile.am: Merge-in include/Makefile.am. Reflect changes to bsp.am. * include/Makefile.am: Remove. * include/bsp.h: Add copy of ../shared/include/bsp.h (Violates BSP coding standards). * configure.ac: Reflect changes above. * irq/Makefile.am: Fix header installation. * motorola/Makefile.am: Fix header installation. * openpic/Makefile.am: Fix header installation. * pci/Makefile.am: Fix header installation. --- .../lib/libbsp/powerpc/motorola_powerpc/irq/Makefile.am | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/irq/Makefile.am') diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/irq/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/irq/Makefile.am index 9504e63f81..33894e3b9a 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/irq/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/irq/Makefile.am @@ -2,14 +2,13 @@ ## $Id$ ## - VPATH = @srcdir@:@srcdir@/../../shared/irq C_FILES = irq_init.c i8259.c irq.c C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) -# FIXME: this does give any sense here -H_FILES = ../../shared/irq/irq.h +include_bspdir = $(includedir)/bsp +nodist_include_bsp_HEADERS = $(top_srcdir)/../shared/irq/irq.h S_FILES = irq_asm.S S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) @@ -23,6 +22,16 @@ include $(top_srcdir)/../../../../automake/lib.am # (OPTIONAL) Add local stuff here using += # -all-local: $(ARCH) $(OBJS) +all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) + +PREINSTALL_FILES = + +$(PROJECT_INCLUDE)/bsp: + @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp +PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp + +$(PROJECT_INCLUDE)/bsp/irq.h: $(top_srcdir)/../shared/irq/irq.h + $(INSTALL_DATA) $< $@ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h include $(top_srcdir)/../../../../automake/local.am -- cgit v1.2.3