source:
rtems/cpukit/score/cpu/sparc/Makefile.am
@
7273b6e
Last change on this file since 7273b6e was 7273b6e, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:54:58 | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[ccf8925b] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[ccf8925b] | 4 | |
[feead226] | 5 | ACLOCAL_AMFLAGS = -I ../../../../../../aclocal |
[ccf8925b] | 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 |
[ccf8925b] | 10 | |
[d8a78f4f] | 11 | $(PROJECT_INCLUDE)/%.h: %.h |
12 | $(INSTALL_DATA) $< $@ | |
[ccf8925b] | 13 | |
14 | $(PROJECT_INCLUDE): | |
15 | $(mkinstalldirs) $@ | |
16 | ||
[1dba8de0] | 17 | $(PROJECT_INCLUDE)/rtems: |
18 | $(mkinstalldirs) $@ | |
19 | ||
20 | $(PROJECT_INCLUDE)/rtems/score: | |
21 | $(mkinstalldirs) $@ | |
22 | ||
[d8a78f4f] | 23 | include_HEADERS= asm.h |
24 | PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) | |
[ccf8925b] | 25 | |
[1dba8de0] | 26 | include_rtems_scoredir = $(includedir)/rtems/score |
27 | include_rtems_score_HEADERS = \ | |
28 | rtems/score/sparc.h \ | |
[d8a78f4f] | 29 | rtems/score/cpu.h \ |
[1dba8de0] | 30 | rtems/score/sparctypes.h |
[d8a78f4f] | 31 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ |
[1dba8de0] | 32 | $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h) |
[4e36a2f] | 33 | |
[d8a78f4f] | 34 | C_FILES = cpu.c |
35 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) | |
36 | ||
37 | S_FILES = cpu_asm.S | |
38 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) | |
39 | ||
40 | REL = $(ARCH)/rtems-cpu.rel | |
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) | |
[ccf8925b] | 56 | |
[329509fb] | 57 | EXTRA_DIST = cpu.c cpu_asm.S rtems.S |
[ccf8925b] | 58 | |
59 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.