source: rtems/c/src/lib/libcpu/powerpc/Makefile.am @ d3d9ef37

4.104.114.84.95
Last change on this file since d3d9ef37 was 2541237, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 15, 2005 at 1:15:37 PM

2005-02-15 Ralf Corsepius <ralf.corsepius@…>

  • old-exceptions/rtems/score/ppc_offs.h, old-exceptions/ChangeLog, old-exceptions/README, old-exceptions/TODO, old-exceptions/cpu.c, old-exceptions/cpu_asm.S, old-exceptions/irq_stub.S, old-exceptions/ppccache.c: New (Copied from ../../libbsp/powerpc/support/old_exception_processing)
  • new-exceptions/ChangeLog, new-exceptions/cpu.c, new-exceptions/cpu_asm.S: New (Copied from ../../libbsp/powerpc/support/new_exception_processing).
  • Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 2.7 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/compile.am
8
9include_rtems_powerpcdir = $(includedir)/rtems/powerpc
10include_rtems_powerpc_HEADERS = rtems/powerpc/cache.h \
11    rtems/powerpc/debugmod.h rtems/powerpc/powerpc.h
12
13SUBDIRS = shared mpc5xx mpc505 mpc6xx mpc8260 mpc8xx ppc403
14
15all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
16
17include_rtems_scoredir = $(includedir)/rtems/score
18
19if OLD_EXCEPTIONS
20include_rtems_score_HEADERS = old-exceptions/rtems/score/ppc_offs.h
21
22EXTRA_DIST = old-exceptions/TODO old-exceptions/irq_stub.S \
23    old-exceptions/ppccache.c
24
25noinst_PROGRAMS = old-exceptions/rtems-cpu.rel
26old_exceptions_rtems_cpu_rel_SOURCES = old-exceptions/cpu.c \
27    old-exceptions/cpu_asm.S old-exceptions/rtems/score/ppc_offs.h
28old_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) \
29    -I$(srcdir)/old-exceptions
30old_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
31else
32noinst_PROGRAMS = new-exceptions/rtems-cpu.rel
33new_exceptions_rtems_cpu_rel_SOURCES = new-exceptions/cpu.c \
34    new-exceptions/cpu_asm.S
35new_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS)
36new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37endif
38
39PREINSTALL_DIRS =
40PREINSTALL_FILES =
41
42$(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp):
43        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/powerpc
44        @: > $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
45PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
46
47$(PROJECT_INCLUDE)/rtems/powerpc/cache.h: rtems/powerpc/cache.h $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/powerpc/cache.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc/cache.h
50
51$(PROJECT_INCLUDE)/rtems/powerpc/debugmod.h: rtems/powerpc/debugmod.h $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
52        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/powerpc/debugmod.h
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc/debugmod.h
54
55$(PROJECT_INCLUDE)/rtems/powerpc/powerpc.h: rtems/powerpc/powerpc.h $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
56        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/powerpc/powerpc.h
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc/powerpc.h
58
59$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
60        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
61        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
62PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
63
64if OLD_EXCEPTIONS
65$(PROJECT_INCLUDE)/rtems/score/ppc_offs.h: old-exceptions/rtems/score/ppc_offs.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
66        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
67PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
68
69endif
70
71CLEANFILES = $(PREINSTALL_FILES)
72DISTCLEANFILES = $(PREINSTALL_DIRS)
73
74include $(top_srcdir)/../../../automake/subdirs.am
75include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.