source: rtems/c/src/lib/libbsp/m68k/mvme162/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: 2.1 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
23## Zilog component header files
24include_rtems_zilogdir = $(includedir)/rtems/zilog
25include_rtems_zilog_HEADERS = ../../shared/include/zilog/z8036.h
26
27EXTRA_DIST += ../../m68k/shared/start/start.S
28start.$(OBJEXT): ../../m68k/shared/start/start.S
29        $(CPPASCOMPILE) -o $@ -c $<
30project_lib_DATA = start.$(OBJEXT)
31
32dist_project_lib_DATA += startup/linkcmds
33
34noinst_LIBRARIES = libbsp.a
35libbsp_a_SOURCES =
36
37# startup
38libbsp_a_SOURCES += startup/bspclean.c \
39    ../../shared/bsppredriverhook.c \
40    startup/bspstart.c ../../shared/bootcard.c  \
41    ../../shared/getentropy-cpucounter.c \
42    startup/page_table.c \
43    ../../shared/bspgetworkarea.c startup/page_table.c \
44    ../../shared/sbrk.c ../../shared/setvec.c \
45    ../../shared/gnatinstallhandler.c
46libbsp_a_SOURCES += ../../shared/bspreset.c
47# clock
48libbsp_a_SOURCES += clock/ckinit.c
49# console
50libbsp_a_SOURCES += console/console.c
51# timer
52libbsp_a_SOURCES += timer/timer.c timer/timerisr.S
53# tod
54libbsp_a_SOURCES += tod/tod.c
55
56if HAS_NETWORKING
57network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
58noinst_PROGRAMS += network.rel
59network_rel_SOURCES = ../mvme167/network/network.c
60network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
61network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62endif
63
64libbsp_a_LIBADD = \
65    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
66    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
67if HAS_NETWORKING
68libbsp_a_LIBADD += network.rel
69endif
70if HAS_FPSP
71libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
72endif
73
74EXTRA_DIST += times
75
76include $(srcdir)/preinstall.am
77include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.