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