1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | noinst_PROGRAMS = |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../automake/compile.am |
---|
8 | |
---|
9 | ## cache |
---|
10 | include_libcpudir = $(includedir)/libcpu |
---|
11 | |
---|
12 | include_libcpu_HEADERS = ../../shared/include/cache.h |
---|
13 | |
---|
14 | noinst_PROGRAMS += cache.rel |
---|
15 | cache_rel_SOURCES = cache/cache.c ../../shared/src/cache_aligned_malloc.c \ |
---|
16 | ../../shared/src/cache_manager.c cache/cache_.h |
---|
17 | cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/cache |
---|
18 | cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
19 | |
---|
20 | ## interrupts |
---|
21 | |
---|
22 | if tx39 |
---|
23 | interrupts_CPPFLAGS = -DTX39 |
---|
24 | endif |
---|
25 | |
---|
26 | if mongoosev |
---|
27 | interrupts_CPPFLAGS = -DMONGOOSEV |
---|
28 | endif |
---|
29 | |
---|
30 | noinst_PROGRAMS += interrupts.rel |
---|
31 | interrupts_rel_SOURCES = interrupts/installisrentries.c \ |
---|
32 | interrupts/vectorexceptions.c interrupts/isr_entries.S |
---|
33 | interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \ |
---|
34 | $(interrupts_CPPFLAGS) |
---|
35 | interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
36 | |
---|
37 | all-local: $(PREINSTALL_FILES) |
---|
38 | |
---|
39 | ## -- |
---|
40 | |
---|
41 | PREINSTALL_DIRS = |
---|
42 | PREINSTALL_FILES = |
---|
43 | |
---|
44 | $(PROJECT_INCLUDE)/libcpu/$(dirstamp): |
---|
45 | @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu |
---|
46 | @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
47 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
48 | |
---|
49 | $(PROJECT_INCLUDE)/libcpu/cache.h: ../../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
50 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h |
---|
51 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h |
---|
52 | |
---|
53 | CLEANFILES = $(PREINSTALL_FILES) |
---|
54 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
55 | |
---|
56 | include $(top_srcdir)/../../../automake/local.am |
---|