Ticket #1781: Makefile.am

File Makefile.am, 1.5 KB (added by Joel Sherrill, on Apr 18, 2011 at 9:38:55 PM)

BSP replacement Makefile.am

Line 
1##
2## $Id: Makefile.am 27 2011-02-25 20:46:42Z rkangral $
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += include/tm27.h
15include_HEADERS += include/cplb.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23include_HEADERS += ../../shared/include/coverhd.h
24
25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = ../shared/start/start.S
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_LIBRARIES += libbsp.a
32
33libbsp_a_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
34        ../../shared/bsppredriverhook.c startup/bspstart.c \
35        ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
36        ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
37        ../../shared/bspgetworkarea.c
38
39libbsp_a_SOURCES += console/console.c
40
41libbsp_a_LIBADD  = ../../../libcpu/@RTEMS_CPU@/mmu.rel
42libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/interrupt.rel
43libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel
44libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/uart.rel
45libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/clock.rel
46libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/rtc.rel
47libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/timer.rel
48
49EXTRA_DIST = times
50
51include $(srcdir)/preinstall.am
52include $(top_srcdir)/../../../../automake/local.am