From d4f9cef5402556a804ae4b37eb45b389e3b08318 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Jun 2001 14:27:24 +0000 Subject: 2001-06-19 Ralf Corsepius * configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h. --- c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am') diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am b/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am index 4b5bc87fe4..0e3072617c 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am @@ -7,7 +7,8 @@ AUTOMAKE_OPTIONS = foreign 1.4 C_FILES = irq.c irq_init.c C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) -H_FILES = irq.h +include_bspdir = $(includedir)/bsp +include_bsp_HEADERS = irq.h S_FILES = irq_asm.S S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) @@ -18,9 +19,13 @@ include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../../../../automake/compile.am include $(top_srcdir)/../../../../../../automake/lib.am +#HACK: WTF is this? SORDID_HACK: rm -f $(PROJECT_INCLUDE)/bsp/irq.h +$(PROJECT_INCLUDE): + $(mkinstalldirs) $@ + $(PROJECT_INCLUDE)/bsp: $(mkinstalldirs) $@ @@ -28,7 +33,7 @@ $(PROJECT_INCLUDE)/bsp/%.h: %.h $(INSTALL_DATA) $< $@ PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp \ - $(H_FILES:%.h=$(PROJECT_INCLUDE)/bsp/%.h) + $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%) # # (OPTIONAL) Add local stuff here using += @@ -41,6 +46,6 @@ $(PGM): $(OBJS) all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM) -EXTRA_DIST = irq.c irq.h irq_asm.S irq_init.c +EXTRA_DIST = irq.c irq_asm.S irq_init.c include $(top_srcdir)/../../../../../../automake/local.am -- cgit v1.2.3