source: rtems/c/src/lib/libbsp/powerpc/support/new_exception_processing/Makefile.am @ 26f6042

4.104.114.84.95
Last change on this file since 26f6042 was 26f6042, checked in by Joel Sherrill <joel.sherrill@…>, on 11/21/01 at 18:38:24

2001-11-21 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Preinstall c_isr.inl (HACK).
  • ChangeLog?: New file.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.5
6
7ACLOCAL_AMFLAGS = -I ../../../../../../../aclocal
8
9C_FILES = cpu.c
10C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
11
12include_rtems_scoredir = $(includedir)/rtems/score
13
14include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/c_isr.inl
15
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/compile.am
21include $(top_srcdir)/../../../../../../../automake/lib.am
22
23#
24# (OPTIONAL) Add local stuff here using +=
25#
26
27TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems/score \
28    $(include_rtems_score_HEADERS:%=$(PROJECT_INCLUDE)/%)
29
30# FIXME: This should not be here.
31PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/score/cpu.h \
32    $(PROJECT_INCLUDE)/rtems/score/c_isr.inl
33
34$(PROJECT_INCLUDE):
35        $(mkinstalldirs) $@
36
37$(PROJECT_INCLUDE)/rtems/score:
38        $(mkinstalldirs) $@
39
40$(PROJECT_INCLUDE)/%: %
41        $(INSTALL_DATA) $< $@
42
43REL = $(ARCH)/rtems-cpu.rel
44
45$(REL): $(C_O_FILES) $(S_O_FILES)
46        $(make-rel)
47
48all-local: $(ARCH) $(TMPINSTALL_FILES) $(REL)
49
50EXTRA_DIST = $(C_FILES) $(S_FILES)
51
52include $(top_srcdir)/../../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.