source: rtems/c/src/lib/libbsp/sh/shsim/Makefile.am @ da78fee

4.104.114.95
Last change on this file since da78fee was 558bc25, checked in by Joel Sherrill <joel.sherrill@…>, on 12/03/07 at 22:26:33

2007-12-03 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20include_HEADERS += include/gdbsci.h
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22
23EXTRA_DIST = start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds startup/linkcmds.sim
29
30noinst_PROGRAMS += startup.rel
31startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
32    ../../shared/bsppredriverhook.c startup/bspstart.c \
33    ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
34    ../../shared/gnatinstallhandler.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38noinst_PROGRAMS += clock.rel
39clock_rel_SOURCES = clock/clockdrv.c
40clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
41clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
44
45scitab.c: $(SHGEN)
46        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
47BUILT_SOURCES = scitab.c
48CLEANFILES = scitab.c
49
50noinst_PROGRAMS += scitab.rel
51scitab_rel_SOURCES = scitab.c
52scitab_rel_CPPFLAGS = $(AM_CPPFLAGS)
53scitab_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55noinst_PROGRAMS += gdbsci.rel
56gdbsci_rel_SOURCES = gdbsci/gdbsci.c
57gdbsci_rel_CPPFLAGS = $(AM_CPPFLAGS)
58gdbsci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59
60#
61# FIXME: trap34 is unused
62#
63noinst_PROGRAMS += trap34.rel
64trap34_rel_SOURCES = trap34/console-io.c trap34/console-support.S \
65    ../../shared/dummy_printk_support.c
66trap34_rel_CPPFLAGS = $(AM_CPPFLAGS)
67trap34_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69noinst_PROGRAMS += console.rel
70console_rel_SOURCES = ../../sh/shared/console.c
71console_rel_CPPFLAGS = $(AM_CPPFLAGS)
72console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74noinst_LIBRARIES = libbsp.a
75libbsp_a_SOURCES =
76libbsp_a_LIBADD = startup.rel clock.rel console.rel gdbsci.rel scitab.rel \
77    trap34.rel
78libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
79
80include $(srcdir)/preinstall.am
81include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.