source: rtems/c/src/lib/libbsp/i386/i386ex/Makefile.am @ 3a261b9b

4.104.11
Last change on this file since 3a261b9b was 3a261b9b, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 18, 2008 at 8:42:46 PM

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

  • Makefile.am: Add use of shared bsppost.c
  • Property mode set to 100644
File size: 2.3 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_HEADERS += include/coverhd.h
21
22include_bspdir = $(includedir)/bsp
23include_bsp_HEADERS = ../../i386/shared/irq/irq.h \
24    ../../i386/shared/irq/irq_asm.h
25
26noinst_HEADERS = start/80386ex.h start/80386ex.inc start/macros.inc
27EXTRA_DIST = start/start.S
28start.$(OBJEXT): start/start.S
29        $(CPPASCOMPILE) -o $@ -c $<
30
31project_lib_DATA = start.$(OBJEXT)
32dist_project_lib_DATA += startup/linkcmds
33
34include_HEADERS += ../../i386/shared/comm/uart.h
35startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
36    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
37    ../../shared/bspgetworkarea.c ../../shared/bsppost.c startup/bspstart.c \
38    ../../shared/bootcard.c ../../shared/sbrk.c ../../i386/shared/irq/idt.c \
39    ../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
40    ../../i386/shared/comm/i386-stub.c \
41    ../../i386/shared/comm/i386-stub-glue.c ../../i386/shared/comm/uart.c \
42    ../../shared/gnatinstallhandler.c ../../i386/shared/comm/gdb_glue.c \
43    ../../i386/shared/comm/tty_drv.c ../../i386/shared/irq/irq_asm.S
44clock_SOURCES = clock/ckinit.c
45console_SOURCES = console/console.c
46include_HEADERS += ../../i386/shared/pci/pcibios.h
47pci_SOURCES = ../../i386/shared/pci/pcibios.c \
48    ../../i386/shared/pci/pcibios.h
49timer_SOURCES = timer/timer.c timer/timerisr.S
50
51if HAS_NETWORKING
52network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D_KERNEL
53noinst_PROGRAMS += network.rel
54network_rel_SOURCES = network/netexterns.h network/network.c \
55    network/uti596.h
56network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
57network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58endif
59
60noinst_LIBRARIES = libbsp.a
61libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
62    $(pci_SOURCES) $(timer_SOURCES)
63
64libbsp_a_LIBADD = \
65    ../../../libcpu/@RTEMS_CPU@/cache.rel \
66    ../../../libcpu/@RTEMS_CPU@/score.rel
67if HAS_NETWORKING
68libbsp_a_LIBADD += network.rel
69endif
70
71include $(srcdir)/preinstall.am
72include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.