source: rtems/cpukit/score/cpu/mips/Makefile.am @ 4246571b

4.104.114.84.95
Last change on this file since 4246571b was 4246571b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/03/04 at 00:00:20

2004-04-02 Ralf Corsepius <ralf_corsepius@…>

  • Makefile.am: Install iregdefs.h and idtcpu.h to $(includedir)/rtems/mips.
  • cpu_asm.S: Include <rtems/mips/iregdef.h> instead of <iregdef.h>.
  • rtems/score/mips.h, cpu_asm.S: Include <rtems/mips/idtcpu.h> instead of <idtcpu.h>.
  • Property mode set to 100644
File size: 2.8 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9
10include_rtemsdir = $(includedir)/rtems
11include_rtems_HEADERS = asm.h
12
13include_rtems_mipsdir = $(includedir)/rtems/mips
14include_rtems_mips_HEADERS = idtcpu.h iregdef.h
15
16include_rtems_scoredir = $(includedir)/rtems/score
17include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/mips.h \
18    rtems/score/types.h
19
20EXTRA_LIBRARIES = libscorecpu.a
21CLEANFILES = libscorecpu.a
22libscorecpu_a_SOURCES = cpu.c cpu_asm.S
23libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
24
25EXTRA_LIBRARIES += libscorecpu_g.a
26CLEANFILES += libscorecpu_g.a
27libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES)
28libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
29
30all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
31
32PREINSTALL_DIRS =
33PREINSTALL_FILES =
34
35$(PROJECT_INCLUDE)/rtems/$(dirstamp):
36        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
37        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
38PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
39
40$(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
41        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
43
44$(PROJECT_INCLUDE)/rtems/mips/$(dirstamp):
45        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/mips
46        @: > $(PROJECT_INCLUDE)/rtems/mips/$(dirstamp)
47PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/mips/$(dirstamp)
48
49$(PROJECT_INCLUDE)/rtems/mips/idtcpu.h: idtcpu.h $(PROJECT_INCLUDE)/rtems/mips/$(dirstamp)
50        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mips/idtcpu.h
51PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mips/idtcpu.h
52
53$(PROJECT_INCLUDE)/rtems/mips/iregdef.h: iregdef.h $(PROJECT_INCLUDE)/rtems/mips/$(dirstamp)
54        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mips/iregdef.h
55PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mips/iregdef.h
56
57$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
58        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
59        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
60PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
61
62$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
63        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
65
66$(PROJECT_INCLUDE)/rtems/score/mips.h: rtems/score/mips.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
67        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mips.h
68PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mips.h
69
70$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
71        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
72PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
73
74CLEANFILES += $(PREINSTALL_FILES)
75DISTCLEANFILES = $(PREINSTALL_DIRS)
76
77include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.