source:
rtems/cpukit/score/cpu/h8300/Makefile.am
@
cce1ac79
Last change on this file since cce1ac79 was a85d8ec, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/26/02 at 13:32:13 | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[5532553] | 1 | ## |
2 | ## $Id$ | |
3 | ## | |
4 | ||
[2f6261d] | 5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
[5532553] | 6 | |
[2f6261d] | 7 | include $(top_srcdir)/../../../automake/multilib.am |
8 | include $(top_srcdir)/../../../automake/compile.am | |
9 | include $(top_srcdir)/../../../automake/lib.am | |
[5532553] | 10 | |
[14926c2e] | 11 | $(PROJECT_INCLUDE)/%.h: %.h |
12 | $(INSTALL_DATA) $< $@ | |
[5532553] | 13 | |
14 | $(PROJECT_INCLUDE): | |
15 | $(mkinstalldirs) $@ | |
16 | ||
[14926c2e] | 17 | $(PROJECT_INCLUDE)/rtems: |
18 | $(mkinstalldirs) $@ | |
19 | ||
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/h8300.h \ | |
[b03055e] | 30 | rtems/score/types.h |
[14926c2e] | 31 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ |
32 | $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h) | |
[5532553] | 33 | |
[b977ea9] | 34 | C_FILES = cpu.c |
[53f6727] | 35 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
[14926c2e] | 36 | |
37 | S_FILES = cpu_asm.S | |
[53f6727] | 38 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) |
[14926c2e] | 39 | |
[a85d8ec] | 40 | LIB = $(ARCH)/libscorecpu.a |
[14926c2e] | 41 | |
[a85d8ec] | 42 | libscorecpu_a_OBJECTS = $(C_O_FILES) $(S_O_FILES) |
[14926c2e] | 43 | |
[a85d8ec] | 44 | $(LIB): $(libscorecpu_a_OBJECTS) |
45 | $(make-library) | |
[5532553] | 46 | |
[a85d8ec] | 47 | all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \ |
[5532553] | 48 | $(TMPINSTALL_FILES) |
49 | ||
[84fa187] | 50 | EXTRA_DIST = cpu.c cpu_asm.S |
[5532553] | 51 | |
[2f6261d] | 52 | include $(top_srcdir)/../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.