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

4.104.114.84.9
Last change on this file since 36c8d162 was 36c8d162, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 26, 2007 at 3:20:02 AM

2007-04-26 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Remove reference to ../../shared/main.c.
  • Property mode set to 100644
File size: 1.8 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
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 \
32    startup/bspstart.c startup/exit.c ../../shared/bootcard.c \
33    ../../shared/sbrk.c \
34    ../../shared/gnatinstallhandler.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38
39noinst_PROGRAMS += console.rel
40console_rel_SOURCES = console/uart.c ../../shared/console.c
41console_rel_CPPFLAGS = $(AM_CPPFLAGS)
42console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44
45
46if HAS_NETWORKING
47network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
48noinst_PROGRAMS += network.rel
49network_rel_SOURCES = network/network.c
50network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
51network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52endif
53
54noinst_LIBRARIES = libbsp.a
55libbsp_a_SOURCES =
56libbsp_a_LIBADD =  startup.rel console.rel
57if HAS_NETWORKING
58libbsp_a_LIBADD += network.rel
59endif
60
61libbsp_a_LIBADD +=  \
62    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
63    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
64    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
65
66include $(srcdir)/preinstall.am
67include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.