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
RevLine 
[b17cce8]1##
2## $Id$
3##
[955a9ba7]4
[b17cce8]5ACLOCAL_AMFLAGS = -I ../../../aclocal
[955a9ba7]6
[b17cce8]7include $(top_srcdir)/../../../automake/multilib.am
[f08808e]8include $(top_srcdir)/../../../automake/compile.am
[b17cce8]9
[5f8d82b7]10include_rtemsdir = $(includedir)/rtems
11include_rtems_HEADERS = asm.h
12
[4246571b]13include_rtems_mipsdir = $(includedir)/rtems/mips
14include_rtems_mips_HEADERS = idtcpu.h iregdef.h
[b17cce8]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
[ec8c1949]20EXTRA_LIBRARIES = libscorecpu.a
21CLEANFILES = libscorecpu.a
22libscorecpu_a_SOURCES = cpu.c cpu_asm.S
23libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
[b17cce8]24
[ec8c1949]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)
[b17cce8]29
[ec8c1949]30all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
[b17cce8]31
[3d1de20]32PREINSTALL_DIRS =
[b17cce8]33PREINSTALL_FILES =
34
[5f8d82b7]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
[b17cce8]43
[4246571b]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
[b17cce8]52
[4246571b]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
[b17cce8]56
[49720ad0]57$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
[7fccd6d6]58        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
[49720ad0]59        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
[3d1de20]60PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
[b17cce8]61
[49720ad0]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
[b17cce8]64PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
65
[49720ad0]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
[b17cce8]68PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mips.h
69
[49720ad0]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
[b17cce8]72PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
73
[8956e27]74CLEANFILES += $(PREINSTALL_FILES)
[3d1de20]75DISTCLEANFILES = $(PREINSTALL_DIRS)
[8956e27]76
[b17cce8]77include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.