source: rtems/c/src/lib/libbsp/or32/orp/Makefile.am @ 3defec6

4.104.114.84.95
Last change on this file since 3defec6 was 3defec6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 23, 2004 at 4:47:38 AM

2004-04-23 Ralf Corsepius <ralf_corsepius@…>

PR 610/bsps

  • Makefile.am: Add include/tm27.h, Cosmetics.
  • include/tm27.h: Final cosmetics.
  • Property mode set to 100644
File size: 4.6 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
14nodist_include_HEADERS = include/bspopts.h
15
16EXTRA_PROGRAMS =
17CLEANFILES =
18noinst_DATA =
19
20include_HEADERS += include/coverhd.h
21
22EXTRA_DIST = start.S
23start$(LIB_VARIANT).$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29EXTRA_PROGRAMS += startup.rel
30CLEANFILES += startup.rel
31startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
32    startup/bspstart.c startup/bspclean.c ../../shared/bootcard.c \
33    ../../shared/main.c ../../shared/sbrk.c \
34    ../../shared/gnatinstallhandler.c startup/setvec.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38EXTRA_PROGRAMS += startup_g.rel
39CLEANFILES += startup_g.rel
40startup_g_rel_SOURCES = $(startup_rel_SOURCES)
41startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
42startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_DATA += startup$(LIB_VARIANT).rel
45
46EXTRA_PROGRAMS += clock.rel
47CLEANFILES += clock.rel
48clock_rel_SOURCES = clock/clockdrv.c
49clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
50clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52EXTRA_PROGRAMS += clock_g.rel
53CLEANFILES += clock_g.rel
54clock_g_rel_SOURCES = $(clock_rel_SOURCES)
55clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
56clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_DATA += clock$(LIB_VARIANT).rel
59
60EXTRA_PROGRAMS += console.rel
61CLEANFILES += console.rel
62console_rel_SOURCES = console/console.c console/console.h
63console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
64console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66EXTRA_PROGRAMS += console_g.rel
67CLEANFILES += console_g.rel
68console_g_rel_SOURCES = $(console_rel_SOURCES)
69console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
70console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71
72noinst_DATA += console$(LIB_VARIANT).rel
73
74EXTRA_PROGRAMS += timer.rel
75CLEANFILES += timer.rel
76timer_rel_SOURCES = timer/timer.c timer/timerisr.c
77timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
78timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80EXTRA_PROGRAMS += timer_g.rel
81CLEANFILES += timer_g.rel
82timer_g_rel_SOURCES = $(timer_rel_SOURCES)
83timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
84timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
85
86noinst_DATA += timer$(LIB_VARIANT).rel
87
88EXTRA_LIBRARIES = libbsp.a
89CLEANFILES += libbsp.a
90libbsp_a_SOURCES =
91libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
92    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
93
94EXTRA_LIBRARIES += libbsp_g.a
95CLEANFILES += libbsp_g.a
96libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
97libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
98
99noinst_DATA += libbsp$(LIB_VARIANT).a
100
101all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
102
103PREINSTALL_DIRS =
104PREINSTALL_FILES =
105TMPINSTALL_FILES =
106
107$(PROJECT_INCLUDE)/$(dirstamp):
108        @$(mkdir_p) $(PROJECT_INCLUDE)
109        @: > $(PROJECT_INCLUDE)/$(dirstamp)
110PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
111
112$(PROJECT_LIB)/$(dirstamp):
113        @$(mkdir_p) $(PROJECT_LIB)
114        @: > $(PROJECT_LIB)/$(dirstamp)
115PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
116
117$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
118        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
119PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
120
121$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
122        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
123PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
124
125$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
126        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
127PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
128
129$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
130        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
131PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
132
133$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
134        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
135PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
136
137$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
138        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
139TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
140
141$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
142        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
143PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
144
145CLEANFILES += $(PREINSTALL_FILES)
146DISTCLEANFILES = $(PREINSTALL_DIRS)
147CLEANFILES += $(TMPINSTALL_FILES)
148
149include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.