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

4.104.114.84.95
Last change on this file since c7c6e72 was c7c6e72, checked in by Joel Sherrill <joel.sherrill@…>, on 06/19/01 at 14:22:47

2001-06-19 Joel Sherrill <joel@…>

  • scitab/Makefile.am, startup/Makefile.am: Use CPU_CLOCK_RATE_HZ as

it is called in configure.in instead of HZ.

  • Property mode set to 100644
File size: 939 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.