source: rtems/c/src/lib/libbsp/powerpc/psim/Makefile.am @ 81ec5044

4.104.115
Last change on this file since 81ec5044 was 81ec5044, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 29, 2008 at 8:52:22 PM

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

  • Makefile.am: Eliminate bsp.am. Build startup files as side-effect of building libbspstart.a, using automake-rules.
  • Property mode set to 100644
File size: 2.4 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7SUBDIRS = . tools
8
9include $(top_srcdir)/../../../../automake/compile.am
10
11include_bspdir = $(includedir)/bsp
12
13dist_project_lib_DATA = bsp_specs
14
15include_HEADERS = include/bsp.h
16include_HEADERS += include/tm27.h
17include_HEADERS += include/psim.h
18
19nodist_include_HEADERS = include/bspopts.h
20nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
21DISTCLEANFILES = include/bspopts.h
22
23include_HEADERS += include/coverhd.h
24
25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = start/start.S
27project_lib_DATA = start.$(OBJEXT)
28
29libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
30project_lib_DATA += rtems_crti.$(OBJEXT)
31
32dist_project_lib_DATA += startup/linkcmds
33
34noinst_LIBRARIES += libbsp.a
35libbsp_a_SOURCES =
36
37# startup
38libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
39    ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
40    ../../shared/bsppredriverhook.c startup/bspstart.c \
41    ../../powerpc/shared/startup/bspgetworkarea.c ../../shared/bootcard.c \
42    ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \
43    startup/psim_registers.c
44
45# pclock
46libbsp_a_SOURCES += ../shared/clock/p_clock.c
47# console
48libbsp_a_SOURCES += ../../shared/console-polled.c
49# debugio
50libbsp_a_SOURCES += console/console-io.c console/consupp.S
51
52# irq
53include_bsp_HEADERS = irq/irq.h
54libbsp_a_SOURCES += irq/irq_init.c irq/no_pic.c
55
56EXTRA_DIST = vectors/README
57# vectors
58libbsp_a_SOURCES += vectors/align_h.S
59
60include_bsp_HEADERS += \
61        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h   \
62        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h  \
63        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
64
65EXTRA_DIST += shmsupp/README
66if HAS_MP
67# shmdr
68libbsp_a_SOURCES += \
69    shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c shmsupp/mpisr.c
70endif
71
72libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
73    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
74    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
75    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
76    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
77    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
78    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
79    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
80    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
81
82include $(srcdir)/preinstall.am
83include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.