source: rtems/c/src/lib/libbsp/i386/ts_386ex/Makefile.am @ 17d9f5f

4.104.115
Last change on this file since 17d9f5f was 17d9f5f, checked in by Joel Sherrill <joel.sherrill@…>, on 09/18/08 at 20:43:07

2008-09-18 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Use top level shared bsp_get_work_area() implementation.
  • Property mode set to 100644
File size: 2.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
20# wrapup is the one that actually builds and installs the library
21# from the individual .rel files built in other directories
22SUBDIRS = . tools
23
24include_HEADERS += include/coverhd.h
25
26include_bspdir = $(includedir)/bsp
27include_bsp_HEADERS = ../../i386/shared/irq/irq.h \
28    ../../i386/shared/irq/irq_asm.h
29
30noinst_HEADERS = start/80386ex.h start/80386ex.inc start/macros.inc \
31    start/ts_1325.inc
32EXTRA_DIST = start/start.S
33start.$(OBJEXT): start/start.S
34        $(CPPASCOMPILE) -o $@ -c $<
35
36project_lib_DATA = start.$(OBJEXT)
37
38dist_project_lib_DATA += startup/linkcmds
39
40include_HEADERS += ../../i386/shared/comm/uart.h
41startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
42    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
43    ../../shared/bspgetworkarea.c \
44    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
45    ../../shared/sbrk.c ../../i386/shared/irq/idt.c \
46    ../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
47    ../../i386/shared/comm/i386-stub.c \
48    ../../i386/shared/comm/i386-stub-glue.c ../../i386/shared/comm/uart.c \
49    ../../shared/gnatinstallhandler.c ../../i386/shared/comm/gdb_glue.c \
50    ../../i386/shared/comm/tty_drv.c ../../i386/shared/irq/irq_asm.S
51clock_SOURCES = clock/ckinit.c clock/rtc.c
52console_SOURCES = console/console.c
53include_HEADERS += ../../i386/shared/pci/pcibios.h
54pci_SOURCES = ../../i386/shared/pci/pcibios.c \
55    ../../i386/shared/pci/pcibios.h
56timer_SOURCES = timer/timer.c timer/timerisr.S
57
58if HAS_NETWORKING
59include_HEADERS += include/wd80x3.h
60
61# dec21140 is supported via libchip
62# FIXME: Do we really need these flags?
63network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
64noinst_PROGRAMS += network.rel
65network_rel_SOURCES = network/ne2000.c network/wd80x3.h
66network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
67network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68endif
69
70noinst_LIBRARIES = libbsp.a
71libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
72    $(pci_SOURCES) $(timer_SOURCES)
73
74libbsp_a_LIBADD = \
75    ../../../libcpu/@RTEMS_CPU@/cache.rel \
76    ../../../libcpu/@RTEMS_CPU@/score.rel
77if HAS_NETWORKING
78libbsp_a_LIBADD += network.rel
79endif
80
81include $(srcdir)/preinstall.am
82include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.