source: rtems/c/src/lib/libbsp/powerpc/virtex/Makefile.am @ f610e83f

4.104.114.84.95
Last change on this file since f610e83f was f610e83f, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 07/10/07 at 16:00:28

compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged many different versions of new exception handling code to shared sources.

  • Property mode set to 100644
File size: 2.9 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
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14include_HEADERS += include/xparameters_dflt.h
15include_HEADERS += network/xiltemac.h
16
17nodist_include_HEADERS = include/bspopts.h
18DISTCLEANFILES = include/bspopts.h
19
20noinst_PROGRAMS =
21
22include_bspdir = $(includedir)/bsp
23
24include_HEADERS += include/coverhd.h
25
26EXTRA_DIST = ../../powerpc/shared/start/rtems_crti.S
27rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA = rtems_crti.$(OBJEXT)
30
31dist_project_lib_DATA += startup/linkcmds
32
33
34noinst_PROGRAMS += startup.rel
35startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
36    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
37    ../../shared/sbrk.c startup/setvec.c \
38    ../../shared/gnatinstallhandler.c
39startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
40startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42noinst_PROGRAMS += dlentry.rel
43dlentry_rel_SOURCES = dlentry/dlentry.S
44dlentry_rel_CPPFLAGS = $(AM_CPPFLAGS)
45dlentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_PROGRAMS += bspconsole.rel
48bspconsole_rel_SOURCES = console/consolelite.c ../../shared/console.c
49bspconsole_rel_CPPFLAGS = $(AM_CPPFLAGS)
50bspconsole_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52include_bsp_HEADERS = include/opbintctrl.h
53noinst_PROGRAMS += opbintctrl.rel
54opbintctrl_rel_SOURCES = opbintctrl/opbintctrl.c
55opbintctrl_rel_CPPFLAGS = $(AM_CPPFLAGS)
56opbintctrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58include_bsp_HEADERS += irq/irq.h
59noinst_PROGRAMS += irq.rel
60irq_rel_SOURCES = irq/irq_init.c ../shared/irq/irq_asm.S
61irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
62irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h
65noinst_PROGRAMS += vectors.rel
66vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors.h \
67    ../../powerpc/shared/vectors/vectors_init.c \
68    ../../powerpc/shared/vectors/vectors.S
69vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
70vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71
72if HAS_NETWORKING
73network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
74network_CPPFLAGS += -D__BSD_VISIBLE
75noinst_PROGRAMS += network.rel
76network_rel_SOURCES = network/xiltemac.c
77network_rel_CPPFLAGS = $(AM_CPPFLAGS)
78network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79endif
80
81noinst_LIBRARIES = libbsp.a
82libbsp_a_SOURCES =
83
84libbsp_a_LIBADD = startup.rel dlentry.rel bspconsole.rel opbintctrl.rel \
85        vectors.rel irq.rel network.rel
86
87libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
88    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
89    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
90    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
91    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel \
92    ../../../libcpu/@RTEMS_CPU@/ppc403/tty_drv.rel
93
94EXTRA_DIST += times
95
96include $(srcdir)/preinstall.am
97include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.