source: rtems/c/src/lib/libbsp/m68k/ods68302/start/Makefile.am @ 232a22d

4.104.114.84.95
Last change on this file since 232a22d was 232a22d, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 14, 2004 at 7:10:59 AM

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

  • Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES. Add PRE/TMPINSTALL_FILES to CLEANFILES.
  • start/Makefile.am: Ditto.
  • startup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[df49c60]1##
[4e36a2f]2## $Id$
[df49c60]3##
[4e36a2f]4
[ef39005]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
[4e36a2f]11
12S_FILES = $(RESET_S_FILES)
[88a67b6]13S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
[4e36a2f]14
15OBJS = $(S_O_FILES) $(C_O_FILES)
16
[a4aeb92]17include $(top_srcdir)/../../../../automake/compile.am
18include $(top_srcdir)/../../../../automake/lib.am
[4d5d97b]19include $(top_srcdir)/../../bspstart.am
[4e36a2f]20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25AM_CFLAGS += $(CFLAGS_V)
26
[4d5d97b]27project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
[18e3bb6]28
[88a67b6]29$(ARCH)/start.$(OBJEXT): $(OBJS)
30        cp $(S_O_FILES) $(ARCH)/start.$(OBJEXT)
[4e36a2f]31
[4d5d97b]32all-local: $(TMPINSTALL_FILES)
[4e36a2f]33
34EXTRA_DIST = cpuboot.c debugreset.S reset.S
35
[232a22d]36TMPINSTALL_FILES =
37
[b35414a]38$(PROJECT_LIB)/$(dirstamp):
39        @$(mkdir_p) $(PROJECT_LIB)
40        @: > $(PROJECT_LIB)/$(dirstamp)
[232a22d]41TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
[935773b]42
[b35414a]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)
[4d5d97b]46
[232a22d]47CLEANFILES = $(TMPINSTALL_FILES)
48
[a4aeb92]49include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.