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

4.11
Last change on this file since fcc10761 was 68a6470, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 3, 2014 at 8:13:45 PM

erc32/Makefile.am: Change to one file per line

  • Property mode set to 100644
File size: 3.2 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
11
12nodist_include_HEADERS = include/bspopts.h
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15
16noinst_PROGRAMS =
17
18include_HEADERS += include/erc32.h
19include_HEADERS += ../../shared/include/coverhd.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 += ../../shared/bsplibc.c
33libbsp_a_SOURCES += startup/bsppredriver.c
34libbsp_a_SOURCES += ../../sparc/shared/startup/bspgetworkarea.c
35libbsp_a_SOURCES += ../../sparc/shared/bsppretaskinghook.c
36libbsp_a_SOURCES += ../../shared/bsppost.c
37libbsp_a_SOURCES += ../../shared/bspstart.c
38libbsp_a_SOURCES += ../../shared/bootcard.c
39libbsp_a_SOURCES += ../../shared/bspinit.c
40libbsp_a_SOURCES += ../../shared/sbrk.c
41libbsp_a_SOURCES += startup/setvec.c
42libbsp_a_SOURCES += startup/spurious.c
43libbsp_a_SOURCES += startup/erc32mec.c
44libbsp_a_SOURCES += startup/boardinit.S
45libbsp_a_SOURCES += startup/bspidle.c
46libbsp_a_SOURCES += startup/bspdelay.c
47libbsp_a_SOURCES += ../../sparc/shared/startup/early_malloc.c
48# ISR Handler
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    ../../shared/src/irq-default-handler.c \
73    ../../shared/src/irq-generic.c \
74    ../../shared/src/irq-info.c \
75    ../../shared/src/irq-legacy.c \
76    ../../shared/src/irq-server.c \
77    ../../shared/src/irq-shell.c
78
79if HAS_SMP
80libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c
81endif
82
83if HAS_NETWORKING
84erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
85noinst_PROGRAMS += erc32sonic.rel
86erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
87erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
88erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89endif
90
91libbsp_a_LIBADD  = \
92    ../../../libcpu/@RTEMS_CPU@/access.rel \
93    ../../../libcpu/@RTEMS_CPU@/cache.rel \
94    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
95    ../../../libcpu/@RTEMS_CPU@/syscall.rel
96if HAS_NETWORKING
97libbsp_a_LIBADD += erc32sonic.rel
98endif
99
100EXTRA_DIST = times
101
102include $(srcdir)/preinstall.am
103include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.