source: rtems/c/src/lib/libbsp/sparc/leon3/Makefile.am @ 52f6502

4.115
Last change on this file since 52f6502 was 52f6502, checked in by Daniel Cederman <cederman@…>, on Mar 13, 2014 at 1:13:55 PM

bsps/sparc: Add common gnat handler function prototype.

Moved prototype for gnat_install_handler and gnat_install_handler_common to common header file. Placed header file in bsp namespace.

  • Property mode set to 100644
File size: 5.7 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11include_HEADERS += ../../sparc/shared/include/debug_defs.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/leon.h
20include_HEADERS += ../../shared/include/coverhd.h
21
22noinst_LIBRARIES = libbspstart.a
23libbspstart_a_SOURCES = ../../sparc/shared/start/start.S
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += ../shared/startup/linkcmds.base
27dist_project_lib_DATA += startup/linkcmds
28dist_project_lib_DATA += startup/linkcmds.leon3
29dist_project_lib_DATA += startup/linkcmds.ngmp
30
31noinst_LIBRARIES += libbsp.a
32libbsp_a_SOURCES =
33
34# startup
35libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
36    ../../shared/bsppost.c ../../shared/bootcard.c startup/bspstart.c \
37    ../../sparc/shared/bsppretaskinghook.c startup/bsppredriver.c \
38    ../../sparc/shared/startup/bspgetworkarea.c ../../shared/sbrk.c startup/setvec.c \
39    startup/spurious.c startup/bspidle.S startup/bspdelay.c \
40    ../../shared/bspinit.c ../../sparc/shared/startup/early_malloc.c
41libbsp_a_SOURCES += startup/bspreset.c
42libbsp_a_SOURCES += startup/cpucounter.c
43
44# ISR Handler
45libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
46# gnatsupp
47libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
48include_bsp_HEADERS = ../shared/include/gnatcommon.h
49# AMBA bus
50include_HEADERS += include/amba.h
51include_HEADERS += ../../sparc/shared/include/ambapp.h
52include_HEADERS += ../../sparc/shared/include/ambapp_ids.h
53include_HEADERS += ../../sparc/shared/include/grlib.h
54libbsp_a_SOURCES += amba/amba.c
55libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp.c
56libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_alloc.c
57libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_count.c
58libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_depth.c
59libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_find_by_idx.c
60libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_freq.c
61libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_parent.c
62libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_old.c
63libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_names.c
64libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_show.c
65# console
66libbsp_a_SOURCES += console/console.c
67# debugio
68libbsp_a_SOURCES += console/printk_support.c
69# clock
70libbsp_a_SOURCES += clock/ckinit.c
71libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
72# IRQ
73include_bsp_HEADERS += \
74    ../../shared/include/irq-generic.h \
75    ../../shared/include/irq-info.h \
76    include/bsp/irq.h
77libbsp_a_SOURCES += \
78    startup/eirq.c \
79    ../../sparc/shared/irq/irq-shared.c \
80    ../../shared/src/irq-default-handler.c \
81    ../../shared/src/irq-generic.c \
82    ../../shared/src/irq-info.c \
83    ../../shared/src/irq-legacy.c \
84    ../../shared/src/irq-server.c \
85    ../../shared/src/irq-shell.c
86# PCI
87include_HEADERS += ../../sparc/shared/include/pci.h
88libbsp_a_SOURCES += pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
89
90# B1553BRM
91include_HEADERS += ../../sparc/shared/include/b1553brm.h \
92    ../../sparc/shared/include/b1553brm_pci.h
93libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c \
94    ../../sparc/shared/1553/b1553brm_pci.c
95
96# CAN
97include_HEADERS += ../../sparc/shared/include/occan.h \
98    ../../sparc/shared/include/occan_pci.h ../../sparc/shared/include/grcan.h
99libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
100    ../../sparc/shared/can/occan_pci.c  ../../sparc/shared/can/grcan.c
101
102# SpaceWire
103include_HEADERS += ../../sparc/shared/include/grspw.h \
104    ../../sparc/shared/include/grspw_pci.h
105libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c \
106    ../../sparc/shared/spw/grspw_pci.c
107
108# UART
109include_HEADERS += ../../sparc/shared/include/apbuart.h \
110    ../../sparc/shared/include/apbuart_pci.h
111libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
112    ../../sparc/shared/uart/apbuart_pci.c
113
114# I2CMST
115include_HEADERS += ../../sparc/shared/include/i2cmst.h
116libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
117
118# timer
119libbsp_a_SOURCES += timer/timer.c
120
121# Cache
122libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
123libbsp_a_SOURCES += include/cache_.h
124libbsp_a_CPPFLAGS = -I$(srcdir)/include
125
126if HAS_SMP
127libbsp_a_SOURCES += smp/getcpuid.c
128libbsp_a_SOURCES += smp/smp_leon3.c
129endif
130
131if HAS_NETWORKING
132noinst_PROGRAMS += leon_smc91111.rel
133leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
134leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
135leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
136leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
137endif
138
139if HAS_NETWORKING
140noinst_PROGRAMS += leon_open_eth.rel
141leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
142leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
143leon_open_eth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
144leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
145endif
146
147if HAS_NETWORKING
148noinst_PROGRAMS += leon_greth.rel
149leon_greth_rel_SOURCES = leon_greth/leon_greth.c
150leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
151leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
152leon_greth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
153endif
154
155EXTRA_DIST = shmsupp/README
156if HAS_MP
157# shmsupp
158libbsp_a_SOURCES += shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
159    shmsupp/mpisr.c
160endif
161
162libbsp_a_LIBADD = \
163    ../../../libcpu/@RTEMS_CPU@/access.rel \
164    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
165    ../../../libcpu/@RTEMS_CPU@/syscall.rel
166
167if HAS_NETWORKING
168libbsp_a_LIBADD += leon_open_eth.rel
169libbsp_a_LIBADD += leon_greth.rel
170libbsp_a_LIBADD += leon_smc91111.rel
171endif
172
173EXTRA_DIST += times
174
175include $(srcdir)/preinstall.am
176include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.