1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | EXTRA_DIST = |
---|
6 | CLEANFILES = |
---|
7 | noinst_DATA = |
---|
8 | EXTRA_PROGRAMS = |
---|
9 | |
---|
10 | include $(top_srcdir)/../../../automake/compile.am |
---|
11 | include $(top_srcdir)/../../../automake/lib.am |
---|
12 | |
---|
13 | ## cache |
---|
14 | include_libcpudir = $(includedir)/libcpu |
---|
15 | |
---|
16 | include_libcpu_HEADERS = ../../shared/include/cache.h |
---|
17 | |
---|
18 | EXTRA_PROGRAMS += cache.rel |
---|
19 | CLEANFILES += cache.rel |
---|
20 | cache_rel_SOURCES = cache/cache.c ../../shared/src/cache_aligned_malloc.c \ |
---|
21 | ../../shared/src/cache_manager.c cache/cache_.h |
---|
22 | cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/cache |
---|
23 | cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
24 | |
---|
25 | EXTRA_PROGRAMS += cache_g.rel |
---|
26 | CLEANFILES += cache_g.rel |
---|
27 | cache_g_rel_SOURCES = $(cache_rel_SOURCES) |
---|
28 | cache_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -I$(srcdir)/cache |
---|
29 | cache_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
30 | |
---|
31 | noinst_DATA += cache$(LIB_VARIANT).rel |
---|
32 | |
---|
33 | ## interrupts |
---|
34 | |
---|
35 | if tx39 |
---|
36 | interrupts_CPPFLAGS = -DTX39 |
---|
37 | endif |
---|
38 | |
---|
39 | if mongoosev |
---|
40 | interrupts_CPPFLAGS = -DMONGOOSEV |
---|
41 | endif |
---|
42 | |
---|
43 | EXTRA_PROGRAMS += interrupts.rel |
---|
44 | CLEANFILES += interrupts.rel |
---|
45 | interrupts_rel_SOURCES = interrupts/installisrentries.c \ |
---|
46 | interrupts/vectorexceptions.c interrupts/isr_entries.S |
---|
47 | interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \ |
---|
48 | $(interrupts_CPPFLAGS) |
---|
49 | interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
50 | |
---|
51 | EXTRA_PROGRAMS += interrupts_g.rel |
---|
52 | CLEANFILES += interrupts_g.rel |
---|
53 | interrupts_g_rel_SOURCES = $(interrupts_rel_SOURCES) |
---|
54 | interrupts_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \ |
---|
55 | $(interrupts_CPPFLAGS) |
---|
56 | interrupts_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | |
---|
58 | noinst_DATA += interrupts$(LIB_VARIANT).rel |
---|
59 | |
---|
60 | all-local: $(PREINSTALL_FILES) |
---|
61 | |
---|
62 | ## -- |
---|
63 | |
---|
64 | PREINSTALL_FILES = |
---|
65 | |
---|
66 | $(PROJECT_INCLUDE)/libcpu/$(dirstamp): |
---|
67 | @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu |
---|
68 | @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
69 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
70 | |
---|
71 | $(PROJECT_INCLUDE)/libcpu/cache.h: ../../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
72 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h |
---|
73 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h |
---|
74 | |
---|
75 | CLEANFILES += $(PREINSTALL_FILES) |
---|
76 | |
---|
77 | include $(top_srcdir)/../../../automake/local.am |
---|