OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [eth_comm/] [irq/] [Makefile.am] - Rev 1765

Compare with Previous | Blame | View Log

##
## Makefile.am,v 1.5 2002/03/28 00:41:28 joel Exp
##


include_bspdir = $(includedir)/bsp

C_FILES = irq.c irq_init.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)

include_bsp_HEADERS = irq.h

S_FILES = irq_asm.S
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)

OBJS = $(C_O_FILES) $(S_O_FILES)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../../automake/compile.am
include $(top_srcdir)/../../../../../../automake/lib.am

## FIXME: WTF is this?
SORDID_HACK:
        rm -f $(PROJECT_INCLUDE)/bsp/irq.h

$(PROJECT_INCLUDE)/bsp:
        $(mkinstalldirs) $@

$(PROJECT_INCLUDE)/bsp/%.h: %.h
        $(INSTALL_DATA) $< $@

PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp \
    $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)

#
# (OPTIONAL) Add local stuff here using +=
#

$(PGM): $(OBJS)
        $(make-rel)

# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile

all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM)

EXTRA_DIST = irq.c irq_asm.S irq_init.c

include $(top_srcdir)/../../../../../../automake/local.am

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.