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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [ods68302/] [start/] [Makefile.am] - Rev 585

Go to most recent revision | Compare with Previous | Blame | View Log

##
## $Id: Makefile.am,v 1.2 2001-09-27 12:00:21 chris Exp $
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/start.o

RESET_S_FILES_yes_V = debugreset.S
RESET_S_FILES_no_V = reset.S
RESET_S_FILES__V = $(RESET_S_FILES_no_V)
RESET_S_FILES = $(RESET_S_FILES_$(RTEMS_DEBUGGER)_V)

CFLAGS_no_V = -DGDB_MONITOR_ACTIVE
CFLAGS__V = $(CFLAGS_no_V)
CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V)

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

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

OBJS = $(S_O_FILES) $(C_O_FILES)

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

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

AM_CFLAGS += $(CFLAGS_V)

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

$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o: $(PGM)
        $(INSTALL_DATA) $< $@

TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o

all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)

.PRECIOUS: $(PGM)

EXTRA_DIST = cpuboot.c debugreset.S reset.S

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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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