source: rtems/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am @ 00d8424e

4.104.114.84.9
Last change on this file since 00d8424e was 5133bd6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 12, 2005 at 3:31:07 AM

2005-02-11 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Merge-in wrapup/Makefile.am.
  • wrapup/Makefile.am: Remove.
  • configure.ac: Reflect changes above.
  • Property mode set to 100644
File size: 4.9 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_bspdir = $(includedir)/bsp
21
22include_HEADERS += include/coverhd.h
23
24EXTRA_DIST = start/start.S
25start.$(OBJEXT): start/start.S
26        $(CPPASCOMPILE) -DASM -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_PROGRAMS += pclock.rel
32pclock_rel_SOURCES = clock/p_clock.c
33pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
34pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35
36noinst_PROGRAMS += console.rel
37console_rel_SOURCES = console/console.c
38console_rel_CPPFLAGS = $(AM_CPPFLAGS)
39console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41include_bsp_HEADERS = irq/irq.h
42
43noinst_PROGRAMS += irq.rel
44irq_rel_SOURCES = irq/irq.c irq/irq_init.c irq/irq.h irq/irq_asm.S
45irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
46irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48include_bsp_HEADERS += vectors/vectors.h
49
50noinst_PROGRAMS += startup.rel
51startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
52    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
53    ../../shared/main.c ../../shared/sbrk.c \
54    ../../shared/gnatinstallhandler.c startup/cpuinit.c
55startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
56startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_PROGRAMS += vectors.rel
59vectors_rel_SOURCES = vectors/vectors_init.c vectors/vectors.h \
60    vectors/vectors.S
61vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
62vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64if HAS_NETWORKING
65network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
66noinst_PROGRAMS += network.rel
67network_rel_SOURCES = network/network.c network/if_hdlcsubr.c
68network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
69network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
70endif
71
72noinst_LIBRARIES = libbsp.a
73libbsp_a_SOURCES =
74libbsp_a_LIBADD = pclock.rel irq.rel startup.rel console.rel vectors.rel
75if HAS_NETWORKING
76libbsp_a_LIBADD += network.rel
77endif
78libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
79    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
80    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
81    ../../../libcpu/@RTEMS_CPU@/mpc8260/clock.rel \
82    ../../../libcpu/@RTEMS_CPU@/mpc8260/console-generic.rel \
83    ../../../libcpu/@RTEMS_CPU@/mpc8260/cpm.rel \
84    ../../../libcpu/@RTEMS_CPU@/mpc8260/mmu.rel \
85    ../../../libcpu/@RTEMS_CPU@/mpc8260/timer.rel \
86    ../../../libcpu/@RTEMS_CPU@/mpc8260/exceptions.rel
87
88all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
89
90EXTRA_DIST += times
91
92PREINSTALL_DIRS =
93PREINSTALL_FILES =
94TMPINSTALL_FILES =
95
96$(PROJECT_INCLUDE)/$(dirstamp):
97        @$(mkdir_p) $(PROJECT_INCLUDE)
98        @: > $(PROJECT_INCLUDE)/$(dirstamp)
99PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
100
101$(PROJECT_LIB)/$(dirstamp):
102        @$(mkdir_p) $(PROJECT_LIB)
103        @: > $(PROJECT_LIB)/$(dirstamp)
104PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
105
106$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
107        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
108PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
109
110$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
111        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
112PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
113
114$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
115        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
116PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
117
118$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
119        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
120PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
121
122$(PROJECT_INCLUDE)/bsp/$(dirstamp):
123        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
124        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
125PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
126
127$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
128        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
129PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
130
131$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
132        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
133TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
134
135$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
136        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
137PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
138
139$(PROJECT_INCLUDE)/bsp/irq.h: irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
140        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
141PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
142
143$(PROJECT_INCLUDE)/bsp/vectors.h: vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
144        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
145PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
146
147CLEANFILES = $(PREINSTALL_FILES)
148DISTCLEANFILES += $(PREINSTALL_DIRS)
149CLEANFILES += $(TMPINSTALL_FILES)
150
151include $(top_srcdir)/../../../../automake/subdirs.am
152include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.