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

4.104.114.84.95
Last change on this file since 5c786ff7 was 5c786ff7, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 17, 2005 at 12:47:51 PM

Add pci.rel to librtemsbsp.a

  • Property mode set to 100644
File size: 5.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) -DASM -o $@ -c $<
30
31project_lib_DATA = start.$(OBJEXT)
32dist_project_lib_DATA += startup/linkcmds
33
34noinst_PROGRAMS += startup.rel
35include_HEADERS += ../../i386/shared/comm/uart.h
36startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
37    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
38    ../../shared/main.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
44startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
45startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_PROGRAMS += clock.rel
48clock_rel_SOURCES = clock/ckinit.c
49clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
50clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52noinst_PROGRAMS += console.rel
53console_rel_SOURCES = console/console.c
54console_rel_CPPFLAGS = $(AM_CPPFLAGS)
55console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57noinst_PROGRAMS += pci.rel
58include_HEADERS += ../../i386/shared/pci/pcibios.h
59pci_rel_SOURCES = ../../i386/shared/pci/pcibios.c \
60    ../../i386/shared/pci/pcibios.h
61pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
62pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64noinst_PROGRAMS += timer.rel
65timer_rel_SOURCES = timer/timer.c timer/timerisr.S
66timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
67timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69if HAS_NETWORKING
70network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D_KERNEL
71noinst_PROGRAMS += network.rel
72network_rel_SOURCES = network/netexterns.h network/network.c \
73    network/uti596.h
74network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
75network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
76endif
77
78noinst_LIBRARIES = libbsp.a
79libbsp_a_SOURCES =
80libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel pci.rel
81if HAS_NETWORKING
82libbsp_a_LIBADD += network.rel
83endif
84libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel \
85    ../../../libcpu/@RTEMS_CPU@/score.rel
86
87all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
88
89PREINSTALL_DIRS =
90PREINSTALL_FILES =
91TMPINSTALL_FILES =
92
93$(PROJECT_INCLUDE)/$(dirstamp):
94        @$(mkdir_p) $(PROJECT_INCLUDE)
95        @: > $(PROJECT_INCLUDE)/$(dirstamp)
96PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
97
98$(PROJECT_LIB)/$(dirstamp):
99        @$(mkdir_p) $(PROJECT_LIB)
100        @: > $(PROJECT_LIB)/$(dirstamp)
101PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
102
103$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
104        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
105PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
106
107$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
108        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
109PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
110
111$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
112        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
113PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
114
115$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
116        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
117PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
118
119$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
120        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
121PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
122
123$(PROJECT_INCLUDE)/bsp/$(dirstamp):
124        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
125        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
126PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
127
128$(PROJECT_INCLUDE)/bsp/irq.h: ../../i386/shared/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
130PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
131
132$(PROJECT_INCLUDE)/bsp/irq_asm.h: ../../i386/shared/irq/irq_asm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
133        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq_asm.h
134PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq_asm.h
135
136$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
137        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
138TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
139
140$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
141        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
142PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
143
144$(PROJECT_INCLUDE)/uart.h: ../../i386/shared/comm/uart.h $(PROJECT_INCLUDE)/$(dirstamp)
145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/uart.h
146PREINSTALL_FILES += $(PROJECT_INCLUDE)/uart.h
147
148$(PROJECT_INCLUDE)/pcibios.h: ../../i386/shared/pci/pcibios.h $(PROJECT_INCLUDE)/$(dirstamp)
149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/pcibios.h
150PREINSTALL_FILES += $(PROJECT_INCLUDE)/pcibios.h
151
152CLEANFILES = $(PREINSTALL_FILES)
153DISTCLEANFILES += $(PREINSTALL_DIRS)
154CLEANFILES += $(TMPINSTALL_FILES)
155
156include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.