source: rtems/c/src/lib/libcpu/powerpc/old_exception_processing/Makefile.am @ 586f260

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

Picking up changes missed in previous commit. These changes
were needed to move exception processing to score/cpu.

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