1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../automake/multilib.am |
---|
8 | include $(top_srcdir)/../../../automake/compile.am |
---|
9 | |
---|
10 | include_rtemsdir = $(includedir)/rtems |
---|
11 | include_rtems_HEADERS= asm.h |
---|
12 | |
---|
13 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
14 | include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/i386.h \ |
---|
15 | rtems/score/types.h rtems/score/interrupts.h rtems/score/registers.h \ |
---|
16 | rtems/score/idtr.h |
---|
17 | |
---|
18 | EXTRA_LIBRARIES = libscorecpu.a |
---|
19 | CLEANFILES = libscorecpu.a |
---|
20 | libscorecpu_a_SOURCES = cpu.c cpu_asm.S |
---|
21 | libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) |
---|
22 | |
---|
23 | EXTRA_LIBRARIES += libscorecpu_g.a |
---|
24 | CLEANFILES += libscorecpu_g.a |
---|
25 | libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) |
---|
26 | libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) |
---|
27 | |
---|
28 | all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a |
---|
29 | |
---|
30 | PREINSTALL_DIRS = |
---|
31 | PREINSTALL_FILES = |
---|
32 | |
---|
33 | $(PROJECT_INCLUDE)/rtems/$(dirstamp): |
---|
34 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems |
---|
35 | @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
36 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
37 | |
---|
38 | $(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
39 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h |
---|
40 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h |
---|
41 | |
---|
42 | $(PROJECT_INCLUDE)/rtems/score/$(dirstamp): |
---|
43 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score |
---|
44 | @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
45 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
46 | |
---|
47 | $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
48 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
49 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
50 | |
---|
51 | $(PROJECT_INCLUDE)/rtems/score/i386.h: rtems/score/i386.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
52 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/i386.h |
---|
53 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/i386.h |
---|
54 | |
---|
55 | $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
56 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
57 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
58 | |
---|
59 | $(PROJECT_INCLUDE)/rtems/score/interrupts.h: rtems/score/interrupts.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
60 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/interrupts.h |
---|
61 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/interrupts.h |
---|
62 | |
---|
63 | $(PROJECT_INCLUDE)/rtems/score/registers.h: rtems/score/registers.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
64 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/registers.h |
---|
65 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/registers.h |
---|
66 | |
---|
67 | $(PROJECT_INCLUDE)/rtems/score/idtr.h: rtems/score/idtr.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
68 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/idtr.h |
---|
69 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/idtr.h |
---|
70 | |
---|
71 | CLEANFILES += $(PREINSTALL_FILES) |
---|
72 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
73 | |
---|
74 | include $(top_srcdir)/../../../automake/local.am |
---|