source: rtems/c/src/lib/libbsp/powerpc/psim/Makefile.am @ 010bf86

5
Last change on this file since 010bf86 was 010bf86, checked in by Chris Johns <chrisj@…>, on Jan 4, 2018 at 7:54:29 AM

bsps/powerpc: Use public include path

Update #3254.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8
9dist_project_lib_DATA = bsp_specs
10
11include_HEADERS = include/bsp.h
12include_HEADERS += include/tm27.h
13include_HEADERS += include/psim.h
14
15include_bsp_HEADERS = ../shared/include/linker-symbols.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19nodist_include_bsp_HEADERS += ../../shared/include/console-polled.h
20DISTCLEANFILES = include/bspopts.h
21
22
23EXTRA_DIST += start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
26project_lib_DATA = start.$(OBJEXT)
27
28EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
29rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
30        $(CPPASCOMPILE) -o $@ -c $<
31project_lib_DATA += rtems_crti.$(OBJEXT)
32
33dist_project_lib_DATA += ../shared/startup/linkcmds.base
34dist_project_lib_DATA += startup/linkcmds
35
36noinst_LIBRARIES = libbsp.a
37libbsp_a_SOURCES =
38
39# startup
40libbsp_a_SOURCES += ../../shared/bspclean.c \
41    ../../shared/bsppredriverhook.c startup/bspstart.c \
42    ../../shared/bspgetworkarea.c ../../shared/bootcard.c \
43    ../../shared/getentropy-cpucounter.c \
44    ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c
45libbsp_a_SOURCES += ../../shared/bspreset.c
46
47# pclock
48libbsp_a_SOURCES += ../shared/clock/p_clock.c
49# console
50libbsp_a_SOURCES += ../../shared/console-polled.c
51# debugio
52libbsp_a_SOURCES += console/console-io.c console/consupp.S
53
54# irq
55include_bsp_HEADERS += irq/irq.h ../shared/openpic/openpic.h \
56    ../../shared/include/irq-generic.h
57libbsp_a_SOURCES += irq/irq_init.c ../shared/irq/openpic_i8259_irq.c \
58    ../shared/openpic/openpic.c ../../shared/src/irq-server.c  \
59    ../../shared/src/irq-generic.c ../../shared/src/irq-default-handler.c
60
61EXTRA_DIST += vectors/README
62# vectors
63libbsp_a_SOURCES += vectors/align_h.S
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
72if HAS_NETWORKING
73libbsp_a_SOURCES += network/if_sim.c
74endif
75
76libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
77    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
78    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
79    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
80    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
81    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
82    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
83    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
84    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
85    ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
86
87include $(srcdir)/preinstall.am
88include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.