source: rtems/cpukit/score/cpu/i386/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.9 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/i386.h \
15    rtems/score/types.h rtems/score/interrupts.h rtems/score/registers.h \
16    rtems/score/idtr.h
17
18LIB = $(ARCH)/libscorecpu.a
19
20C_FILES = cpu.c
21OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
22
23S_FILES = cpu_asm.S
24OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
25
26$(LIB): $(OBJS)
27        $(make-library)
28
29all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
30    $(TMPINSTALL_FILES)
31
32EXTRA_DIST = cpu.c cpu_asm.S
33
34PREINSTALL_FILES =
35
36$(PROJECT_INCLUDE)/asm.h: asm.h
37        $(INSTALL_DATA) $< $@
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
39
40$(PROJECT_INCLUDE)/rtems/score:
41        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/score
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score
43
44$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h
45        $(INSTALL_DATA) $< $@
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
47
48$(PROJECT_INCLUDE)/rtems/score/i386.h: rtems/score/i386.h
49        $(INSTALL_DATA) $< $@
50PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/i386.h
51
52$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h
53        $(INSTALL_DATA) $< $@
54PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
55
56$(PROJECT_INCLUDE)/rtems/score/interrupts.h: rtems/score/interrupts.h
57        $(INSTALL_DATA) $< $@
58PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/interrupts.h
59
60$(PROJECT_INCLUDE)/rtems/score/registers.h: rtems/score/registers.h
61        $(INSTALL_DATA) $< $@
62PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/registers.h
63
64$(PROJECT_INCLUDE)/rtems/score/idtr.h: rtems/score/idtr.h
65        $(INSTALL_DATA) $< $@
66PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/idtr.h
67
68include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.