source: rtems/c/src/lib/libcpu/arm/mc9328mxl/Makefile.am @ 81db9ef

4.104.114.84.95
Last change on this file since 81db9ef was 81db9ef, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 2, 2005 at 11:02:54 AM

2005-01-02 Ralf Corsepius <ralf.corsepius@…>

  • at91rm9200/Makefile.am, mc9328mxl/Makefile.am, shared/Makefile.am: Remove build-variant support.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1##
2## $Id$
3##
4
5noinst_PROGRAMS =
6
7include $(top_srcdir)/../../../automake/compile.am
8
9if mc9328mxl
10include_mc9328mxldir = $(includedir)/mc9328mxl
11include_libcpudir = $(includedir)/libcpu
12include_HEADERS = include/mc9328mxl.h
13
14## clock
15noinst_PROGRAMS += clock.rel
16clock_rel_SOURCES = clock/clockdrv.c
17clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
18clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
19
20## timer
21noinst_PROGRAMS += timer.rel
22timer_rel_SOURCES = timer/timer.c
23timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
24timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
25
26## interrupt
27include_HEADERS += irq/irq.h
28
29noinst_PROGRAMS += irq.rel
30irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c \
31    ../../../libbsp/arm/shared/irq/irq_init.c irq/bsp_irq_asm.S \
32    ../../../libbsp/arm/shared/irq/irq_asm.S irq/irq.h
33irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
34irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35endif
36
37## --
38all-local: $(PREINSTALL_FILES)
39
40PREINSTALL_DIRS =
41PREINSTALL_FILES =
42
43$(PROJECT_INCLUDE)/$(dirstamp):
44        @$(mkdir_p) $(PROJECT_INCLUDE)
45        @: > $(PROJECT_INCLUDE)/$(dirstamp)
46PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
47
48if mc9328mxl
49$(PROJECT_INCLUDE)/mc9328mxl/$(dirstamp):
50        @$(mkdir_p) $(PROJECT_INCLUDE)/mc9328mxl
51        @: > $(PROJECT_INCLUDE)/mc9328mxl/$(dirstamp)
52PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mc9328mxl/$(dirstamp)
53
54$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
55        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
56        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
57PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
58
59$(PROJECT_INCLUDE)/mc9328mxl.h: include/mc9328mxl.h $(PROJECT_INCLUDE)/$(dirstamp)
60        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mc9328mxl.h
61PREINSTALL_FILES += $(PROJECT_INCLUDE)/mc9328mxl.h
62
63$(PROJECT_INCLUDE)/irq.h: irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
64        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
65PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
66endif
67
68CLEANFILES = $(PREINSTALL_FILES)
69DISTCLEANFILES = $(PREINSTALL_DIRS)
70
71include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.