source: rtems/c/src/lib/libbsp/arm/armulator/Makefile.am @ 9fb0a58

4.104.114.84.9
Last change on this file since 9fb0a58 was 9fb0a58, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 28, 2004 at 9:26:39 PM

2004-01-28 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.
  • Property mode set to 100644
File size: 3.6 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7EXTRA_PROGRAMS =
8CLEANFILES =
9noinst_DATA =
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14nodist_include_HEADERS += ../../shared/include/coverhd.h
15
16EXTRA_DIST = start/start.S
17start$(LIB_VARIANT).$(OBJEXT): start/start.S
18        ${CCASCOMPILE} -DASM -o $@ -c $<
19project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
20
21dist_project_lib_DATA += startup/linkcmds
22
23EXTRA_PROGRAMS += startup.rel
24CLEANFILES += startup.rel
25startup_rel_SOURCES = startup/trap.S ../../shared/bsplibc.c \
26    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
27    ../../shared/main.c ../../shared/sbrk.c \
28    ../../shared/gnatinstallhandler.c startup/libcfunc.c startup/syscalls.c
29startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
30startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
31
32EXTRA_PROGRAMS += startup_g.rel
33CLEANFILES += startup_g.rel
34startup_g_rel_SOURCES = $(startup_rel_SOURCES)
35startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
36startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38noinst_DATA += startup$(LIB_VARIANT).rel
39
40EXTRA_PROGRAMS += clock.rel
41CLEANFILES += clock.rel
42clock_rel_SOURCES = clock/clockdrv.c
43clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
44clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
45
46EXTRA_PROGRAMS += clock_g.rel
47CLEANFILES += clock_g.rel
48clock_g_rel_SOURCES = $(clock_rel_SOURCES)
49clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
50clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52noinst_DATA += clock$(LIB_VARIANT).rel
53
54EXTRA_PROGRAMS += console.rel
55CLEANFILES += console.rel
56console_rel_SOURCES = console/console-io.c ../../shared/console-polled.c
57console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
58console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59
60EXTRA_PROGRAMS += console_g.rel
61CLEANFILES += console_g.rel
62console_g_rel_SOURCES = $(console_rel_SOURCES)
63console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
64console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66noinst_DATA += console$(LIB_VARIANT).rel
67
68EXTRA_PROGRAMS += timer.rel
69CLEANFILES += timer.rel
70timer_rel_SOURCES = ../../shared/timerstub.c
71timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
72timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74EXTRA_PROGRAMS += timer_g.rel
75CLEANFILES += timer_g.rel
76timer_g_rel_SOURCES = $(timer_rel_SOURCES)
77timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
78timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80noinst_DATA += timer$(LIB_VARIANT).rel
81
82EXTRA_LIBRARIES = libbsp.a
83CLEANFILES += libbsp.a
84libbsp_a_SOURCES =
85libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
86    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
87
88EXTRA_LIBRARIES += libbsp_g.a
89CLEANFILES += libbsp_g.a
90libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
91libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
92
93noinst_DATA += libbsp$(LIB_VARIANT).a
94
95all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
96
97PREINSTALL_DIRS =
98TMPINSTALL_FILES =
99
100$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
101        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
102PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
103
104$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
105        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
106TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
107
108$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
109        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
110TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
111
112CLEANFILES += $(PREINSTALL_FILES)
113DISTCLEANFILES = $(PREINSTALL_DIRS)
114CLEANFILES += $(TMPINSTALL_FILES)
115
116include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.