source: rtems/c/src/lib/libbsp/i960/rxgen960/Makefile.am @ 2a85ea23

4.104.114.84.9
Last change on this file since 2a85ea23 was 2a85ea23, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 2, 2004 at 4:27:47 PM

2004-02-02 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am. Use automake compilation rules.
  • clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Remove.
  • configure.ac: Reflect changes above.
  • bsp_specs: Sync with other BSPs, fixup missing brace.
  • Property mode set to 100644
File size: 4.5 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10EXTRA_PROGRAMS =
11CLEANFILES =
12noinst_DATA =
13
14nodist_include_HEADERS += ../../shared/include/coverhd.h
15
16# FIXME: this file should be called start.S
17EXTRA_DIST = start/rxgen_romld.S
18rxgen_romld$(LIB_VARIANT).$(OBJEXT): start/rxgen_romld.S
19        ${CCASCOMPILE} -DASM -o $@ -c $<
20project_lib_DATA = rxgen_romld$(LIB_VARIANT).$(OBJEXT)
21
22dist_project_lib_DATA += startup/linkcmds startup/linkcmds.real \
23startup/rom.ld
24
25EXTRA_PROGRAMS += clock.rel
26CLEANFILES += clock.rel
27clock_rel_SOURCES = clock/ckinit.c
28clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
29clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
30
31EXTRA_PROGRAMS += clock_g.rel
32CLEANFILES += clock_g.rel
33clock_g_rel_SOURCES = $(clock_rel_SOURCES)
34clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
35clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
36
37noinst_DATA += clock$(LIB_VARIANT).rel
38
39EXTRA_PROGRAMS += console.rel
40CLEANFILES += console.rel
41console_rel_SOURCES = console/concntl.h console/console.c console/serial.c \
42    console/serial.h
43console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
44console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
45
46EXTRA_PROGRAMS += console_g.rel
47CLEANFILES += console_g.rel
48console_g_rel_SOURCES = $(console_rel_SOURCES)
49console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
50console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52noinst_DATA += console$(LIB_VARIANT).rel
53
54EXTRA_PROGRAMS += startup.rel
55CLEANFILES += startup.rel
56startup_rel_SOURCES = include/rxgen960_config.h startup/asmfault.h \
57    startup/asmfault.S startup/asmstub.h startup/asmstub.S \
58    ../../shared/bootcard.c ../../shared/bspclean.c ../../shared/bsplibc.c \
59    ../../shared/bsppost.c startup/bspstart.c startup/cntrltbl.c \
60    startup/cntrltbl.h startup/exit.c startup/fault.c startup/fault.h \
61    startup/faultret.h startup/flttbl.c startup/flttbl.h startup/frmstr.c \
62    startup/frmstr.h startup/i960.h startup/ihandler.h startup/ihandler.S \
63    startup/intrtbl.c startup/intrtbl.h startup/kkprintf.c \
64    ../../shared/main.c startup/main.h startup/memchnl.h startup/nmi.c \
65    startup/nulsystbl.c startup/pmc901_memmap.h startup/prcb.c \
66    startup/prcb.h startup/rom_cntrltbl.c startup/rom_ibr.c \
67    startup/rom_ibr.h startup/rommon.h startup/rom_prcb.c \
68    ../../shared/sbrk.c startup/sctns.c startup/sctns.h startup/setvec.c \
69    startup/systbl.c startup/systbl.h startup/time.h
70startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
71startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72
73EXTRA_PROGRAMS += startup_g.rel
74CLEANFILES += startup_g.rel
75startup_g_rel_SOURCES = $(startup_rel_SOURCES)
76startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
77startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78
79noinst_DATA += startup$(LIB_VARIANT).rel
80
81EXTRA_PROGRAMS += timer.rel
82CLEANFILES += timer.rel
83timer_rel_SOURCES = timer/timer.c
84UNUSED_FILES = timer/timerisr.S
85timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
86timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
87
88EXTRA_PROGRAMS += timer_g.rel
89CLEANFILES += timer_g.rel
90timer_g_rel_SOURCES = $(timer_rel_SOURCES)
91timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
92timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
93
94noinst_DATA += timer$(LIB_VARIANT).rel
95
96EXTRA_LIBRARIES = libbsp.a
97CLEANFILES += libbsp.a
98libbsp_a_SOURCES =
99libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
100    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
101libbsp_a_LIBADD += \
102    ../../../libcpu/@RTEMS_CPU@/i960rp/score$(LIB_VARIANT).rel
103
104EXTRA_LIBRARIES += libbsp_g.a
105CLEANFILES += libbsp_g.a
106libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
107libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
108
109noinst_DATA += libbsp$(LIB_VARIANT).a
110
111all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
112
113PREINSTALL_DIRS =
114TMPINSTALL_FILES =
115
116$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
118PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
119
120$(PROJECT_LIB)/rxgen_romld$(LIB_VARIANT).$(OBJEXT): rxgen_romld$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
121        $(INSTALL_DATA) $< $(PROJECT_LIB)/rxgen_romld$(LIB_VARIANT).$(OBJEXT)
122TMPINSTALL_FILES += $(PROJECT_LIB)/rxgen_romld$(LIB_VARIANT).$(OBJEXT)
123
124$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
125        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
126TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
127
128CLEANFILES += $(PREINSTALL_FILES)
129DISTCLEANFILES = $(PREINSTALL_DIRS)
130CLEANFILES += $(TMPINSTALL_FILES)
131
132include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.