source: rtems/c/src/lib/libbsp/m68k/ods68302/start/Makefile.am @ 476b632

4.104.114.84.95
Last change on this file since 476b632 was 476b632, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 3:49:52 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

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