source: rtems/c/src/lib/libbsp/m68k/gen68360/Makefile.am @ 33a2faa

Last change on this file since 33a2faa was 33a2faa, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:04:06 AM

bsps: Add EXTRA_DIST to all BSP Makefile.am

This makes it possible to easily use

EXTRA_DIST += foobar

in fragments.

Update #3254.

  • Property mode set to 100644
File size: 1.8 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
13nodist_include_HEADERS = include/bspopts.h
14nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
15DISTCLEANFILES = include/bspopts.h
16noinst_PROGRAMS =
17
18
19noinst_LIBRARIES = libbspstart.a
20libbspstart_a_SOURCES = start/start.S
21project_lib_DATA = start.$(OBJEXT)
22
23dist_project_lib_DATA += startup/linkcmds startup/linkcmds.prom \
24    startup/linkcmds.bootp
25
26noinst_LIBRARIES += libbsp.a
27libbsp_a_SOURCES =
28
29# startup
30libbsp_a_SOURCES += startup/alloc360.c ../../shared/bspclean.c \
31    ../../shared/bsppredriverhook.c \
32    ../../shared/bspgetworkarea.c ../../shared/bspstart.c \
33    startup/init68360.c ../../shared/bootcard.c \
34    ../../shared/getentropy-cpucounter.c \
35    ../../shared/sbrk.c ../../shared/setvec.c \
36    ../../shared/gnatinstallhandler.c
37libbsp_a_SOURCES += ../../shared/bspreset.c
38# clock
39libbsp_a_SOURCES += clock/clock.c ../../../shared/clockdrv_shell.h
40# console
41libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c
42# timer
43libbsp_a_SOURCES += timer/timer.c
44
45if HAS_NETWORKING
46network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
47noinst_PROGRAMS += network.rel
48network_rel_SOURCES = network/network.c
49network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
50network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51endif
52
53libbsp_a_LIBADD = \
54    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
55    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
56if HAS_NETWORKING
57libbsp_a_LIBADD += network.rel
58endif
59if HAS_FPSP
60libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
61endif
62
63include $(srcdir)/preinstall.am
64include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.