1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | |
---|
11 | dist_project_lib_DATA = bsp_specs |
---|
12 | |
---|
13 | include_HEADERS = include/bsp.h |
---|
14 | include_HEADERS += include/tm27.h |
---|
15 | |
---|
16 | nodist_include_HEADERS = include/bspopts.h |
---|
17 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
18 | DISTCLEANFILES = include/bspopts.h |
---|
19 | |
---|
20 | noinst_PROGRAMS = |
---|
21 | |
---|
22 | SUBDIRS = . tools |
---|
23 | |
---|
24 | include_HEADERS += include/erc32.h |
---|
25 | include_HEADERS += ../../shared/include/coverhd.h |
---|
26 | |
---|
27 | noinst_LIBRARIES = libbspstart.a |
---|
28 | libbspstart_a_SOURCES = ../../sparc/shared/start.S |
---|
29 | project_lib_DATA = start.$(OBJEXT) |
---|
30 | |
---|
31 | dist_project_lib_DATA += startup/linkcmds |
---|
32 | |
---|
33 | noinst_LIBRARIES += libbsp.a |
---|
34 | libbsp_a_SOURCES = |
---|
35 | |
---|
36 | # startup |
---|
37 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
38 | ../../shared/bsppredriverhook.c ../../sparc/shared/bspgetworkarea.c \ |
---|
39 | ../../sparc/shared/bsppretaskinghook.c ../../shared/bsppost.c \ |
---|
40 | ../../shared/bspstart.c ../../shared/bootcard.c \ |
---|
41 | ../../shared/sbrk.c startup/setvec.c startup/spurious.c \ |
---|
42 | startup/erc32mec.c startup/boardinit.S startup/bspidle.c |
---|
43 | # gnatsupp |
---|
44 | libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c |
---|
45 | # console |
---|
46 | libbsp_a_SOURCES += console/erc32_console.c ../../shared/console.c |
---|
47 | # debugio |
---|
48 | libbsp_a_SOURCES += console/debugputs.c |
---|
49 | # clock |
---|
50 | libbsp_a_SOURCES += clock/ckinit.c ../../../shared/clockdrv_shell.h |
---|
51 | # timer |
---|
52 | libbsp_a_SOURCES += timer/timer.c |
---|
53 | |
---|
54 | if HAS_NETWORKING |
---|
55 | erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
56 | noinst_PROGRAMS += erc32sonic.rel |
---|
57 | erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c |
---|
58 | erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS) |
---|
59 | erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
60 | endif |
---|
61 | |
---|
62 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/cache.rel \ |
---|
63 | ../../../libcpu/@RTEMS_CPU@/reg_win.rel \ |
---|
64 | ../../../libcpu/@RTEMS_CPU@/syscall.rel |
---|
65 | if HAS_NETWORKING |
---|
66 | libbsp_a_LIBADD += erc32sonic.rel |
---|
67 | endif |
---|
68 | |
---|
69 | EXTRA_DIST = times |
---|
70 | |
---|
71 | include $(srcdir)/preinstall.am |
---|
72 | include $(top_srcdir)/../../../../automake/local.am |
---|