source: rtems/c/src/lib/libbsp/arm/rtl22xx/Makefile.am @ d81d057

4.104.114.84.9
Last change on this file since d81d057 was d81d057, checked in by Joel Sherrill <joel.sherrill@…>, on May 9, 2007 at 6:08:35 PM

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

  • Makefile.am, console/lpc22xx_uart.h: Remove warnings, cleanup and do not build SPARC code accidentally referenced in Makefile.am.
  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[f4392b88]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
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_PROGRAMS += startup.rel
30include_HEADERS += ../../arm/shared/comm/uart.h
31startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
[79a1352]32    startup/bspstart.c startup/bspclean.c ../../shared/bootcard.c \
[36c8d162]33    ../../shared/sbrk.c \
[f4392b88]34    ../../shared/gnatinstallhandler.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38noinst_PROGRAMS += console.rel
[79a1352]39console_rel_SOURCES = ../../shared/console.c
[f4392b88]40console_rel_CPPFLAGS = $(AM_CPPFLAGS)
41console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
[79a1352]43noinst_PROGRAMS += debugio.rel
44debugio_rel_SOURCES = console/uart.c
45debugio_rel_CPPFLAGS = $(AM_CPPFLAGS)
46debugio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
[f4392b88]47
48if HAS_NETWORKING
49network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
50noinst_PROGRAMS += network.rel
51network_rel_SOURCES = network/network.c
52network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
53network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54endif
55
56noinst_LIBRARIES = libbsp.a
57libbsp_a_SOURCES =
[d81d057]58libbsp_a_LIBADD =  console.rel debugio.rel
[f4392b88]59if HAS_NETWORKING
60libbsp_a_LIBADD += network.rel
61endif
62
63libbsp_a_LIBADD +=  \
64    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
65    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
66    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
67
[79a1352]68libbsp_a_LIBADD +=  \
69startup_rel-bootcard.o \
70startup_rel-bspclean.o \
71startup_rel-bsplibc.o \
72startup_rel-bsppost.o \
73startup_rel-bspstart.o \
74startup_rel-sbrk.o
75
[85457eb5]76include $(srcdir)/preinstall.am
[f4392b88]77include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.