source: rtems/c/src/lib/libbsp/powerpc/ss555/Makefile.am @ a800d09c

4.104.114.84.95
Last change on this file since a800d09c was a800d09c, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 12, 2004 at 9:52:13 PM

2004-04-12 David Querbach <querbach@…>

  • .cvsignore, ChangeLog?, Makefile.am, README, bsp_specs, configure.ac, times, clock/p_clock.c, console/console.c, include/.cvsignore, include/bsp.h, include/coverhd.h, irq/irq.h, startup/bspstart.c, startup/iss555.c, startup/linkcmds, startup/start.S, wrapup/.cvsignore, wrapup/Makefile.am: New files.
  • Property mode set to 100644
File size: 3.8 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7# wrapup is the one that actually builds and installs the library
8# from the individual .rel files built in other directories
9SUBDIRS = . @exceptions@ wrapup
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = bsp_specs
15
16include_HEADERS = include/bsp.h
17nodist_include_HEADERS = include/bspopts.h
18
19EXTRA_PROGRAMS =
20CLEANFILES =
21noinst_DATA =
22
23include_bspdir = $(includedir)/bsp
24
25include_HEADERS += include/coverhd.h
26include_bsp_HEADERS = irq/irq.h
27
28EXTRA_DIST = times
29
30dist_project_lib_DATA += startup/linkcmds
31
32EXTRA_PROGRAMS += pclock.rel
33CLEANFILES += pclock.rel
34pclock_rel_SOURCES = clock/p_clock.c
35pclock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
36pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38EXTRA_PROGRAMS += pclock_g.rel
39CLEANFILES += pclock_g.rel
40pclock_g_rel_SOURCES = $(pclock_rel_SOURCES)
41pclock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
42pclock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_DATA += pclock$(LIB_VARIANT).rel
45
46EXTRA_PROGRAMS += console.rel
47CLEANFILES += console.rel
48console_rel_SOURCES = console/console.c
49console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
50console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52EXTRA_PROGRAMS += console_g.rel
53CLEANFILES += console_g.rel
54console_g_rel_SOURCES = $(console_rel_SOURCES)
55console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
56console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_DATA += console$(LIB_VARIANT).rel
59
60EXTRA_PROGRAMS += startup.rel
61CLEANFILES += startup.rel
62startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
63    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
64    startup/iss555.c ../../shared/main.c ../../shared/sbrk.c \
65    ../../shared/gnatinstallhandler.c startup/start.S
66startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
67startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69EXTRA_PROGRAMS += startup_g.rel
70CLEANFILES += startup_g.rel
71startup_g_rel_SOURCES = $(startup_rel_SOURCES)
72startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
73startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74
75noinst_DATA += startup$(LIB_VARIANT).rel
76
77all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
78
79PREINSTALL_DIRS =
80PREINSTALL_FILES =
81
82$(PROJECT_INCLUDE)/$(dirstamp):
83        @$(mkdir_p) $(PROJECT_INCLUDE)
84        @: > $(PROJECT_INCLUDE)/$(dirstamp)
85PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
86
87$(PROJECT_LIB)/$(dirstamp):
88        @$(mkdir_p) $(PROJECT_LIB)
89        @: > $(PROJECT_LIB)/$(dirstamp)
90PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
91
92$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
94PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
95
96$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
97        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
98PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
99
100$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
101        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
102PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
103
104$(PROJECT_INCLUDE)/bsp/$(dirstamp):
105        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
106        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
107PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
108
109$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
110        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
111PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
112
113$(PROJECT_INCLUDE)/bsp/irq.h: irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
114        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
115PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
116
117$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
118        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
119PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
120
121CLEANFILES += $(PREINSTALL_FILES)
122DISTCLEANFILES = $(PREINSTALL_DIRS)
123
124include $(top_srcdir)/../../../../automake/subdirs.am
125include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.