source: rtems/c/src/lib/libcpu/powerpc/ppc403/Makefile.am @ aaed235

4.104.114.84.95
Last change on this file since aaed235 was aaed235, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 11:45:08 AM

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

  • mpc505/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am: Don't include .../lib.am.
  • Property mode set to 100644
File size: 3.7 KB
Line 
1##
2## $Id$
3##
4
5CLEANFILES =
6EXTRA_DIST =
7EXTRA_PROGRAMS =
8noinst_DATA =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12if ppc403
13## clock
14EXTRA_PROGRAMS += clock.rel
15CLEANFILES += clock.rel
16clock_rel_SOURCES = clock/clock.c
17clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
18clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
19
20EXTRA_PROGRAMS += clock_g.rel
21CLEANFILES += clock_g.rel
22clock_g_rel_SOURCES = $(clock_rel_SOURCES)
23clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
24clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
25
26noinst_DATA += clock$(LIB_VARIANT).rel
27
28## console
29EXTRA_PROGRAMS += console.rel
30CLEANFILES += console.rel
31if ppc405
32console_rel_SOURCES = console/console405.c
33else
34console_rel_SOURCES = console/console.c
35endif
36console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
37console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39EXTRA_PROGRAMS += console_g.rel
40CLEANFILES += console_g.rel
41console_g_rel_SOURCES = $(console_rel_SOURCES)
42console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
43console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_DATA += console$(LIB_VARIANT).rel
46
47## ictrl
48include_HEADERS = ictrl/ictrl.h
49
50EXTRA_PROGRAMS += ictrl.rel
51CLEANFILES += ictrl.rel
52ictrl_rel_SOURCES = ictrl/ictrl.c ictrl/ictrl.h
53ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
54ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55
56EXTRA_PROGRAMS += ictrl_g.rel
57CLEANFILES += ictrl_g.rel
58ictrl_g_rel_SOURCES = $(ictrl_rel_SOURCES)
59ictrl_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
60ictrl_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62noinst_DATA += ictrl$(LIB_VARIANT).rel
63
64## timer
65EXTRA_PROGRAMS += timer.rel
66CLEANFILES += timer.rel
67timer_rel_SOURCES = timer/timer.c
68timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
69timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
70
71EXTRA_PROGRAMS += timer_g.rel
72CLEANFILES += timer_g.rel
73timer_g_rel_SOURCES = $(timer_rel_SOURCES)
74timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
75timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
76
77noinst_DATA += timer$(LIB_VARIANT).rel
78
79## tty_drv
80if ppc405
81include_HEADERS += tty_drv/tty_drv.h
82
83EXTRA_PROGRAMS += tty_drv.rel
84CLEANFILES += tty_drv.rel
85tty_drv_rel_SOURCES = tty_drv/tty_drv.c tty_drv/tty_drv.h
86tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
87tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
88
89EXTRA_PROGRAMS += tty_drv_g.rel
90CLEANFILES += tty_drv_g.rel
91tty_drv_g_rel_SOURCES = $(tty_drv_rel_SOURCES)
92tty_drv_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
93tty_drv_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
94
95noinst_DATA += tty_drv$(LIB_VARIANT).rel
96endif
97
98## vectors
99EXTRA_PROGRAMS += vectors.rel
100CLEANFILES += vectors.rel
101vectors_rel_SOURCES = vectors/vectors.S vectors/align_h.S
102vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
103vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
104
105EXTRA_PROGRAMS += vectors_g.rel
106CLEANFILES += vectors_g.rel
107vectors_g_rel_SOURCES = $(vectors_rel_SOURCES)
108vectors_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
109vectors_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
110
111noinst_DATA += vectors$(LIB_VARIANT).rel
112endif
113
114## --
115all-local: $(PREINSTALL_FILES)
116
117PREINSTALL_DIRS =
118PREINSTALL_FILES =
119
120$(PROJECT_INCLUDE)/$(dirstamp):
121        @$(mkdir_p) $(PROJECT_INCLUDE)
122        @: > $(PROJECT_INCLUDE)/$(dirstamp)
123PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
124
125if ppc403
126
127$(PROJECT_INCLUDE)/ictrl.h: ictrl/ictrl.h $(PROJECT_INCLUDE)/$(dirstamp)
128        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ictrl.h
129PREINSTALL_FILES += $(PROJECT_INCLUDE)/ictrl.h
130
131if ppc405
132$(PROJECT_INCLUDE)/tty_drv.h: tty_drv/tty_drv.h $(PROJECT_INCLUDE)/$(dirstamp)
133        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tty_drv.h
134PREINSTALL_FILES += $(PROJECT_INCLUDE)/tty_drv.h
135endif
136endif
137
138CLEANFILES += $(PREINSTALL_FILES)
139DISTCLEANFILES = $(PREINSTALL_DIRS)
140
141include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.