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