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] - Blame information for rev 773

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

Line No. Rev Author Line
1 30 unneback
##
2
## $Id: Makefile.am,v 1.2 2001-09-27 12:00:21 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
PGM = $(ARCH)/start.o
8
 
9
RESET_S_FILES_yes_V = debugreset.S
10
RESET_S_FILES_no_V = reset.S
11
RESET_S_FILES__V = $(RESET_S_FILES_no_V)
12
RESET_S_FILES = $(RESET_S_FILES_$(RTEMS_DEBUGGER)_V)
13
 
14
CFLAGS_no_V = -DGDB_MONITOR_ACTIVE
15
CFLAGS__V = $(CFLAGS_no_V)
16
CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V)
17
 
18
C_FILES = cpuboot.c
19
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
20
 
21
S_FILES = $(RESET_S_FILES)
22
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
23
 
24
OBJS = $(S_O_FILES) $(C_O_FILES)
25
 
26
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
27
include $(top_srcdir)/../../../../../../automake/lib.am
28
 
29
#
30
# (OPTIONAL) Add local stuff here using +=
31
#
32
 
33
AM_CFLAGS += $(CFLAGS_V)
34
 
35
$(PGM): $(OBJS)
36
        $(make-rel)
37
 
38
$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o: $(PGM)
39
        $(INSTALL_DATA) $< $@
40
 
41
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
42
 
43
all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
44
 
45
.PRECIOUS: $(PGM)
46
 
47
EXTRA_DIST = cpuboot.c debugreset.S reset.S
48
 
49
include $(top_srcdir)/../../../../../../automake/local.am

powered by: WebSVN 2.1.0

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