source: rtems/c/src/lib/libbsp/sh/gensh1/Makefile.am @ 6897cb1

5
Last change on this file since 6897cb1 was 6897cb1, checked in by Chris Johns <chrisj@…>, on 12/28/17 at 12:21:14

bsps: Add AM_CPPFLAGS to special case CPPFLAGS

This is necessary to pick up mandatory flags provided by the build
system.

Update #3254.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_shdir = $(includedir)/sh
8include_rtems_scoredir = $(includedir)/rtems/score
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_sh_HEADERS = include/sh/sci.h
14include_sh_HEADERS += include/sh/sh7_pfc.h
15include_sh_HEADERS += include/sh/sh7_sci.h
16
17include_rtems_score_HEADERS = include/rtems/score/ispsh7032.h
18include_rtems_score_HEADERS += include/rtems/score/iosh7032.h
19
20include_HEADERS = include/bsp.h
21include_HEADERS += include/tm27.h
22
23nodist_include_HEADERS = include/bspopts.h
24nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
25DISTCLEANFILES = include/bspopts.h
26
27
28EXTRA_DIST += start/start.S
29start.$(OBJEXT): start/start.S
30        $(CPPASCOMPILE) -o $@ -c $<
31project_lib_DATA = start.$(OBJEXT)
32
33dist_project_lib_DATA += startup/linkcmds
34
35noinst_LIBRARIES = libbsp.a
36libbsp_a_SOURCES =
37
38SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
39
40scitab.c: $(SHGEN)
41        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
42BUILT_SOURCES = scitab.c
43CLEANFILES = scitab.c
44
45# startup
46libbsp_a_SOURCES += \
47    ../../shared/bsppredriverhook.c ../shared/startup/bspstart.c \
48    ../../shared/bspclean.c ../../shared/bspreset_loop.c \
49    ../../shared/bspgetworkarea.c \
50    ../../shared/sbrk.c ../../shared/bootcard.c ../shared/bsphwinit.c \
51    ../../shared/getentropy-cpucounter.c \
52    ../../shared/gnatinstallhandler.c
53libbsp_a_SOURCES += clock/ckinit.c
54libbsp_a_SOURCES += clock/delay.c
55libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7032.c
56libbsp_a_SOURCES += timer/timer.c
57# scitab
58libbsp_a_SOURCES += scitab.c
59# console
60libbsp_a_SOURCES += ../../sh/shared/console.c
61libbsp_a_SOURCES += console/sci.c
62# debugio
63libbsp_a_SOURCES += ../../shared/dummy_printk_support.c
64
65# Cache
66libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
67libbsp_a_SOURCES += ../../shared/include/cache_.h
68libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include
69
70EXTRA_DIST += times
71
72include $(srcdir)/preinstall.am
73include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.