source: rtems/c/src/lib/libbsp/sparc64/niagara/Makefile.am @ 33a2faa

5
Last change on this file since 33a2faa was 33a2faa, checked in by Sebastian Huber <sebastian.huber@…>, on 01/02/18 at 07:04:06

bsps: Add EXTRA_DIST to all BSP Makefile.am

This makes it possible to easily use

EXTRA_DIST += foobar

in fragments.

Update #3254.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8
9dist_project_lib_DATA = bsp_specs
10
11include_HEADERS = include/bsp.h
12include_HEADERS += include/tm27.h
13include_HEADERS += ../shared/include/asm.h
14
15include_bootdir = $(includedir)/boot
16include_boot_HEADERS = ../shared/helenos/boot/include/align.h \
17  ../shared/helenos/boot/include/balloc.h \
18  ../shared/helenos/boot/include/gentypes.h \
19  ../shared/helenos/boot/include/main.h \
20  ../shared/helenos/boot/include/ofwarch.h \
21  ../shared/helenos/boot/include/ofw.h \
22  ../shared/helenos/boot/include/ofw_tree.h \
23  ../shared/helenos/boot/include/register.h \
24  ../shared/helenos/boot/include/stack.h \
25  ../shared/helenos/boot/include/types.h
26
27nodist_include_HEADERS = include/bspopts.h   
28nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
29DISTCLEANFILES = include/bspopts.h
30noinst_PROGRAMS =
31
32
33
34EXTRA_DIST += ../shared/start/start.S
35start.$(OBJEXT): ../shared/start/start.S
36        $(CPPASCOMPILE) -o $@ -c $<
37project_lib_DATA = start.$(OBJEXT)
38
39dist_project_lib_DATA += ../shared/startup/linkcmds
40
41startup_SOURCES = startup/bspclean.c startup/m5op_sparc.S \
42    ../../shared/bsppredriverhook.c \
43    ../../shared/bootcard.c ../../shared/sbrk.c \
44    ../../shared/getentropy-cpucounter.c \
45    ../../shared/bspgetworkarea.c \
46    ../../shared/bspstart.c \
47    ../../shared/bspreset.c \
48    ../shared/startup/setvec.c \
49    ../../shared/gnatinstallhandler.c  \
50    ../shared/helenos/boot/genarch/balloc.c \
51    ../shared/helenos/boot/genarch/ofw.c \
52    ../shared/helenos/boot/genarch/ofw_tree.c \
53    ../shared/helenos/boot/generic/string.c \
54    ../shared/helenos/boot/sparc64/loader/ofwarch.c \
55    ../shared/helenos/boot/sparc64/loader/main.c \
56    ../shared/helenos/boot/sparc64/loader/ofwasm.S \
57    start/bspinit.S \
58    ../shared/asm/asm.S
59
60#clock_SOURCES = ../../shared/clock_driver_simidle.c
61clock_SOURCES = ../shared/clock/ckinit.c
62
63console_SOURCES = ../../shared/console.c  ../shared/console/conscfg.c \
64    ../../shared/console_select.c ../../shared/console_control.c \
65    ../../shared/console_read.c ../../shared/console_write.c
66
67timer_SOURCES = ../../shared/timerstub.c
68
69noinst_LIBRARIES = libbsp.a
70libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
71    $(timer_SOURCES)
72
73libbsp_a_LIBADD = \
74      ../../../libcpu/@RTEMS_CPU@/shared/shared-score.rel \
75      ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
76      ../../../libcpu/@RTEMS_CPU@/shared/sparc64-syscall.rel
77
78include $(srcdir)/preinstall.am
79include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.