source: rtems/c/src/lib/libcpu/mips/shared/Makefile.am @ 63ae876

4.104.114.84.95
Last change on this file since 63ae876 was 63ae876, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 21, 2004 at 6:50:10 AM

2004-01-21 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am, timer/Makefile.am: Remove.
  • r46xx/Makefile.am: Built timer.rel, clock.rel. Add PREINSTALL_DIRS.
  • Makefile.am: Remove timer, clock.
  • tx39/Makefile.am, mongoosev/Makefile.am, shared/Makefile.am: Add PREINSTALL_DIRS.
  • configure.ac: Reflect removing clock/Makefile.am, timer/Makefile.am. Add subdir-objects to AUTOMAKE_OPTIONS.
  • 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
11include $(top_srcdir)/../../../automake/lib.am
12
13## cache
14include_libcpudir = $(includedir)/libcpu
15
16include_libcpu_HEADERS = ../../shared/include/cache.h
17
18EXTRA_PROGRAMS += cache.rel
19CLEANFILES += cache.rel
20cache_rel_SOURCES = cache/cache.c ../../shared/src/cache_aligned_malloc.c \
21    ../../shared/src/cache_manager.c cache/cache_.h
22cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/cache
23cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
24
25EXTRA_PROGRAMS += cache_g.rel
26CLEANFILES += cache_g.rel
27cache_g_rel_SOURCES = $(cache_rel_SOURCES)
28cache_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -I$(srcdir)/cache
29cache_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
30
31noinst_DATA += cache$(LIB_VARIANT).rel
32
33## interrupts
34
35if tx39
36interrupts_CPPFLAGS = -DTX39
37endif
38
39if mongoosev
40interrupts_CPPFLAGS = -DMONGOOSEV
41endif
42
43EXTRA_PROGRAMS += interrupts.rel
44CLEANFILES += interrupts.rel
45interrupts_rel_SOURCES = interrupts/installisrentries.c \
46    interrupts/vectorexceptions.c interrupts/isr_entries.S
47interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
48    $(interrupts_CPPFLAGS)
49interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50
51EXTRA_PROGRAMS += interrupts_g.rel
52CLEANFILES += interrupts_g.rel
53interrupts_g_rel_SOURCES = $(interrupts_rel_SOURCES)
54interrupts_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
55    $(interrupts_CPPFLAGS)
56interrupts_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_DATA += interrupts$(LIB_VARIANT).rel
59
60all-local: $(PREINSTALL_FILES)
61
62## --
63
64PREINSTALL_DIRS =
65PREINSTALL_FILES =
66
67$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
68        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
69        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
70PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
71
72$(PROJECT_INCLUDE)/libcpu/cache.h: ../../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
73        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h
74PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
75
76CLEANFILES += $(PREINSTALL_FILES)
77DISTCLEANFILES = $(PREINSTALL_DIRS)
78
79include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.