source: rtems/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am @ e94666d

4.104.115
Last change on this file since e94666d was e94666d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 03:43:47

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

  • Makefile.am: Move noinst_LIBRARIES = libbsp.a before its components.
  • 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
10include_bspdir = $(includedir)/bsp
11
12dist_project_lib_DATA = bsp_specs
13
14include_HEADERS = include/bsp.h
15include_HEADERS += include/tm27.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23include_HEADERS += include/coverhd.h
24include_bsp_HEADERS = include/tqm.h include/8xx_immap.h \
25    include/irq.h include/irq-config.h \
26    ../../shared/include/irq-generic.h\
27    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
28    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
29
30EXTRA_DIST = times-tqm866
31
32EXTRA_DIST += startup/start.S
33start.$(OBJEXT): startup/start.S
34        $(CPPASCOMPILE) -o $@ -c $<
35project_lib_DATA = start.$(OBJEXT)
36
37EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
38rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
39        $(CPPASCOMPILE) -o $@ -c $<
40project_lib_DATA += rtems_crti.$(OBJEXT)
41
42dist_project_lib_DATA += startup/linkcmds.base \
43    startup/linkcmds.tqm8xx
44
45noinst_LIBRARIES = libbsp.a
46
47irq_SOURCES = include/irq-config.h \
48        irq/irq.c \
49        ../../shared/src/irq-generic.c \
50        ../../shared/src/irq-legacy.c
51
52# clock_SOURCES = ../shared/clock/clock.c
53p_clock_SOURCES = clock/p_clock.c
54
55console_SOURCES = console/console.c
56timer_SOURCES = timer/timer.c
57startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
58    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
59    ../../shared/bsppretaskinghook.c startup/bspstart.c \
60    startup/bspgetworkarea.c ../../shared/bootcard.c startup/mmutlbtab.c \
61    startup/cpuinit.c ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
62
63if HAS_NETWORKING
64network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
65noinst_PROGRAMS += network.rel
66network_rel_SOURCES = network/network_scc.c network/network_fec.c
67network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
68network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
69endif
70
71libbsp_a_SOURCES = $(irq_SOURCES) \
72    $(startup_SOURCES) $(console_SOURCES) \
73    $(p_clock_SOURCES) $(timer_SOURCES)
74
75libbsp_a_LIBADD = \
76    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
77    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
78    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
79    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
80    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
81    ../../../libcpu/@RTEMS_CPU@/mpc8xx/console-generic.rel \
82    ../../../libcpu/@RTEMS_CPU@/mpc8xx/cpm.rel \
83    ../../../libcpu/@RTEMS_CPU@/mpc8xx/clock.rel \
84    ../../../libcpu/@RTEMS_CPU@/mpc8xx/mmu.rel \
85    ../../../libcpu/@RTEMS_CPU@/mpc8xx/timer.rel
86
87if HAS_NETWORKING
88libbsp_a_LIBADD += network.rel
89endif
90
91include $(srcdir)/preinstall.am
92include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.