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

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 1.3 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 += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems/score \
23    $(ROOT_H_FILES:%=$(PROJECT_INCLUDE)/%) \
24    $(RTEMS_SCORE_H_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%)
25
26TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
27
28$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
29        $(INSTALL_DATA) $< $@
30
31$(PROJECT_INCLUDE):
32        $(mkinstalldirs) $@
33
34$(PROJECT_INCLUDE)/rtems/score:
35        $(mkinstalldirs) $@
36
37$(PROJECT_INCLUDE)/rtems/score/%: %
38        $(INSTALL_DATA) $< $@
39
40$(PROJECT_INCLUDE)/%: %
41        $(INSTALL_DATA) $< $@
42
43REL = ../$(ARCH)/rtems-cpu.rel
44
45$(REL): $(C_O_FILES) $(S_O_FILES)
46        test -d ../$(ARCH) || mkdir ../$(ARCH)
47        $(make-rel)
48
49all-local: $(ARCH) $(PREINSTALL_FILES) $(REL) $(ARCH)/rtems.o $(TMPINSTALL_FILES)
50
51CLEANDIRS = ../o-optimize ../o-debug ../o-profile
52
53UNUSED_FILES = irq_stub.S
54
55EXTRA_DIST = TODO rtems.S $(C_FILES) $(S_FILES) $(UNUSED_FILES)
56
57include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.