source: rtems/c/src/exec/score/cpu/i386/Makefile.am @ a324355

4.104.114.84.95
Last change on this file since a324355 was a324355, checked in by Joel Sherrill <joel.sherrill@…>, on 04/12/02 at 15:08:13

2002-03-29 Ralf Corsepius <corsepiu@…>

  • rtems/score/idtr.h: New file, extracted from libcpu/cpu.h.
  • rtems/score/interrupts.h: New file, extracted from libcpu/cpu.h.
  • rtems/score/registers.h: New file, moved from libcpu.
  • Makefile.am: Reflect changes above.
  • cpu.c: Don't include cpuModel.h, #include <rtems.h>, #include <rtems/score/i386types.h>, #include <rtems/score/idtr.h>.
  • rtems/score/cpu.h: Don't include libcpu/cpu.h. #include <rtems/score/interrupts.h>, #include <rtems/score/registers.h>.
  • Property mode set to 100644
File size: 1.5 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
11$(PROJECT_INCLUDE)/%.h: %.h
12        $(INSTALL_DATA) $< $@
13
14$(PROJECT_INCLUDE):
15        $(mkinstalldirs) $@
16
17$(PROJECT_INCLUDE)/rtems:
18        $(mkinstalldirs) $@
19
20$(PROJECT_INCLUDE)/rtems/score:
21        $(mkinstalldirs) $@
22
23include_HEADERS= asm.h
24PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
25
26include_rtems_scoredir = $(includedir)/rtems/score
27include_rtems_score_HEADERS = \
28    rtems/score/cpu.h \
29    rtems/score/i386.h \
30    rtems/score/types.h \
31    rtems/score/interrupts.h \
32    rtems/score/registers.h \
33    rtems/score/idtr.h
34
35PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
36    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
37
38REL = $(ARCH)/rtems-cpu.rel
39
40C_FILES = cpu.c
41C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
42
43S_FILES = cpu_asm.S
44S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
45
46rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
47
48$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
49        $(INSTALL_DATA) $< $@
50
51$(REL): $(rtems_cpu_rel_OBJECTS)
52        $(make-rel)
53
54TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o
55
56all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
57    $(TMPINSTALL_FILES)
58
59.PRECIOUS: $(REL)
60
61EXTRA_DIST = cpu.c cpu_asm.S rtems.S
62
63include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.