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

4.104.114.84.95
Last change on this file since a369ade was 65918026, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 2, 2005 at 12:39:29 PM

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

  • mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, shared/Makefile.am: Remove build-variant support.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../automake/compile.am
6
7EXTRA_DIST =
8noinst_PROGRAMS =
9CLEANFILES =
10
11if mpc6xx
12include_libcpudir = $(includedir)/libcpu
13include_libcpu_HEADERS = exceptions/raw_exception.h
14
15# exceptions
16noinst_PROGRAMS += exceptions.rel
17exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S
18exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
19exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
20
21# mmu
22include_libcpu_HEADERS += mmu/bat.h mmu/pte121.h
23
24noinst_PROGRAMS += mmu.rel
25mmu_rel_SOURCES = mmu/bat.c mmu/bat.h mmu/pte121.c mmu/pte121.h \
26    mmu/mmuAsm.S
27mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
28mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30# clock
31include_libcpu_HEADERS += clock/c_clock.h
32
33noinst_PROGRAMS += clock.rel
34clock_rel_SOURCES = clock/c_clock.c clock/c_clock.h
35clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
36clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38# timer
39noinst_PROGRAMS += timer.rel
40timer_rel_SOURCES = timer/timer.c
41timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
42timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43endif
44
45## ----
46all-local: $(PREINSTALL_FILES)
47
48PREINSTALL_DIRS =
49PREINSTALL_FILES =
50
51if mpc6xx
52$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
53        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
54        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
55PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
56
57$(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
58        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h
59PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h
60
61$(PROJECT_INCLUDE)/libcpu/bat.h: mmu/bat.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
62        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/bat.h
63PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/bat.h
64
65$(PROJECT_INCLUDE)/libcpu/pte121.h: mmu/pte121.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
66        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/pte121.h
67PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/pte121.h
68
69$(PROJECT_INCLUDE)/libcpu/c_clock.h: clock/c_clock.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
70        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/c_clock.h
71PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/c_clock.h
72endif
73
74CLEANFILES += $(PREINSTALL_FILES)
75DISTCLEANFILES = $(PREINSTALL_DIRS)
76
77include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.