source: rtems/c/src/exec/score/cpu/sh/Makefile.am @ ccf8925b

4.104.114.84.95
Last change on this file since ccf8925b was ccf8925b, checked in by Joel Sherrill <joel.sherrill@…>, on 12/01/99 at 14:22:12

Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@…> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

To apply:

rm -rf c/src/exec/score/cpu/i960/wrap
rm -rf c/src/exec/score/cpu/m68k/wrap
rm -rf c/src/exec/score/cpu/sh/wrap
rm -rf c/src/exec/score/cpu/sparc/wrap
rm -rf c/src/exec/score/cpu/unix/wrap
patch -p1 < rtems-rc-19991123-rc-1.diff
./bootstrap

Known bugs:

  • "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does not handle recursion to subdirectories correctly (recurses too often). However, this issue is hardly visible and should be tolerable for the moment.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
8include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
9include $(top_srcdir)/../../../../../../automake/lib.am
10
11SUBDIRS = rtems
12
13H_FILES = asm.h
14noinst_HEADERS = $(H_FILES)
15
16PREINSTALL_FILES = \
17$(PROJECT_INCLUDE) \
18$(H_FILES:%=$(PROJECT_INCLUDE)/%)
19
20$(PROJECT_INCLUDE):
21        $(mkinstalldirs) $@
22
23$(PROJECT_INCLUDE)/%.h: %.h
24        $(INSTALL_DATA) $< $@
25
26TMPINSTALL_FILES += \
27$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
28
29$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
30        $(INSTALL_DATA) $< $@
31
32# C source names, if any, go here -- minus the .c
33C_FILES = cpu.c cpu_asm.c isp$(RTEMS_CPU_MODEL).c
34C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
35
36REL = $(ARCH)/rtems-cpu.rel
37
38$(REL): $(C_O_FILES)
39        $(make-rel)
40
41all: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
42
43EXTRA_DIST = \
44cpu.c \
45cpu_asm.c \
46ispsh7032.c \
47ispsh7045.c \
48rtems.c
49
50include $(top_srcdir)/../../../../../../automake/subdirs.am
51include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.