source: rtems/c/src/lib/libcpu/mips/shared/Makefile.am @ 9a87463

4.104.114.84.95
Last change on this file since 9a87463 was 9a87463, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 18, 2004 at 9:18:06 AM

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

  • clock/Makefile.am: Convert to using automake compilation rules.
  • mongoosev/Makefile.am: Ditto.
  • r46xx/Makefile.am: Ditto.
  • shared/Makefile.am: Ditto.
  • timer/Makefile.am: Ditto.
  • tx39/Makefile.am: Ditto.
  • Makefile.am: Remove conditional subdirs.
  • configure.ac: Add subdir-object to AUTOMAKE_OPTIONS. Require automake-1.8.2. Add AM_PROG_CC_C_O.
  • Property mode set to 100644
File size: 2.0 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_FILES =
65
66$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
67        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
68        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
69PREINSTALL_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
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
74
75CLEANFILES += $(PREINSTALL_FILES)
76
77include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.