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

4.104.114.84.95
Last change on this file since aaed235 was aaed235, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 11:45:08 AM

2004-02-06 Ralf Corsepius <corsepiu@…>

  • mpc505/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am: Don't include .../lib.am.
  • Property mode set to 100644
File size: 3.3 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../automake/compile.am
6
7EXTRA_DIST =
8EXTRA_PROGRAMS =
9CLEANFILES =
10noinst_DATA =
11
12if mpc6xx
13include_libcpudir = $(includedir)/libcpu
14include_libcpu_HEADERS = exceptions/raw_exception.h
15
16# exceptions
17EXTRA_PROGRAMS += exceptions.rel
18CLEANFILES += exceptions.rel
19exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S
20exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
21exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
22
23EXTRA_PROGRAMS += exceptions_g.rel
24CLEANFILES += exceptions_g.rel
25exceptions_g_rel_SOURCES = $(exceptions_rel_SOURCES)
26exceptions_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
27exceptions_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
28
29noinst_DATA += exceptions$(LIB_VARIANT).rel
30
31# mmu
32include_libcpu_HEADERS += mmu/bat.h mmu/pte121.h
33
34EXTRA_PROGRAMS += mmu.rel
35CLEANFILES += mmu.rel
36mmu_rel_SOURCES = mmu/bat.c mmu/bat.h mmu/pte121.c mmu/pte121.h \
37    mmu/mmuAsm.S
38mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
39mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41EXTRA_PROGRAMS += mmu_g.rel
42CLEANFILES += mmu_g.rel
43mmu_g_rel_SOURCES = $(mmu_rel_SOURCES)
44mmu_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
45mmu_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_DATA += mmu$(LIB_VARIANT).rel
48
49# clock
50include_libcpu_HEADERS += clock/c_clock.h
51
52EXTRA_PROGRAMS += clock.rel
53CLEANFILES += clock.rel
54clock_rel_SOURCES = clock/c_clock.c clock/c_clock.h
55clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
56clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58EXTRA_PROGRAMS += clock_g.rel
59CLEANFILES += clock_g.rel
60clock_g_rel_SOURCES = $(clock_rel_SOURCES)
61clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
62clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64noinst_DATA += clock$(LIB_VARIANT).rel
65
66# timer
67EXTRA_PROGRAMS += timer.rel
68CLEANFILES += timer.rel
69timer_rel_SOURCES = timer/timer.c
70timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
71timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72
73EXTRA_PROGRAMS += timer_g.rel
74CLEANFILES += timer_g.rel
75timer_g_rel_SOURCES = $(timer_rel_SOURCES)
76timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
77timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78
79noinst_DATA += timer$(LIB_VARIANT).rel
80endif
81
82## ----
83all-local: $(PREINSTALL_FILES)
84
85PREINSTALL_DIRS =
86PREINSTALL_FILES =
87
88if mpc6xx
89$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
90        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
91        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
92PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
93
94$(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
95        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h
96PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h
97
98$(PROJECT_INCLUDE)/libcpu/bat.h: mmu/bat.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
99        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/bat.h
100PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/bat.h
101
102$(PROJECT_INCLUDE)/libcpu/pte121.h: mmu/pte121.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
103        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/pte121.h
104PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/pte121.h
105
106$(PROJECT_INCLUDE)/libcpu/c_clock.h: clock/c_clock.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
107        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/c_clock.h
108PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/c_clock.h
109endif
110
111CLEANFILES += $(PREINSTALL_FILES)
112DISTCLEANFILES = $(PREINSTALL_DIRS)
113
114include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.