source: rtems/c/src/lib/libcpu/arm/at91rm9200/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: 3.6 KB
Line 
1##
2## $Id$
3##
4
5noinst_PROGRAMS =
6
7include $(top_srcdir)/../../../automake/compile.am
8
9if at91rm9200
10include_at91rm9200dir = $(includedir)/at91rm9200
11include_libcpudir = $(includedir)/libcpu
12include_HEADERS =
13include_HEADERS += include/at91rm9200.h include/at91rm9200_dbgu.h \
14    include/at91rm9200_emac.h include/at91rm9200_gpio.h \
15    include/at91rm9200_mem.h include/at91rm9200_pmc.h include/bits.h
16
17## clock
18noinst_PROGRAMS += clock.rel
19clock_rel_SOURCES = clock/clock.c
20clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
21clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
22
23## dbgu
24noinst_PROGRAMS += dbgu.rel
25dbgu_rel_SOURCES = dbgu/dbgu.c
26dbgu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
27dbgu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
28
29## timer
30noinst_PROGRAMS += timer.rel
31timer_rel_SOURCES = timer/timer.c
32timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
33timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
34
35## pmc
36noinst_PROGRAMS += pmc.rel
37pmc_rel_SOURCES = pmc/pmc.c
38pmc_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
39pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41## interrupt
42include_HEADERS += irq/irq.h
43
44noinst_PROGRAMS += irq.rel
45irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c \
46    ../../../libbsp/arm/shared/irq/irq_init.c irq/bsp_irq_asm.S \
47    ../../../libbsp/arm/shared/irq/irq_asm.S irq/irq.h
48irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
49irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50endif
51
52## --
53all-local: $(PREINSTALL_FILES)
54
55PREINSTALL_DIRS =
56PREINSTALL_FILES =
57
58$(PROJECT_INCLUDE)/$(dirstamp):
59        @$(mkdir_p) $(PROJECT_INCLUDE)
60        @: > $(PROJECT_INCLUDE)/$(dirstamp)
61PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
62
63if at91rm9200
64$(PROJECT_INCLUDE)/at91rm9200/$(dirstamp):
65        @$(mkdir_p) $(PROJECT_INCLUDE)/at91rm9200
66        @: > $(PROJECT_INCLUDE)/at91rm9200/$(dirstamp)
67PREINSTALL_DIRS += $(PROJECT_INCLUDE)/at91rm9200/$(dirstamp)
68
69$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
70        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
71        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
72PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
73
74$(PROJECT_INCLUDE)/at91rm9200.h: include/at91rm9200.h $(PROJECT_INCLUDE)/$(dirstamp)
75        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200.h
76PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200.h
77
78$(PROJECT_INCLUDE)/at91rm9200_dbgu.h: include/at91rm9200_dbgu.h $(PROJECT_INCLUDE)/$(dirstamp)
79        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_dbgu.h
80PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_dbgu.h
81
82$(PROJECT_INCLUDE)/at91rm9200_emac.h: include/at91rm9200_emac.h $(PROJECT_INCLUDE)/$(dirstamp)
83        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_emac.h
84PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_emac.h
85
86$(PROJECT_INCLUDE)/at91rm9200_gpio.h: include/at91rm9200_gpio.h $(PROJECT_INCLUDE)/$(dirstamp)
87        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_gpio.h
88PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_gpio.h
89
90$(PROJECT_INCLUDE)/at91rm9200_mem.h: include/at91rm9200_mem.h $(PROJECT_INCLUDE)/$(dirstamp)
91        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_mem.h
92PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_mem.h
93
94$(PROJECT_INCLUDE)/at91rm9200_pmc.h: include/at91rm9200_pmc.h $(PROJECT_INCLUDE)/$(dirstamp)
95        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_pmc.h
96PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_pmc.h
97
98$(PROJECT_INCLUDE)/bits.h: include/bits.h $(PROJECT_INCLUDE)/$(dirstamp)
99        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bits.h
100PREINSTALL_FILES += $(PROJECT_INCLUDE)/bits.h
101
102$(PROJECT_INCLUDE)/irq.h: irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
103        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
104PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
105endif
106
107CLEANFILES = $(PREINSTALL_FILES)
108DISTCLEANFILES = $(PREINSTALL_DIRS)
109
110include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.