source: rtems/c/src/lib/libbsp/m68k/ods68302/start/Makefile.am @ 4375911b

4.104.114.84.95
Last change on this file since 4375911b was 4375911b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 21, 2002 at 8:20:20 AM

2002-07-21 Ralf Corsepius <corsepiu@…>

  • start/Makefile.am: Fix bug in previous patch. Really add bsplib_DATA = $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5RESET_S_FILES_yes_V = debugreset.S
6RESET_S_FILES_no_V = reset.S
7RESET_S_FILES__V = $(RESET_S_FILES_no_V)
8RESET_S_FILES = $(RESET_S_FILES_$(RTEMS_DEBUGGER)_V)
9
10CFLAGS_no_V = -DGDB_MONITOR_ACTIVE
11CFLAGS__V = $(CFLAGS_no_V)
12CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V)
13
14C_FILES = cpuboot.c
15C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
16
17S_FILES = $(RESET_S_FILES)
18S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
19
20OBJS = $(S_O_FILES) $(C_O_FILES)
21
22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23include $(top_srcdir)/../../../../../../automake/compile.am
24include $(top_srcdir)/../../../../../../automake/lib.am
25
26#
27# (OPTIONAL) Add local stuff here using +=
28#
29
30AM_CFLAGS += $(CFLAGS_V)
31
32bsplib_DATA = $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
33
34$(ARCH)/start.o: $(OBJS)
35        $(make-rel)
36
37$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o: $(ARCH)/start.o
38        $(INSTALL_DATA) $< $@
39
40TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
41
42all-local: $(ARCH) $(OBJS) $(ARCH)/start.o $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(ARCH)/start.o
45
46EXTRA_DIST = cpuboot.c debugreset.S reset.S
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.