source: rtems/c/src/lib/libbsp/sparc64/usiii/Makefile.am @ 63de9348

4.115
Last change on this file since 63de9348 was 63de9348, checked in by Ralf Corsépius <ralf.corsepius@…>, on 05/04/12 at 06:51:44

Remove CVS-Ids.

  • Property mode set to 100644
File size: 4.7 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6include_bspdir = $(includedir)/bsp
7
8dist_project_lib_DATA = bsp_specs
9
10include_HEADERS = include/bsp.h
11include_HEADERS += include/tm27.h
12include_HEADERS += ../shared/include/asm.h
13include_HEADERS += ../shared/include/traptable.h
14
15## these are the include files used by the boot process from HelenOS Sparc64
16include_bootdir = $(includedir)/boot
17include_boot_HEADERS = \
18  ../shared/helenos/boot/include/align.h \
19  ../shared/helenos/boot/include/balloc.h \
20  ../shared/helenos/boot/include/gentypes.h \
21  ../shared/helenos/boot/include/main.h \
22  ../shared/helenos/boot/include/ofwarch.h \
23  ../shared/helenos/boot/include/ofw.h \
24  ../shared/helenos/boot/include/ofw_tree.h \
25  ../shared/helenos/boot/include/register.h \
26  ../shared/helenos/boot/include/stack.h \
27  ../shared/helenos/boot/include/types.h
28
29## These include files mimic the HelenOS kernel include layout, which
30## in HelenOS-0.4.2 is more complicated than the boot include dirs.
31
32# assumed by the HelenOS sources to be in the root includedir. We place them
33# in a kernel include directory.
34include_kerneldir = $(includedir)/kernel
35include_kernel_HEADERS = \
36  ../shared/helenos/kernel/generic/include/align.h
37
38include_archdir = $(includedir)/arch
39include_arch_HEADERS = \
40  ../shared/helenos/kernel/sparc64/include/arch.h \
41  ../shared/helenos/kernel/sparc64/include/boot.h \
42  ../shared/helenos/kernel/sparc64/include/regdef.h \
43  ../shared/helenos/kernel/sparc64/include/stack.h
44
45include_arch_sun4udir = $(includedir)/arch/sun4u
46include_arch_sun4u_HEADERS = \
47  ../shared/helenos/kernel/sparc64/include/sun4u/arch.h
48
49include_arch_mmdir = $(includedir)/arch/mm
50include_arch_mm_HEADERS = \
51  ../shared/helenos/kernel/sparc64/include/mm/cache_spec.h \
52  ../shared/helenos/kernel/sparc64/include/mm/frame.h \
53  ../shared/helenos/kernel/sparc64/include/mm/mmu.h \
54  ../shared/helenos/kernel/sparc64/include/mm/page.h \
55  ../shared/helenos/kernel/sparc64/include/mm/tlb.h \
56  ../shared/helenos/kernel/sparc64/include/mm/tte.h
57
58
59include_arch_mm_sun4udir = $(includedir)/arch/mm/sun4u
60include_arch_mm_sun4u_HEADERS = \
61  ../shared/helenos/kernel/sparc64/include/mm/sun4u/frame.h \
62  ../shared/helenos/kernel/sparc64/include/mm/sun4u/mmu.h \
63  ../shared/helenos/kernel/sparc64/include/mm/sun4u/page.h \
64  ../shared/helenos/kernel/sparc64/include/mm/sun4u/tlb.h \
65  ../shared/helenos/kernel/sparc64/include/mm/sun4u/tte.h
66
67include_genarch_ofwdir = $(includedir)/genarch/ofw
68include_genarch_ofw_HEADERS = \
69  ../shared/helenos/kernel/genarch/include/ofw/ofw_tree.h
70
71
72nodist_include_HEADERS = include/bspopts.h   
73nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
74DISTCLEANFILES = include/bspopts.h
75noinst_PROGRAMS =
76
77nodist_include_HEADERS += ../../shared/include/coverhd.h
78
79
80EXTRA_DIST = ../shared/start/start.S
81start.$(OBJEXT): ../shared/start/start.S
82        $(CPPASCOMPILE) -o $@ -c $<
83project_lib_DATA = start.$(OBJEXT)
84
85dist_project_lib_DATA += ../shared/startup/linkcmds
86
87startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
88    ../../shared/bspstart.c ../../shared/bsppretaskinghook.c \
89    ../../shared/bsppost.c \
90    ../../shared/bootcard.c ../../shared/sbrk.c \
91    ../shared/startup/bspgetworkarea.c \
92    ../shared/startup/bsppredriverhook.c \
93    ../shared/startup/setvec.c \
94    ../../shared/gnatinstallhandler.c  \
95    ../shared/helenos/boot/genarch/balloc.c \
96    ../shared/helenos/boot/genarch/ofw.c \
97    ../shared/helenos/boot/genarch/ofw_tree.c \
98    ../shared/helenos/boot/generic/string.c \
99    ../shared/helenos/boot/sparc64/loader/ofwarch.c \
100    ../shared/helenos/boot/sparc64/loader/main.c \
101    ../shared/helenos/boot/sparc64/loader/ofwasm.S \
102    ../shared/asm/asm.S \
103    start/bspinit.S
104
105mmu_SOURCES = \
106    ../shared/helenos/kernel/sparc64/src/cache.S \
107    ../shared/helenos/kernel/sparc64/src/sun4u/takemmu.S \
108    ../shared/start/trap_table.S
109
110#clock_SOURCES = ../../shared/clock_driver_simidle.c
111clock_SOURCES = ../shared/clock/ckinit.c
112
113console_SOURCES = ../../shared/console.c  ../shared/console/conscfg.c \
114    ../../shared/console_select.c  ../../shared/console_control.c \
115    ../../shared/console_read.c ../../shared/console_write.c
116
117timer_SOURCES = ../../shared/timerstub.c
118
119noinst_LIBRARIES = libbsp.a
120libbsp_a_SOURCES = $(startup_SOURCES) $(mmu_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
121    $(timer_SOURCES)
122
123
124libbsp_a_LIBADD = \
125      ../../../libcpu/@RTEMS_CPU@/shared/shared-score.rel \
126      ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
127      ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \
128      ../../../libcpu/@RTEMS_CPU@/shared/sparc64-syscall.rel
129
130include $(srcdir)/preinstall.am
131include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.