source: rtems/c/src/lib/libbsp/m68k/ods68302/start/Makefile.am @ 88a67b6

4.104.114.84.95
Last change on this file since 88a67b6 was 88a67b6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 11, 2002 at 6:54:29 AM

2002-08-11 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • timer/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5# FIXME: Better merge both files into one and use #ifdef GDB_MONITOR_ACTIVE
6if ODS68302_DEBUG
7RESET_S_FILES = debugreset.S
8else
9RESET_S_FILES = reset.S
10endif
11
12S_FILES = $(RESET_S_FILES)
13S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
14
15OBJS = $(S_O_FILES) $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25AM_CFLAGS += $(CFLAGS_V)
26
27bsplib_DATA = $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
28
29$(ARCH)/start.$(OBJEXT): $(OBJS)
30        cp $(S_O_FILES) $(ARCH)/start.$(OBJEXT)
31
32$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start.$(OBJEXT)
33        $(INSTALL_DATA) $< $@
34
35TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
36
37all-local: $(ARCH) $(OBJS) $(ARCH)/start.$(OBJEXT) $(TMPINSTALL_FILES)
38
39.PRECIOUS: $(ARCH)/start.$(OBJEXT)
40
41EXTRA_DIST = cpuboot.c debugreset.S reset.S
42
43include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.