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

4.104.114.84.9
Last change on this file since eca561c8 was eb27a98, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 12, 2005 at 3:39:56 AM

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

  • Makefile.am: Build exception processing in old-exceptions rsp. new-exceptions subdirs (Merge-in former libbsp/powerpc/support/*).
  • Property mode set to 100644
File size: 3.2 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 = \
21    ../../libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h
22
23EXTRA_DIST = ../../libbsp/powerpc/support/old_exception_processing/TODO \
24    ../../libbsp/powerpc/support/old_exception_processing/irq_stub.S \
25    ../../libbsp/powerpc/support/old_exception_processing/ppccache.c
26
27noinst_PROGRAMS = old-exceptions/rtems-cpu.rel
28old_exceptions_rtems_cpu_rel_SOURCES = \
29    ../../libbsp/powerpc/support/old_exception_processing/cpu.c \
30    ../../libbsp/powerpc/support/old_exception_processing/cpu_asm.S \
31    ../../libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h
32old_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) \
33    -I$(srcdir)/../../libbsp/powerpc/support/old_exception_processing
34old_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35else
36noinst_PROGRAMS = new-exceptions/rtems-cpu.rel
37new_exceptions_rtems_cpu_rel_SOURCES = \
38    ../../libbsp/powerpc/support/new_exception_processing/cpu.c \
39    ../../libbsp/powerpc/support/new_exception_processing/cpu_asm.S
40new_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS)
41new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42endif
43
44PREINSTALL_DIRS =
45PREINSTALL_FILES =
46
47$(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp):
48        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/powerpc
49        @: > $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
50PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
51
52$(PROJECT_INCLUDE)/rtems/powerpc/cache.h: rtems/powerpc/cache.h $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
53        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/powerpc/cache.h
54PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc/cache.h
55
56$(PROJECT_INCLUDE)/rtems/powerpc/debugmod.h: rtems/powerpc/debugmod.h $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
57        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/powerpc/debugmod.h
58PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc/debugmod.h
59
60$(PROJECT_INCLUDE)/rtems/powerpc/powerpc.h: rtems/powerpc/powerpc.h $(PROJECT_INCLUDE)/rtems/powerpc/$(dirstamp)
61        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/powerpc/powerpc.h
62PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc/powerpc.h
63
64$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
65        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
66        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
67PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
68
69if OLD_EXCEPTIONS
70$(PROJECT_INCLUDE)/rtems/score/ppc_offs.h: ../../libbsp/powerpc/support/old_exception_processing/rtems/score/ppc_offs.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
71        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
72PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ppc_offs.h
73
74endif
75
76CLEANFILES = $(PREINSTALL_FILES)
77DISTCLEANFILES = $(PREINSTALL_DIRS)
78
79include $(top_srcdir)/../../../automake/subdirs.am
80include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.