4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal |
---|
7 | |
---|
8 | SUBDIRS = rtems |
---|
9 | |
---|
10 | C_FILES = cpu.c cpu_asm.c |
---|
11 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
12 | |
---|
13 | H_FILES = asm.h |
---|
14 | |
---|
15 | REL = $(ARCH)/rtems-cpu.rel |
---|
16 | |
---|
17 | rtems_cpu_rel_OBJECTS = $(C_O_FILES) |
---|
18 | |
---|
19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
20 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
21 | |
---|
22 | $(PROJECT_INCLUDE): |
---|
23 | $(mkinstalldirs) $@ |
---|
24 | |
---|
25 | $(PROJECT_INCLUDE)/%.h: %.h |
---|
26 | $(INSTALL_DATA) $< $@ |
---|
27 | |
---|
28 | $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o |
---|
29 | $(INSTALL_DATA) $< $@ |
---|
30 | |
---|
31 | $(REL): $(rtems_cpu_rel_OBJECTS) |
---|
32 | $(make-rel) |
---|
33 | |
---|
34 | PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%) |
---|
35 | |
---|
36 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o |
---|
37 | |
---|
38 | all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \ |
---|
39 | $(TMPINSTALL_FILES) |
---|
40 | |
---|
41 | .PRECIOUS: $(REL) |
---|
42 | |
---|
43 | EXTRA_DIST = asm.h cpu.c cpu_asm.c rtems.c |
---|
44 | |
---|
45 | include $(top_srcdir)/../../../../../../automake/subdirs.am |
---|
46 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.