source: rtems/c/src/lib/libbsp/powerpc/support/old_exception_processing/Makefile.am @ 43283456

4.104.114.84.95
Last change on this file since 43283456 was 43283456, checked in by Joel Sherrill <joel.sherrill@…>, on 12/02/99 at 17:45:14

Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@…>:

The patch below provides

  • automake support for score/cpu/powerpc
  • The hack to propagate values from *.cfg to automake configuration
  • A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted before)
  • Fixes some files which apparently where missing in rtems-rc-19991123-rc-2.diff
  • some minor configuration related patches

To apply:

rm -rf ./c/src/exec/score/cpu/powerpc/wrap
patch -p1 < rtems-rc-19991123-rc-3.diff

Attention:

c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
removed after applying the patch.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7# C source names
8C_FILES = cpu.c ppccache.c
9C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
10
11ROOT_H_FILES =
12RTEMS_SCORE_H_FILES = cpu.h c_isr.inl
13noinst_HEADERS = $(ROOT_H_FILES) $(RTEMS_SCORE_H_FILES)
14
15# Assembly source names
16S_FILES = cpu_asm.S
17S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../../../../automake/lib.am
21
22PREINSTALL_FILES = \
23$(PROJECT_INCLUDE) \
24$(PROJECT_INCLUDE)/rtems/score \
25$(ROOT_H_FILES:%=$(PROJECT_INCLUDE)/%) \
26$(RTEMS_SCORE_H_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%)
27
28TMPINSTALL_FILES += \
29$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
30
31$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
32        $(INSTALL_DATA) $< $@
33
34$(PROJECT_INCLUDE):
35        $(mkinstalldirs) $@
36
37$(PROJECT_INCLUDE)/rtems/score:
38        $(mkinstalldirs) $@
39
40$(PROJECT_INCLUDE)/rtems/score/%: %
41        $(INSTALL_DATA) $< $@
42
43$(PROJECT_INCLUDE)/%: %
44        $(INSTALL_DATA) $< $@
45
46REL = ../$(ARCH)/rtems-cpu.rel
47
48$(REL): $(C_O_FILES) $(S_O_FILES)
49        test -d ../$(ARCH) || mkdir ../$(ARCH)
50        $(make-rel)
51
52all-local: $(ARCH) $(PREINSTALL_FILES) $(REL)
53all-local: $(ARCH)/rtems.o
54all-local: $(TMPINSTALL_FILES)
55
56clean-local:
57        $(RM) -r ../o-optimize ../o-debug ../o-profile
58
59UNUSED_FILES = irq_stub.S
60
61EXTRA_DIST = \
62TODO \
63rtems.S \
64$(C_FILES) $(S_FILES) $(UNUSED_FILES)
65
66include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.