source: rtems/c/src/lib/libcpu/powerpc/new_exception_processing/Makefile.am @ 74d5216

4.104.114.84.95
Last change on this file since 74d5216 was 74d5216, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 10, 2000 at 7:01:20 PM

Build rtems-cpu.rel in this directory.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
8C_FILES = cpu.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
15S_FILES = cpu_asm.S
16S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25PREINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems/score \
26    $(ROOT_H_FILES:%=$(PROJECT_INCLUDE)/%) \
27    $(RTEMS_SCORE_H_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%)
28
29$(PROJECT_INCLUDE):
30        $(mkinstalldirs) $@
31
32$(PROJECT_INCLUDE)/rtems/score:
33        $(mkinstalldirs) $@
34
35$(PROJECT_INCLUDE)/rtems/score/%: %
36        $(INSTALL_DATA) $< $@
37
38$(PROJECT_INCLUDE)/%: %
39        $(INSTALL_DATA) $< $@
40
41REL = $(ARCH)/rtems-cpu.rel
42
43$(REL): $(C_O_FILES) $(S_O_FILES)
44        test -d ../$(ARCH) || mkdir ../$(ARCH)
45        $(make-rel)
46
47all-local: $(ARCH) $(PREINSTALL_FILES) $(REL)
48## all-local: $(ARCH)/rtems.o
49all-local: $(TMPINSTALL_FILES)
50
51CLEANDIRS = ../o-optimize ../o-debug ../o-profile
52
53EXTRA_DIST = $(C_FILES) $(S_FILES)
54
55include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.