source: rtems/c/src/lib/libbsp/powerpc/psim/Makefile.am @ 001b4162

4.104.114.9
Last change on this file since 001b4162 was 08808cb, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 29, 2008 at 1:13:42 PM

2008-08-29 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Remove another duplicate reference.
  • Property mode set to 100644
File size: 2.6 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_LIBRARIES = libbsp.a
41
42startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
43    ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
44    ../../shared/bsppredriverhook.c startup/bspstart.c ../../shared/bootcard.c \
45    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
46
47pclock_SOURCES = ../shared/clock/p_clock.c
48console_SOURCES = ../../shared/console-polled.c
49debugio_SOURCES = console/console-io.c console/consupp.S
50
51include_bsp_HEADERS = irq/irq.h
52irq_SOURCES = irq/irq_init.c irq/no_pic.c
53
54EXTRA_DIST += vectors/README
55vectors_SOURCES = vectors/align_h.S
56
57include_bsp_HEADERS += \
58        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h   \
59        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h  \
60        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
61
62if HAS_MP
63EXTRA_DIST += shmsupp/README
64
65shmdr_SOURCES = \
66    shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c shmsupp/mpisr.c
67endif
68
69libbsp_a_SOURCES = $(startup_SOURCES) $(pclock_SOURCES) $(console_SOURCES) \
70    $(debugio_SOURCES) $(irq_SOURCES) $(vectors_SOURCES) $(shmdr_SOURCES)
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.