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/types.h \ |
---|
12 | rtems/score/or32.h rtems/score/cpu_asm.h |
---|
13 | |
---|
14 | noinst_LIBRARIES = libscorecpu.a |
---|
15 | libscorecpu_a_SOURCES = cpu.c cpu_asm.c |
---|
16 | libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
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/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
42 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
43 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
44 | |
---|
45 | $(PROJECT_INCLUDE)/rtems/score/or32.h: rtems/score/or32.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
46 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/or32.h |
---|
47 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/or32.h |
---|
48 | |
---|
49 | $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
50 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h |
---|
51 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h |
---|
52 | |
---|
53 | CLEANFILES = $(PREINSTALL_FILES) |
---|
54 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
55 | |
---|
56 | include $(top_srcdir)/automake/local.am |
---|