source:
rtems/cpukit/score/cpu/sh/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 |
[ccf8925b] | 9 | include $(top_srcdir)/../../../../../../automake/lib.am |
10 | ||
[6d41a874] | 11 | $(PROJECT_INCLUDE)/%.h: %.h |
12 | $(INSTALL_DATA) $< $@ | |
[ccf8925b] | 13 | |
14 | $(PROJECT_INCLUDE): | |
15 | $(mkinstalldirs) $@ | |
16 | ||
[6d41a874] | 17 | $(PROJECT_INCLUDE)/rtems: |
18 | $(mkinstalldirs) $@ | |
[ccf8925b] | 19 | |
[6d41a874] | 20 | $(PROJECT_INCLUDE)/rtems/score: |
21 | $(mkinstalldirs) $@ | |
22 | ||
23 | include_HEADERS= asm.h | |
24 | PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) | |
25 | ||
26 | include_rtems_scoredir = $(includedir)/rtems/score | |
27 | include_rtems_score_HEADERS = \ | |
28 | rtems/score/cpu.h \ | |
29 | rtems/score/shtypes.h \ | |
30 | rtems/score/sh.h \ | |
31 | rtems/score/sh_io.h | |
32 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ | |
33 | $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h) | |
[ccf8925b] | 34 | |
[ac815430] | 35 | C_FILES = cpu.c |
[4e36a2f] | 36 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
[ccf8925b] | 37 | |
38 | REL = $(ARCH)/rtems-cpu.rel | |
39 | ||
[4e36a2f] | 40 | rtems_cpu_rel_OBJECTS = $(C_O_FILES) |
41 | ||
42 | $(REL): $(rtems_cpu_rel_OBJECTS) | |
[ccf8925b] | 43 | $(make-rel) |
44 | ||
[6d41a874] | 45 | $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o |
46 | $(INSTALL_DATA) $< $@ | |
[4e36a2f] | 47 | |
[e9718415] | 48 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o |
[4e36a2f] | 49 | |
[df49c60] | 50 | all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \ |
51 | $(TMPINSTALL_FILES) | |
[4e36a2f] | 52 | |
53 | .PRECIOUS: $(REL) | |
[ccf8925b] | 54 | |
[6d41a874] | 55 | EXTRA_DIST = cpu.c rtems.c |
[ccf8925b] | 56 | |
57 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.