source: rtems/c/src/lib/libbsp/m68k/mvme167/Makefile.am @ ec32100

Last change on this file since ec32100 was ec32100, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 6:37:44 AM

bsps: Use CPPASCOMPILE for startfile

Update #3254.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8
9dist_project_lib_DATA = bsp_specs
10
11include_HEADERS = include/bsp.h
12include_HEADERS += include/tm27.h
13
14nodist_include_HEADERS = include/bspopts.h
15nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
16DISTCLEANFILES = include/bspopts.h
17noinst_PROGRAMS =
18
19include_HEADERS += include/page_table.h
20
21nodist_include_HEADERS += $(top_srcdir)/../shared/mvme/mvme16x_hw.h
22
23EXTRA_DIST += ../../m68k/shared/start/start.S
24start.$(OBJEXT): ../../m68k/shared/start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30noinst_LIBRARIES = libbsp.a
31libbsp_a_SOURCES =
32
33# startup
34libbsp_a_SOURCES += startup/bspclean.c \
35    ../../shared/bsppredriverhook.c \
36    ../../shared/bspgetworkarea.c \
37    startup/bspstart.c ../../shared/bootcard.c \
38    ../../shared/getentropy-cpucounter.c \
39    startup/page_table.c \
40    ../../shared/sbrk.c ../../shared/setvec.c \
41    ../../shared/gnatinstallhandler.c
42libbsp_a_SOURCES += ../../shared/bspreset.c
43# clock
44libbsp_a_SOURCES += clock/ckinit.c
45# console
46libbsp_a_SOURCES += console/console.c console/console-recording.h
47# timer
48libbsp_a_SOURCES += timer/timer.c timer/timerisr.S
49
50if HAS_NETWORKING
51network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
52noinst_PROGRAMS += network.rel
53network_rel_SOURCES = network/network.c
54network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
55network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56endif
57
58libbsp_a_LIBADD = \
59    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
60    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
61    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
62if HAS_NETWORKING
63libbsp_a_LIBADD += network.rel
64endif
65
66EXTRA_DIST += times
67
68include $(srcdir)/preinstall.am
69include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.