source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am @ abe3261

4.104.115
Last change on this file since abe3261 was abe3261, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 24, 2008 at 7:03:17 AM

2008-09-24 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Cosmetics.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12libcpudir = ../../../libcpu/@RTEMS_CPU@
13
14DISTCLEANFILES = include/bspopts.h
15
16noinst_PROGRAMS =
17
18# Object files
19EXTRA_DIST = startup/start.S
20start.$(OBJEXT): startup/start.S
21        $(CPPASCOMPILE) -o $@ -c $<
22project_lib_DATA = start.$(OBJEXT)
23
24EXTRA_DIST += ../shared/start/rtems_crti.S
25rtems_crti.$(OBJEXT): ../shared/start/rtems_crti.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA += rtems_crti.$(OBJEXT)
28
29# Link commands
30dist_project_lib_DATA += startup/linkcmds startup/linkcmds.memory
31
32# Includes
33include_HEADERS = include/bsp.h
34
35nodist_include_HEADERS = include/bspopts.h ../../shared/tod.h
36include_bspdir = $(includedir)/bsp
37include_bsp_HEADERS = include/mpc55xxevb.h \
38    include/irq-config.h \
39    ../../shared/include/irq-generic.h \
40    ../shared/include/tictac.h
41
42startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
43    ../../shared/bootcard.c ../shared/src/tictac.c ../../shared/bspclean.c \
44    startup/bspstart.c startup/bspgetworkarea.c ../../shared/bsppretaskinghook.c
45
46clock_SOURCES = ../shared/clock/clock.c
47
48irq_generic_SOURCES = ../../shared/src/irq-generic.c \
49    ../../shared/src/irq-legacy.c
50
51tests_SOURCES = tests/tests.c startup/sd-card-init.c
52
53# Network
54if HAS_NETWORKING
55noinst_PROGRAMS += network.rel
56network_rel_SOURCES = network/network.c
57network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
58network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59endif
60
61# BSP library
62noinst_LIBRARIES = libbsp.a
63libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(irq_generic_SOURCES) \
64    $(tests_SOURCES)
65
66libbsp_a_LIBADD = $(libcpudir)/shared/cpuIdent.rel \
67    $(libcpudir)/shared/cache.rel \
68    $(libcpudir)/shared/stack.rel \
69    $(libcpudir)/@RTEMS_CPU_MODEL@/misc.rel \
70    $(libcpudir)/@RTEMS_CPU_MODEL@/irq.rel \
71    $(libcpudir)/@RTEMS_CPU_MODEL@/edma.rel \
72    $(libcpudir)/@RTEMS_CPU_MODEL@/dspi.rel \
73    $(libcpudir)/@RTEMS_CPU_MODEL@/esci.rel \
74    $(libcpudir)/@exceptions@/rtems-cpu.rel \
75    $(libcpudir)/@exceptions@/raw_exception.rel \
76    $(libcpudir)/@exceptions@/exc_bspsupport.rel
77
78if HAS_NETWORKING
79libbsp_a_LIBADD += network.rel
80endif
81
82include $(srcdir)/preinstall.am
83include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.