source:
rtems/cpukit/score/cpu/i386/Makefile.am
@
8c82fa79
Last change on this file since 8c82fa79 was 8c82fa79, checked in by Joel Sherrill <joel.sherrill@…>, on 04/03/02 at 14:04:21 | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[955a9ba7] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[955a9ba7] | 4 | |
[feead226] | 5 | ACLOCAL_AMFLAGS = -I ../../../../../../aclocal |
[955a9ba7] | 6 | |
[e9718415] | 7 | include $(top_srcdir)/../../../../../../automake/multilib.am |
[d7118fd] | 8 | include $(top_srcdir)/../../../../../../automake/compile.am |
[4e36a2f] | 9 | include $(top_srcdir)/../../../../../../automake/lib.am |
[955a9ba7] | 10 | |
11 | $(PROJECT_INCLUDE)/%.h: %.h | |
12 | $(INSTALL_DATA) $< $@ | |
13 | ||
[1e69b294] | 14 | $(PROJECT_INCLUDE): |
15 | $(mkinstalldirs) $@ | |
16 | ||
[845fac33] | 17 | $(PROJECT_INCLUDE)/rtems: |
18 | $(mkinstalldirs) $@ | |
19 | ||
20 | $(PROJECT_INCLUDE)/rtems/score: | |
21 | $(mkinstalldirs) $@ | |
22 | ||
[1e69b294] | 23 | include_HEADERS= asm.h |
24 | PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) | |
[955a9ba7] | 25 | |
[845fac33] | 26 | include_rtems_scoredir = $(includedir)/rtems/score |
27 | include_rtems_score_HEADERS = \ | |
28 | rtems/score/cpu.h \ | |
29 | rtems/score/i386.h \ | |
[8c82fa79] | 30 | rtems/score/types.h |
[1e69b294] | 31 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ |
[845fac33] | 32 | $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h) |
[4e36a2f] | 33 | |
[1e69b294] | 34 | REL = $(ARCH)/rtems-cpu.rel |
35 | ||
36 | C_FILES = cpu.c | |
37 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) | |
38 | ||
39 | S_FILES = cpu_asm.S | |
40 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) | |
41 | ||
42 | rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES) | |
43 | ||
44 | $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o | |
45 | $(INSTALL_DATA) $< $@ | |
46 | ||
47 | $(REL): $(rtems_cpu_rel_OBJECTS) | |
48 | $(make-rel) | |
49 | ||
[e9718415] | 50 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o |
[4e36a2f] | 51 | |
[df49c60] | 52 | all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \ |
53 | $(TMPINSTALL_FILES) | |
[4e36a2f] | 54 | |
55 | .PRECIOUS: $(REL) | |
[955a9ba7] | 56 | |
[329509fb] | 57 | EXTRA_DIST = cpu.c cpu_asm.S rtems.S |
[955a9ba7] | 58 | |
59 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.