source: rtems/c/src/lib/libcpu/powerpc/mpc5xx/Makefile.am @ 0aee2be5

4.104.114.84.95
Last change on this file since 0aee2be5 was 0aee2be5, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 8, 2004 at 3:36:03 PM

2004-03-08 Ralf Corsepius <corsepiu@…>

  • mpc5xx/.cvsignore, mpc5xx/Makefile.am: New.
  • mpc5xx/exceptions/asm_utils.S, mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h, mpc5xx/ictrl/ictrl.c, mpc5xx/ictrl/ictrl.h, mpc5xx/timer/timer.c: New (Submission from Wilfried Busalski <w.busalski@…>).
  • Property mode set to 100644
File size: 2.6 KB
Line 
1##
2## Makefile.am,v 1.4 2002/03/28 00:48:14 joel Exp
3##
4
5CLEANFILES =
6EXTRA_DIST =
7EXTRA_PROGRAMS =
8noinst_DATA =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12if mpc5xx
13include_libcpudir = $(includedir)/libcpu
14
15# exceptions
16include_libcpu_HEADERS = exceptions/raw_exception.h
17
18EXTRA_PROGRAMS += exceptions.rel
19CLEANFILES += exceptions.rel
20exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S
21exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
22exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
23
24EXTRA_PROGRAMS += exceptions_g.rel
25CLEANFILES += exceptions_g.rel
26exceptions_g_rel_SOURCES = $(exceptions_rel_SOURCES)
27exceptions_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
28exceptions_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30noinst_DATA += exceptions$(LIB_VARIANT).rel
31
32# ictrl
33include_HEADERS = ictrl/ictrl.h
34
35EXTRA_PROGRAMS += ictrl.rel
36CLEANFILES += ictrl.rel
37ictrl_rel_SOURCES = ictrl/ictrl.c ictrl/ictrl.h
38ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
39ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41EXTRA_PROGRAMS += ictrl_g.rel
42CLEANFILES += ictrl_g.rel
43ictrl_g_rel_SOURCES = $(ictrl_rel_SOURCES)
44ictrl_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
45ictrl_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_DATA += ictrl$(LIB_VARIANT).rel
48
49# timer
50EXTRA_PROGRAMS += timer.rel
51CLEANFILES += timer.rel
52timer_rel_SOURCES = timer/timer.c
53timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
54timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55
56EXTRA_PROGRAMS += timer_g.rel
57CLEANFILES += timer_g.rel
58timer_g_rel_SOURCES = $(timer_rel_SOURCES)
59timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
60timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62noinst_DATA += timer$(LIB_VARIANT).rel
63endif
64
65PREINSTALL_DIRS =
66PREINSTALL_FILES =
67
68$(PROJECT_INCLUDE)/$(dirstamp):
69        @$(mkdir_p) $(PROJECT_INCLUDE)
70        @: > $(PROJECT_INCLUDE)/$(dirstamp)
71PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
72
73if mpc5xx
74$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
75        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
76        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
77PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
78
79$(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
80        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h
81PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h
82
83$(PROJECT_INCLUDE)/ictrl.h: ictrl/ictrl.h $(PROJECT_INCLUDE)/$(dirstamp)
84        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ictrl.h
85PREINSTALL_FILES += $(PROJECT_INCLUDE)/ictrl.h
86endif
87
88CLEANFILES += $(PREINSTALL_FILES)
89DISTCLEANFILES = $(PREINSTALL_DIRS)
90
91include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.