source: rtems/c/src/lib/libbsp/powerpc/psim/Makefile.am @ 9b86dabd

4.104.114.84.9
Last change on this file since 9b86dabd was 9b86dabd, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 15, 2006 at 3:21:12 PM

2006-11-15 Joel Sherrill <joel@…>

  • Makefile.am, irq/irq.h: Merge c_rtems_main() into boot_card(). This eliminated a file and simplified initialization.
  • Property mode set to 100644
File size: 2.9 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7# wrapup is the one that actually builds and installs the library
8# from the individual .rel files built in other directories
9SUBDIRS = . tools
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = bsp_specs
15
16include_HEADERS = include/bsp.h
17include_HEADERS += include/tm27.h
18
19nodist_include_HEADERS = include/bspopts.h
20DISTCLEANFILES = include/bspopts.h
21
22noinst_PROGRAMS =
23
24include_bspdir = $(includedir)/bsp
25
26include_HEADERS += include/coverhd.h
27
28EXTRA_DIST = start/start.S
29start.$(OBJEXT): start/start.S
30        $(CPPASCOMPILE) -o $@ -c $<
31project_lib_DATA = start.$(OBJEXT)
32
33EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
34rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
35        $(CPPASCOMPILE) -o $@ -c $<
36project_lib_DATA += rtems_crti.$(OBJEXT)
37
38dist_project_lib_DATA += startup/linkcmds
39
40noinst_PROGRAMS += startup.rel
41startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
42    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
43    ../../shared/sbrk.c \
44    ../../shared/gnatinstallhandler.c
45startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
46startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_PROGRAMS += pclock.rel
49pclock_rel_SOURCES = ../shared/clock/p_clock.c
50pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
51pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53noinst_PROGRAMS += console.rel
54console_rel_SOURCES = console/console-io.c console/consupp.S \
55    ../../shared/console-polled.c
56console_rel_CPPFLAGS = $(AM_CPPFLAGS)
57console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58
59include_bsp_HEADERS = irq/irq.h
60
61noinst_PROGRAMS += irq.rel
62irq_rel_SOURCES = irq/irq.c irq/irq_init.c irq/irq_asm.S
63irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
64irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66EXTRA_DIST += vectors/README
67
68noinst_PROGRAMS += vectors.rel
69vectors_rel_SOURCES = vectors/align_h.S ../../powerpc/shared/vectors/vectors.S \
70    ../../powerpc/shared/vectors/vectors_init.c
71vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
72vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h
75
76if HAS_MP
77EXTRA_DIST += shmsupp/README
78
79noinst_PROGRAMS += shmsupp.rel
80shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
81    shmsupp/mpisr.c
82shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
83shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
84endif
85
86noinst_LIBRARIES = libbsp.a
87libbsp_a_SOURCES =
88libbsp_a_LIBADD = startup.rel pclock.rel console.rel irq.rel vectors.rel
89libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
90    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
91    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
92    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
93    ../../../libcpu/@RTEMS_CPU@/mpc6xx/exceptions.rel \
94    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
95    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
96
97if HAS_MP
98libbsp_a_LIBADD += shmsupp.rel
99endif
100
101include $(srcdir)/preinstall.am
102include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.