1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/automake/compile.am |
---|
6 | |
---|
7 | include_rtemsdir = $(includedir)/rtems |
---|
8 | include_rtems_HEADERS = asm.h |
---|
9 | |
---|
10 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
11 | include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/h8300.h \ |
---|
12 | rtems/score/types.h |
---|
13 | |
---|
14 | noinst_LIBRARIES = libscorecpu.a |
---|
15 | libscorecpu_a_SOURCES = cpu.c cpu_asm.S |
---|
16 | libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) |
---|
17 | |
---|
18 | all-local: $(PREINSTALL_FILES) |
---|
19 | |
---|
20 | PREINSTALL_DIRS = |
---|
21 | PREINSTALL_FILES = |
---|
22 | |
---|
23 | $(PROJECT_INCLUDE)/rtems/$(dirstamp): |
---|
24 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems |
---|
25 | @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
26 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
27 | |
---|
28 | $(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
29 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h |
---|
30 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h |
---|
31 | |
---|
32 | $(PROJECT_INCLUDE)/rtems/score/$(dirstamp): |
---|
33 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score |
---|
34 | @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
35 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
36 | |
---|
37 | $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
38 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
39 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
40 | |
---|
41 | $(PROJECT_INCLUDE)/rtems/score/h8300.h: rtems/score/h8300.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
42 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/h8300.h |
---|
43 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/h8300.h |
---|
44 | |
---|
45 | $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
46 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
47 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
48 | |
---|
49 | CLEANFILES = $(PREINSTALL_FILES) |
---|
50 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
51 | |
---|
52 | include $(top_srcdir)/automake/local.am |
---|