source: rtems/c/src/lib/libbsp/sparc/erc32/Makefile.am @ f3ce8f41

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

  • Property mode set to 100644
File size: 3.2 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
12
13nodist_include_HEADERS = include/bspopts.h
14nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
15DISTCLEANFILES = include/bspopts.h
16
17noinst_PROGRAMS =
18
19include_HEADERS += include/erc32.h
20
21noinst_LIBRARIES = libbspstart.a
22libbspstart_a_SOURCES = ../../sparc/shared/start/start.S
23project_lib_DATA = start.$(OBJEXT)
24
25dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
26
27noinst_LIBRARIES += libbsp.a
28libbsp_a_SOURCES =
29
30# startup
31libbsp_a_SOURCES += ../../shared/bspclean.c
32libbsp_a_SOURCES += startup/bsppredriver.c
33libbsp_a_SOURCES += ../../sparc/shared/startup/bspgetworkarea.c
34libbsp_a_SOURCES += ../../shared/bspreset.c
35libbsp_a_SOURCES += ../../shared/bspstart.c
36libbsp_a_SOURCES += ../../shared/bootcard.c
37libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
38libbsp_a_SOURCES += ../../shared/sbrk.c
39libbsp_a_SOURCES += startup/setvec.c
40libbsp_a_SOURCES += startup/spurious.c
41libbsp_a_SOURCES += startup/erc32mec.c
42libbsp_a_SOURCES += startup/boardinit.S
43libbsp_a_SOURCES += startup/bspidle.c
44libbsp_a_SOURCES += startup/bspdelay.c
45libbsp_a_SOURCES += ../../sparc/shared/startup/bsp_fatal_exit.c
46libbsp_a_SOURCES += ../../sparc/shared/startup/bsp_fatal_halt.c
47# ISR Handler
48libbsp_a_SOURCES += ../../sparc/shared/cpu.c
49libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
50# gnatsupp
51libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
52include_bsp_HEADERS = ../shared/include/gnatcommon.h
53# console
54libbsp_a_SOURCES += console/erc32_console.c ../../shared/console.c \
55    ../../shared/console_select.c  ../../shared/console_control.c \
56    ../../shared/console_read.c ../../shared/console_write.c
57# debugio
58libbsp_a_SOURCES += console/debugputs.c
59# clock
60libbsp_a_SOURCES += clock/ckinit.c
61libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
62# timer
63libbsp_a_SOURCES += timer/timer.c
64
65# IRQ
66include_bsp_HEADERS += \
67    ../../shared/include/irq-generic.h \
68    ../../shared/include/irq-info.h \
69    include/bsp/irq.h
70libbsp_a_SOURCES += \
71    ../../sparc/shared/irq/irq-shared.c \
72    ../../sparc/shared/irq/bsp_isr_handler.c \
73    ../../shared/src/irq-default-handler.c \
74    ../../shared/src/irq-generic.c \
75    ../../shared/src/irq-info.c \
76    ../../shared/src/irq-legacy.c \
77    ../../shared/src/irq-server.c \
78    ../../shared/src/irq-shell.c
79
80if HAS_SMP
81libbsp_a_SOURCES += ../../shared/bspsmp.c
82libbsp_a_SOURCES += ../../shared/bspsmpgetcurrentprocessor.c
83endif
84
85if HAS_NETWORKING
86erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
87noinst_PROGRAMS += erc32sonic.rel
88erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
89erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
90erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
91endif
92
93libbsp_a_LIBADD  = \
94    ../../../libcpu/@RTEMS_CPU@/access.rel \
95    ../../../libcpu/@RTEMS_CPU@/cache.rel \
96    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
97    ../../../libcpu/@RTEMS_CPU@/syscall.rel
98if HAS_NETWORKING
99libbsp_a_LIBADD += erc32sonic.rel
100endif
101
102EXTRA_DIST = times
103
104include $(srcdir)/preinstall.am
105include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.