source: rtems/c/src/lib/libbsp/moxie/moxiesim/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: 1.6 KB
Line 
1##
2## $Id: Makefile.am,v 1.36 2008/10/02 21:39:40 joel Exp $
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6EXTRA_DIST =
7
8include $(top_srcdir)/../../../../automake/compile.am
9include $(top_srcdir)/../../bsp.am
10
11include_bspdir = $(includedir)/bsp
12
13dist_project_lib_DATA = bsp_specs
14
15include_HEADERS = include/bsp.h
16include_HEADERS += include/tm27.h
17
18nodist_include_HEADERS = include/bspopts.h
19nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
20nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
21DISTCLEANFILES = include/bspopts.h
22
23
24EXTRA_DIST += start/start.S
25start.$(OBJEXT): start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_LIBRARIES = libbsp.a
32libbsp_a_SOURCES =
33
34# startup
35libbsp_a_SOURCES += ../../shared/bspclean.c \
36    ../../shared/bsppredriverhook.c \
37    ../../shared/bspgetworkarea.c \
38    ../../shared/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
39    ../../shared/getentropy-cpucounter.c \
40    ../../shared/gnatinstallhandler.c
41libbsp_a_SOURCES += ../../shared/bspreset.c
42# clock
43libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
44# console
45libbsp_a_SOURCES += ../../shared/console-polled.c console/console-io.c \
46   console/syscalls.S
47# timer
48libbsp_a_SOURCES += ../../shared/timerstub.c
49
50# Cache
51libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
52libbsp_a_SOURCES += ../../shared/include/cache_.h
53libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include
54
55EXTRA_DIST += times
56
57include $(srcdir)/preinstall.am
58include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.