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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

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