source: rtems/c/src/lib/libbsp/h8300/h8sim/Makefile.am @ c24d7c84

4.104.114.84.9
Last change on this file since c24d7c84 was c24d7c84, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 12, 2004 at 9:08:05 AM

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

  • Makefile.am: Use CPPASCOMPILE instead of CCASCOMPILE.
  • Property mode set to 100644
File size: 3.1 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
16EXTRA_DIST = start/start.S
17start$(LIB_VARIANT).$(OBJEXT): start/start.S
18        $(CPPASCOMPILE) -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 = ../../shared/bspclean.c ../../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/__main.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 = ../../shared/clock_driver_stub.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 = ../../shared/console-polled.c console/console-io.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_LIBRARIES = libbsp.a
69CLEANFILES += libbsp.a
70libbsp_a_SOURCES =
71libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
72    console$(LIB_VARIANT).rel
73
74EXTRA_LIBRARIES += libbsp_g.a
75CLEANFILES += libbsp_g.a
76libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
77libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
78
79noinst_DATA += libbsp$(LIB_VARIANT).a
80
81all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
82
83EXTRA_DIST += times
84
85PREINSTALL_DIRS =
86TMPINSTALL_FILES =
87
88$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
91
92$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
94TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
95
96$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
97        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
98TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
99
100CLEANFILES += $(PREINSTALL_FILES)
101DISTCLEANFILES = $(PREINSTALL_DIRS)
102CLEANFILES += $(TMPINSTALL_FILES)
103
104include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.