source: rtems/c/src/lib/libbsp/m68k/ods68302/start/Makefile.am @ 3cdac3ee

4.104.114.84.95
Last change on this file since 3cdac3ee was 3cdac3ee, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 20, 2004 at 3:03:42 AM

2004-01-20 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Remove non-existing times from EXTRA_DIST.
  • start/Makefile.am: Remove non-existing cpuboot.c from EXTRA_DIST.
  • wrapup/Makefile.am: Reflect changes to libcpu.
  • Property mode set to 100644
File size: 1.2 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 $(top_srcdir)/../../../../automake/compile.am
18include $(top_srcdir)/../../../../automake/lib.am
19include $(top_srcdir)/../../bspstart.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25AM_CFLAGS += $(CFLAGS_V)
26
27project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
28
29$(ARCH)/start.$(OBJEXT): $(OBJS)
30        cp $(S_O_FILES) $(ARCH)/start.$(OBJEXT)
31
32all-local: $(TMPINSTALL_FILES)
33
34EXTRA_DIST = debugreset.S reset.S
35
36TMPINSTALL_FILES =
37
38$(PROJECT_LIB)/$(dirstamp):
39        @$(mkdir_p) $(PROJECT_LIB)
40        @: > $(PROJECT_LIB)/$(dirstamp)
41TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
42
43$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
44        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
45TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
46
47CLEANFILES = $(TMPINSTALL_FILES)
48
49include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.