diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-06-19 14:27:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-06-19 14:27:24 +0000 |
commit | d4f9cef5402556a804ae4b37eb45b389e3b08318 (patch) | |
tree | 361fc954e6f5fa612b69a627578ea434440be052 /c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am | |
parent | 2001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-d4f9cef5402556a804ae4b37eb45b389e3b08318.tar.bz2 |
2001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
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 |