source: rtems/c/src/lib/libcpu/arm/mc9328mxl/Makefile.am @ 1cfcfd3

4.104.114.84.95
Last change on this file since 1cfcfd3 was 1cfcfd3, checked in by Jay Monkman <jtm@…>, on Jul 15, 2004 at 6:25:44 AM

2004-07-15 Jay Monkman

  • ChangeLog?, Makefile.am, clock/.cvsignore, clock/clockdrv.c, include/mc9328mxl.h, irq/.cvsignore, irq/bsp_irq_asm.S, irq/bsp_irq_init.c, irq/irq.c, irq/irq.h, timer/.cvsignore, timer/timer.c: New files.
  • Property mode set to 100644
File size: 2.7 KB
Line 
1##
2## $Id$
3##
4
5CLEANFILES =
6EXTRA_DIST =
7EXTRA_PROGRAMS =
8noinst_DATA =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12if mc9328mxl
13include_mc9328mxldir = $(includedir)/mc9328mxl
14include_libcpudir = $(includedir)/libcpu
15include_HEADERS = include/mc9328mxl.h
16
17## clock
18EXTRA_PROGRAMS += clock.rel
19CLEANFILES += clock.rel
20clock_rel_SOURCES = clock/clockdrv.c
21clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
22clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
23
24EXTRA_PROGRAMS += clock_g.rel
25CLEANFILES += clock_g.rel
26clock_g_rel_SOURCES = $(clock_rel_SOURCES)
27clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
28clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30noinst_DATA += clock$(LIB_VARIANT).rel
31
32## timer
33EXTRA_PROGRAMS += timer.rel
34CLEANFILES += timer.rel
35timer_rel_SOURCES = timer/timer.c
36timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
37timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39EXTRA_PROGRAMS += timer_g.rel
40CLEANFILES += timer_g.rel
41timer_g_rel_SOURCES = $(timer_rel_SOURCES)
42timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
43timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_DATA += timer$(LIB_VARIANT).rel
46
47## interrupt
48include_HEADERS += irq/irq.h
49
50EXTRA_PROGRAMS += irq.rel
51CLEANFILES += irq.rel
52irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c \
53    ../../../libbsp/arm/shared/irq/irq_init.c irq/bsp_irq_asm.S \
54    ../../../libbsp/arm/shared/irq/irq_asm.S irq/irq.h
55irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
56irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58EXTRA_PROGRAMS += irq_g.rel
59CLEANFILES += irq_g.rel
60irq_g_rel_SOURCES = $(irq_rel_SOURCES)
61irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
62irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64noinst_DATA += irq$(LIB_VARIANT).rel
65
66
67endif
68
69## --
70all-local: $(PREINSTALL_FILES)
71
72PREINSTALL_DIRS =
73PREINSTALL_FILES =
74
75$(PROJECT_INCLUDE)/$(dirstamp):
76        @$(mkdir_p) $(PROJECT_INCLUDE)
77        @: > $(PROJECT_INCLUDE)/$(dirstamp)
78PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
79
80if mc9328mxl
81$(PROJECT_INCLUDE)/mc9328mxl/$(dirstamp):
82        @$(mkdir_p) $(PROJECT_INCLUDE)/mc9328mxl
83        @: > $(PROJECT_INCLUDE)/mc9328mxl/$(dirstamp)
84PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mc9328mxl/$(dirstamp)
85
86$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
87        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
88        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
89PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
90
91$(PROJECT_INCLUDE)/mc9328mxl.h: include/mc9328mxl.h $(PROJECT_INCLUDE)/$(dirstamp)
92        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mc9328mxl.h
93PREINSTALL_FILES += $(PROJECT_INCLUDE)/mc9328mxl.h
94
95$(PROJECT_INCLUDE)/irq.h: irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
96        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
97PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
98
99endif
100
101CLEANFILES += $(PREINSTALL_FILES)
102DISTCLEANFILES = $(PREINSTALL_DIRS)
103
104include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.