source: rtems/c/src/lib/libcpu/mips/shared/Makefile.am @ 73b5bd5d

4.104.114.84.95
Last change on this file since 73b5bd5d was 8f783b61, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 11:31:26 AM

2004-02-06 Ralf Corsepius <corsepiu@…>

  • mongoosev/Makefile.am, r46xx/Makefile.am, tx39/Makefile.am: Don't include .../lib.am. Remove ACLOCAL_AMFLAGS.
  • shared/Makefile.am: Don't include .../lib.am.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1##
2## $Id$
3##
4
5EXTRA_DIST =
6CLEANFILES =
7noinst_DATA =
8EXTRA_PROGRAMS =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12## cache
13include_libcpudir = $(includedir)/libcpu
14
15include_libcpu_HEADERS = ../../shared/include/cache.h
16
17EXTRA_PROGRAMS += cache.rel
18CLEANFILES += cache.rel
19cache_rel_SOURCES = cache/cache.c ../../shared/src/cache_aligned_malloc.c \
20    ../../shared/src/cache_manager.c cache/cache_.h
21cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/cache
22cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
23
24EXTRA_PROGRAMS += cache_g.rel
25CLEANFILES += cache_g.rel
26cache_g_rel_SOURCES = $(cache_rel_SOURCES)
27cache_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -I$(srcdir)/cache
28cache_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30noinst_DATA += cache$(LIB_VARIANT).rel
31
32## interrupts
33
34if tx39
35interrupts_CPPFLAGS = -DTX39
36endif
37
38if mongoosev
39interrupts_CPPFLAGS = -DMONGOOSEV
40endif
41
42EXTRA_PROGRAMS += interrupts.rel
43CLEANFILES += interrupts.rel
44interrupts_rel_SOURCES = interrupts/installisrentries.c \
45    interrupts/vectorexceptions.c interrupts/isr_entries.S
46interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
47    $(interrupts_CPPFLAGS)
48interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50EXTRA_PROGRAMS += interrupts_g.rel
51CLEANFILES += interrupts_g.rel
52interrupts_g_rel_SOURCES = $(interrupts_rel_SOURCES)
53interrupts_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
54    $(interrupts_CPPFLAGS)
55interrupts_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57noinst_DATA += interrupts$(LIB_VARIANT).rel
58
59all-local: $(PREINSTALL_FILES)
60
61## --
62
63PREINSTALL_DIRS =
64PREINSTALL_FILES =
65
66$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
67        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
68        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
69PREINSTALL_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
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
74
75CLEANFILES += $(PREINSTALL_FILES)
76DISTCLEANFILES = $(PREINSTALL_DIRS)
77
78include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.