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

4.104.115
Last change on this file since e94666d was e94666d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 03:43:47

2008-09-29 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Move noinst_LIBRARIES = libbsp.a before its components.
  • Property mode set to 100644
File size: 2.4 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10include_bspdir = $(includedir)/bsp
11
12dist_project_lib_DATA = bsp_specs
13
14include_HEADERS = include/bsp.h
15include_HEADERS += include/tm27.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23include_HEADERS += include/coverhd.h
24
25include_bsp_HEADERS = ../../i386/shared/irq/irq.h \
26    ../../i386/shared/irq/irq_asm.h
27
28noinst_HEADERS = start/80386ex.h start/80386ex.inc start/macros.inc
29EXTRA_DIST = start/start.S
30start.$(OBJEXT): start/start.S
31        $(CPPASCOMPILE) -o $@ -c $<
32
33project_lib_DATA = start.$(OBJEXT)
34dist_project_lib_DATA += startup/linkcmds
35
36noinst_LIBRARIES = libbsp.a
37
38include_HEADERS += ../../i386/shared/comm/uart.h
39startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
40    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
41    ../../shared/bspgetworkarea.c ../../shared/bsppost.c startup/bspstart.c \
42    ../../shared/bootcard.c ../../shared/sbrk.c ../../i386/shared/irq/idt.c \
43    ../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
44    ../../i386/shared/comm/i386-stub.c \
45    ../../i386/shared/comm/i386-stub-glue.c ../../i386/shared/comm/uart.c \
46    ../../shared/gnatinstallhandler.c ../../i386/shared/comm/gdb_glue.c \
47    ../../i386/shared/comm/tty_drv.c ../../i386/shared/irq/irq_asm.S
48clock_SOURCES = clock/ckinit.c
49console_SOURCES = console/console.c
50include_HEADERS += ../../i386/shared/pci/pcibios.h
51pci_SOURCES = ../../i386/shared/pci/pcibios.c \
52    ../../i386/shared/pci/pcibios.h
53timer_SOURCES = timer/timer.c timer/timerisr.S
54
55if HAS_NETWORKING
56network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D_KERNEL
57noinst_PROGRAMS += network.rel
58network_rel_SOURCES = network/netexterns.h network/network.c \
59    network/uti596.h
60network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
61network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62endif
63
64libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
65    $(pci_SOURCES) $(timer_SOURCES)
66
67libbsp_a_LIBADD = \
68    ../../../libcpu/@RTEMS_CPU@/cache.rel \
69    ../../../libcpu/@RTEMS_CPU@/score.rel
70if HAS_NETWORKING
71libbsp_a_LIBADD += network.rel
72endif
73
74include $(srcdir)/preinstall.am
75include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.