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

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

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

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