source: rtems/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am @ 5cd8b16

4.104.114.84.95
Last change on this file since 5cd8b16 was 5cd8b16, checked in by Joel Sherrill <joel.sherrill@…>, on 09/11/07 at 13:10:48

2007-09-11 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Do not include networking drivers if networking is disabled.
  • Property mode set to 100644
File size: 3.6 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
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20include_bspdir = $(includedir)/bsp
21
22include_HEADERS += include/coverhd.h
23
24nodist_include_HEADERS += ../../shared/tod.h
25
26EXTRA_DIST = start/start.S
27start.$(OBJEXT): start/start.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA = start.$(OBJEXT)
30
31EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
32rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
33        $(CPPASCOMPILE) -o $@ -c $<
34project_lib_DATA += rtems_crti.$(OBJEXT)
35
36dist_project_lib_DATA += startup/linkcmds \
37                         startup/linkcmds.mpc8349eamds \
38                         startup/linkcmds.hsc_cm01
39
40noinst_PROGRAMS += mpc83xx_regs.rel
41mpc83xx_regs_rel_SOURCES = startup/mpc83xx_regs.c
42mpc83xx_regs_rel_CPPFLAGS = $(AM_CPPFLAGS)
43mpc83xx_regs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_PROGRAMS += startup.rel
46startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
47    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
48    ../../shared/sbrk.c \
49    ../../shared/gnatinstallhandler.c startup/cpuinit.c
50
51startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
52startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53
54noinst_PROGRAMS += pclock.rel
55pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
56pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
57pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58
59include_bsp_HEADERS = ./irq/irq.h\
60 ../../powerpc/shared/vectors/vectors.h
61
62noinst_PROGRAMS += vectors.rel
63vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors.h \
64    ../../powerpc/shared/vectors/vectors_init.c \
65    ../../powerpc/shared/vectors/vectors.S
66vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
67vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69noinst_PROGRAMS += irq.rel
70irq_rel_SOURCES = ./irq/irq.h \
71        ./irq/irq_init.c      \
72        ./irq/ipic.c          \
73        ../shared/irq/irq_asm.S
74
75irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
76irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
77
78noinst_PROGRAMS += console.rel
79console_rel_SOURCES = console/console.c console/ns16550cfg.c
80console_rel_CPPFLAGS = $(AM_CPPFLAGS)
81console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
82
83if HAS_NETWORKING
84noinst_PROGRAMS += network.rel
85network_rel_SOURCES   = network/network.c
86network_rel_CPPFLAGS  = $(AM_CPPFLAGS)
87network_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__  -D__BSD_VISIBLE
88network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89endif
90
91noinst_PROGRAMS += bsp_i2c.rel
92bsp_i2c_rel_SOURCES   = i2c/i2c_init.c
93bsp_i2c_rel_CPPFLAGS  = $(AM_CPPFLAGS)
94bsp_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
95
96noinst_LIBRARIES = libbsp.a
97libbsp_a_SOURCES =
98libbsp_a_LIBADD = startup.rel pclock.rel console.rel vectors.rel irq.rel \
99    mpc83xx_regs.rel bsp_i2c.rel
100libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
101    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
102    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
103    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
104    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
105    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
106    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
107    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
108    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
109    ../../../libcpu/@RTEMS_CPU@/mpc83xx/i2c.rel
110
111if HAS_NETWORKING
112libbsp_a_LIBADD += network.rel
113libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel
114endif
115
116EXTRA_DIST += README.mpc8349eamds
117EXTRA_DIST += times.mpc8349eamds
118
119include $(srcdir)/preinstall.am
120include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.