source: rtems/cpukit/score/cpu/i960/Makefile.am @ d6a444d

4.104.114.84.95
Last change on this file since d6a444d was d6a444d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/23/03 at 10:36:05

2003-11-23 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Don't use gmake rules for preinstallation.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
10
11include_HEADERS = asm.h
12
13include_rtems_scoredir = $(includedir)/rtems/score
14include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/i960.h \
15    rtems/score/types.h
16
17C_FILES = cpu.c
18OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
19
20S_FILES = cpu_asm.S
21OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
22
23LIB = $(ARCH)/libscorecpu.a
24
25$(LIB): $(OBJS)
26        $(make-library)
27
28all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
29    $(TMPINSTALL_FILES)
30
31EXTRA_DIST = cpu.c cpu_asm.S i960RP.h
32
33PREINSTALL_FILES =
34
35$(PROJECT_INCLUDE)/asm.h: asm.h
36        $(INSTALL_DATA) $< $@
37PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
38
39$(PROJECT_INCLUDE)/rtems/score:
40        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/score
41PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score
42
43$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h
44        $(INSTALL_DATA) $< $@
45PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
46
47$(PROJECT_INCLUDE)/rtems/score/i960.h: rtems/score/i960.h
48        $(INSTALL_DATA) $< $@
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/i960.h
50
51$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h
52        $(INSTALL_DATA) $< $@
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
54
55include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.