source: rtems/c/src/lib/libbsp/sh/gensh2/startup/Makefile.am @ 46d31795

4.104.114.84.95
Last change on this file since 46d31795 was 46d31795, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 27, 2001 at 7:25:32 PM

2001-09-27 Ralf Corsepius <corsepiu@…>

  • include/Makefile.am: Use 'PREINSTALL_FILES ='.
  • startup/Makefile.am: Use 'PREINSTALL_FILES ='.
  • Property mode set to 100644
File size: 938 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = hw_init.c bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
12    bootcard.c main.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(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_CPPFLAGS += -DHZ=$(CPU_CLOCK_RATE_HZ)
26
27$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
28        $(INSTALL_DATA) $< $@
29
30$(PGM): $(OBJS)
31        $(make-rel)
32
33PREINSTALL_FILES = $(PROJECT_RELEASE)/lib/linkcmds
34
35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(PGM)
36
37.PRECIOUS: $(PGM)
38
39EXTRA_DIST = bspclean.c bspstart.c hw_init.c linkcmds linkcmds.ram \
40    linkcmds.rom
41
42include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.